/* Mailastrix — public site
   Spec 001 FR-WEB-32..38. No external fonts, CDNs or trackers (decision D4):
   every external request is a privacy disclosure, a consent obligation under DPDP,
   and a load-time cost. System font stack instead of a webfont — zero bytes, and it
   already looks native on every platform we ship to. */

:root {
  /* One appearance on every device. Without this a dark-mode phone auto-darkens
     form controls and scrollbars even though the page paints light. */
  color-scheme: light;

  --bg:            #ffffff;
  --bg-alt:        #f6f9fe;
  --bg-raised:     #ffffff;
  --text:          #0f1c3f;
  --text-muted:    #55627c;
  --border:        #e3eaf5;

  --brand:         #1657e8;
  --brand-strong:  #0b3fb8;
  --brand-light:   #eaf1ff;
  --brand-deep:    #0a2a7a;
  /* Text drawn ON a --brand background. Kept as a token rather than a literal #fff so
     that if the brand colour is ever lightened, the contrast fix is a one-line change
     here instead of a hunt through every button rule. */
  --on-brand:      #ffffff;
  --accent:        #ff6a00;

  /* Feature-icon palette. Fixed hues rather than tints of the brand so six cards in a
     row stay distinguishable at a glance. */
  --ic-blue:   #1e88ff;
  --ic-green:  #16a06a;
  --ic-purple: #8b5cf6;
  --ic-sky:    #2196f3;
  --ic-amber:  #f59e0b;
  --ic-teal:   #0d9488;

  --ok:            #17683a;
  --warn-bg:       #fff6e5;
  --warn-border:   #f0c67a;
  --warn-text:     #6b4a05;

  --radius:        16px;
  --radius-lg:     22px;
  --shadow-sm:     0 1px 2px rgba(15,28,63,.05), 0 2px 8px rgba(15,28,63,.05);
  --shadow:        0 2px 4px rgba(15,28,63,.05), 0 12px 32px rgba(15,28,63,.09);
  --shadow-lg:     0 8px 20px rgba(15,28,63,.09), 0 30px 60px rgba(15,28,63,.13);
  --maxw:          1280px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Spec 001 FR-WEB-34: the page body must never scroll sideways. A belt-and-braces
     guard — the real fix is that no child is allowed to exceed the viewport. */
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* FR-WEB-35: a visible focus ring is the whole of keyboard navigability. */
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--brand); color: #fff;
  padding: 10px 18px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 8px; height: 74px; }

.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.28rem; letter-spacing: -.02em; }
.brand-tag { font-size: .63rem; color: var(--text-muted); letter-spacing: .02em; font-weight: 500; }

.nav-links { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav-links a {
  padding: 9px 14px; border-radius: 10px; color: var(--text-muted);
  font-size: .94rem; font-weight: 550;
}
.nav-links a:hover { background: var(--bg-alt); color: var(--text); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--brand); font-weight: 650; }
.nav-links a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; background: var(--brand);
  border-radius: 2px; margin-top: 5px;
}

.nav-actions { display: flex; gap: 10px; align-items: center; margin-left: 14px; }

/* `.nav-links a` (0,1,1) outranked `.btn-primary` (0,1,0), so the nav's primary CTA
   rendered muted grey on blue — unreadable, and a contrast failure on the one button
   that matters most. Restate it at matching specificity. */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover,
.nav-actions a.btn-primary,
.nav-actions a.btn-primary:hover { color: var(--on-brand); }
.nav-actions a.btn-outline { color: var(--brand); }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--border);
  border-radius: 10px; padding: 9px 12px; cursor: pointer; color: var(--text); font-size: 1rem;
}

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 10px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-actions { display: none; }
  .nav-links .nav-actions-mobile { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
  .nav-links .btn { text-align: center; }
}
@media (min-width: 1021px) { .nav-actions-mobile { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 11px;
  font-weight: 650; font-size: .97rem; border: 1.5px solid transparent;
  cursor: pointer; font-family: inherit; text-align: center;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: var(--on-brand); box-shadow: 0 4px 14px rgba(22,87,232,.3);
}
.btn-primary:hover { box-shadow: 0 8px 22px rgba(22,87,232,.38); color: var(--on-brand); }

.btn-outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand-light); color: var(--brand-strong); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--text); }

.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: #f2f6ff; color: var(--brand-strong); }
.btn-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-on-dark:hover { background: rgba(255,255,255,.14); color: #fff; }

.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-lg { padding: 16px 34px; font-size: 1.04rem; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- sections ---------- */
section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }

h1, h2, h3 { line-height: 1.18; margin: 0 0 14px; letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.14rem; font-weight: 700; }
p  { margin: 0 0 14px; }
.lead { font-size: clamp(1.04rem, 1.9vw, 1.19rem); color: var(--text-muted); max-width: 62ch; }
.accent { color: var(--brand); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .09em; font-size: .78rem;
  font-weight: 700; color: var(--brand); margin-bottom: 10px;
}
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Pill badge above a section heading. */
.badge {
  display: inline-block; padding: 7px 18px; border-radius: 999px;
  background: var(--brand-light); color: var(--brand);
  font-size: .84rem; font-weight: 650; margin-bottom: 16px;
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 76px 0 84px;
  background: linear-gradient(170deg, #f4f8ff 0%, #ffffff 62%);
}
/* Soft brand blobs. Pure CSS — an image here would be dead weight for decoration. */
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; z-index: 0; pointer-events: none;
}
.hero::before {
  width: 620px; height: 620px; right: -160px; top: -190px;
  background: radial-gradient(circle at 35% 35%, rgba(30,136,255,.30), rgba(30,136,255,0) 68%);
}
.hero::after {
  width: 460px; height: 460px; right: 150px; bottom: -230px;
  background: radial-gradient(circle at 50% 50%, rgba(139,92,246,.18), rgba(139,92,246,0) 70%);
}
.hero .wrap { position: relative; z-index: 1; }

.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero h1 { margin-bottom: 18px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { font-size: .87rem; color: var(--text-muted); margin-top: 18px; }

/* Trust strip under the hero copy. */
.trust {
  display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center;
  margin-top: 34px; padding: 15px 18px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow-sm);
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: .83rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.trust-item svg { width: 17px; height: 17px; flex-shrink: 0; }
@media (max-width: 560px) {
  .trust { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* Device frame holding the product shot. */
.hero-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: var(--bg-raised);
}
.hero-media img, .hero-media video { display: block; width: 100%; }

/* Placeholder that makes an empty media slot obviously deliberate rather than broken.
   Flex, not `display:grid; place-content:center` — that sizes tracks to max-content, so
   the caption refused to wrap and pushed the whole page wider than a phone viewport. */
.media-placeholder {
  aspect-ratio: 16 / 11;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  background: linear-gradient(140deg, var(--brand-light), #f7faff);
  color: var(--text-muted); text-align: center; padding: 30px; font-size: .9rem;
}
.media-placeholder img { width: 66px; margin: 0 auto 6px; }

/* "Available on" chip that overlaps the device frame. */
.platforms {
  display: inline-flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow);
  border-radius: 999px; padding: 11px 22px;
  margin: 20px auto 0; position: relative; z-index: 2;
  font-size: .88rem; font-weight: 600;
}
.platforms svg { width: 20px; height: 20px; }
.platform-wrap { display: flex; justify-content: center; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1080px) { .grid-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px)  { .grid-6 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 460px)  { .grid-6 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 12px 0 0; padding-left: 20px; color: var(--text-muted); }
.card li { margin-bottom: 6px; }
.card-icon { width: 44px; height: 44px; margin-bottom: 14px; }

/* Feature card: centred, lifts on hover. */
.feature-card { text-align: center; padding: 28px 16px; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfdcf5; }
.feature-card h3 { font-size: .97rem; margin-bottom: 8px; letter-spacing: -.01em; }
.feature-card p { font-size: .855rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

.ic {
  width: 52px; height: 52px; border-radius: 15px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
}
.ic svg { width: 27px; height: 27px; color: #fff; }
.ic-blue   { background: linear-gradient(140deg, #4da3ff, var(--ic-blue)); }
.ic-green  { background: linear-gradient(140deg, #34d399, var(--ic-green)); }
.ic-purple { background: linear-gradient(140deg, #a78bfa, var(--ic-purple)); }
.ic-sky    { background: linear-gradient(140deg, #60c3ff, var(--ic-sky)); }
.ic-amber  { background: linear-gradient(140deg, #fbbf24, var(--ic-amber)); }
.ic-teal   { background: linear-gradient(140deg, #2dd4bf, var(--ic-teal)); }

.pill {
  display: inline-block; padding: 3px 11px; border-radius: 999px;
  background: var(--brand-light); color: var(--brand-strong);
  font-size: .76rem; font-weight: 700;
}

/* ---------- three-up highlight band ---------- */
.highlights {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  margin-top: 26px;
}
.highlight { padding: 30px 28px; border-right: 1px solid var(--border); }
.highlight:last-child { border-right: none; }
.highlight h3 { font-size: 1.06rem; margin-bottom: 8px; }
.highlight p { font-size: .9rem; color: var(--text-muted); }
.highlight-ic { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.highlight-ic svg { width: 23px; height: 23px; color: #fff; }
@media (max-width: 900px) {
  .highlights { grid-template-columns: 1fr; }
  .highlight { border-right: none; border-bottom: 1px solid var(--border); }
  .highlight:last-child { border-bottom: none; }
}

/* ---------- closing CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--brand-deep), var(--brand) 55%, #3b7bff);
  color: #fff; padding: 46px 0;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cta-band p { color: rgba(255,255,255,.86); margin: 0; }
.cta-inner { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.cta-copy { flex: 1; min-width: 260px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-logo { width: 54px; height: 54px; flex-shrink: 0; }
@media (max-width: 700px) {
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions .btn { width: 100%; }
  .cta-actions { width: 100%; }
}

/* ---------- feature list ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  padding: 11px 0 11px 30px; position: relative;
  border-bottom: 1px solid var(--border); color: var(--text-muted);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 11px; color: var(--ok); font-weight: 800;
}
.feature-list strong { color: var(--text); font-weight: 650; }

/* ---------- notices ---------- */
.notice {
  border: 1px solid var(--warn-border); background: var(--warn-bg); color: var(--warn-text);
  border-radius: var(--radius); padding: 18px 20px; margin: 22px 0;
}
.notice h3 { color: var(--warn-text); margin-bottom: 6px; font-size: 1.02rem; }
.notice p:last-child { margin-bottom: 0; }
.notice ol, .notice ul { margin: 8px 0 0; padding-left: 20px; }
.notice li { margin-bottom: 5px; }

/* ---------- download rows ---------- */
.dl-row {
  display: flex; align-items: center; gap: 18px; padding: 20px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-raised); margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.dl-row img { width: 46px; height: 46px; flex-shrink: 0; }
.dl-row .dl-body { flex: 1; min-width: 0; }
.dl-row h3 { margin-bottom: 3px; font-size: 1.05rem; }
.dl-row .dl-meta { font-size: .85rem; color: var(--text-muted); margin: 0; }
@media (max-width: 640px) { .dl-row { flex-wrap: wrap; } .dl-row .btn { width: 100%; } }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: .9rem; }
.req { color: #c62828; }
input, select, textarea {
  font-family: inherit; font-size: .97rem; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 11px;
  background: var(--bg); color: var(--text); width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); }
textarea { resize: vertical; min-height: 120px; }
.hint { font-size: .82rem; color: var(--text-muted); }

/* Honeypot (FR-WEB-12). Off-screen rather than display:none — some bots skip
   hidden inputs but happily fill positioned ones. aria-hidden + tabindex keep it
   away from screen readers and keyboard users. */
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { padding: 15px 18px; border-radius: 11px; margin-top: 18px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e6f4ea; color: #12602f; border: 1px solid #a8d5b9; }
.form-status.err { background: #fdecea; color: #a1231a; border: 1px solid #f0b3ad; }

/* ---------- contact channels ---------- */
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
@media (max-width: 760px) { .channels { grid-template-columns: 1fr; } }
.channel {
  display: flex; gap: 13px; align-items: flex-start; padding: 20px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-raised); box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease;
}
.channel:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.channel .ico { font-size: 1.4rem; line-height: 1; }
.channel strong { display: block; margin-bottom: 2px; color: var(--text); }
.channel span { font-size: .88rem; color: var(--text-muted); }

/* ---------- legal / prose ---------- */
.prose { max-width: 76ch; }
.prose h2 { margin-top: 40px; font-size: 1.42rem; }
.prose h3 { margin-top: 26px; }
.prose ul, .prose ol { padding-left: 22px; color: var(--text-muted); }
.prose li { margin-bottom: 7px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .93rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.prose th { font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* Unfilled legal detail. Deliberately loud: shipping a policy containing "[to be
   confirmed]" is far less damaging than shipping one with an invented address. */
.todo {
  background: #ffe9e9; color: #8a1c13; border: 1px dashed #e08b84;
  padding: 1px 7px; border-radius: 5px; font-size: .88em; font-weight: 600;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-alt); border-top: 1px solid var(--border);
  padding: 56px 0 30px; font-size: .92rem;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--brand); }
.footer-bottom {
  margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: .86rem;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 10px; }
/* Full lockup. Capped well below its native 520px so the tagline stays legible
   without the logo dominating the footer. */
.footer-logo { width: 100%; max-width: 240px; height: auto; margin-bottom: 12px; }

/* ---------- product illustration ----------
   A styled representation of the minutes the product actually generates — the same
   four sections the MOM prompt emits (Summary, Action Items, Decisions, Details with
   timestamps). Deliberately drawn rather than photographed: it is an illustration of
   real output, not a claimed screenshot, and it carries no customer data. Built in
   CSS so it stays sharp at any size and costs no image bytes. */
.mockup {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  overflow: hidden; font-size: .84rem;
}
.mockup-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; background: #f4f7fc; border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; background: #d7dfec; }
.mockup-title { margin-left: 8px; font-weight: 650; font-size: .82rem; color: var(--text-muted); }
.mockup-body { padding: 20px 22px 24px; }

.mk-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.mk-avatar {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(140deg, #4da3ff, var(--ic-blue));
  display: flex; align-items: center; justify-content: center;
}
.mk-avatar svg { width: 19px; height: 19px; color: #fff; }
.mk-head h4 { margin: 0 0 2px; font-size: .98rem; font-weight: 750; letter-spacing: -.01em; }
.mk-head span { font-size: .78rem; color: var(--text-muted); }

.mk-sec { margin-bottom: 15px; }
.mk-sec:last-child { margin-bottom: 0; }
.mk-label {
  font-size: .68rem; font-weight: 750; text-transform: uppercase; letter-spacing: .07em;
  color: var(--brand); margin-bottom: 6px;
}
.mk-line { height: 7px; border-radius: 4px; background: #e9eef8; margin-bottom: 6px; }
.mk-row { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; font-size: .8rem; color: var(--text-muted); }
.mk-tick {
  width: 15px; height: 15px; border-radius: 4px; flex-shrink: 0;
  background: #e6f6ee; color: #16a06a; font-size: .62rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.mk-who { color: var(--text); font-weight: 650; }
.mk-time {
  margin-left: auto; font-size: .7rem; color: var(--brand);
  background: var(--brand-light); padding: 1px 7px; border-radius: 5px; font-weight: 650;
  flex-shrink: 0;
}
.mk-foot {
  margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px; font-size: .76rem; color: var(--text-muted);
}
.mk-foot svg { width: 14px; height: 14px; color: var(--ic-green); flex-shrink: 0; }

/* ---------- hero slider ----------
   Rotates several illustration panels instead of one still. Slides are stacked and
   cross-faded rather than translated, so the container height is set by the tallest
   panel and never jumps between slides. */
.slider { position: relative; }
.slider-track { position: relative; display: grid; }
/* Every slide occupies the same grid cell; only the active one is visible. */
.slide {
  grid-area: 1 / 1; opacity: 0; visibility: hidden;
  transition: opacity .45s ease;
}
.slide.is-active { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

.slider-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.slider-dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 50%;
  border: none; background: #c9d6ec; cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.slider-dots button[aria-selected="true"] { width: 26px; border-radius: 5px; background: var(--brand); }
.slider-caption {
  text-align: center; font-size: .84rem; color: var(--text-muted);
  margin-top: 10px; min-height: 1.3em;
}

/* ---------- mock panels ---------- */
.mk-chat { display: flex; flex-direction: column; gap: 9px; }
.mk-bubble {
  max-width: 78%; padding: 9px 13px; border-radius: 14px;
  font-size: .82rem; line-height: 1.45;
}
.mk-in  { align-self: flex-start; background: #f1f4fa; color: var(--text); border-bottom-left-radius: 5px; }
.mk-out { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 5px; }
.mk-meta { font-size: .68rem; color: var(--text-muted); text-align: center; margin: 2px 0; }

.mk-list { display: flex; flex-direction: column; }
.mk-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 2px; border-bottom: 1px solid var(--border); font-size: .81rem;
}
.mk-item:last-child { border-bottom: none; }
.mk-ava {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 750; color: #fff;
}
.mk-item-body { flex: 1; min-width: 0; }
.mk-item-body strong { display: block; font-weight: 650; font-size: .83rem; }
.mk-item-body span { color: var(--text-muted); font-size: .78rem; }
.mk-when { font-size: .7rem; color: var(--text-muted); flex-shrink: 0; }
.mk-unread { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }

/* Reminder card, as the Email app draws above a thread. */
.mk-card {
  border: 1px solid #ffe0a8; background: #fffaf0; border-radius: 12px;
  padding: 13px 15px; margin-bottom: 12px;
}
.mk-card.blue { border-color: #c9dcff; background: #f4f8ff; }
.mk-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.mk-card-top svg { width: 16px; height: 16px; flex-shrink: 0; }
.mk-card-top strong { font-size: .83rem; font-weight: 700; }
.mk-card p { margin: 0; font-size: .79rem; color: var(--text-muted); }
.mk-card-actions { display: flex; gap: 7px; margin-top: 10px; }
.mk-chip {
  font-size: .72rem; font-weight: 650; padding: 4px 11px; border-radius: 7px;
  background: var(--brand); color: #fff;
}
.mk-chip.ghost { background: #fff; color: var(--text-muted); border: 1px solid var(--border); }

/* Call grid. */
.mk-call { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-tile {
  aspect-ratio: 4 / 3; border-radius: 11px; display: flex;
  align-items: flex-end; padding: 8px; font-size: .7rem; color: #fff; font-weight: 600;
  background: linear-gradient(150deg, #33518c, #1c2f56);
}
.mk-tile.speaking { outline: 2.5px solid var(--ic-green); outline-offset: -2.5px; }
.mk-callbar { display: flex; justify-content: center; gap: 9px; margin-top: 12px; }
.mk-cbtn {
  width: 32px; height: 32px; border-radius: 50%; background: #eef2f9;
  display: flex; align-items: center; justify-content: center;
}
.mk-cbtn svg { width: 15px; height: 15px; color: var(--text-muted); }
.mk-cbtn.end { background: #e5484d; }
.mk-cbtn.end svg { color: #fff; }
.mk-rec {
  display: inline-flex; align-items: center; gap: 6px; font-size: .7rem;
  font-weight: 650; color: #e5484d; margin-bottom: 10px;
}
.mk-rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e5484d; }
