/* ==========================================================================
   Atlin marketing site — the whole stylesheet.

   No build step and no framework: this file is hand-written CSS, served as
   it is committed. Tokens come from docs/brand/01-foundations.md; the type
   system is Geist (interface), Geist Mono (data) and Newsreader (used ONLY
   where Atlin itself speaks). Fonts are self-hosted from ./fonts/ — nothing
   on this site talks to Google, or to any other third party.
   ========================================================================== */

/* --- Faces ---------------------------------------------------------------
   Geist and Geist Mono are variable (one file each covers 100–900); the
   Newsreader file is the static 400 instance, which is the only weight the
   guide's voice ever uses here. Two subsets per family — `latin` and
   `latin-ext` — so a page that never needs a latin-ext glyph never
   downloads one. All three are SIL OFL 1.1; see fonts/README.md.
   ------------------------------------------------------------------------ */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/geist-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/geist-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/newsreader-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/newsreader-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens -------------------------------------------------------------- */

:root {
  color-scheme: light dark;

  --page: #FAF7F0;
  --surface: #FFFFFF;
  --surface-raised: #FBF9F4;
  --surface-sunken: #F1E8D8;
  --surface-hover: #FFFDF8;

  --ink: #1C1912;
  --ink-body: #26221A;
  --ink-secondary: #3D382E;
  --ink-muted: #5E5648;
  --ink-ghost: #CFC6B2;

  --hairline: rgba(28, 25, 18, .09);
  --hairline-strong: rgba(28, 25, 18, .18);
  --fill-subtle: rgba(28, 25, 18, .05);
  --fill-muted: rgba(28, 25, 18, .07);

  --accent: #B45309;
  --accent-hover: #96450A;
  --accent-ink: #8A3F07;
  --accent-on: #FFFFFF;           /* text ON an accent fill */
  --accent-tint: #FBF4E9;
  --accent-tint-hover: #F6EBD9;
  --accent-tint-border: rgba(180, 83, 9, .28);

  --positive-ink: #4E5744;

  /* Inverted island — the ink-on-paper cards. In dark mode these cannot be
     darker than the page, so they become surfaceRaised with an amber border:
     the emphasis moves from value to hue (01-foundations.md). */
  --island-bg: #1C1912;
  --island-border: #1C1912;
  --island-ink: #FAF7F0;
  --island-body: #CFC6B2;
  --island-muted: #B8AE99;
  --island-accent: #E8963F;
  --island-rule: rgba(250, 247, 240, .14);
  --island-hover: #332E22;

  /* Theme-independent dark contexts: the live tour is dark in BOTH themes,
     because it gets used at night in a group (01-foundations.md). */
  --tour-page: #12100C;
  --on-dark-ink: #FAF7F0;
  --on-dark-muted: #B8AE99;
  --on-dark-soft: #8A8271;
  --on-dark-surface: rgba(250, 247, 240, .06);
  --on-dark-hairline: rgba(250, 247, 240, .12);

  --hatch: repeating-linear-gradient(135deg, #EFE9DC 0 7px, #F7F3EA 7px 14px);
  --chrome: #EFE9DC;
  --chrome-dot: #D6C9B4;

  --shadow-card: 0 24px 50px -34px rgba(28, 25, 18, .55);
  --shadow-frame: 0 40px 80px -50px rgba(28, 25, 18, .6);

  --gutter: clamp(20px, 5vw, 32px);
  --section-gap: clamp(64px, 9vw, 96px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #14120E;
    --surface: #1E1A14;
    --surface-raised: #251F16;
    --surface-sunken: #2A2318;
    --surface-hover: #2C2619;

    --ink: #FAF7F0;
    --ink-body: #EDE7DA;
    --ink-secondary: #D6CEBE;
    --ink-muted: #B3A896;
    --ink-ghost: #6E6656;

    --hairline: rgba(250, 247, 240, .10);
    --hairline-strong: rgba(250, 247, 240, .20);
    --fill-subtle: rgba(250, 247, 240, .06);
    --fill-muted: rgba(250, 247, 240, .10);

    --accent: #E8963F;
    --accent-hover: #F0A860;
    --accent-ink: #F0B475;
    --accent-on: #1C1912;
    --accent-tint: rgba(232, 150, 63, .13);
    --accent-tint-hover: rgba(232, 150, 63, .20);
    --accent-tint-border: rgba(232, 150, 63, .34);

    --positive-ink: #A8BB94;

    --island-bg: #251F16;
    --island-border: rgba(232, 150, 63, .28);
    --island-ink: #FAF7F0;
    --island-body: #D6CEBE;
    --island-muted: #B3A896;
    --island-accent: #E8963F;
    --island-rule: rgba(250, 247, 240, .14);
    --island-hover: #2C2619;

    --hatch: repeating-linear-gradient(118deg, #1A1813 0 14px, #131109 14px 28px);
    --chrome: #251F16;
    --chrome-dot: #4A4234;

    /* A shadow on a dark surface reads as dirt — hairlines do the work. */
    --shadow-card: none;
    --shadow-frame: none;
  }
}

/* --- Base ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  /* clip, not hidden: nothing may scroll sideways, and clip does not make
     the body a scroll container, so the sticky header still sticks. */
  overflow-x: clip;
  background: var(--page);
  color: var(--ink);
  font-family: Geist, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
}
.skip:focus { left: 12px; top: 12px; }

/* --- Layout -------------------------------------------------------------- */

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

.section { margin-top: var(--section-gap); }
.page-head { padding-top: clamp(48px, 8vw, 76px); }
main { padding-bottom: 8px; }

.split { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 56px); align-items: center; }
.split-top { align-items: flex-start; }
.split > .col { flex: 1 1 380px; min-width: min(100%, 300px); }
.stack { display: flex; flex-direction: column; }

/* --- Type ---------------------------------------------------------------- */

.mono {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-variant-ligatures: none;
}

.kicker {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 10.5px;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.kicker-accent { color: var(--accent); }

h1, .h1 {
  font-weight: 600;
  font-size: clamp(36px, 6.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -.032em;
  text-wrap: pretty;
}
.h1-page { font-size: clamp(34px, 5.6vw, 48px); line-height: 1.08; }

h2, .h2 {
  font-weight: 600;
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -.026em;
  text-wrap: pretty;
}
.h2-island { font-size: clamp(27px, 4vw, 38px); line-height: 1.12; letter-spacing: -.032em; }

h3, .h3 {
  font-weight: 600;
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.14;
  letter-spacing: -.028em;
  text-wrap: pretty;
}

.lede { font-size: clamp(16.5px, 2vw, 19px); line-height: 1.6; color: var(--ink-secondary); text-wrap: pretty; }
.body { font-size: 15px; line-height: 1.6; color: var(--ink-muted); text-wrap: pretty; }
.small { font-size: 13.5px; line-height: 1.6; color: var(--ink-muted); text-wrap: pretty; }

/* Newsreader appears here and nowhere else: this is Atlin talking. */
.voice {
  font-family: Newsreader, Georgia, 'Times New Roman', serif;
  font-size: 18.5px;
  line-height: 1.52;
  color: var(--ink-body);
  text-wrap: pretty;
}
.voice-lg { font-size: clamp(18px, 2.4vw, 20px); line-height: 1.45; }
.voice-sm { font-size: 15.5px; line-height: 1.5; }

/* --- Header -------------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--page) 93%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hairline);
}

.topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 10px; flex: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-name { font-weight: 600; font-size: 22px; line-height: .92; letter-spacing: -.045em; }

.mark { display: block; flex: none; }
.mark .bar-accent { stroke: var(--accent); }
.mark .bar-ink { stroke: var(--ink); }
.mark-on-dark .bar-accent { stroke: var(--island-accent); }
.mark-on-dark .bar-ink { stroke: var(--on-dark-ink); }

.nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav::-webkit-scrollbar { display: none; }

.nav a {
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-muted);
  white-space: nowrap;
}
.nav a:hover { background: var(--fill-subtle); color: var(--ink); }
.nav a[aria-current='page'] { color: var(--ink); background: var(--fill-muted); }

.topbar .btn { flex: none; }

@media (max-width: 700px) {
  .topbar-inner { padding-top: 12px; padding-bottom: 12px; row-gap: 10px; }
  .nav { order: 3; flex-basis: 100%; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .brand { flex: 1 1 auto; }
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; }

.btn-accent { background: var(--accent); color: var(--accent-on); }
.btn-accent:hover { background: var(--accent-hover); color: var(--accent-on); }

.btn-island { background: var(--island-bg); border-color: var(--island-border); color: var(--island-ink); }
.btn-island:hover { background: var(--island-hover); color: var(--island-ink); }

.btn-outline { border-color: var(--hairline-strong); color: var(--ink); }
.btn-outline:hover { background: var(--fill-subtle); color: var(--ink); }

.btn-ghost-dark { border-color: rgba(250, 247, 240, .24); color: var(--on-dark-ink); font-weight: 500; height: 46px; }
.btn-ghost-dark:hover { background: rgba(250, 247, 240, .08); color: var(--on-dark-ink); }

.actions { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; }

/* Store badges. They are not links: Atlin is not in either store yet, and a
   button that goes nowhere would be a small lie. They keep the badge shape
   so the real artwork can drop straight in. */
.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px dashed var(--hairline-strong);
  color: var(--ink-muted);
}
.badge-glyph-ios {
  width: 19px; height: 22px; flex: none;
  border: 1.8px solid currentColor; border-top-width: 3px;
  border-radius: 6px 6px 3px 3px;
}
.badge-glyph-play {
  width: 0; height: 0; flex: none;
  border-left: 15px solid currentColor;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}
.badge-kicker {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
}
.badge-name { font-size: 16px; font-weight: 600; margin-top: 2px; color: var(--ink-secondary); }

/* --- Cards --------------------------------------------------------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: clamp(18px, 3vw, 22px);
}
.card-raised { box-shadow: var(--shadow-card); }

.island {
  background: var(--island-bg);
  border: 1px solid var(--island-border);
  border-radius: 26px;
  padding: clamp(24px, 4vw, 52px);
  color: var(--island-ink);
}
.island .kicker { color: var(--island-accent); }
.island .body { color: var(--island-body); }

.note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 16px;
  border-radius: 16px;
  background: var(--surface-sunken);
  border: 1px solid var(--hairline);
}
.note-dot { width: 7px; height: 7px; border-radius: 9px; background: var(--ink-muted); flex: none; margin-top: 6px; }
.note p { font-size: 13.5px; line-height: 1.5; color: var(--ink-muted); text-wrap: pretty; }

.dashed {
  border: 1px dashed var(--hairline-strong);
  border-radius: 26px;
  padding: clamp(24px, 4vw, 44px);
}

/* --- The narration card (the app, mid-sentence) -------------------------- */

.narration-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.narration-head .mono { font-size: 10.5px; color: var(--ink-muted); }
.narration-head .kicker { font-size: 10px; letter-spacing: .15em; }
.narration-title { font-weight: 600; font-size: clamp(23px, 3.2vw, 27px); line-height: 1.12; letter-spacing: -.028em; margin: 6px 0 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px 6px 7px;
  border-radius: 999px;
  background: var(--accent-tint);
  border: 1px solid var(--accent-tint-border);
  font-size: 12px; font-weight: 500; color: var(--accent-ink);
}
.chip-mark {
  width: 17px; height: 17px; border-radius: 5px; flex: none;
  background: var(--accent); color: var(--accent-on);
  display: grid; place-items: center;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 9px; font-weight: 600;
}

.transport {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.meter { display: flex; align-items: flex-end; gap: 2.5px; height: 17px; width: 42px; flex: none; }
.meter i {
  flex: 1; height: 100%;
  background: var(--accent); border-radius: 2px;
  transform-origin: bottom;
  animation: meter .9s ease-in-out infinite;
}
.meter i:nth-child(2) { animation-delay: .12s; }
.meter i:nth-child(3) { animation-delay: .26s; }
.meter i:nth-child(4) { animation-delay: .38s; }
.meter i:nth-child(5) { animation-delay: .5s; }
@keyframes meter { 0%, 100% { transform: scaleY(.28); } 50% { transform: scaleY(1); } }

.track { flex: 1; height: 3px; border-radius: 3px; background: var(--fill-muted); overflow: hidden; }
.track > span { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.transport .mono { font-size: 10.5px; color: var(--ink-muted); flex: none; white-space: nowrap; }

/* --- Feature grid -------------------------------------------------------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 14px;
}
.grid-hairline {
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  overflow: hidden;
}
.grid-hairline > * { background: var(--surface); }

.feature { padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 11px; }
.feature .kicker { font-size: 10px; letter-spacing: .14em; color: var(--accent); }
.feature h3 { font-size: 23px; line-height: 1.15; letter-spacing: -.01em; }

/* --- Live tour (dark in both themes) ------------------------------------- */

.tour {
  background: var(--tour-page);
  border-radius: 26px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 52px);
  color: var(--on-dark-ink);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 40px);
  align-items: flex-start;
}
.tour > .col { flex: 1 1 320px; min-width: min(100%, 280px); }
.tour .kicker { color: var(--island-accent); }
.tour .body { color: var(--on-dark-muted); }
.tour h2 { color: var(--on-dark-ink); }

.live-dot { position: relative; width: 9px; height: 9px; flex: none; }
.live-dot::before, .live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 9px; }
.live-dot::before { background: var(--island-accent); }
.live-dot::after { border: 1.5px solid var(--island-accent); animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(2.2); opacity: 0; } }

.lang-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 4px; }
.lang-pill {
  padding: 6px 11px; border-radius: 999px;
  background: rgba(232, 150, 63, .16); border: 1px solid rgba(232, 150, 63, .4);
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--island-accent);
}
.lang-src {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft);
}
.tour .voice-lg { color: var(--on-dark-ink); }
.tour .voice-sm { color: var(--on-dark-soft); }

.queue-item { padding: 13px 15px; border-radius: 16px; background: var(--on-dark-surface); border: 1px solid var(--on-dark-hairline); }
.queue-item.is-live { background: rgba(232, 150, 63, .12); border-color: rgba(232, 150, 63, .32); }
.queue-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.queue-head span {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); white-space: nowrap;
}
.queue-item.is-live .queue-head span:first-child { color: var(--island-accent); }
.queue-item p { font-size: 15px; line-height: 1.45; color: var(--on-dark-ink); margin-top: 7px; }

/* --- Plans --------------------------------------------------------------- */

.plan { border-radius: 22px; padding: 26px 24px 28px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--hairline); }
.plan-featured { background: var(--island-bg); border-color: var(--island-border); color: var(--island-ink); }
.plan-head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.plan-name { font-weight: 600; font-size: 24px; line-height: 1.1; letter-spacing: -.02em; }
.plan-badge {
  padding: 4px 9px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-ink);
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
}
.plan-featured .plan-badge { background: rgba(232, 150, 63, .2); color: var(--island-accent); }
.plan-price-row { display: flex; align-items: baseline; gap: 7px; margin-top: 14px; flex-wrap: wrap; }
.plan-price { font-weight: 600; font-size: 36px; line-height: 1; letter-spacing: -.03em; }
.plan-period {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted);
}
.plan-featured .plan-period { color: var(--island-muted); }
.plan-blurb { font-size: 14px; line-height: 1.55; color: var(--ink-muted); margin-top: 10px; text-wrap: pretty; }
.plan-featured .plan-blurb { color: var(--island-muted); }
.plan-features { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.plan-featured .plan-features { border-top-color: var(--island-rule); }
.plan-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; line-height: 1.5; color: var(--ink-secondary); text-wrap: pretty; }
.plan-featured .plan-features li { color: var(--island-body); }
.plan-features li::before { content: ''; width: 5px; height: 5px; border-radius: 5px; background: var(--ink-ghost); flex: none; margin-top: 7px; }
.plan-featured .plan-features li::before { background: var(--island-accent); }

/* --- FAQ ----------------------------------------------------------------- */

.faq { display: flex; flex-direction: column; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 20px; overflow: hidden; }
.faq > details { background: var(--surface); }
.faq > details[open] { background: var(--surface-hover); }

.faq summary {
  padding: 20px clamp(18px, 3vw, 24px);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(16px, 2vw, 17px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.4;
  text-wrap: pretty;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--surface-hover); }
.faq details[open] summary { color: var(--accent-ink); }

.faq summary::after {
  content: '+';
  flex: none;
  width: 24px; height: 24px;
  margin-left: auto;
  border-radius: 24px;
  background: var(--fill-muted);
  color: var(--ink-muted);
  display: grid; place-items: center;
  font-size: 15px; line-height: 1;
  font-weight: 400;
}
.faq details[open] summary::after { content: '\2212'; background: var(--accent); color: var(--accent-on); }

.faq .answer {
  padding: 0 clamp(18px, 3vw, 24px) 22px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-secondary);
  text-wrap: pretty;
}
@media (min-width: 640px) { .faq .answer { padding-right: 66px; } }

/* --- Terms --------------------------------------------------------------- */

.toc { flex: 1 1 184px; max-width: 200px; min-width: 160px; display: flex; flex-direction: column; gap: 2px; }
@media (min-width: 880px) { .toc { position: sticky; top: 100px; } }
.toc-head {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); padding-bottom: 8px;
}
.toc a { font-size: 13.5px; line-height: 1.45; color: var(--ink-muted); padding: 6px 0; }
.toc a:hover { color: var(--accent); }

.terms-body { flex: 1 1 400px; min-width: min(100%, 280px); display: flex; flex-direction: column; gap: 38px; }
.terms-body section { scroll-margin-top: 100px; }
.terms-body .kicker { font-size: 10px; letter-spacing: .15em; color: var(--accent); }
.terms-body h2 { font-size: clamp(22px, 3vw, 27px); line-height: 1.16; letter-spacing: -.028em; margin-top: 9px; }
.terms-body p { font-size: 16.5px; line-height: 1.7; color: var(--ink-secondary); margin-top: 14px; text-wrap: pretty; }

/* --- Contact ------------------------------------------------------------- */

.topics { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
/* Visually gone but still in the tab order and still a real radio group,
   so arrow keys move between topics the way they should. */
.topics input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }
.topics label {
  display: inline-flex; align-items: center;
  padding: 9px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--hairline-strong);
  font-size: 13.5px; font-weight: 500; color: var(--ink-secondary);
  cursor: pointer;
}
.topics label:hover { background: var(--surface-hover); }
.topics input:checked + label { background: var(--accent-tint); border-color: var(--accent-tint-border); color: var(--accent-ink); }
.topics input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 3px; }

/* The panel column is a flex item of .topics, forced onto its own row so the
   chips keep wrapping above it. */
.panels { flex: 1 1 100%; margin-top: 24px; }
.topic-panel { display: none; }
#topic-help:checked    ~ .panels > .topic-panel[data-topic='help'],
#topic-billing:checked ~ .panels > .topic-panel[data-topic='billing'],
#topic-guide:checked   ~ .panels > .topic-panel[data-topic='guide'],
#topic-press:checked   ~ .panels > .topic-panel[data-topic='press'],
#topic-other:checked   ~ .panels > .topic-panel[data-topic='other'] { display: block; }

.field-label {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-muted);
}
.field-body {
  margin-top: 8px; min-height: 118px;
  border-radius: 13px; background: var(--surface-raised); border: 1px solid var(--hairline-strong);
  padding: 14px 15px; font-size: 15px; line-height: 1.6; color: var(--ink-muted); text-wrap: pretty;
}
.send-row { display: flex; align-items: center; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.send-row .small { flex: 1 1 200px; }

.channel { border-radius: 18px; padding: 20px; background: var(--surface); border: 1px solid var(--hairline); }
.channel-accent { background: var(--accent-tint); border-color: var(--accent-tint-border); }
.channel .kicker { font-size: 9.5px; letter-spacing: .14em; }
.channel-accent .kicker { color: var(--accent); }
.channel-value { font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin-top: 8px; display: block; }
.channel-accent .channel-value { color: var(--accent-ink); }
.channel .small { margin-top: 6px; }

/* --- Desktop mock -------------------------------------------------------- */

.scroller { margin-top: 38px; overflow-x: auto; border-radius: 16px; }
.frame {
  min-width: 1120px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--shadow-frame);
}
.frame-bar { height: 44px; background: var(--chrome); border-bottom: 1px solid var(--hairline); display: flex; align-items: center; gap: 14px; padding: 0 15px; }
.frame-dots { display: flex; gap: 7px; flex: none; }
.frame-dots i { width: 11px; height: 11px; border-radius: 11px; background: var(--chrome-dot); }
.frame-url {
  flex: 1; max-width: 420px; height: 26px; border-radius: 26px;
  background: var(--page); border: 1px solid var(--hairline);
  display: flex; align-items: center; padding: 0 12px; gap: 8px;
}
.frame-url i { width: 8px; height: 8px; border-radius: 2px; border: 1.4px solid var(--ink-muted); flex: none; }
.frame-url span {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 10.5px; color: var(--ink-muted);
}
.frame-body { display: grid; grid-template-columns: 214px 1fr 320px; background: var(--page); min-height: 620px; }

.desk-side { border-right: 1px solid var(--hairline); padding: 22px 16px; display: flex; flex-direction: column; gap: 26px; }
.desk-nav { display: flex; flex-direction: column; gap: 2px; }
.desk-nav li { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 10px; font-size: 14px; color: var(--ink-secondary); }
.desk-nav li::before { content: ''; width: 6px; height: 6px; border-radius: 6px; background: var(--ink-ghost); flex: none; }
.desk-nav li.is-active { background: var(--accent-tint); color: var(--accent-ink); font-weight: 600; }
.desk-nav li.is-active::before { background: var(--accent); }
.desk-nav .count {
  margin-left: auto;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 10px; color: var(--ink-muted);
}
.desk-card { margin-top: auto; padding: 14px; border-radius: 14px; background: var(--accent-tint); border: 1px solid var(--accent-tint-border); }
.desk-card .kicker { font-size: 9px; letter-spacing: .13em; color: var(--accent); }

.desk-main { padding: 26px 30px; min-width: 0; }
.desk-map {
  margin-top: 20px; height: 206px; border-radius: 18px;
  background: var(--hatch); border: 1px solid var(--hairline);
  display: grid; place-items: center;
}
.desk-rows { display: flex; flex-direction: column; gap: 1px; margin-top: 12px; border-radius: 16px; overflow: hidden; border: 1px solid var(--hairline); background: var(--hairline); }
.desk-row { background: var(--surface); padding: 14px 16px; display: flex; align-items: center; gap: 14px; }
.desk-row .n {
  width: 26px; height: 26px; flex: none; border-radius: 26px; background: var(--fill-muted);
  display: grid; place-items: center;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 11px; color: var(--ink-muted);
}
.desk-row .who { flex: 1; min-width: 0; }
.desk-row .name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.desk-row .meta { font-size: 12.5px; color: var(--ink-muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.desk-row .warn {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); flex: none; white-space: nowrap;
}
.desk-row .time {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 11px; color: var(--ink-muted); flex: none;
}

.desk-rail { border-left: 1px solid var(--hairline); background: var(--surface-raised); padding: 24px 22px; display: flex; flex-direction: column; gap: 22px; }
.desk-ask { background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; padding: 12px 14px; }
.desk-ask p { font-size: 14px; line-height: 1.45; color: var(--ink-body); text-wrap: pretty; }
.desk-ask .state { display: flex; align-items: center; gap: 7px; margin-top: 9px; }
.desk-ask .state::before { content: ''; width: 5px; height: 5px; border-radius: 5px; background: var(--positive-ink); }
.desk-ask .state span {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--positive-ink);
}
.desk-add { border: 1px dashed var(--hairline-strong); border-radius: 14px; padding: 12px 14px; font-size: 14px; color: var(--ink-muted); }
.rule { height: 1px; background: var(--hairline); }
.desk-kv { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-body); }
.desk-kv span { color: var(--ink-muted); }
.desk-kv .ok {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--positive-ink);
}
.desk-send { margin-top: auto; padding: 15px; border-radius: 14px; background: var(--island-bg); border: 1px solid var(--island-border); }
.desk-send .kicker { font-size: 9px; letter-spacing: .13em; color: var(--island-accent); }
.desk-send p { font-size: 13.5px; line-height: 1.55; color: var(--island-body); margin-top: 7px; text-wrap: pretty; }

/* --- CTA ----------------------------------------------------------------- */

.cta {
  background: var(--accent-tint);
  border: 1px solid var(--accent-tint-border);
  border-radius: 26px;
  padding: clamp(36px, 6vw, 56px) clamp(22px, 4vw, 48px);
  text-align: center;
}
.cta .lede { margin: 16px auto 0; max-width: 520px; }
.cta .actions { justify-content: center; margin-top: 30px; }
.cta h2 { max-width: 620px; margin: 0 auto; }

/* --- Footer -------------------------------------------------------------- */

.footer { margin-top: clamp(72px, 11vw, 110px); padding-bottom: 64px; }
.footer-top {
  border-top: 1px solid var(--hairline);
  padding-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 36px;
}
.footer-head {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted);
}
.footer-links { display: flex; flex-direction: column; gap: 9px; margin-top: 13px; }
.footer-links a { font-size: 14px; color: var(--ink-secondary); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--hairline); flex-wrap: wrap;
}
.footer-bottom .small { max-width: 520px; }
@media (min-width: 640px) { .footer-bottom .small { text-align: right; } }

/* --- Utilities ----------------------------------------------------------- */

.mt-4 { margin-top: 4px; }
.mt-7 { margin-top: 7px; }
.mt-9 { margin-top: 9px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-30 { margin-top: 30px; }
.mt-34 { margin-top: 34px; }
.mt-38 { margin-top: 38px; }
.gap-8 { gap: 8px; }
.gap-9 { gap: 9px; }
.gap-11 { gap: 11px; }
.gap-12 { gap: 12px; }
.gap-14 { gap: 14px; }
.row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.row-between { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.max-500 { max-width: 500px; }
.max-560 { max-width: 560px; }
.max-620 { max-width: 620px; }
.self-end { align-self: flex-end; }
