/* STACKED site, 2026-10-26 redesign.
   Navy bands alternate with white bands. Instrument Serif for display
   headlines only; Inter for everything else. */

:root {
  --navy: #0A1628;
  --navy-2: #0C2D5A;
  --blue: #2563EB;
  --blue-hover: #1D4ED8;
  --sky: #93C5FD;
  --ink: #0F172A;
  --body: #475569;
  --muted: #64748B;
  --line: #E2E8F0;
  --mist: #F8FAFC;
  --on-navy: rgba(255, 255, 255, 0.72);
  --on-navy-line: rgba(255, 255, 255, 0.12);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: 48px;
}
@media (max-width: 760px) { :root { --gutter: 20px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--navy); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { margin: 0; }

/* ---------- type ---------- */
.display, .h2, .h3 { font-family: var(--serif); font-weight: 400; margin: 0; color: inherit; }
.display { font-size: clamp(52px, 8vw, 104px); line-height: 0.98; letter-spacing: -0.012em; }
.h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.01em; }
.h3 { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; }
.display em, .h2 em, .h3 em { font-style: italic; }
.lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; max-width: 34em; }
.small { font-size: 14px; }

/* ---------- bands ---------- */
.band { padding: 128px 0; position: relative; }
.band--navy {
  background: radial-gradient(120% 90% at 85% 0%, var(--navy-2) 0%, var(--navy) 62%);
  color: #fff;
}
.band--navy .lede, .band--navy p { color: var(--on-navy); }
.band--navy em { color: var(--sky); }
.band--white { background: #fff; }
.band--mist { background: var(--mist); }
.band--white p, .band--mist p { color: var(--body); }
.band--white .h2, .band--mist .h2, .band--white .h3, .band--mist .h3 { color: var(--ink); }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.band--center .wrap { text-align: center; }
.band--center .lede, .band--center .statement { margin-left: auto; margin-right: auto; }
.band--center .media { display: flex; justify-content: center; margin-top: 56px; }
.stack-lg > * + * { margin-top: 28px; }
.stack-md > * + * { margin-top: 18px; }
@media (max-width: 760px) { .band { padding: 80px 0; } }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff;
  font: 500 16px/1 var(--sans); padding: 16px 26px; border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--blue-hover); }
.btn:active { transform: scale(.98); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--blue); }
.band--navy .link-arrow { color: var(--sky); }
.link-arrow svg { transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(3px); }
.cta-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.band--navy .cta-note { color: rgba(255,255,255,.55); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: 64px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);
  background: rgba(10, 22, 40, 0.78);
  backdrop-filter: blur(18px) saturate(1.1); -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-bottom: 1px solid var(--on-navy-line); color: #fff;
}
.announce {
  display: flex; justify-content: center; align-items: center; gap: 10px; height: 36px; padding: 0 var(--gutter);
  background: #fff; color: var(--ink); font-size: 13px; font-weight: 500;
}
.announce-short { display: none; }
.announce-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); }
.announce-cta svg { width: 13px; height: 13px; }
@media (max-width: 480px) { .announce-long { display: none; } .announce-short { display: inline; } }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: 0.02em; }
.nav-brand img { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 30px; font-size: 15px; }
.nav-links a { color: rgba(255,255,255,.7); transition: color .2s ease; }
.nav-links a:hover, .nav-links a.is-current { color: #fff; }
.nav-cta { background: #fff; color: var(--navy); font-size: 14px; font-weight: 500; padding: 9px 16px; border-radius: 999px; }
.nav-burger { display: none; background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; }
.nav-burger svg { width: 24px; height: 24px; }
.menu {
  position: fixed; inset: 0; z-index: 200; background: var(--navy); color: #fff;
  padding: 0 var(--gutter) 40px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility 0s .25s;
}
.menu.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .25s ease; }
.menu-head { display: flex; justify-content: space-between; align-items: center; height: 64px; border-bottom: 1px solid transparent; } /* same box as .nav so the logo and the close button sit exactly where the brand and burger were */
.menu-close { background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; }
.menu-close svg { width: 24px; height: 24px; }
.menu nav { margin-top: 40px; display: flex; flex-direction: column; }
.menu nav a { font-family: var(--serif); font-size: 40px; line-height: 1.25; color: rgba(255,255,255,.8); }
.menu nav a.is-current { color: #fff; font-style: italic; }
.menu .btn { margin-top: auto; justify-content: center; }
@media (max-width: 860px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-burger { display: block; }
}

/* ---------- heroes ---------- */
/* The hero fills what's left of the first screen under the 36px bar and 64px nav. */
.hero { min-height: calc(100vh - 100px); min-height: calc(100svh - 100px); display: flex; align-items: center; padding: 48px 0 72px; overflow: hidden; }
.hero > .wrap { width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-copy .lede { margin-top: 28px; }
/* The phone is sized from the screen height so the whole device fits inside the hero. */
.hero-phone { justify-self: center; width: min(340px, calc((100svh - 240px) * 0.489)); transform: translateY(var(--py, 0px)); will-change: transform; }
.hero-phone .phone { width: 100%; }
@media (max-width: 860px) {
  .hero { min-height: 0; padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-phone { width: 62vw; max-width: 280px; }
}
.page-hero { padding: 120px 0 120px; }
.page-hero .lede { margin-top: 28px; }
@media (max-width: 760px) { .page-hero { padding: 76px 0 80px; } }

/* ---------- phone screenshots ---------- */
.phone { width: 300px; aspect-ratio: 1800 / 3680; }
.phone-screen { width: 100%; height: 100%; }
.phone-screen img { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .4s ease; }
.phone-screen img.is-loaded { opacity: 1; }
.phone-screen--stack { position: relative; }
.phone-screen--stack img { position: absolute; inset: 0; transition: opacity .7s ease; }
/* Slides after the first sit 2px inside the screen (invisible in the crossfade) so a later slide can never
   measure larger than the first: otherwise Chrome logs each auto-advance as a new, later LCP. */
.phone-screen--stack picture + picture img { inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); }
.hero-steps { display: flex; justify-content: center; gap: 4px; margin-top: 20px; }
.hero-step { padding: 12px 4px; border: 0; background: none; cursor: pointer; }
.hero-step span {
  display: block; width: 32px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.22);
  background-image: linear-gradient(#fff, #fff); background-repeat: no-repeat; background-size: 0% 100%;
}
.hero-step.is-done span { background-size: 100% 100%; }
.hero-step.is-on span { animation: hero-fill var(--hold) linear forwards; }
.hero-step span.is-paused { animation-play-state: paused; }
.hero-step:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
@keyframes hero-fill { to { background-size: 100% 100%; } }
@media (max-width: 760px) { .phone { width: 72vw; max-width: 300px; } }

/* ---------- split: text beside media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--rev > :first-child { order: 2; }
.split .media { justify-self: center; }
.split .media.photo { justify-self: stretch; }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; }
.split--top { align-items: start; }
.wide-photo { margin-top: 64px; }
.wide-photo img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 24px; }
.band--photo { background-size: cover; background-position: center; }
/* floating cut-outs: transparent PNGs that sit straight on a white or mist band (never navy), with a slow drift */
.float { justify-self: center; width: min(520px, 100%); }
.float img { display: block; width: 100%; height: auto; animation: float-drift 7s ease-in-out infinite; }
.band--white .float img, .band--mist .float img { filter: drop-shadow(0 28px 36px rgba(10, 22, 40, 0.16)); }
.float--papers { width: min(400px, 78%); margin: 48px auto 0; }
.float--key { width: min(360px, 100%); }
.float--cta { width: min(340px, 72%); margin: 0 auto 48px; }
.page-hero-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
@keyframes float-drift { 50% { transform: translateY(-10px); } }
@media (max-width: 860px) {
  .page-hero-split { grid-template-columns: 1fr; gap: 40px; }
  .float { width: min(320px, 80%); }
}
@media (max-width: 760px) { .wide-photo img { aspect-ratio: 4 / 3; } }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split--rev > :first-child { order: 0; }
}

/* ---------- horizontal scroller (scrolls itself, never the page) ---------- */
.hscroll {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  margin: 56px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 12px; scrollbar-width: none;
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; flex: 0 0 auto; }

/* ---------- goal tiles ---------- */
.goal {
  width: 260px; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; position: relative;
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  background: linear-gradient(160deg, #1E4D8C 0%, var(--navy-2) 45%, var(--navy) 100%);
}
.goal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .goal:hover img { transform: scale(1.04); } }
.goal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,40,0) 40%, rgba(10,22,40,.82) 100%); }
.goal > div { position: relative; z-index: 1; }
.goal .name { font-family: var(--serif); font-size: 32px; line-height: 1.05; }
.goal .line { margin-top: 8px; font-size: 15px; color: rgba(255,255,255,.8); }
@media (min-width: 900px) {
  .goal-row { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 56px 0 0; padding: 0; }
  .goal-row .goal { width: auto; aspect-ratio: 4 / 3; }
  .goal-row .goal-more { grid-column: 1 / -1; width: auto; padding: 8px 0 0; }
}
button.goal { border: 0; font: inherit; text-align: left; cursor: pointer; }
button.goal:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* ---------- goal preview sheet: centered card on desktop, bottom sheet on phones ---------- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 300; background: rgba(10, 22, 40, 0.6);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: sheet-fade .25s ease;
}
.sheet {
  width: min(560px, 100%); max-height: calc(100vh - 48px); overflow: auto;
  background: #fff; border-radius: 24px; box-shadow: 0 24px 80px rgba(10, 22, 40, 0.35);
  animation: sheet-rise .35s cubic-bezier(.2,.7,.2,1);
}
.sheet-media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(160deg, #1E4D8C 0%, var(--navy-2) 45%, var(--navy) 100%); }
.sheet-media img { width: 100%; height: 100%; object-fit: cover; }
.sheet-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.9); color: var(--ink);
}
.sheet-close svg { width: 20px; height: 20px; }
.sheet-body { padding: 28px 32px 32px; }
.sheet-covers { margin-top: 12px; color: var(--body); }
.sheet-label { margin-top: 28px; font-size: 14px; font-weight: 600; color: var(--ink); }
.sheet-goals { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sheet-goals li { padding: 7px 14px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.sheet-goals li.is-soon { background: transparent; border-style: dashed; color: var(--muted); }
.sheet-media--plain { aspect-ratio: auto; height: 68px; }
.more-areas { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.more-label { font-size: 15px; font-weight: 600; color: var(--ink); margin-right: 6px; }
.area-link {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 18px; cursor: pointer;
  font: 500 15px var(--sans); color: var(--ink); transition: border-color .2s ease, background .2s ease;
}
.area-link:hover { border-color: var(--ink); }
.area-link:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.soon { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }
.soon-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; }
.soon-head p { color: var(--muted); font-size: 15px; }
.soon-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 48px; }
.soon-area { font-size: 15px; font-weight: 600; color: var(--ink); }
.soon-grid p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (max-width: 860px) { .soon-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .soon-grid { grid-template-columns: 1fr; gap: 20px; } }
@keyframes sheet-fade { from { opacity: 0; } }
@keyframes sheet-rise { from { opacity: 0; transform: translateY(24px); } }
.sheet-grab { display: none; }
@keyframes sheet-up { from { transform: translateY(100%); } }
@media (max-width: 760px) {
  .sheet-backdrop { align-items: flex-end; padding: 0; }
  .sheet {
    width: 100%; max-height: 88vh; border-radius: 24px 24px 0 0; overscroll-behavior: contain;
    animation: sheet-up .5s cubic-bezier(.32,.72,0,1);
  }
  .sheet-grab {
    display: block; position: absolute; top: 8px; left: 50%; z-index: 1; width: 40px; height: 5px; margin-left: -20px;
    border-radius: 3px; background: rgba(255, 255, 255, 0.75);
  }
  .sheet-body { padding: 24px var(--gutter) 40px; }
}
@media (prefers-reduced-motion: reduce) { .sheet, .sheet-backdrop { animation: none; } }

.goal-more { width: 200px; display: flex; align-items: flex-end; padding: 24px 8px; color: var(--muted); font-size: 15px; }

/* ---------- how it works switcher ---------- */
.tabs { display: flex; gap: 28px; margin-top: 40px; border-bottom: 1px solid var(--on-navy-line); }
.tab {
  background: none; border: 0; padding: 0 0 14px; margin-bottom: -1px; cursor: pointer;
  font: 500 17px var(--sans); color: rgba(255,255,255,.55); border-bottom: 2px solid transparent;
}
.tab.is-active { color: #fff; border-bottom-color: #fff; }
.points { list-style: none; padding: 0; margin: 28px 0 0; }
.points li { padding: 14px 0; border-top: 1px solid var(--on-navy-line); color: var(--on-navy); }
.band--white .points li, .band--mist .points li { border-top-color: var(--line); color: var(--body); }

/* ---------- big figure and statement ---------- */
.figure { font-family: var(--serif); font-size: clamp(88px, 14vw, 180px); line-height: 0.9; letter-spacing: -0.02em; color: var(--ink); }
.statement { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 60px); line-height: 1.08; max-width: 18em; color: var(--ink); }
.band--navy .statement { color: #fff; }

/* ---------- FAQ ---------- */
.faq { margin-top: 48px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font: 500 18px/1.4 var(--sans); color: var(--ink);
}
.faq-q .sign { flex: 0 0 auto; width: 14px; height: 14px; position: relative; }
.faq-q .sign::before, .faq-q .sign::after { content: ""; position: absolute; background: var(--muted); }
.faq-q .sign::before { left: 0; right: 0; top: 6px; height: 2px; }
.faq-q .sign::after { top: 0; bottom: 0; left: 6px; width: 2px; transition: transform .2s ease; }
.faq-item.open .sign::after { transform: scaleY(0); }
.faq-a { display: none; padding: 0 0 26px; max-width: 46em; color: var(--body); }
.faq-item.open .faq-a { display: block; }
.faq-a a { color: var(--blue); }

/* ---------- grade scale ---------- */
.grades { margin-top: 56px; border-top: 1px solid var(--line); }
.grade { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.grade .letter { font-family: var(--serif); font-size: 84px; line-height: 0.8; color: var(--ink); }
.grade .name { font-weight: 600; color: var(--ink); }
.grade p { margin-top: 4px; }
@media (max-width: 600px) { .grade { grid-template-columns: 72px 1fr; } .grade .letter { font-size: 60px; } }

/* ---------- grade explorer (Technology) ---------- */
.explorer {
  margin-top: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
  background: var(--mist); border: 1px solid var(--line); border-radius: 24px; padding: 40px;
}
.explorer-controls { display: grid; gap: 36px; }
.slider { display: grid; gap: 6px; }
.slider-q { font-family: var(--serif); font-size: 26px; line-height: 1.15; color: var(--ink); }
.slider-help { font-size: 15px; color: var(--muted); }
/* Custom-drawn range so the thumb size is known (--t): each stop sits at t/2 + (100% - t) * p,
   and the labels below use the same formula, so a label is always centered under its stop. */
.slider { --t: 22px; }
.slider input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 14px 0 6px;
  background: transparent; cursor: pointer;
}
.slider input[type=range]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 2px;
  background: linear-gradient(to right, var(--blue) calc(var(--t) / 2 + (100% - var(--t)) * var(--p) + var(--nudge, 0px)), var(--line) 0);
}
.slider input[type=range]::-webkit-slider-thumb {
  transform: translateX(var(--nudge, 0px));
  -webkit-appearance: none; width: var(--t); height: var(--t); margin-top: calc((4px - var(--t)) / 2);
  border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
}
.slider input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line); }
.slider input[type=range]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--blue); }
.slider input[type=range]::-moz-range-thumb {
  transform: translateX(var(--nudge, 0px));
  width: var(--t); height: var(--t); box-sizing: border-box; border-radius: 50%; background: #fff;
  border: 2px solid var(--blue); box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
}
.slider input[type=range]:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; border-radius: 8px; }
.slider-stops { position: relative; display: block; height: 24px; font-size: 14px; color: var(--muted); }
.slider-stops button {
  border: 0; background: none; padding: 4px 2px; margin-top: -4px; font: inherit; color: inherit; cursor: pointer;
  position: absolute; top: 0; white-space: nowrap;
  left: calc(var(--t) / 2 + (100% - var(--t)) * var(--p)); transform: translateX(-50%);
}
.slider-stops button:first-child { left: 0; transform: none; }
.slider-stops button:last-child { left: auto; right: 0; transform: none; }
.slider-stops button:hover { color: var(--ink); }
.slider-stops button:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.slider-stops .on { color: var(--ink); font-weight: 600; }
.explorer-result { text-align: center; }
.explorer-letter { font-family: var(--serif); font-size: 160px; line-height: 1; color: var(--ink); transition: color .25s ease; }
.explorer-letter.grade-A { color: var(--blue); }
.explorer-letter.grade-D { color: var(--muted); }
.explorer-result p { margin: 8px auto 0; max-width: 18em; color: var(--body); min-height: 3.2em; }
@media (max-width: 860px) {
  .explorer { grid-template-columns: 1fr; padding: 28px 20px; gap: 24px; }
  .explorer-result { order: -1; }
  .explorer-letter { font-size: 112px; }
}

/* ---------- prose steps and principles ---------- */
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 72px; }
.steps .h3 { margin-bottom: 10px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- compare table ---------- */
.table-wrap { margin-top: 56px; overflow-x: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
.vs { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 16px; }
.vs th, .vs td { text-align: left; padding: 20px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.vs thead th { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ink); border-bottom-color: var(--ink); }
.vs tbody th { font-weight: 500; color: var(--ink); width: 24%; }
.vs td { color: var(--body); }
.vs .us { color: var(--ink); font-weight: 500; background: var(--mist); }
.vs-cards { display: none; }
.vs-card { padding: 22px 0; border-bottom: 1px solid var(--line); }
.vs-card-q { font-family: var(--serif); font-size: 26px; line-height: 1.1; color: var(--ink); margin-bottom: 10px; }
.vs-card p { margin-top: 6px; font-size: 15px; color: var(--body); }
.vs-card p span { color: var(--muted); }
.vs-card .vs-card-us { color: var(--ink); }
.vs-card .vs-card-us strong { font-weight: 600; }
@media (max-width: 760px) {
  .table-wrap--vs { display: none; }
  .vs-cards { display: block; border-top: 1px solid var(--line); }
}
.picks { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.picks .name { font-family: var(--serif); font-size: 28px; line-height: 1.1; color: var(--ink); margin-bottom: 10px; }
@media (max-width: 860px) { .picks { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- labs ---------- */
.ways-head { margin-top: 112px; }
@media (max-width: 760px) { .ways-head { margin-top: 72px; } }
.ways { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.ways .name { font-family: var(--serif); font-size: 28px; color: var(--ink); margin-bottom: 8px; }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; gap: 28px; } }
.shot-caption { margin-top: 18px; text-align: center; font-size: 15px; color: var(--muted); }
.band--navy .shot-caption { color: rgba(255,255,255,.6); }
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; max-width: 20em; }

/* ---------- about ---------- */
.founders { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.founder img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.founder .name { margin-top: 22px; font-family: var(--serif); font-size: 34px; color: var(--ink); }
.founder .role { color: var(--muted); font-size: 15px; }
.founder p { margin-top: 14px; }
.founder .links { margin-top: 16px; display: flex; gap: 20px; }
@media (max-width: 760px) { .founders { grid-template-columns: 1fr; } }
.rows { margin-top: 48px; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.row .name { font-family: var(--serif); font-size: 28px; line-height: 1.1; color: var(--ink); }
.band--navy .rows, .band--navy .row { border-color: var(--on-navy-line); }
.band--navy .row .name { color: #fff; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #fff; padding: 88px 0 48px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.footer-brand img { width: 24px; height: 24px; }
.footer-blurb { margin-top: 16px; max-width: 22em; color: var(--on-navy); font-size: 15px; }
.footer-social { margin-top: 24px; display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--on-navy-line); display: grid; place-items: center; color: #fff; }
.footer h5 { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: #fff; }
.footer-col a { display: block; padding: 5px 0; font-size: 15px; color: var(--on-navy); }
.footer-col a:hover { color: #fff; }
.footer-legal { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--on-navy-line); font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.5); max-width: 880px; }
.footer-legal strong { color: #fff; font-weight: 500; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ---------- fade-up on scroll ---------- */
.reveal .wrap > * { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.reveal.in .wrap > * { opacity: 1; transform: none; }
.reveal.in .wrap > *:nth-child(2) { transition-delay: .06s; }
.reveal.in .wrap > *:nth-child(3) { transition-delay: .12s; }
.reveal.in .wrap > *:nth-child(n+4) { transition-delay: .18s; }

/* ---------- legal pages ---------- */
.legal { max-width: 46em; color: var(--body); }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 36px); line-height: 1.1; color: var(--ink); margin: 56px 0 16px; scroll-margin-top: 88px; }
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal code { font-family: inherit; background: var(--mist); padding: 1px 6px; border-radius: 6px; }
.legal mark { background: #FEF3C7; color: #92400E; padding: 1px 4px; border-radius: 4px; }
.legal .table-wrap { margin: 8px 0 24px; }
.legal .vs { min-width: 600px; font-size: 15px; }
.legal .vs thead th { font-family: var(--sans); font-weight: 600; font-size: 15px; }

/* ---------- 404 ---------- */
.lost-links { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 14px 32px; font-size: 17px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-phone { transform: none; }
  .float img { animation: none; }
  .hero-step.is-on span { animation: none; background-size: 100% 100%; }
  .reveal .wrap > * { opacity: 1; transform: none; }
  * { transition: none !important; }
}
