/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --bg: #05070A;
  --bg2: #0A0D12;
  --ink: #F3F0E8;
  --ink2: #B9B6AE;
  --muted: #6F7278;
  --line: rgba(243, 240, 232, .10);
  --line2: rgba(243, 240, 232, .22);
  --teal: #19E0B8;
  --teal-ink: #03231D;
  --amber: #FFB16A;
  --glow-teal: rgba(25, 224, 184, .18);
  --glow-amber: rgba(255, 177, 106, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

[data-theme="light"] {
  --bg: #F1EEE6;
  --bg2: #E9E5DB;
  --ink: #0A0C10;
  --ink2: #3A3D44;
  --muted: #5F6570;
  --line: rgba(10, 12, 16, .10);
  --line2: rgba(10, 12, 16, .24);
  --teal: #0B7F6B;
  --teal-ink: #F1FFFA;
  --amber: #C7681B;
  --glow-teal: rgba(11, 127, 107, .22);
  --glow-amber: rgba(199, 104, 27, .20);
}

/* ==========================================================================
   Base
   ========================================================================== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
html { scroll-behavior: smooth; }
html.menu-open { overflow: hidden; }
body {
  font-family: Archivo, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
}
a { color: var(--teal); text-decoration: none; }
::selection { background: var(--teal); color: var(--teal-ink); }
img { max-width: 100%; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { from { transform: scale(.92); opacity: .55; } to { transform: scale(1.55); opacity: 0; } }

.page { background: var(--bg); color: var(--ink); min-height: 100vh; position: relative; overflow-x: clip; }
.wrap { max-width: 1400px; margin-left: auto; margin-right: auto; padding-left: 32px; padding-right: 32px; }
.abs { position: absolute; inset: 0; pointer-events: none; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; }
.c-teal { color: var(--teal); }
.c-amber { color: var(--amber); }
.c-muted { color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 999px; flex: none; }
.dot-amber { background: var(--amber); }
.dot-teal { background: var(--teal); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.logo-mark { display: block; }
.wordmark { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1; }
.wordmark i { font-style: normal; color: var(--muted); font-weight: 400; margin: 0 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: inherit; font-size: 16px; font-weight: 600;
  padding: 18px 26px; border-radius: 999px; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn-teal { background: var(--teal); color: var(--teal-ink); border: none; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line2); }
.btn-ink { background: var(--ink); color: var(--bg); border: none; }
.btn-sm { font-size: 15px; padding: 15px 24px; }

@media (hover: hover) {
  a:hover { color: var(--ink); }
  .btn-teal:hover { color: var(--teal-ink); transform: translateY(-2px); }
  .btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
  .btn-ink:hover { background: var(--teal); color: var(--teal-ink); }
}

/* ==========================================================================
   Header + mobile menu
   ========================================================================== */
.site-header { position: fixed; top: 18px; left: 0; right: 0; z-index: 60; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav {
  pointer-events: auto; display: flex; align-items: center; gap: 6px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--line2); border-radius: 999px; padding: 6px 6px 6px 16px;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: 14px; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-family: inherit; font-size: 13px; font-weight: 500; color: var(--ink2);
  padding: 8px 12px; border-radius: 999px; background: transparent; border: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.nav-cta { background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 999px; margin-left: 4px; transition: background .2s, color .2s; }
.menu-btn { display: none; }
@media (hover: hover) {
  .nav-link:hover { background: var(--line); color: var(--ink); }
  .nav-cta:hover { background: var(--teal); color: var(--teal-ink); }
}

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--bg); color: var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.menu::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 40% at 100% 0%, var(--glow-teal), transparent 70%),
              radial-gradient(70% 40% at 0% 100%, var(--glow-amber), transparent 70%);
}
.menu::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 100% 100%, var(--line2) 0 1px, transparent 1px 44px);
  -webkit-mask-image: radial-gradient(60% 45% at 100% 100%, black 10%, transparent 70%);
  mask-image: radial-gradient(60% 45% at 100% 100%, black 10%, transparent 70%);
}
.menu-open .menu { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
.menu-inner {
  position: relative; z-index: 1; min-height: 100%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 104px 24px calc(28px + env(safe-area-inset-bottom));
}
.menu-links { display: flex; flex-direction: column; }
.menu-links > a, .menu-sub, .menu-more {
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.menu-links > a {
  display: flex; align-items: baseline; gap: 16px;
  color: var(--ink); font-size: clamp(34px, 10.5vw, 60px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.1;
  padding: 7px 0; border-bottom: 1px solid var(--line);
}
.menu-links > a:first-child { border-top: 1px solid var(--line); }
.menu-num { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--muted); min-width: 22px; }
.menu-sub { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0 14px 38px; border-bottom: 1px solid var(--line); }
.menu-sub a { font-size: 13px; font-weight: 600; color: var(--ink2); border: 1px solid var(--line2); border-radius: 999px; padding: 7px 12px; }
.menu-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; margin-top: 36px; }
.menu-group { display: flex; flex-direction: column; gap: 9px; }
.menu-group-head { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.menu-group a { font-size: 15px; color: var(--ink2); }
.menu-open .menu-links > a, .menu-open .menu-sub, .menu-open .menu-more { opacity: 1; transform: none; }
.menu-open .menu-links > :nth-child(1) { transition-delay: .05s; }
.menu-open .menu-links > :nth-child(2) { transition-delay: .08s; }
.menu-open .menu-links > :nth-child(3) { transition-delay: .11s; }
.menu-open .menu-links > :nth-child(4) { transition-delay: .14s; }
.menu-open .menu-links > :nth-child(5) { transition-delay: .17s; }
.menu-open .menu-links > :nth-child(6) { transition-delay: .20s; }
.menu-open .menu-links > :nth-child(7) { transition-delay: .23s; }
.menu-open .menu-more { transition-delay: .3s; }
.menu-foot { display: grid; gap: 14px; }
.menu-foot .btn { justify-content: space-between; padding: 20px 26px; }
.theme-switch { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line2); border-radius: 999px; padding: 4px; }
.theme-switch button {
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink2);
  background: transparent; border: none; padding: 12px; border-radius: 999px; cursor: pointer;
  transition: background .2s, color .2s;
}
.theme-switch button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

@media (max-width: 1000px) {
  .site-header { top: 12px; padding: 0 12px; }
  .nav { width: 100%; max-width: 560px; }
  .brand { margin-right: auto; }
  .nav-links, .theme-toggle { display: none; }
  .menu-btn {
    display: grid; place-content: center; gap: 5px;
    width: 42px; height: 42px; margin-left: 6px; border-radius: 999px;
    background: transparent; border: 1px solid var(--line2); cursor: pointer; padding: 0;
  }
  .menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
  .menu-open .menu-btn span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-open .menu-btn span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  --o: clamp(180px, 22vw, 320px); --ox: 8%; --oy: 22%;
  position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
}
.hero-glow {
  background: radial-gradient(48% 60% at 10% 36%, var(--glow-amber), transparent 72%),
              radial-gradient(44% 58% at 90% 42%, var(--glow-teal), transparent 72%),
              radial-gradient(30% 40% at 55% 10%, color-mix(in srgb, var(--amber) 9%, transparent), transparent 70%);
}
.hero-rings {
  --rx: 90%; --ry: 42%;
  background: repeating-radial-gradient(circle at var(--rx) var(--ry), var(--line2) 0 1px, transparent 1px 64px);
  -webkit-mask-image: radial-gradient(60% 80% at var(--rx) var(--ry), black 20%, transparent 70%);
  mask-image: radial-gradient(60% 80% at var(--rx) var(--ry), black 20%, transparent 70%);
}
.hero-dots {
  background: radial-gradient(var(--line2) 1px, transparent 1.4px) 0 0 / 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 30% 40%, black 10%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 30% 40%, black 10%, transparent 75%);
}
.hero-orbit { position: absolute; left: var(--ox); top: var(--oy); width: var(--o); aspect-ratio: 1; border-radius: 999px; border: 1px solid var(--line2); pointer-events: none; }
.hero-orbit-core {
  position: absolute; left: calc(var(--ox) + var(--o) * .34); top: calc(var(--oy) + var(--o) * .34);
  width: calc(var(--o) * .32); aspect-ratio: 1; border-radius: 999px;
  background: color-mix(in srgb, var(--amber) 22%, transparent); border: 1px solid var(--amber); pointer-events: none;
}
.hero-target {
  position: absolute; left: calc(90% - 7px); top: calc(42% - 7px); width: 14px; height: 14px;
  background: var(--teal); border-radius: 999px; pointer-events: none;
  box-shadow: 0 0 0 14px color-mix(in srgb, var(--teal) 14%, transparent), 0 0 0 30px color-mix(in srgb, var(--teal) 6%, transparent);
}
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-fade { background: linear-gradient(to bottom, transparent 40%, var(--bg) 96%); }
.hero-body { position: relative; width: 100%; padding-bottom: 64px; }
.hero-kicker { display: flex; gap: 12px; align-items: center; margin-bottom: 28px; animation: rise .9s var(--ease) both; }
.kicker-group { display: inline-flex; align-items: center; gap: 12px; }
.kicker-text { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); }
.kicker-line { width: 48px; height: 1px; background: var(--line2); }
.hero-title { font-size: clamp(56px, 11vw, 168px); line-height: .9; letter-spacing: -0.05em; font-weight: 700; margin: 0 0 36px; animation: rise 1s .1s var(--ease) both; }
.hero-title .serif { letter-spacing: -0.03em; }
.hero-foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; align-items: end; animation: rise 1s .2s var(--ease) both; }
.hero-lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--ink2); margin: 0; max-width: 40ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 22px; padding: 0 22px; font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); white-space: nowrap; }
.marquee-item span { color: var(--teal); }

/* ==========================================================================
   § 01 Manifesto
   ========================================================================== */
.manifesto { padding-top: 140px; padding-bottom: 140px; }
.manifesto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 64px; align-items: start; }
.manifesto-aside { position: sticky; top: 120px; }
.manifesto-aside .eyebrow { margin-bottom: 28px; }
.manifesto-title { font-size: clamp(44px, 6.4vw, 104px); line-height: .92; letter-spacing: -0.045em; font-weight: 700; margin: 0 0 48px; }
.orbit { position: relative; width: min(100%, 360px); aspect-ratio: 1; border-radius: 999px; background: repeating-radial-gradient(circle at 50% 50%, var(--line2) 0 1px, transparent 1px 30px); }
.orbit > div { position: absolute; }
.pillars { position: relative; display: flex; flex-direction: column; gap: 96px; padding-top: 12px; }
.pillar-letter { font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(72px, 8vw, 120px); line-height: .8; color: var(--teal); margin-bottom: 22px; }
.pillar-lead { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; color: var(--ink); margin: 0 0 18px; font-weight: 500; }
.pillar-body { font-size: 17px; line-height: 1.6; color: var(--ink2); margin: 0; }
.pillar-nav { display: none; }

/* ==========================================================================
   § 02 Reveal
   ========================================================================== */
.reveal { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reveal-inner { padding-top: 120px; padding-bottom: 120px; }
.reveal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.reveal-head .eyebrow { margin-bottom: 24px; }
.reveal-title { font-size: clamp(40px, 5.4vw, 84px); line-height: .94; letter-spacing: -0.045em; font-weight: 700; margin: 0; max-width: 16ch; }
.reveal-copy { font-size: 16px; line-height: 1.55; color: var(--ink2); max-width: 36ch; margin: 0; }

.compare {
  position: relative; border: 1px solid var(--line2); border-radius: 24px; overflow: hidden;
  aspect-ratio: 16 / 8; min-height: 380px; background: var(--bg);
  cursor: ew-resize; touch-action: pan-y; -webkit-user-select: none; user-select: none;
}
.compare-grid { position: absolute; inset: 0; padding: 32px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 10px; }
.compare-before { background: radial-gradient(60% 80% at 20% 50%, var(--glow-amber), transparent 70%); }
.compare-after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.compare-after .compare-grid { background: radial-gradient(60% 80% at 80% 50%, var(--glow-teal), transparent 70%), var(--bg); }
.compare-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--ink); transform: translateX(-1px); pointer-events: none; }
.compare-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 999px; background: var(--ink); color: var(--bg);
  display: grid; place-items: center; font-size: 15px; font-weight: 700; letter-spacing: -0.05em;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .35);
}
.compare:has(.compare-range:focus-visible) .compare-handle { outline: 2px solid var(--teal); outline-offset: 4px; }
.compare-label { position: absolute; top: 22px; display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.compare-label .dot { width: 7px; height: 7px; }
.compare-label-l { left: 24px; color: var(--amber); }
.compare-label-r { right: 24px; color: var(--teal); }
.compare-range { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; margin: 0; opacity: 0; pointer-events: none; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 40px; }
.stat { border-top: 1px solid var(--line2); padding-top: 18px; }
.stat-num { font-size: clamp(36px, 4vw, 56px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.stat-num .serif { font-size: .6em; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* ==========================================================================
   § 03 Method
   ========================================================================== */
.method { padding-top: 140px; padding-bottom: 140px; }
.method .eyebrow { margin-bottom: 24px; }
.method-title { font-size: clamp(40px, 5.4vw, 84px); line-height: .94; letter-spacing: -0.045em; font-weight: 700; margin: 0 0 72px; max-width: 14ch; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2px; }
.step { position: relative; border-top: 1px solid var(--line2); padding: 36px 28px 40px 0; overflow: hidden; transition: background .25s; }
@media (hover: hover) { .step:hover { background: var(--bg2); } }
.step-art { height: 180px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg2); padding: 22px; }
.step-art-scan { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: center; justify-items: center; }
.step-art-translate { display: grid; grid-template-columns: 1fr 40px 1fr; gap: 12px; align-items: center; }
.step-art-gen { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 8px; }
.step-num { font-size: clamp(120px, 16vw, 220px); line-height: .8; font-weight: 800; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px var(--line2); margin: 0 0 -30px -6px; -webkit-user-select: none; user-select: none; }
.step-num-hot { -webkit-text-stroke-color: var(--teal); }
.step-body { position: relative; }
.step h3 { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; margin: 0 0 14px; }
.step p { font-size: 16px; line-height: 1.6; color: var(--ink2); margin: 0; }

/* ==========================================================================
   Proof (78%)
   ========================================================================== */
.proof { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.proof-glow { background: radial-gradient(50% 60% at 50% 100%, var(--glow-teal), transparent 70%); }
.proof-rings {
  background: repeating-radial-gradient(circle at 50% 78%, var(--line2) 0 1px, transparent 1px 56px);
  -webkit-mask-image: radial-gradient(55% 70% at 50% 78%, black 10%, transparent 70%);
  mask-image: radial-gradient(55% 70% at 50% 78%, black 10%, transparent 70%);
}
.proof-inner { position: relative; padding-top: 160px; padding-bottom: 120px; text-align: center; }
.proof-num {
  font-size: clamp(96px, 22vw, 320px); line-height: .8; font-weight: 800; letter-spacing: -0.07em; margin: 0 0 8px;
  background: linear-gradient(to bottom, var(--ink) 30%, color-mix(in srgb, var(--ink) 25%, transparent));
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-user-select: none; user-select: none;
}
.proof-copy { font-size: clamp(24px, 3vw, 40px); line-height: 1.2; color: var(--ink2); margin: 0 auto 40px; max-width: 24ch; }
.proof-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.proof-stat-num { font-size: 32px; font-weight: 700; letter-spacing: -0.04em; }
.proof-stat-label { font-size: 13px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }

/* ==========================================================================
   Scan CTA
   ========================================================================== */
.scan { border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.scan-grid {
  background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 64px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 100%;
  -webkit-mask-image: linear-gradient(to left, black 20%, transparent 70%);
  mask-image: linear-gradient(to left, black 20%, transparent 70%);
}
.scan-ring {
  position: absolute; right: 8%; top: 18%; width: clamp(120px, 14vw, 220px); aspect-ratio: 1; border-radius: 999px;
  background: var(--teal); opacity: .9; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 40%, black 42%);
  mask-image: radial-gradient(circle at 50% 50%, transparent 40%, black 42%);
}
.scan-inner { position: relative; padding-top: 140px; padding-bottom: 120px; }
.scan-title { font-size: clamp(48px, 8vw, 128px); line-height: .9; letter-spacing: -0.05em; font-weight: 700; margin: 0 0 56px; max-width: 12ch; }
.scan-form { display: flex; align-items: center; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 18px; max-width: 820px; flex-wrap: wrap; }
.scan-input {
  flex: 1 1 260px; min-width: 0; background: transparent; border: none; outline: none; padding: 0;
  font-family: inherit; font-size: clamp(22px, 2.6vw, 36px); font-weight: 500; letter-spacing: -0.02em; color: var(--ink);
}
.scan-input::placeholder { color: var(--muted); }
.scan-submit {
  background: var(--ink); color: var(--bg); border: none; font-family: inherit; font-size: 16px; font-weight: 600;
  padding: 16px 26px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s;
}
@media (hover: hover) { .scan-submit:hover { background: var(--teal); color: var(--teal-ink); } }
.scan-note { font-size: 14px; color: var(--muted); margin: 22px 0 0; }

/* Floating scan dock — mobile only */
.dock { display: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); }
/* even-wrapping footer sitemap: 2-up narrow, 4-up wide — never strands a column */
.footer-sitemap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 24px; }
@media (min-width: 860px) { .footer-sitemap { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-head { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer-link { font-size: 15px; color: var(--ink2); }
.footer-link-cta { color: var(--teal); }
.footer-mark { display: none; }
.footer-bar { padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.footer-brand .wordmark { font-size: 12px; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--muted); }
.footer-legal a { color: var(--muted); }
@media (hover: hover) { .footer-link:hover, .footer-legal a:hover { color: var(--ink); } }

/* ==========================================================================
   "Soon" placeholder page
   ========================================================================== */
.soon { min-height: 100vh; min-height: 100svh; background: var(--bg); color: var(--ink); display: flex; flex-direction: column; }
.soon-header { border-bottom: 1px solid var(--line); padding: 20px 32px; }
.soon-bar { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pill-btn {
  font-family: inherit; font-size: 13px; font-weight: 500; color: var(--ink2);
  background: transparent; border: 1px solid var(--line2); padding: 8px 14px; border-radius: 999px; cursor: pointer;
  transition: border-color .2s, color .2s;
}
@media (hover: hover) { .pill-btn:hover { border-color: var(--ink); color: var(--ink); } }
.soon-main { flex: 1; display: grid; place-items: center; padding: 80px 32px; }
.soon-card { max-width: 620px; text-align: center; }
.soon-card .eyebrow { margin-bottom: 24px; }
.soon-title { font-size: clamp(40px, 6vw, 76px); line-height: .96; letter-spacing: -0.045em; font-weight: 700; margin: 0 0 20px; }
.soon-copy { font-size: 18px; line-height: 1.55; color: var(--ink2); margin: 0 0 32px; }
.soon-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.soon-footer { border-top: 1px solid var(--line); padding: 24px 32px; }
.soon-footer div { max-width: 1400px; margin: 0 auto; font-size: 13px; color: var(--muted); }

/* ==========================================================================
   MOBILE — a purpose-built layout, not a squeezed desktop
   ========================================================================== */
@media (max-width: 760px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav-cta { display: none; }

  /* Hero: a vertical "funnel" stage on top, type-led block below.
     Particles rain down and converge into the teal "Anywhere" dot. */
  .hero { --o: 132px; --ox: -40px; --oy: 13%; min-height: 100svh; }
  .hero-target { display: none; }
  .hero-rings {
    --rx: var(--tx, 50%); --ry: var(--ty, 36%);
    background: repeating-radial-gradient(circle at var(--rx) var(--ry), var(--line2) 0 1px, transparent 1px 44px);
    -webkit-mask-image: radial-gradient(75% 30% at var(--rx) var(--ry), black 15%, transparent 70%);
    mask-image: radial-gradient(75% 30% at var(--rx) var(--ry), black 15%, transparent 70%);
  }
  .hero-glow {
    background: radial-gradient(90% 30% at 20% 6%, var(--glow-amber), transparent 72%),
                radial-gradient(70% 26% at var(--tx, 50%) var(--ty, 36%), var(--glow-teal), transparent 72%);
  }
  .hero-dots {
    -webkit-mask-image: radial-gradient(90% 32% at 50% 14%, black 10%, transparent 75%);
    mask-image: radial-gradient(90% 32% at 50% 14%, black 10%, transparent 75%);
  }
  .hero-fade { background: linear-gradient(to bottom, transparent 42%, color-mix(in srgb, var(--bg) 82%, transparent) 62%, var(--bg) 92%); }
  .hero-body { padding-top: max(230px, 38svh); padding-bottom: 32px; }
  .hero-kicker { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
  .kicker-group { gap: 10px; }
  .kicker-text { font-size: 11px; }
  .kicker-line { display: none; }
  .kicker-group:last-child { align-self: flex-end; flex-direction: row-reverse; }
  .hero-title { font-size: clamp(64px, 24.5vw, 132px); line-height: .84; letter-spacing: -0.055em; margin-bottom: 28px; }
  .hero-title .serif { display: block; text-align: right; font-size: 1.12em; line-height: .8; padding-right: .06em; }
  .hero-foot { grid-template-columns: 1fr; gap: 26px; }
  .hero-lead { font-size: 17px; }
  .hero-ctas { display: grid; gap: 10px; justify-content: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; padding: 20px 24px; }
  .hero-ctas .btn-teal { justify-content: space-between; }

  .marquee { padding: 14px 0; }
  .marquee-track { animation-duration: 32s; }
  .marquee-item { font-size: 12.5px; gap: 16px; padding: 0 16px; }

  /* Manifesto: headline + bleeding orbit, then swipeable A/B/C cards */
  .manifesto { padding-top: 96px; padding-bottom: 88px; overflow-x: clip; }
  .manifesto-grid { display: block; }
  .manifesto-aside { position: static; }
  .manifesto-aside .eyebrow { margin-bottom: 20px; }
  .manifesto-title { position: relative; z-index: 1; font-size: 15vw; margin: 0; }
  .orbit { width: 74vw; margin: -34px -24vw 12px auto; }
  .pillars {
    flex-direction: row; gap: 12px; padding: 4px 20px 8px; margin: 0 -20px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .pillars::-webkit-scrollbar { display: none; }
  .pillars::after { content: ""; flex: 0 0 8px; }
  .pillar {
    flex: 0 0 86%; scroll-snap-align: start;
    background: var(--bg2); border: 1px solid var(--line); border-radius: 24px; padding: 24px 22px 28px;
  }
  .pillar-letter { font-size: 88px; margin-bottom: 18px; }
  .pillar-lead { font-size: 21px; }
  .pillar-body { font-size: 16px; }
  .pillar-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
  .pillar-dots { display: flex; gap: 6px; }
  .pillar-dots button { position: relative; width: 26px; height: 24px; padding: 0; border: none; background: none; cursor: pointer; transition: width .3s var(--ease); }
  .pillar-dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 999px; background: var(--line2); transition: background .3s; }
  .pillar-dots button.is-active { width: 48px; }
  .pillar-dots button.is-active::after { background: var(--teal); }
  .pillar-hint { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

  /* Reveal: portrait compare with touch drag */
  .reveal-inner { padding-top: 88px; padding-bottom: 80px; }
  .reveal-head { gap: 18px; margin-bottom: 32px; }
  .reveal-title { font-size: 12.4vw; }
  .reveal-copy { font-size: 15px; }
  .compare { aspect-ratio: 4 / 5; min-height: 0; border-radius: 20px; margin: 0 -8px; }
  .compare-grid { padding: 52px 16px 18px; gap: 6px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .compare-label { top: 18px; font-size: 10.5px; }
  .compare-label-l { left: 16px; }
  .compare-label-r { right: 16px; }
  .compare-handle { width: 52px; height: 52px; }
  .compare:not(.is-touched) .compare-handle::after { content: ""; position: absolute; inset: -6px; border-radius: 999px; border: 1.5px solid var(--ink); animation: pulse 1.8s var(--ease) infinite; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; margin-top: 32px; }
  .stat-num { font-size: 42px; }
  .stat-num .serif { display: block; font-size: .5em; letter-spacing: -0.01em; margin-top: 6px; }
  .stat-label { font-size: 13px; }

  /* Method: sticky cards that stack as you scroll */
  .method { padding-top: 96px; padding-bottom: 72px; }
  .method-title { font-size: 13.5vw; margin-bottom: 36px; }
  .steps { display: block; }
  .step {
    position: sticky; top: calc(82px + var(--i, 0) * 16px);
    background: var(--bg); border: 1px solid var(--line2); border-radius: 24px;
    padding: 14px 14px 26px; margin-bottom: 18px;
    box-shadow: 0 -14px 34px -14px rgba(0, 0, 0, .22);
  }
  .step:last-child { margin-bottom: 0; }
  .step-art { height: 148px; margin-bottom: 8px; border-radius: 14px; }
  .step-num { font-size: 104px; margin: 0 0 -24px 2px; }
  .step-body { padding: 0 8px; }
  .step h3 { font-size: 25px; margin-bottom: 10px; }
  .step p { font-size: 15.5px; }

  /* Proof */
  .proof-inner { padding-top: 112px; padding-bottom: 96px; }
  .proof-num { font-size: 44vw; letter-spacing: -0.075em; }
  .proof-copy { font-size: 26px; margin-bottom: 44px; }
  .proof-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line2); }
  .proof-stats > div { padding: 18px 6px 0; }
  .proof-stats > div + div { border-left: 1px solid var(--line); }
  .proof-stat-num { font-size: 24px; }
  .proof-stat-label { font-size: 10.5px; letter-spacing: .08em; line-height: 1.35; }

  /* Scan */
  .scan-ring { right: -34px; top: 52px; width: 150px; }
  .scan-inner { padding-top: 120px; padding-bottom: 96px; }
  .scan-title { font-size: 17vw; margin-bottom: 40px; }
  .scan-form { display: grid; gap: 18px; border-bottom: none; padding-bottom: 0; }
  .scan-input { font-size: 24px; border-bottom: 2px solid var(--ink); padding-bottom: 14px; border-radius: 0; }
  .scan-submit { width: 100%; padding: 20px 26px; font-size: 16px; }

  .dock {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--teal); color: var(--teal-ink); border-radius: 999px; padding: 8px 8px 8px 22px;
    box-shadow: 0 14px 40px -10px rgba(0, 0, 0, .4);
    transform: translateY(calc(100% + 40px)); transition: transform .45s var(--ease);
  }
  .dock.is-visible { transform: none; }
  .dock strong { display: block; font-size: 15px; font-weight: 600; }
  .dock small { display: block; font-size: 11.5px; opacity: .78; margin-top: 2px; }
  .dock-arrow { width: 46px; height: 46px; border-radius: 999px; background: var(--teal-ink); color: var(--teal); display: grid; place-items: center; font-size: 18px; flex: none; }

  /* Footer */
  .footer-sitemap { padding-top: 56px; gap: 36px 20px; }
  .footer-mark {
    display: block; padding: 28px 20px 26px; white-space: nowrap; overflow: hidden;
    font-size: 14.5vw; font-weight: 800; letter-spacing: -0.06em; line-height: .82;
    color: transparent; -webkit-text-stroke: 1px var(--line2);
  }
  .footer-mark span { color: var(--teal); -webkit-text-stroke: 0; font-weight: 300; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }

  /* Soon page */
  .soon-header, .soon-footer { padding-left: 20px; padding-right: 20px; }
  .soon-main { padding: 64px 20px; }
  .soon-title { font-size: 14vw; }
  .soon-ctas { display: grid; }
  .soon-ctas .btn { justify-content: center; }
}

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

/* ==========================================================================
   Nav — active state + platforms dropdown
   ========================================================================== */
.nav-link.is-active { color: var(--ink); background: var(--line); }
.nav-drop { position: relative; }
.nav-drop > .nav-link { display: inline-flex; align-items: center; gap: 5px; }
.nav-caret { transition: transform .25s var(--ease); opacity: .7; }
.nav-panel {
  position: absolute; top: 100%; left: 50%; padding-top: 14px;
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.nav-drop:hover .nav-panel, .nav-drop:focus-within .nav-panel {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.nav-drop:hover .nav-caret, .nav-drop:focus-within .nav-caret { transform: rotate(180deg); }
.nav-panel-inner {
  width: 400px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 8px;
  background: var(--bg); border: 1px solid var(--line2); border-radius: 22px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .35);
}
.nav-plat { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; color: var(--ink); transition: background .2s; }
.nav-plat-text { display: flex; flex-direction: column; gap: 2px; }
.nav-plat strong { font-size: 14px; font-weight: 600; }
.nav-plat small { font-size: 11.5px; color: var(--muted); }
.nav-plat-all {
  grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center;
  margin-top: 4px; padding: 12px 14px; border-top: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--teal);
}
@media (hover: hover) {
  .nav-plat:hover { background: var(--line); color: var(--ink); }
  .nav-plat-all:hover { color: var(--ink); }
}

.plat-mono {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px;
  font-size: 14px; font-weight: 700; letter-spacing: -0.03em;
}
.plat-teal { background: var(--teal); color: var(--teal-ink); }
.plat-amber { background: var(--amber); color: var(--bg); }
.plat-ink { background: var(--ink); color: var(--bg); }
.plat-mono-lg { width: 64px; height: 64px; border-radius: 18px; font-size: 24px; }

.chips { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.chip { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); border: 1px solid var(--line2); border-radius: 999px; padding: 5px 10px; }
.chip-teal { color: var(--teal); border-color: color-mix(in srgb, var(--teal) 45%, transparent); }
.chip-arrow { color: var(--muted); font-size: 13px; }

/* ==========================================================================
   Sub-pages
   ========================================================================== */
.subpage-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.sh-glow { background: radial-gradient(45% 75% at 88% 20%, var(--glow-teal), transparent 70%), radial-gradient(40% 70% at 0% 100%, var(--glow-amber), transparent 70%); }
[data-accent="amber"] .sh-glow { background: radial-gradient(45% 75% at 88% 20%, var(--glow-amber), transparent 70%), radial-gradient(40% 70% at 0% 100%, var(--glow-teal), transparent 70%); }
.sh-rings {
  background: repeating-radial-gradient(circle at 90% 22%, var(--line2) 0 1px, transparent 1px 56px);
  -webkit-mask-image: radial-gradient(45% 85% at 90% 22%, black 15%, transparent 70%);
  mask-image: radial-gradient(45% 85% at 90% 22%, black 15%, transparent 70%);
}
.sh-dots {
  background: radial-gradient(var(--line2) 1px, transparent 1.4px) 0 0 / 26px 26px;
  -webkit-mask-image: radial-gradient(50% 70% at 20% 70%, black 5%, transparent 70%);
  mask-image: radial-gradient(50% 70% at 20% 70%, black 5%, transparent 70%);
}
.subpage-hero-inner { position: relative; padding-top: 180px; padding-bottom: 88px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 32px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); animation: rise .8s var(--ease) both; }
.crumbs a { color: var(--muted); }
.crumb-sep { opacity: .5; }
.crumb-current { color: var(--ink2); }
.subpage-title { font-size: clamp(48px, 7.4vw, 120px); line-height: .92; letter-spacing: -0.05em; font-weight: 700; margin: 0 0 32px; max-width: 15ch; animation: rise 1s .08s var(--ease) both; }
.subpage-title em, .section-title em, .cta-title em, .prose > h2 em, .prose > h3 em {
  font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--teal);
}
[data-accent="amber"] .subpage-title em { color: var(--amber); }
.subpage-lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink2); margin: 0; max-width: 54ch; animation: rise 1s .16s var(--ease) both; }
.subpage-meta { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.notice { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 9px 16px; border: 1px dashed var(--amber); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--amber); }

.page-body { padding-top: 96px; padding-bottom: 120px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 80px; align-items: start; }
.page-body-full { display: block; }

/* Long-form content */
.prose { min-width: 0; font-size: 18px; line-height: 1.65; color: var(--ink2); }
.prose > * { max-width: 760px; }
.prose > .cards, .prose > .faq, .prose > div[class*="highlighter"] { max-width: none; }
.prose > h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1; letter-spacing: -0.04em; font-weight: 700; color: var(--ink); margin: 96px 0 24px; scroll-margin-top: 110px; }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { font-size: 23px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; color: var(--ink); margin: 44px 0 12px; }
.prose > p { margin: 0 0 20px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose > p a, .prose li a, .prose td a { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose > ul, .prose > ol { list-style: none; padding: 0; margin: 0 0 28px; }
.prose > ul > li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.prose > ul > li::before { content: ""; position: absolute; left: 3px; top: .6em; width: 7px; height: 7px; border-radius: 2px; background: var(--teal); }
.prose > ol { counter-reset: step; }
.prose > ol > li { counter-increment: step; position: relative; padding: 14px 0 14px 52px; border-top: 1px solid var(--line); }
.prose > ol > li:last-child { border-bottom: 1px solid var(--line); }
.prose > ol > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 17px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--teal); }
.prose > blockquote { margin: 48px 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--teal); font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; color: var(--ink); }
.prose > blockquote p { margin: 0; }
.prose > hr { border: 0; border-top: 1px solid var(--line2); margin: 64px 0; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; background: var(--bg2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ink); }
.prose pre { overflow-x: auto; margin: 0 0 32px; padding: 22px 24px; background: var(--bg2); border: 1px solid var(--line2); border-radius: 18px; font-size: 14px; line-height: 1.65; }
.prose pre code { background: none; border: 0; padding: 0; font-size: inherit; }
.prose > div[class*="highlighter"] { max-width: 760px; }
.highlight .c, .highlight .c1, .highlight .cm, .highlight .cs { color: var(--muted); font-style: italic; }
.highlight .k, .highlight .kd, .highlight .kn, .highlight .kc, .highlight .nt, .highlight .na { color: var(--teal); }
.highlight .s, .highlight .s1, .highlight .s2, .highlight .sb, .highlight .mi, .highlight .mf, .highlight .m { color: var(--amber); }
.highlight .nf, .highlight .nb { color: var(--ink); font-weight: 600; }
.prose > table { display: block; overflow-x: auto; max-width: 100%; width: max-content; min-width: min(100%, 760px); border-collapse: collapse; margin: 8px 0 40px; font-size: 15px; line-height: 1.5; }
.prose th { text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 28px 14px 0; border-bottom: 1px solid var(--line2); white-space: nowrap; }
.prose td { padding: 14px 28px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink2); }
.prose td:first-child { color: var(--ink); font-weight: 600; }

/* Aside */
.page-aside { position: relative; height: 100%; }
.aside-sticky { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 24px; }
.toc-head { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc-list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line2); }
.toc-list a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; color: var(--ink2); transition: color .2s, border-color .2s; }
.toc-list a.is-active { color: var(--ink); border-left-color: var(--teal); }
.aside-card { border: 1px solid var(--line2); border-radius: 20px; padding: 22px; background: var(--bg2); }
.aside-card p { font-size: 15px; line-height: 1.5; color: var(--ink2); margin: 10px 0 18px; }
@media (hover: hover) { .toc-list a:hover { color: var(--ink); } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 32px 0 48px; }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 28px; background: var(--bg); border: 1px solid var(--line2); border-radius: 22px; transition: border-color .2s, transform .25s var(--ease); }
.card-num { font-size: 64px; font-weight: 800; line-height: .8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px var(--teal); margin-bottom: 10px; }
.card-label { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card-title { font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin: 0; }
.card-text { flex: 1; font-size: 15.5px; line-height: 1.6; color: var(--ink2); margin: 0; }
.card-link { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--teal); }
.card .card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (hover: hover) {
  .card:has(.card-link:hover) { border-color: var(--ink); transform: translateY(-3px); }
  .card-link:hover { color: var(--teal); }
}

/* Section heads for full-width pages */
.section-head { margin: 112px 0 36px; max-width: 760px; }
.page-body-full > .section-head:first-child { margin-top: 0; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-title { font-size: clamp(34px, 4.2vw, 64px); line-height: .96; letter-spacing: -0.045em; font-weight: 700; margin: 0; }
.section-copy { font-size: 17px; line-height: 1.6; color: var(--ink2); margin: 18px 0 0; }

/* Platform + study cards */
.platform-grid, .study-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
/* four featured platforms: 2-up, then 4-up — never 3 + 1 */
.platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.platform-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 1200px) {
  .platform-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .platform-grid > :last-child:nth-child(odd) { grid-column: auto; }
}
.platform-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 300px; padding: 26px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 26px; color: var(--ink);
  transition: border-color .2s, transform .25s var(--ease);
}
.platform-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.platform-name { font-size: 30px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.platform-sum { flex: 1; font-size: 15.5px; line-height: 1.55; color: var(--ink2); }
@media (hover: hover) { .platform-card:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-3px); } }

.scope-list { border-top: 1px solid var(--line2); }
.scope-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.scope-row strong { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.scope-row > span:nth-child(2) { font-size: 15.5px; color: var(--ink2); }

/* Insights list */
.post-list { border-top: 1px solid var(--line2); }
.post-row { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 32px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.post-date { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-main { display: flex; flex-direction: column; gap: 10px; }
.post-title { font-size: clamp(26px, 3vw, 40px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.post-excerpt { font-size: 16px; line-height: 1.55; color: var(--ink2); max-width: 64ch; }
.post-arrow { font-size: 24px; color: var(--teal); transition: transform .25s var(--ease); }
@media (hover: hover) { .post-row:hover { color: var(--ink); } .post-row:hover .post-arrow { transform: translateX(6px); } }
.feed-note { margin: 32px 0 0; font-size: 14px; color: var(--muted); }

/* Empty state */
.empty-state { max-width: 640px; }
.empty-state p { font-size: 20px; line-height: 1.5; color: var(--ink); margin: 16px 0 0; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* FAQ */
.faq { border-top: 1px solid var(--line2); margin: 0 0 40px; }
.faq-item { border-bottom: 1px solid var(--line2); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line2); border-radius: 999px; transition: background .2s, border-color .2s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--teal); border-color: var(--teal); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--teal-ink); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 60px 24px 0; font-size: 17px; line-height: 1.65; color: var(--ink2); }
.faq-a p { margin: 0 0 12px; }
.faq-a a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-top: 120px; padding-bottom: 120px; }
.cta-title { font-size: clamp(48px, 7vw, 112px); line-height: .9; letter-spacing: -0.05em; font-weight: 700; margin: 0; }
.cta-side p { font-size: 17px; line-height: 1.55; color: var(--ink2); margin: 0 0 24px; max-width: 42ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Contact */
.contact-layout { grid-template-columns: minmax(0, 1fr) 340px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field-full { grid-column: 1 / -1; }
.field > span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink);
  background: transparent; border: none; border-bottom: 2px solid var(--line2); border-radius: 0; padding: 6px 0 12px; outline: none;
  transition: border-color .2s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--ink2) 50%), linear-gradient(135deg, var(--ink2) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: #0A0C10; }
.field textarea { resize: vertical; font-size: 18px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--teal); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 36px; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 0; }
.form-note a { color: var(--teal); }
.contact-aside { border: 1px solid var(--line2); border-radius: 24px; padding: 28px; background: var(--bg2); }
.next-steps { list-style: none; counter-reset: n; margin: 20px 0 0; padding: 0; }
.next-steps li { counter-increment: n; position: relative; padding: 14px 0 14px 40px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; color: var(--ink2); }
.next-steps li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 16px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--teal); }
.next-steps strong { color: var(--ink); font-weight: 600; }
.contact-small { font-size: 13.5px; color: var(--muted); margin: 16px 0 0; }

/* Sub-page responsive */
@media (max-width: 1000px) {
  .page-body { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .page-aside { height: auto; }
  .aside-sticky { position: static; }
  .toc { display: none; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .cta-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 760px) {
  .subpage-hero-inner { padding-top: 124px; padding-bottom: 56px; }
  .crumbs { font-size: 11px; gap: 8px; margin-bottom: 22px; }
  .subpage-title { font-size: clamp(44px, 13.5vw, 72px); margin-bottom: 22px; }
  .subpage-lead { font-size: 17px; }
  .notice { border-radius: 16px; }
  .page-body { padding-top: 56px; padding-bottom: 80px; }
  .prose { font-size: 17px; }
  .prose > h2 { font-size: clamp(32px, 9.5vw, 44px); margin-top: 72px; }
  .prose > h3 { font-size: 21px; }
  .prose pre { margin-left: -20px; margin-right: -20px; border-radius: 0; border-left: 0; border-right: 0; font-size: 13px; }
  .prose > table { margin-right: -20px; padding-right: 20px; font-size: 14px; }
  .prose th, .prose td { padding-right: 18px; }
  .prose td { min-width: 132px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 24px 0 36px; }
  .card { padding: 22px 20px 24px; border-radius: 20px; }
  .section-head { margin: 80px 0 28px; }
  .section-title { font-size: clamp(34px, 10vw, 48px); }
  .platform-grid, .study-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .platform-card { min-height: 0; padding: 22px; border-radius: 22px; }
  .platform-top { margin-bottom: 8px; }
  .plat-mono-lg { width: 52px; height: 52px; border-radius: 15px; font-size: 20px; }
  .scope-row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 18px 0; }
  .scope-row .chips { margin-top: 6px; }
  .post-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 26px 0; }
  .post-arrow { display: none; }
  .faq-item summary { padding: 20px 0; gap: 16px; }
  .faq-a { padding-right: 0; font-size: 16px; }
  .cta-inner { padding-top: 88px; padding-bottom: 96px; }
  .cta-title { font-size: 16vw; }
  .cta-actions { display: grid; }
  .cta-actions .btn { justify-content: center; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .form-actions .btn { width: 100%; justify-content: center; }
  .contact-aside { padding: 22px; }
  .empty-state p { font-size: 18px; }
  .empty-actions { display: grid; }
  .empty-actions .btn { justify-content: center; }
}

/* ==========================================================================
   Migration routes — nav mega panel, menu, home section, footer
   ========================================================================== */
.nav-mega { width: 580px; grid-template-columns: 1fr 1fr; gap: 6px 10px; padding: 12px; }
.nav-col { display: flex; flex-direction: column; gap: 2px; }
.nav-col-head { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 6px 10px 8px; }
.nav-col-routes { border-left: 1px solid var(--line); padding-left: 10px; }
.nav-route { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 10px; border-radius: 14px; color: var(--ink); transition: background .2s; }
.nav-route .route-pair { grid-row: 1 / 3; }
.nav-route strong { font-size: 14px; font-weight: 600; }
.nav-route small { font-size: 11.5px; color: var(--muted); }
.nav-route-sm { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 10px; font-size: 13px; color: var(--ink2); }
.nav-route-sm span { color: var(--muted); font-size: 11.5px; }
@media (hover: hover) {
  .nav-route:hover { background: var(--line); color: var(--ink); }
  .nav-route-sm:hover { background: var(--line); color: var(--ink); }
}

.route-pair { display: inline-flex; align-items: center; gap: 8px; }
.route-arrow { color: var(--muted); font-size: 18px; }
.route-pair-sm { gap: 4px; }
.route-pair-sm .plat-mono { width: 26px; height: 26px; border-radius: 8px; font-size: 10.5px; }
.route-pair-sm .route-arrow { font-size: 12px; }

.menu-sub a.menu-route { color: var(--teal); border-color: color-mix(in srgb, var(--teal) 45%, transparent); }

.routes { padding-top: 40px; padding-bottom: 140px; }
.routes-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.routes-head .eyebrow { margin-bottom: 24px; }
.routes-title { font-size: clamp(40px, 5.4vw, 84px); line-height: .94; letter-spacing: -0.045em; font-weight: 700; margin: 0; }
.routes-copy { font-size: 16px; line-height: 1.55; color: var(--ink2); max-width: 40ch; margin: 0; }

.route-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.route-card {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 28px; color: var(--ink); overflow: hidden;
  transition: border-color .2s, transform .25s var(--ease);
}
.route-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at 100% 0%, var(--glow-teal), transparent 70%); }
.route-card > * { position: relative; }
.route-card .route-pair .plat-mono { width: 56px; height: 56px; border-radius: 16px; font-size: 20px; }
.route-card .route-arrow { font-size: 24px; }
.route-name { font-size: clamp(30px, 3vw, 44px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; margin-top: 12px; }
.route-sum { font-size: 16px; line-height: 1.55; color: var(--ink2); max-width: 52ch; }
.route-card .card-link { margin-top: auto; padding-top: 8px; }
@media (hover: hover) { .route-card:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-3px); } }
.route-more { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 24px 0 0; font-size: 14.5px; }
.route-more span { color: var(--muted); }
.route-more a { color: var(--ink2); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 4px; }
@media (hover: hover) { .route-more a:hover { color: var(--ink); text-decoration-color: var(--ink); } }

.page-body-full .route-grid { margin-bottom: 8px; }
.subpage-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; animation: rise 1s .24s var(--ease) both; }

.footer-routes { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid var(--line); }
.footer-routes-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-routes-links a { font-size: 14.5px; color: var(--ink2); }
@media (hover: hover) { .footer-routes-links a:hover { color: var(--ink); } }

@media (max-width: 760px) {
  .routes { padding-top: 24px; padding-bottom: 88px; }
  .routes-head { gap: 18px; margin-bottom: 28px; }
  .routes-title { font-size: 13.5vw; }
  .routes-copy { font-size: 15px; }
  .route-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .route-card { padding: 22px; border-radius: 22px; }
  .route-card .route-pair .plat-mono { width: 46px; height: 46px; border-radius: 13px; font-size: 17px; }
  .route-name { font-size: 32px; }
  .route-sum { font-size: 15px; }
  .route-more { flex-direction: column; gap: 10px; }
  .subpage-ctas { display: grid; }
  .subpage-ctas .btn { justify-content: center; }
  .footer-routes { flex-direction: column; gap: 14px; }
  .footer-routes-links { flex-direction: column; gap: 12px; }
}
