/* Northfix site. Night for the signature moments, white pages for reading:
   the same mix the app uses. */

@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist"; src: url(fonts/Geist-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url(fonts/Geist-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url(fonts/Geist-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --night: #0D0A17;
  --night-2: #17132A;
  --night-3: #221C3D;
  --star: #F4F1FF;
  --star-2: #B9B2D4;
  --paper: #FFFFFF;
  --paper-2: #F6F4FA;
  --ink: #16121F;
  --ink-2: #5E5970;
  --ink-3: #8E89A0;
  --rule: #E6E3EC;
  --amber: #FFB52E;
  --amber-ink: #B86F00;
  --good: #11946F;
  --good-night: #3DD4A3;
  --thin: #E89A00;
  --violet: #7556E8;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", -apple-system, "Segoe UI", system-ui, sans-serif;

  /* type scale: a 1.25 ratio from 18px */
  --t-sm: 0.875rem;
  --t-base: 1.125rem;
  --t-lg: 1.375rem;
  --t-xl: 1.75rem;
  --t-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --t-hero: clamp(2.6rem, 1.6rem + 4.2vw, 5.4rem);

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-base)/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 500; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.015em; }
h2 { font-size: var(--t-2xl); line-height: 1.08; margin-bottom: 0.6em; text-wrap: balance; }
h3 { font-family: var(--sans); font-weight: 600; font-size: var(--t-base); line-height: 1.35; margin-bottom: 0.4em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--night); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--ink-3); }
.night .muted { color: var(--star-2); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--amber); color: var(--night); font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease; }
.btn:hover { background: #FFC457; }
.btn:active { transform: scale(.97); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.paper .btn-ghost:hover { background: rgba(22,18,31,.05); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: .9375rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.cta-row.center { justify-content: center; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 var(--gutter);
  color: var(--star); transition: background-color .25s ease, box-shadow .25s ease, color .25s ease; }
.nav.solid { background: rgba(13,10,23,.94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.125rem/1 var(--sans); letter-spacing: -0.01em; }
.brand img { border-radius: 8px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { text-decoration: none; font-size: .9375rem; color: var(--star-2); }
.nav nav a:hover { color: var(--star); }
.nav .btn-small { margin-left: 4px; }
@media (max-width: 860px) { .nav nav { display: none; } .nav .btn-small { margin-left: auto; } }

/* ---------- surfaces ---------- */
.night { background: var(--night); color: var(--star); }
.paper { background: var(--paper); color: var(--ink); }
.paper.alt { background: var(--paper-2); }
.chapter { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.chapter p { max-width: 62ch; }
.night p { color: #D8D3EC; }
.paper p { color: var(--ink-2); }
.night h2, .paper h2 { color: inherit; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 96px 0 56px; overflow: hidden; position: relative; }
.hero-sky { position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 55% at 72% 50%, rgba(117,86,232,.28), transparent 70%),
  radial-gradient(ellipse 40% 40% at 72% 52%, rgba(255,181,46,.10), transparent 70%),
  linear-gradient(180deg, #120E22 0%, var(--night) 100%); }
.hero-inner { position: relative; width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: var(--t-hero); line-height: 1.02; letter-spacing: -0.025em; font-weight: 500; text-wrap: balance; }
.hero .lede { font-size: var(--t-lg); line-height: 1.5; color: #D8D3EC; margin-top: 26px; max-width: 34ch; }
.hero .fine { font-size: var(--t-sm); color: var(--star-2); }
.compass-wrap { margin: 0; position: relative; }
#compass { width: 100%; aspect-ratio: 1; touch-action: pan-y; cursor: crosshair; }
.compass-cap { margin-top: 6px; text-align: center; font-size: var(--t-sm); color: var(--star-2); max-width: 46ch; margin-inline: auto; }
.hint-touch { display: none; }
@media (hover: none) { .hint-pointer { display: none; } .hint-touch { display: inline; } }
.lens-tip { position: absolute; pointer-events: none; z-index: 3; min-width: 180px; max-width: 240px; padding: 10px 12px; border-radius: 14px;
  background: rgba(23,19,42,.92); border: 1px solid rgba(255,255,255,.10); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .8125rem; line-height: 1.35; color: var(--star); box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.lens-tip b { display: block; font-weight: 600; }
.lens-tip span { display: block; color: var(--star-2); }
.lens-tip i { display: block; font-style: normal; color: var(--amber); margin-top: 2px; }
@media (max-width: 900px) {
  .hero { padding-top: 84px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .compass-wrap { order: -1; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero .lede { max-width: none; }
}

/* ---------- split layout ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split.flip .copy { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split.flip .copy { order: 0; } }
.device-col { display: flex; justify-content: center; position: relative; }
.device-col.duo { padding-right: 12%; }
.device-col.duo .phone-back { position: absolute; right: 0; bottom: -6%; width: min(46%, 230px); transform: rotate(3deg); z-index: 0; opacity: .96; }
.device-col.duo .phone:first-child { z-index: 1; }
@media (max-width: 860px) { .device-col.duo { padding-right: 18%; } }

.facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; max-width: 60ch; }
.facts li { padding-left: 22px; position: relative; color: inherit; opacity: .92; }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.paper .facts li { color: var(--ink-2); }
.paper .facts strong { color: var(--ink); }
.night .facts strong { color: var(--star); }
.facts + p { margin-top: 28px; }
.note { font-size: var(--t-sm); color: var(--ink-3) !important; margin-top: 14px; }

/* ---------- phones ---------- */
.phone { position: relative; width: min(100%, 330px); aspect-ratio: 1206 / 2622; margin: 0; border-radius: 15% / 7%; padding: 3.2%;
  background: linear-gradient(145deg, #2C2742, #0B0912); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 40px 80px -30px rgba(13,10,23,.55), 0 18px 36px -18px rgba(13,10,23,.35); }
.night .phone { box-shadow: 0 0 0 1px rgba(255,255,255,.10) inset, 0 40px 90px -30px rgba(0,0,0,.8), 0 0 80px -20px rgba(117,86,232,.35); }
.phone video, .phone img, .phone iframe { width: 100%; height: 100%; object-fit: cover; border-radius: 12% / 5.6%; background: #000; border: 0; }
.phone-sm { width: min(100%, 240px); }
.phone .play { position: absolute; right: 7%; bottom: 4.5%; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(13,10,23,.62); color: #fff; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .2s; }
.phone:hover .play, .phone .play:focus-visible, .phone.paused .play { opacity: 1; }
.phone .play svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- today: the daily five ---------- */
.five { margin-top: 30px; max-width: 470px; }
.five-strip { display: flex; gap: 4px; margin-bottom: 14px; }
.five-strip i { flex: 1; height: 4px; border-radius: 4px; background: var(--rule); transition: background-color .35s ease; }
.five-strip i.on { background: var(--ink); }
.five-card { background: #fff; border: 1px solid var(--rule); border-radius: 22px; padding: 18px; box-shadow: 0 18px 40px -26px rgba(22,18,31,.35); min-height: 300px; }
.five-card.enter { animation: slideIn .42s cubic-bezier(.2,.8,.2,1); }
@keyframes slideIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .five-card.enter { animation: none; } }
.who { display: flex; align-items: center; gap: 14px; }
.av { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font: 600 1.15rem/1 var(--sans); color: #fff; }
.tag { font: 600 .75rem/1 var(--sans); letter-spacing: .06em; }
.who h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin: 4px 0 2px; color: var(--ink); }
.who .sub { font-size: .875rem; color: var(--ink-2); }
.recall { margin: 14px 0 12px; padding: 10px 12px; border-radius: 14px; background: var(--paper-2); font-size: .9375rem; color: var(--ink) !important; max-width: none !important; }
.draft { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.45; color: var(--ink) !important; max-width: none !important; }
.five-btns { display: flex; gap: 8px; margin-top: 14px; }
.five-btns button { min-height: 46px; border-radius: 999px; font: 600 .9375rem/1 var(--sans); cursor: pointer; }
.five-btns .go { flex: 1; background: var(--ink); color: #fff; border: 0; }
.five-btns .later { padding: 0 24px; background: transparent; color: var(--ink); border: 1.5px solid var(--rule); }
.five-btns button:disabled { opacity: .4; cursor: default; }
.five-next { text-align: center; font-size: .875rem; color: var(--ink-3) !important; margin: 10px auto 0; }
.five-done { text-align: center; padding: 70px 10px; }
.five-done h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--ink); }
.sent { font-size: .9375rem; color: var(--good) !important; margin-top: 10px; }

/* ---------- ask ---------- */
.ask-head { max-width: 760px; margin-bottom: 36px; }
.ask-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .ask-grid { grid-template-columns: minmax(0, 1fr); } }
.ask-box { background: var(--paper-2); border-radius: 28px; padding: clamp(18px, 3vw, 30px); }
.ask-form { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: 0 0 0 1px var(--rule); }
.ask-form:focus-within { box-shadow: 0 0 0 2px var(--amber); }
.ask-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--amber-ink); stroke-width: 2; stroke-linecap: round; }
.ask-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 1.0625rem/1.4 var(--sans); color: var(--ink); padding: 8px 0; }
.ask-form input::-webkit-search-cancel-button { display: none; }
.ask-form .btn { background: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
.chips button { border: 0; background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 14px; font: 500 .875rem/1.2 var(--sans); cursor: pointer; box-shadow: 0 0 0 1px var(--rule); }
.chips button:hover { box-shadow: 0 0 0 1.5px var(--ink-3); }
.ask-out { min-height: 200px; }
.ask-answer { font-family: var(--serif); font-size: 1.5rem; line-height: 1.25; color: var(--ink) !important; margin: 22px 0 12px; }
.hits { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.hit { display: flex; gap: 12px; align-items: flex-start; padding: 10px 6px; border-top: 1px solid var(--rule); }
.hit .av { width: 38px; height: 38px; font-size: .8125rem; }
.hit b { display: block; font-weight: 600; color: var(--ink); font-size: .9875rem; }
.hit > div > span { display: block; font-size: .875rem; color: var(--ink-2); }
.hit em { display: block; font-style: normal; font-size: .8125rem; color: var(--ink-3); margin-top: 2px; }
.ask-side { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; }
.ask-side .phone-sm { width: 200px; }
@media (max-width: 520px) { .ask-side { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: left; } }

/* ---------- federal ---------- */
.fed-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 30px; }
@media (max-width: 860px) { .fed-head { grid-template-columns: minmax(0, 1fr); } }
.fed-score { background: var(--paper-2); border-radius: 22px; padding: 22px; }
.fed-score .big { font-family: var(--serif); font-size: 3.4rem; line-height: 1; font-weight: 500; }
.fed-score .of { display: block; color: var(--ink-2); font-size: 1rem; margin-top: 6px; }
.bar { display: flex; gap: 2px; height: 10px; border-radius: 10px; overflow: hidden; margin: 16px 0 12px; background: var(--rule); }
.bar i { display: block; height: 100%; }
.keys { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .875rem; color: var(--ink-2); }
.keys span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: var(--c); }
.fed-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.seg { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 9px 16px; font: 500 .9375rem/1 var(--sans); color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(22,18,31,.12); }
.select select { appearance: none; border: 0; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235E5970' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
  border-radius: 999px; padding: 11px 38px 11px 16px; font: 500 .9375rem/1 var(--sans); color: var(--ink); cursor: pointer; }
.fed-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
@media (max-width: 980px) { .fed-body { grid-template-columns: minmax(0, 1fr); } }
.fed-map { display: grid; gap: 14px; }
.dept { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 600px) { .dept { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.dept h3 { font-size: .875rem; font-weight: 600; color: var(--ink); margin: 4px 0 0; }
.dept h3 small { display: block; font-weight: 400; color: var(--ink-3); font-size: .8125rem; }
.cells { display: flex; flex-wrap: wrap; gap: 5px; }
.cell { width: 26px; height: 26px; border-radius: 7px; border: 0; padding: 0; cursor: pointer; background: #E9E6F0; transition: transform .12s ease, opacity .2s ease; }
.cell.thin { background: var(--thin); }
.cell.covered { background: var(--good); }
.cell:hover { transform: scale(1.18); }
.cell.dim { opacity: .14; }
.cell.sel { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.fed-detail { position: sticky; top: 88px; background: var(--paper-2); border-radius: 22px; padding: 22px; min-height: 180px; }
.fed-detail h3 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; line-height: 1.2; color: var(--ink); }
.fed-detail .short { font-size: .8125rem; font-weight: 600; color: var(--ink-3); letter-spacing: .02em; }
.fed-detail .status { display: inline-flex; align-items: center; gap: 7px; font-size: .875rem; font-weight: 600; margin: 10px 0 8px; }
.fed-detail .status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.fed-detail ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.fed-detail li { display: flex; gap: 10px; align-items: center; font-size: .875rem; color: var(--ink-2); }
.fed-detail li .av { width: 32px; height: 32px; font-size: .75rem; }
.fed-detail li b { display: block; color: var(--ink); font-weight: 600; }
.fed-detail .acts { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.fed-detail .acts span { font-size: .8125rem; font-weight: 600; padding: 8px 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--rule); color: var(--ink); }
.fed-foot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(56px, 8vw, 96px); }
@media (max-width: 640px) { .fed-foot { grid-template-columns: minmax(0, 1fr); justify-items: center; } }

/* ---------- pursuit trio ---------- */
.center-head { text-align: center; max-width: 780px; margin: 0 auto clamp(40px, 6vw, 72px); }
.center-head p { margin-inline: auto; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
@media (max-width: 860px) { .trio { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin: 0 auto; } }
.trio-item { margin: 0; }
.trio-item .phone { margin: 0 auto 22px; width: min(100%, 290px); }
.trio-item figcaption { max-width: 34ch; margin: 0 auto; }
.trio-item h3 { font-family: var(--serif); font-size: var(--t-lg); font-weight: 600; }
.pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 7vw, 80px); }
@media (max-width: 860px) { .pills { grid-template-columns: minmax(0, 1fr); } }
.pills p { margin: 0; padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--rule); font-size: .9375rem; }
.pills strong { color: var(--ink); }

/* ---------- socials ---------- */
.constellation { position: relative; height: 250px; margin: 26px 0; max-width: 520px; }
.constellation svg { width: 100%; height: 100%; overflow: visible; }
.constellation text { font: 600 12.5px var(--sans); fill: var(--star); }
.constellation .person { fill: var(--amber); }
.constellation .app circle { fill: var(--night-3); stroke: rgba(255,255,255,.22); }
.constellation line { stroke: rgba(255,181,46,.45); stroke-width: 1.2; }

/* ---------- demo ---------- */
.demo-sec { background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.phone-live { width: min(100%, 360px); }
.live-start { position: relative; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; display: block; }
.live-start img { filter: saturate(.9) brightness(.82); }
.live-start .btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 10px 30px rgba(0,0,0,.3); white-space: nowrap; }
.demo-open a { font-weight: 600; }

/* ---------- everywhere ---------- */
.pads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); max-width: 980px; margin: 0 auto; align-items: start; }
.pad-2 { margin-top: 12%; }
.pad { margin: 0; border-radius: 5.5% / 4.2%; padding: 2%; background: linear-gradient(145deg, #2C2742, #0B0912); box-shadow: 0 50px 100px -40px rgba(13,10,23,.55); }
.pad img { width: 100%; border-radius: 4% / 3%; }
.platforms { list-style: none; padding: 0; margin: clamp(40px, 6vw, 64px) auto 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; max-width: 1080px; }
@media (max-width: 900px) { .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.platforms li { border-top: 2px solid var(--ink); padding-top: 12px; }
.platforms strong { display: block; font-weight: 600; }
.platforms span { display: block; font-size: .875rem; color: var(--ink-2); line-height: 1.45; margin-top: 4px; }

/* ---------- privacy ---------- */
.flow svg { width: 100%; max-width: 460px; margin: 0 auto; }
.flow-node rect { fill: var(--night-2); stroke: rgba(255,255,255,.14); }
.flow-node.main rect { fill: var(--night-3); stroke: var(--amber); stroke-width: 1.5; }
.flow-node text { fill: var(--star); font: 600 15px var(--sans); text-anchor: middle; }
.flow-node text.sub { fill: var(--star-2); font: 400 12.5px var(--sans); }
.flow-line { fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-dasharray: 5 5; }
.link-light { color: var(--amber); font-weight: 600; }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1140px; margin: 0 auto; }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
.plan { border-radius: 26px; padding: 28px; box-shadow: 0 0 0 1px var(--rule); }
.plan h3 { font-family: var(--serif); font-size: var(--t-xl); font-weight: 600; }
.plan-price { color: var(--ink-3) !important; font-size: .9375rem; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.plan li { padding-left: 26px; position: relative; color: var(--ink-2); font-size: 1rem; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .4em; width: 12px; height: 7px; border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg); }
.plan-pro { background: var(--night); color: var(--star); box-shadow: none; }
.plan-pro li { color: #D8D3EC; }
.plan-pro li::before { border-color: var(--amber); }
.plan-pro .plan-price { color: var(--star-2) !important; }

/* ---------- get ---------- */
.get { background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(117,86,232,.25), transparent 70%), var(--night); }
.get-icon { margin: 0 auto 26px; border-radius: 22px; box-shadow: 0 20px 60px -10px rgba(255,181,46,.35); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 1000px; }
@media (max-width: 800px) { .steps { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }
.steps li { counter-increment: s; background: var(--night-2); border-radius: 22px; padding: 24px; border: 1px solid rgba(255,255,255,.07); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--night); font: 600 1rem/1 var(--sans); margin-bottom: 16px; }
.steps h3 { color: var(--star); }
.steps p { font-size: .9375rem; margin: 0; }
.get .cta-row { margin-top: 44px; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: var(--star); padding: 40px 0 56px; border-top: 1px solid rgba(255,255,255,.06); }
.foot-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 28px; align-items: center; }
.foot nav { display: flex; gap: 20px; justify-self: end; }
.foot nav a { color: var(--star-2); text-decoration: none; font-size: .9375rem; }
.foot nav a:hover { color: var(--star); }
.foot p { grid-column: 1 / -1; font-size: .8125rem; margin: 0; max-width: 90ch; }

/* ---------- federal: the sample team ---------- */
.switch { display: inline-flex; align-items: center; gap: 10px; font: 500 .9375rem/1 var(--sans); color: var(--ink); cursor: pointer; padding: 8px 4px; }
.switch input { appearance: none; width: 42px; height: 24px; border-radius: 999px; background: var(--rule); position: relative; cursor: pointer; transition: background-color .2s; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(22,18,31,.25); transition: transform .2s; }
.switch input:checked { background: var(--violet); }
.switch input:checked::after { transform: translateX(18px); }
@media (prefers-reduced-motion: reduce) { .switch input, .switch input::after { transition: none; } }
.cell.via-team { box-shadow: inset 0 0 0 2px rgba(117,86,232,.9); }
.fed-detail ul.via li .av { background: var(--violet); }
.fed-detail li em { display: block; font-style: normal; font-size: .8125rem; color: var(--violet); }

/* ---------- team ---------- */
.team-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-bottom: clamp(36px, 5vw, 56px); }
@media (max-width: 860px) { .team-head { grid-template-columns: minmax(0, 1fr); } }
.team-steps { list-style: none; counter-reset: t; padding: 0; margin: 0; display: grid; gap: 14px; }
.team-steps li { counter-increment: t; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 14px; padding: 16px 18px; border-radius: 18px; background: var(--night-2); border: 1px solid rgba(255,255,255,.07); }
.team-steps li::before { content: counter(t); grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--amber); color: var(--night); font: 600 .9375rem/1 var(--sans); }
.team-steps b { color: var(--star); font-weight: 600; }
.team-steps span { color: #D8D3EC; font-size: .9375rem; line-height: 1.45; }
.team-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; border-radius: 22px; overflow: hidden; margin-bottom: 18px; }
@media (max-width: 700px) { .team-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.team-stats div { background: var(--night-2); padding: 20px; }
.team-stats b { display: block; font-family: var(--serif); font-weight: 500; font-size: 2.4rem; line-height: 1; color: var(--star); }
.team-stats small { font-size: 1.1rem; color: var(--star-2); }
.team-stats span { display: block; margin-top: 8px; font-size: .875rem; color: var(--star-2); }
.team-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .team-cols { grid-template-columns: minmax(0, 1fr); } }
.team-card { background: var(--night-2); border-radius: 22px; padding: 20px 22px; border: 1px solid rgba(255,255,255,.07); }
.team-card h3 { color: var(--star); font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 6px; }
.team-card ul { list-style: none; padding: 0; margin: 0; }
.team-card li { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.07); }
.team-card li b { display: block; color: var(--star); font-weight: 600; font-size: .9875rem; }
.team-card li span { display: block; color: #D8D3EC; font-size: .875rem; }
.team-card li em { display: block; font-style: normal; color: var(--star-2); font-size: .8125rem; margin-top: 2px; }
.team-card li i { flex: none; font-style: normal; font: 600 .8125rem/1 var(--sans); color: var(--night); background: var(--amber); border-radius: 999px; padding: 6px 10px; }
.note-night { font-size: var(--t-sm); color: var(--star-2) !important; margin-top: 16px; }

/* ---------- subpages: team, support, privacy, terms, 404 ---------- */
.subpage { background: var(--paper); }
.page-hero { padding: 132px 0 64px; background: radial-gradient(ellipse 60% 80% at 80% 0%, rgba(117,86,232,.28), transparent 70%), var(--night); }
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: var(--t-hero); line-height: 1.02; letter-spacing: -0.02em; max-width: 16ch; }
.page-hero p { font-size: var(--t-lg); color: #D8D3EC; margin-top: 18px; max-width: 46ch; }
.page-hero.lost { min-height: 72vh; display: flex; align-items: center; }
.doc { max-width: 780px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(72px, 10vw, 120px); }
.doc h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); margin: 2.2em 0 .5em; scroll-margin-top: 84px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.0625rem; margin: 1.8em 0 .4em; color: var(--ink); scroll-margin-top: 84px; }
.doc p, .doc li { color: var(--ink-2); max-width: 70ch; }
.doc li { margin-bottom: .55em; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc a { color: var(--ink); text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.doc b, .doc strong { color: var(--ink); }
.doc code { font: .9em/1 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }
.eff { font-size: var(--t-sm); color: var(--ink-3) !important; }
.callout { background: var(--paper-2); border-radius: 18px; padding: 18px 20px; margin: 18px 0 28px; color: var(--ink-2); }
.lede-doc { font-size: var(--t-lg); line-height: 1.5; color: var(--ink) !important; }
.fine-doc { font-size: var(--t-sm); color: var(--ink-3) !important; margin-top: -6px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 8px; }
.toc a { text-decoration: none; font-size: .875rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; background: var(--paper-2); color: var(--ink); }
.toc a:hover { background: var(--rule); }
.btn-ghost-dark { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost-dark:hover { background: rgba(22,18,31,.05); }
.doc .btn { text-decoration: none; color: var(--night); }
.doc .btn-ghost-dark { color: var(--ink); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.tile { border-radius: 18px; padding: 18px 20px; box-shadow: 0 0 0 1px var(--rule); }
.tile h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.tile p { margin: 0; font-size: .9375rem; }
.doc-table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: .9375rem; }
.doc-table th { text-align: left; font-weight: 600; color: var(--ink); padding: 10px 12px; border-bottom: 2px solid var(--ink); }
.doc-table td { padding: 10px 12px; border-bottom: 1px solid var(--rule); color: var(--ink-2); vertical-align: top; }
.doc-table td:first-child { width: 50%; }
@media (max-width: 560px) { .doc-table { font-size: .875rem; } .doc-table th, .doc-table td { padding: 8px 6px; } }
.nav a[aria-current="page"] { color: var(--star); }
