/* Mobii site styles, taken unchanged from the website concept (index.html). Shared across pages. */
@font-face { font-family: "TWK Everett"; src: url("../fonts/TWKEverett-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "TWK Everett"; src: url("../fonts/TWKEverett-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "TWK Everett"; src: url("../fonts/TWKEverett-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }

/* Layout: Synthora's dark control-room canvas, re-skinned in Mobii tokens.
   Floating pill nav, bracketed mono eyebrows, corner-tick cards, one vivid violet→blue
   hero panel, 1200px max content width. */
:root {
  /* dark-first */
  --bg: #0D0C13;
  --bg-2: #13121C;
  --card: #181624;
  --card-2: #1F1D2E;
  --line: rgba(236, 232, 255, 0.09);
  --line-2: rgba(236, 232, 255, 0.16);
  --tick: rgba(236, 232, 255, 0.42);
  --fg: #F3F1FB;
  --fg-2: rgba(243, 241, 251, 0.68);
  --fg-3: rgba(243, 241, 251, 0.46);
  --brand: #7B61FF;          /* Mobii violet: marketing CTAs, accent */
  --brand-hover: #907CFF;
  --brand-text: #AE9BFF;     /* violet readable as text on dark */
  --brand-soft: rgba(123, 97, 255, 0.14);
  --blue: #4096FF;           /* Daybreak blue: links, focus, controls */
  --blue-soft: rgba(22, 119, 255, 0.16);
  --ok: #52C41A; --warn: #FAAD14; --err: #FF4D4F;
  --ok-soft: rgba(82, 196, 26, 0.16); --warn-soft: rgba(250, 173, 20, 0.16); --err-soft: rgba(255, 77, 79, 0.16);
  --on-brand: #FFFFFF;
  --shadow: 0 6px 16px 0 rgba(0,0,0,0.28), 0 9px 28px 8px rgba(0,0,0,0.18);

  /* hero artwork stays dark in both themes */
  --art-ink: #0B0A12;
  --art-panel: rgba(13, 12, 22, 0.78);
  --art-line: rgba(255, 255, 255, 0.12);
  --art-fg: #F6F4FF;
  --art-fg-2: rgba(246, 244, 255, 0.64);

  --font-body: "TWK Everett", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Space Mono", Menlo, "SF Mono", Consolas, monospace;

  --fs-hero: clamp(40px, 6vw, 76px);
  --fs-h2: clamp(32px, 4.2vw, 52px);
  --fs-h3: 22px;
  --fs-lg: 17px;
  --fs-body: 15px;
  --fs-sm: 13px;
  --fs-eyebrow: 11px;

  --r-sm: 4px; --r: 8px; --r-lg: 12px; --r-pill: 48px;
  --ease: cubic-bezier(0.645, 0.045, 0.355, 1);
  --max: 1200px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F8FBFE; --bg-2: #FFFFFF; --card: #FFFFFF; --card-2: #F6F4FF;
    --line: rgba(20, 16, 48, 0.09); --line-2: rgba(20, 16, 48, 0.16); --tick: rgba(20, 16, 48, 0.38);
    --fg: #17151F; --fg-2: rgba(23, 21, 31, 0.68); --fg-3: rgba(23, 21, 31, 0.52);
    --brand: #6749FF; --brand-hover: #7B61FF; --brand-text: #5232E8; --brand-soft: rgba(123, 97, 255, 0.10);
    --blue: #1677FF; --blue-soft: rgba(22, 119, 255, 0.10);
    --ok: #389E0D; --warn: #AD6800; --err: #CF1322;
    --ok-soft: rgba(82, 196, 26, 0.14); --warn-soft: rgba(250, 173, 20, 0.18); --err-soft: rgba(255, 77, 79, 0.12);
    --shadow: 0 6px 16px 0 rgba(0,0,0,0.06), 0 9px 28px 8px rgba(0,0,0,0.04);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F8FBFE; --bg-2: #FFFFFF; --card: #FFFFFF; --card-2: #F6F4FF;
  --line: rgba(20, 16, 48, 0.09); --line-2: rgba(20, 16, 48, 0.16); --tick: rgba(20, 16, 48, 0.38);
  --fg: #17151F; --fg-2: rgba(23, 21, 31, 0.68); --fg-3: rgba(23, 21, 31, 0.52);
  --brand: #6749FF; --brand-hover: #7B61FF; --brand-text: #5232E8; --brand-soft: rgba(123, 97, 255, 0.10);
  --blue: #1677FF; --blue-soft: rgba(22, 119, 255, 0.10);
  --ok: #389E0D; --warn: #AD6800; --err: #CF1322;
  --ok-soft: rgba(82, 196, 26, 0.14); --warn-soft: rgba(250, 173, 20, 0.18); --err-soft: rgba(255, 77, 79, 0.12);
  --shadow: 0 6px 16px 0 rgba(0,0,0,0.06), 0 9px 28px 8px rgba(0,0,0,0.04);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 300; letter-spacing: -0.025em; line-height: 1.06; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; box-shadow: 0 0 0 4px var(--blue-soft); border-radius: var(--r-sm); }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.wrap { max-width: calc(var(--max) + 2 * 32px); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.section { padding-block: clamp(64px, 9vw, 120px); }
.stack { display: grid; gap: 20px; }
.center { text-align: center; justify-items: center; }
.lede { color: var(--fg-2); font-size: var(--fs-lg); max-width: 56ch; }
.muted { color: var(--fg-2); }
.mono { font-family: var(--font-mono); }

/* bracketed eyebrow, Synthora's [ FEATURES ] tag in Space Mono */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; width: max-content;
  font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-2); padding: 5px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background:
    linear-gradient(var(--tick), var(--tick)) top left / 4px 1px no-repeat,
    linear-gradient(var(--tick), var(--tick)) top left / 1px 4px no-repeat,
    linear-gradient(var(--tick), var(--tick)) bottom right / 4px 1px no-repeat,
    linear-gradient(var(--tick), var(--tick)) bottom right / 1px 4px no-repeat;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }

/* corner-tick card */
.ticks {
  --t: 3px;
  background-color: var(--card);
  background-image:
    linear-gradient(var(--tick), var(--tick)), linear-gradient(var(--tick), var(--tick)),
    linear-gradient(var(--tick), var(--tick)), linear-gradient(var(--tick), var(--tick));
  background-size: var(--t) var(--t);
  background-repeat: no-repeat;
  background-position: 10px 10px, calc(100% - 10px) 10px, 10px calc(100% - 10px), calc(100% - 10px) calc(100% - 10px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
}

/* buttons: violet pill for marketing CTAs, outline pill secondary */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 22px;
  border-radius: var(--r-pill); font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1px solid transparent; transition: background-color .1s var(--ease), border-color .1s var(--ease), color .1s var(--ease); }
.btn-brand { background: var(--brand); color: var(--on-brand); box-shadow: 0 2px 0 rgba(123, 97, 255, 0.12); }
.btn-brand:hover { background: var(--brand-hover); }
.btn-ghost { border-color: var(--line-2); background: transparent; color: var(--fg); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn .i { width: 16px; height: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link { color: var(--blue); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
.link:hover { text-decoration: underline; }

/* draft ribbon */
.ribbon { border-bottom: 1px solid var(--line); background: var(--bg-2); font-size: 12px; color: var(--fg-2); }
.ribbon .wrap { display: flex; gap: 10px; align-items: center; padding-block: 8px; flex-wrap: wrap; }
.ribbon b { font-family: var(--font-mono); font-weight: 700; letter-spacing: .12em; font-size: 10px; color: var(--warn);
  border: 1px solid currentColor; padding: 1px 6px; border-radius: var(--r-sm); }

/* header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 68px; }
.wordmark { font-weight: 500; font-size: 24px; letter-spacing: -0.04em; text-decoration: none; justify-self: start; line-height: 1; }
.nav { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-2); }
.nav a, .nav button.navbtn { padding: 6px 12px; border-radius: var(--r-sm); font-size: 13px; text-decoration: none; color: var(--fg-2);
  background: none; border: 0; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; transition: color .1s var(--ease), background-color .1s var(--ease); }
.nav a:hover, .nav button.navbtn:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); background: var(--card-2); }
.nav .i { width: 14px; height: 14px; }
.header-cta { justify-self: end; display: flex; gap: 8px; align-items: center; }
.menu-toggle { display: none; width: 40px; height: 40px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer; align-items: center; justify-content: center; }
.theme-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--fg-2); }
.theme-btn:hover { color: var(--fg); border-color: var(--fg-3); }
.theme-btn .i { width: 16px; height: 16px; }

.mega-wrap { position: relative; }
.mega { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); width: min(560px, 92vw);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mega h4 { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); font-weight: 400; margin-bottom: 8px; }
.mega a { display: block; padding: 8px 10px; border-radius: var(--r-sm); text-decoration: none; font-size: 14px; color: var(--fg); }
.mega a small { display: block; color: var(--fg-3); font-size: 12px; }
.mega a:hover { background: var(--card-2); }

@media (max-width: 900px) {
  .site-header .wrap { grid-template-columns: 1fr auto; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; border-radius: 0; border-inline: 0;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a, .nav button.navbtn { padding: 12px; font-size: 15px; }
  .header-cta .btn { display: none; }
  .mega { position: static; transform: none; width: auto; box-shadow: none; grid-template-columns: 1fr; margin-top: 4px; }
}

/* hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 4vw, 56px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: var(--fs-hero); }
.hero h1 em { font-style: normal; color: var(--brand-text); }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.kpi { padding: 22px; }
.kpi b { display: block; font-weight: 300; font-size: 40px; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi span { color: var(--fg-3); font-size: var(--fs-sm); }

.art { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: clamp(18px, 3vw, 36px); min-height: 460px; display: grid; align-items: end;
  background:
    radial-gradient(120% 90% at 85% 0%, #1677FF 0%, transparent 55%),
    radial-gradient(90% 80% at 0% 100%, #5232E8 0%, transparent 60%),
    linear-gradient(160deg, #7B61FF 0%, #2D1790 55%, var(--art-ink) 100%);
  isolation: isolate; }
.art::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.board { background: var(--art-panel); color: var(--art-fg); border: 1px solid var(--art-line); border-radius: var(--r-lg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; }
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--art-line); flex-wrap: wrap; }
.board-head .t { font-size: 13px; font-weight: 500; }
.board-head .tc { font-family: var(--font-mono); font-size: 13px; color: var(--art-fg); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.board-head .sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--art-fg-2); }
.ch { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--art-line); font-size: 13px; }
.ch:last-child { border-bottom: 0; }
.ch .id { font-family: var(--font-mono); font-size: 11px; color: var(--art-fg-2); }
.ch .name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch .name small { display: block; color: var(--art-fg-2); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 99px; font-size: 11px; font-weight: 500; white-space: nowrap; border: 1px solid transparent; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.air { color: #73D13D; background: rgba(82,196,26,.16); border-color: rgba(82,196,26,.35); }
.pill.pre { color: #FFC53D; background: rgba(250,173,20,.14); border-color: rgba(250,173,20,.35); }
.pill.inc { color: #FF7875; background: rgba(255,77,79,.16); border-color: rgba(255,77,79,.4); }
.pill.off { color: rgba(246,244,255,.6); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.board-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--art-line); }
.board-foot div { padding: 10px 16px; border-right: 1px solid var(--art-line); }
.board-foot div:last-child { border-right: 0; }
.board-foot b { display: block; font-weight: 400; font-size: 18px; font-variant-numeric: tabular-nums; }
.board-foot span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--art-fg-2); }
.toast { position: absolute; top: clamp(18px, 3vw, 32px); right: clamp(18px, 3vw, 32px); max-width: 260px; background: var(--art-panel); border: 1px solid rgba(255,77,79,.45);
  color: var(--art-fg); border-radius: var(--r); padding: 10px 12px; font-size: 12px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.toast b { display: flex; gap: 6px; align-items: center; font-weight: 500; color: #FF7875; margin-bottom: 2px; }
.toast .i { width: 14px; height: 14px; }

@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .art { min-height: 0; padding-top: 96px; } }
@media (max-width: 480px) { .ch { grid-template-columns: 1fr auto; } .ch .id { display: none; } .board-foot b { font-size: 15px; } .toast { left: 18px; right: 18px; max-width: none; } }

/* logos */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.logo-slot { height: 72px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
@media (max-width: 900px) { .logos { grid-template-columns: repeat(3, 1fr); } }
.logos-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; flex-wrap: wrap; margin-bottom: 20px; }

/* platform rows */
.sec-head { display: grid; gap: 18px; justify-items: center; text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2 { font-size: var(--fs-h2); max-width: 18ch; }
.sec-head.left { justify-items: start; text-align: left; }
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 48px); padding: clamp(24px, 4vw, 48px); align-items: center; }
.feature + .feature { margin-top: 16px; }
.feature > * { min-width: 0; }
.feature.flip > :first-child { order: 2; }
.feature h3 { font-size: clamp(28px, 3vw, 38px); }
.chip { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; padding: 4px 10px 4px 6px; border-radius: var(--r-sm); background: var(--brand-soft); color: var(--brand-text); width: max-content; }
.chip .i { width: 16px; height: 16px; padding: 2px; border-radius: 3px; background: var(--brand); color: var(--on-brand); }
.checks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--fg-2); }
.checks .i { color: var(--blue); width: 16px; height: 16px; margin-top: 4px; }
.mock { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; font-size: 13px; }
.mock-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.mock-head .t { font-weight: 500; }
.mock-head .m { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); }
.tl { padding: 8px 16px 16px; display: grid; }
.tl-item { display: grid; grid-template-columns: 64px 14px 1fr; gap: 10px; align-items: start; padding-top: 12px; }
.tl-item time { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); padding-top: 2px; font-variant-numeric: tabular-nums; }
.tl-item .node { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--fg-3); margin-top: 5px; position: relative; }
.tl-item .node.r { border-color: var(--err); background: var(--err-soft); }
.tl-item .node.a { border-color: var(--warn); }
.tl-item .node.g { border-color: var(--ok); background: var(--ok-soft); }
.tl-item p { color: var(--fg-2); }
.tl-item p b { color: var(--fg); font-weight: 500; }
.sev { display: inline-flex; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: 1px; }
.sev.s1 { color: var(--err); background: var(--err-soft); }
.sev.s3 { color: var(--ok); background: var(--ok-soft); }

.roster { width: 100%; border-collapse: collapse; font-size: 12px; }
.roster th, .roster td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.roster th { font-family: var(--font-mono); font-weight: 400; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.roster td:first-child { color: var(--fg); font-weight: 500; }
.shift { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; background: var(--blue-soft); color: var(--blue); }
.shift.v { background: var(--brand-soft); color: var(--brand-text); }
.shift.x { background: transparent; color: var(--fg-3); border: 1px dashed var(--line-2); }
.scroll-x { overflow-x: auto; }

.sla { padding: 16px; display: grid; gap: 14px; }
.sla-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.sla-row .lbl { font-size: 12px; color: var(--fg-2); }
.sla-row .val { font-family: var(--font-mono); font-size: 12px; font-variant-numeric: tabular-nums; }
.bar { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.bar i.b { background: var(--blue); }

@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; } .feature.flip > :first-child { order: 0; } }

/* audiences grid */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.aud-item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; }
.aud-ico { width: 52px; height: 52px; display: grid; place-items: center; color: var(--fg); --t: 2px; }
.aud-ico .i { width: 22px; height: 22px; }
.aud-item h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 6px; }
.aud-item p { color: var(--fg-2); font-size: 14px; }
@media (max-width: 900px) { .aud { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .aud { grid-template-columns: 1fr; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stat { border-left: 1px solid var(--line-2); padding: 8px 0 8px 28px; position: relative; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.stat::before { content: ""; position: absolute; left: -3px; top: 0; width: 5px; height: 5px; background: var(--fg); }
.stat b { font-size: clamp(48px, 5.4vw, 72px); font-weight: 300; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat b small { font-size: .5em; color: var(--brand-text); margin-left: 2px; }
.stat span { color: var(--fg-2); font-size: 14px; max-width: 22ch; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr; } }

/* testimonials */
.quotes { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.quote { padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 28px; align-content: space-between; }
.quote blockquote { margin: 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 300; letter-spacing: -0.015em; line-height: 1.3; text-wrap: pretty; }
.quote.small blockquote { font-size: 19px; }
.who { display: flex; gap: 12px; align-items: center; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 500; background: var(--brand-soft); color: var(--brand-text); border: 1px solid var(--line-2); }
.who b { display: block; font-weight: 500; font-size: 14px; }
.who span { color: var(--fg-3); font-size: 13px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* pricing */
.toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--bg-2); gap: 2px; }
.toggle button { border: 0; background: none; padding: 8px 16px; border-radius: var(--r-pill); cursor: pointer; font-size: 13px; color: var(--fg-2); display: inline-flex; gap: 8px; align-items: center; }
.toggle button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.toggle .save { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; padding: 1px 6px; border-radius: 3px; background: var(--ok-soft); color: var(--ok); }
.toggle button[aria-pressed="true"] .save { background: rgba(255,255,255,.2); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.plan { padding: 32px 28px; display: grid; gap: 22px; align-content: start; position: relative; }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 20px 60px -20px rgba(123, 97, 255, .45); }
.plan .tag { position: absolute; top: 20px; right: 20px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; background: var(--brand); color: var(--on-brand); }
.plan h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.plan .desc { color: var(--fg-2); font-size: 14px; min-height: 3.2em; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 52px; font-weight: 300; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { color: var(--fg-3); font-size: 13px; }
.plan .btn { width: 100%; }
.plan hr { border: 0; border-top: 1px solid var(--line); margin: 0; width: 100%; }
.plan .checks li { font-size: 14px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.compare-wrap { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow-x: auto; background: var(--card); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.compare thead th { font-weight: 500; font-size: 15px; background: var(--bg-2); position: sticky; top: 0; }
.compare tbody th { font-weight: 400; color: var(--fg-2); }
.compare td { text-align: center; font-variant-numeric: tabular-nums; }
.compare thead th:not(:first-child) { text-align: center; }
.compare .grp th { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); background: var(--bg-2); }
.compare .i { color: var(--blue); width: 18px; height: 18px; vertical-align: middle; }
.compare .no { color: var(--fg-3); }
.compare tr:last-child > * { border-bottom: 0; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-grid > * { min-width: 0; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 16px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .2s var(--ease); color: var(--fg-3); }
.faq details[open] summary .i { transform: rotate(45deg); color: var(--blue); }
.faq details p { padding: 0 22px 22px; color: var(--fg-2); max-width: 62ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* journal */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post { text-decoration: none; display: grid; gap: 16px; align-content: start; padding: 12px 12px 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); transition: border-color .2s var(--ease); }
.post:hover { border-color: var(--blue); }
.post:hover h3 { color: var(--blue); }
.cover { aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--r); position: relative; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(90% 90% at 80% 10%, var(--c1), transparent 60%), radial-gradient(80% 80% at 10% 100%, var(--c2), transparent 60%), var(--art-ink); }
.cover::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; }
.cover span { position: relative; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--art-fg); padding: 4px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 3px; background: rgba(0,0,0,.25); }
.post .meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--fg-3); padding-inline: 8px; font-family: var(--font-mono); letter-spacing: .04em; }
.post h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.015em; line-height: 1.25; padding-inline: 8px; transition: color .1s var(--ease); }
.post p { color: var(--fg-2); font-size: 14px; padding-inline: 8px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { border: 1px solid var(--line-2); background: transparent; border-radius: var(--r-pill); padding: 6px 14px; font-size: 13px; cursor: pointer; color: var(--fg-2); }
.filters button[aria-pressed="true"] { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }

.article { max-width: 720px; margin: 0 auto; }
.article .cover { margin: 32px 0; aspect-ratio: 21 / 9; }
.article h1 { font-size: clamp(34px, 4.6vw, 54px); margin-top: 20px; }
.article .meta { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); letter-spacing: .04em; margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.prose { display: grid; gap: 18px; font-size: 17px; line-height: 1.7; color: var(--fg-2); }
.prose h2 { font-size: 26px; color: var(--fg); margin-top: 18px; letter-spacing: -0.015em; font-weight: 400; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.prose code { font-family: var(--font-mono); font-size: .86em; background: rgba(150,150,150,.1); border: 1px solid rgba(100,100,100,.2); border-radius: 3px; padding: .1em .4em; color: var(--fg); }

/* cta band */
.cta { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(40px, 7vw, 88px) clamp(24px, 5vw, 64px); display: grid; gap: 22px; justify-items: center; text-align: center; color: var(--art-fg);
  background: radial-gradient(70% 120% at 50% 120%, #1677FF 0%, transparent 60%), linear-gradient(180deg, #2D1790, var(--art-ink)); isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.06) 0 1px, transparent 1px 12px); mask-image: linear-gradient(0deg, #000, transparent); -webkit-mask-image: linear-gradient(0deg, #000, transparent); }
.cta h2 { font-size: var(--fs-h2); max-width: 16ch; }
.cta p { color: var(--art-fg-2); max-width: 52ch; }
.cta .eyebrow { color: var(--art-fg-2); border-color: var(--art-line); --tick: rgba(255,255,255,.5); }
.cta .btn-ghost { color: var(--art-fg); border-color: rgba(255,255,255,.3); }
.cta .btn-ghost:hover { border-color: #fff; color: #fff; }

/* about */
.about-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: end; }
.about-hero > * { min-width: 0; }
.about-hero h1 { font-size: var(--fs-hero); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { padding: 32px 28px; display: grid; gap: 14px; align-content: start; }
.value .n { font-family: var(--font-mono); font-size: 11px; color: var(--brand-text); letter-spacing: .12em; }
.value h3 { font-size: 22px; font-weight: 400; }
.value p { color: var(--fg-2); font-size: 14px; }
.ops-day { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.ops-day > div { padding: 24px; border-right: 1px solid var(--line); display: grid; gap: 10px; align-content: start; background: var(--card); }
.ops-day > div:last-child { border-right: 0; }
.ops-day time { font-family: var(--font-mono); font-size: 12px; color: var(--brand-text); font-variant-numeric: tabular-nums; }
.ops-day h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.ops-day p { color: var(--fg-2); font-size: 14px; }
@media (max-width: 900px) { .about-hero, .values { grid-template-columns: 1fr; } .ops-day { grid-template-columns: 1fr 1fr; } .ops-day > div { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .ops-day { grid-template-columns: 1fr; } .ops-day > div { border-right: 0; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-grid h1 { font-size: clamp(40px, 5vw, 64px); }
.channels { display: grid; gap: 12px; margin-top: 12px; }
.channel { padding: 20px 22px; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.channel .ic { width: 40px; height: 40px; border-radius: var(--r); background: var(--brand-soft); color: var(--brand-text); display: grid; place-items: center; }
.channel h3 { font-size: 16px; font-weight: 500; letter-spacing: 0; margin-bottom: 2px; }
.channel p { color: var(--fg-2); font-size: 14px; }
form.card { padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--fg-2); }
.field label .req { color: var(--err); margin-right: 3px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 14px; color: var(--fg); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: 10px 12px; transition: border-color .1s var(--ease), box-shadow .1s var(--ease); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--blue); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.field .err { color: var(--err); font-size: 12px; min-height: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: var(--r-pill); font-size: 13px; color: var(--fg-2); }
.seg input:checked + span { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.seg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.success { padding: clamp(28px, 4vw, 48px); display: grid; gap: 16px; justify-items: start; }
.success .ok { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.success .ok .i { width: 24px; height: 24px; }
.success h2 { font-size: 34px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }

/* 404 */
.nf { text-align: center; display: grid; justify-items: center; gap: 20px; padding-block: clamp(80px, 12vw, 160px); }
.nf b { font-size: clamp(96px, 18vw, 200px); font-weight: 300; letter-spacing: -0.06em; line-height: .9; background: linear-gradient(180deg, var(--fg), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* footer */
.footer { border-top: 1px solid var(--line); padding-top: 64px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid > * { min-width: 0; }
.foot-grid h4 { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); font-weight: 400; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid ul a { text-decoration: none; color: var(--fg-2); font-size: 14px; }
.foot-grid ul a:hover { color: var(--fg); }
.news { display: flex; gap: 8px; margin-top: 18px; max-width: 380px; }
.news input { flex: 1; min-width: 0; font: inherit; font-size: 14px; color: var(--fg); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 0 16px; height: 40px; }
.news input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.news-msg { font-size: 13px; color: var(--ok); margin-top: 8px; min-height: 1.2em; }
.giant { font-weight: 300; letter-spacing: -0.07em; line-height: .8; font-size: clamp(120px, 30vw, 400px); text-align: center; margin-top: 48px; user-select: none;
  background: linear-gradient(180deg, var(--fg-3) 0%, transparent 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; border-top: 1px solid var(--line); color: var(--fg-3); font-size: 12px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

.page-hero { padding-block: clamp(56px, 8vw, 104px) 0; }
.page-hero h1 { font-size: var(--fs-hero); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* footer, from the designer's build */
.footer { --fg: #F3F1FB; --fg-2: rgba(243, 241, 251, 0.68); --fg-3: rgba(243, 241, 251, 0.46);
  --line: rgba(236, 232, 255, 0.12); --line-2: rgba(236, 232, 255, 0.18);
  background: #000; color: var(--fg); overflow: hidden; }
.footer > .wrap { padding-top: clamp(96px, 12vw, 180px); }
.footer > .wrap:first-child { padding-top: 64px; }
.foot-grid .logo-svg { height: 26px; width: auto; display: block; color: #fff; }
.foot-grid .blurb { color: var(--fg-2); font-size: 14px; max-width: 40ch; margin-top: 16px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, 160px); gap: 32px 24px; }
.foot-grid > * { min-width: 0; }
/* the footer's column headings: sentence case in the body face (the designer's call), quiet and a touch heavier than the links */
.foot-grid h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: 0; color: var(--fg-3); font-weight: 500; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid ul a { text-decoration: none; color: var(--fg-2); font-size: 14px; }
.foot-grid ul a:hover { color: var(--fg); }
.foot-syms a { display: inline-flex; align-items: center; gap: 10px; }
.foot-syms .sym { flex: none; width: 16px; height: 16px; }
.foot-syms svg.sym { fill: none; stroke: var(--fg-3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.foot-grid ul.foot-social { display: flex; flex-wrap: wrap; gap: 12px; }
.foot-social a { display: flex; color: var(--fg-2); }
.foot-social a:hover { color: var(--fg); }
.foot-social svg { width: 20px; height: 20px; fill: currentColor; }
.legal { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 96px; padding-block: 20px; color: var(--fg-3); font-size: 12px; }
.legal::before { content: ""; position: absolute; top: 0; left: -100vw; right: -100vw; height: 1px; background: var(--line); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* call to action band at the head of the footer, from the designer's build */
.cta { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(40px, 7vw, 88px) clamp(24px, 5vw, 64px); display: grid; gap: 22px; justify-items: center; text-align: center; color: var(--art-fg);
  background: #000; isolation: isolate; }
.cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 65%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000); }
.cta-video { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-copy { position: relative; z-index: 1; display: grid; gap: 22px; justify-items: center; }
/* the heading runs to two balanced lines, and the line under it splits evenly rather than leaving one word alone */
.cta h2 { font-size: var(--fs-h2); max-width: 24ch; text-wrap: balance; }
.cta p { color: var(--art-fg-2); max-width: 52ch; text-wrap: balance; }
.cta .eyebrow { background: rgba(255, 255, 255, .14); color: #fff; }
.cta .btn { height: 32px; }
.cta .btn-brand { background: #fff; color: #000; box-shadow: none; }
.cta .btn-brand:hover { background: #e9e9ee; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .24); }
.cta .btn-ghost:hover { border-color: rgba(255, 255, 255, .6); color: #fff; }
.footer > .cta { border-radius: 0; padding-block: clamp(96px, 12vw, 160px) clamp(120px, 14vw, 200px); }

/* once the header has scrolled out of sight it comes back as a bar fixed to the top (js/sticky-header.js), sliding
   down with a solid backing in the page colour; the nav inside it drops its tray, so the bar is the only surface */
.site-header.is-stuck { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; background: var(--bg);
  backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--line);
  animation: header-in .4s cubic-bezier(0.22, 1, 0.36, 1); }
.site-header.is-stuck .pill-nav__bar.pill-nav__surface { background: transparent; }
.site-header.is-stuck .pill-nav__bar .pill-nav__rim { box-shadow: none; }
@keyframes header-in { from { translate: 0 -100%; } }
@media (prefers-reduced-motion: reduce) { .site-header.is-stuck { animation: none; } }
