/* ============================================================
   NOAH WIRE: cusp-measured design system
   Root scales with the viewport (14px @1440, 16px @1646+),
   every size below is in rem so the page holds its proportions
   on a 27" screen exactly as it does on a laptop.
   ============================================================ */

@font-face { font-family: 'Inter'; src: url('../fonts/inter-300.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('../fonts/ibm-plex-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('../fonts/ibm-plex-mono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --lime: #88FF82;
  --lime-deep: #6FF268;
  --teal: #017288;
  --teal-deep: #015F71;
  --stone: #E5E5E5;
  --stone-line: #D4D4D4;
  --paper: #FAFAFA;
  --ink: #141414;
  --ink-2: #262626;
  --mute: #8A8A8A;
  --pink: #FF7EC4;

  --rail: 15rem;            /* 210px @1440 */
  --gutter: 1.286rem;       /* 18px */
  --content-top: 11.8rem;   /* 165px: where cusp's text starts */
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Plex Mono', ui-monospace, 'SF Mono', monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(13px, 0.9722vw, 17px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.375;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--lime); color: var(--ink); }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

.mono {
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.125;
}

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--teal); display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; }
.loader__dot { width: 1rem; height: 1rem; border-radius: 50%; background: var(--lime); animation: pulse 1s var(--ease) infinite alternate; }
.is-loaded .loader { opacity: 0; visibility: hidden; }
@keyframes pulse { from { transform: scale(.6); opacity: .5; } to { transform: scale(1.4); opacity: 1; } }

/* ---------- Wordmark ---------- */
.mark { display: inline-flex; align-items: center; text-decoration: none; font-weight: 500; font-size: 1.75rem; letter-spacing: -0.03em; line-height: 1; color: var(--paper); }

/* ---------- Fixed hero video (cusp: video fixed inset-0 z-[-1]) ---------- */
.hero-video { position: fixed; inset: 0; z-index: 0; background: var(--ink); }
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); }
.hero-video video.is-on { opacity: 1; }
.hero-video::after { content: ''; position: absolute; inset: 0; background: rgba(20,20,20,.28); }
.is-split .hero-video { visibility: hidden; }

/* ---------- Rail ---------- */
.rail {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 40;
  width: var(--rail);
  padding: 2.5rem 3.75rem 6.5rem 1.25rem;
  display: flex; flex-direction: column;
  color: var(--paper);
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.is-split .rail { background: var(--lime); color: var(--ink); }
.rail .mark { position: absolute; top: 2.5rem; left: 1.5rem; color: inherit; }
.rail__index { list-style: none; margin: var(--content-top) 0 0; padding: 0; display: grid; gap: 0.7rem; }
.rail__index a {
  display: inline-block; padding: 0.2rem 0.4rem; margin-left: -0.4rem;
  text-decoration: none; white-space: nowrap; font-size: 1rem;
  transition: background-color .25s, color .25s;
}
.rail__index a span { font-weight: 400; }
.rail__index a.is-active { background: var(--paper); color: var(--ink); }
.is-split .rail__index a.is-active { background: var(--ink); color: var(--lime); }
.rail__foot { margin-top: auto; display: grid; gap: 0.35rem; }
.rail__foot a { text-decoration: none; white-space: nowrap; }
.rail__foot a:hover { color: var(--lime); }
.is-split .rail__foot a:hover { color: var(--teal); }
.rail__foot hr { border: 0; height: 0.5rem; margin: 0; }

/* ---------- Top-right pill ---------- */
.actions { position: fixed; top: 2.5rem; right: 1.25rem; z-index: 45; display: flex; align-items: center; gap: 0.75rem; }
.pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  height: 2.6rem; padding: 0 1.3rem;
  border-radius: 999px; border: 0;
  background: var(--lime); color: var(--ink);
  text-decoration: none; cursor: pointer;
  font-family: var(--mono); font-size: 0.875rem; font-weight: 500; text-transform: uppercase;
  transition: background-color .25s;
}
.pill:hover { background: var(--lime-deep); }
.pill .arr { transition: transform .25s var(--ease); }
.pill:hover .arr { transform: translateX(3px); }
.pill--ghost { background: rgba(250,250,250,.9); }
.is-split .pill--ghost { background: var(--paper); }
.pill--ghost:hover { background: #fff; }
.burger { display: none; width: 2.4rem; height: 2.4rem; padding: 0; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 0.5rem; align-items: flex-end; }
.burger i { display: block; width: 1.7rem; height: 2px; background: var(--ink); }
.burger i:last-child { width: 1.15rem; }

/* ---------- Mobile overlay menu ---------- */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--lime); color: var(--ink); padding: 1.4rem 1.2rem 2rem; display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch; transform: translateY(-100%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; }
.menu.is-open { transform: none; visibility: visible; transition: transform .55s var(--ease), visibility 0s; }
.menu__head { display: flex; justify-content: space-between; align-items: center; }
.menu__head .mark { color: var(--ink); }
.menu__close { border: 0; background: none; cursor: pointer; color: var(--ink); }
.menu__links { list-style: none; margin: 3rem 0 0; padding: 0; }
.menu__links a { display: flex; gap: 1rem; align-items: baseline; padding: 0.7rem 0; border-bottom: 1px solid rgba(20,20,20,.14); font-size: clamp(28px, 8vw, 44px); letter-spacing: -.03em; text-decoration: none; }
.menu__links a .mono { opacity: .5; }
.menu__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; }
.menu__foot a { text-decoration: none; }

/* ---------- Hero: three stacked screens over the fixed video ---------- */
.intro { position: relative; z-index: 1; color: var(--paper); }
.screen { height: 100vh; position: relative; padding: var(--content-top) 3rem 0 calc(var(--rail) + 1.85rem); }
.screen h1, .screen h2 { font-size: 4.75rem; line-height: 1; letter-spacing: 0; max-width: 72rem; }
.screen__arrow { position: absolute; left: calc(var(--rail) + 1.85rem); top: 34rem; width: 2.5rem; height: 2.5rem; color: var(--paper); }
.screen__arrow svg { width: 100%; height: 100%; }
.screen__label { position: absolute; left: calc(var(--rail) + 1.85rem); top: calc(var(--content-top) - 2.4rem); color: var(--lime); display: flex; align-items: center; gap: 0.6rem; }
.screen__label i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--pink); display: inline-block; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- Split panels (cusp: stage 43.6% / content 56.4% of the area right of the rail) ---------- */
.panel { position: relative; z-index: 1; display: grid; grid-template-columns: var(--rail) 43.6fr 56.4fr; background: var(--stone); }
.panel::before { content: ''; }
.stage {
  position: sticky; top: 0; height: 100vh;
  background: var(--teal); color: var(--paper);
  padding: var(--content-top) 2.5rem 3rem var(--gutter);
  overflow: hidden;
}
.stage > * { position: relative; z-index: 1; }
.stage__num { position: absolute !important; top: 2.6rem; left: var(--gutter); color: var(--lime); }
.stage__bg { position: absolute !important; inset: 0; z-index: 0 !important; }
.stage__bg video { width: 100%; height: 100%; object-fit: cover; opacity: .22; mix-blend-mode: luminosity; }
.stage__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,114,136,.5), var(--teal) 80%); }
.stage h2 { color: var(--lime); font-size: 4rem; line-height: 1; letter-spacing: -0.01em; }
.stage__lede { margin: 1.6rem 0 0; font-size: 1.75rem; line-height: 1.2; letter-spacing: -0.01em; max-width: 26ch; }
.stage__label { color: var(--lime); margin-top: 3rem; }
.stage__label + .stage__label { margin-top: 0.5rem; }
.stage__label a { text-decoration: none; }

.main { min-height: 100vh; padding: var(--content-top) 1.25rem 6rem 2rem; }
.main--flush { padding: 0; }
.main p { color: var(--ink-2); }
.main h3 { font-size: 2rem; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.kicker { color: var(--ink); margin: 0 0 1.4rem; display: block; }
.body-lg { font-size: 1.75rem; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink) !important; max-width: 30ch; margin: 0 0 1.6rem; }
.body { max-width: 56ch; font-size: 1rem; margin: 0 0 1rem; }
.text-muted { color: var(--mute); }
.link-mono { font-family: var(--mono); font-size: 0.875rem; font-weight: 500; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.link-mono:hover { color: var(--teal); }

/* ---------- Why now list ---------- */
.listcard { background: var(--paper); border-radius: 0.6rem; padding: 1.5rem 1.7rem; margin-top: 2.5rem; }
.listcard__head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: 0.9rem; border-bottom: 1px solid var(--stone-line); }
.sixsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.sixsteps li { display: flex; gap: 1rem; align-items: baseline; padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--stone); font-size: 1.25rem; letter-spacing: -0.01em; }
.sixsteps li .mono { color: var(--teal); }
.sixsteps li:nth-child(n+5) { border-bottom: 0; }

/* ---------- Wire sheet ---------- */
.sheet { background: var(--paper); border-radius: 0.6rem; padding: 1.5rem 1.7rem 1.2rem; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--stone-line); }
.sheet__head .mono { color: var(--mute); }
.live-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 0.875rem; font-weight: 500; text-transform: uppercase; }
.live-badge__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--pink); animation: blink 1.6s infinite; }
.wire-sheet__stamp { font-family: var(--mono); font-size: 0.875rem; text-transform: uppercase; color: var(--mute); }
.wire-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 1rem 0; }
.fchip { font-family: var(--mono); font-size: 0.8rem; text-transform: uppercase; border: 1px solid var(--stone-line); background: transparent; color: var(--ink); padding: 0.4rem 0.8rem; border-radius: 999px; cursor: pointer; transition: background-color .2s, border-color .2s; }
.fchip:hover { border-color: var(--ink); }
.fchip.active { background: var(--teal); border-color: var(--teal); color: var(--paper); }
.feed-item { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--stone); }
.feed-item__ts { font-family: var(--mono); font-size: 0.8rem; color: var(--mute); line-height: 1.4; padding-top: 0.2rem; }
.feed-item__meta { display: flex; gap: 0.4rem; margin-bottom: 0.4rem; }
.tag { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 3px; border: 1px solid var(--stone-line); color: var(--mute); }
.tag--ok { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.feed-item__title { margin: 0 0 0.25rem; font-size: 1.25rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.feed-item__title a { text-decoration: none; }
.feed-item__title a:hover { color: var(--teal); }
.feed-item__src { font-size: 0.875rem; color: var(--mute); }
.sheet__foot { padding-top: 1rem; border-top: 1px solid var(--stone); display: flex; justify-content: space-between; align-items: center; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.card { background: var(--paper); border-radius: 0.6rem; padding: 1.7rem; }
.card--lime { background: var(--lime); }
.card--teal { background: var(--teal); color: var(--paper); }
.card--teal p { color: #dcecf0; }
.ticks { list-style: none; margin: auto 0 0; padding: 1.2rem 0 0; display: grid; gap: 0.35rem; font-size: 1rem; }
.ticks li::before { content: '+ '; font-family: var(--mono); color: var(--teal); }
.cell--lime .ticks li::before { color: var(--ink); }
.ticks--dark { padding-top: 1rem; }
.ticks--dark li { color: #dcecf0; }
.ticks--dark li::before { color: var(--lime); }

/* ---------- Grids (cusp's logo-wall rhythm) ---------- */
.eco, .grid { display: grid; border-left: 1px solid var(--stone-line); border-top: 1px solid var(--stone-line); }
.eco { grid-template-columns: repeat(3, 1fr); }
.grid { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.cell { border-right: 1px solid var(--stone-line); border-bottom: 1px solid var(--stone-line); padding: 1.8rem; min-height: 16rem; display: flex; flex-direction: column; background: var(--stone); transition: background-color .35s var(--ease); }
.eco .cell { min-height: 0; }
.cell:hover { background: var(--paper); }
.cell .mono { color: var(--teal); }
.cell h3 { margin-top: auto; font-size: 1.75rem; }
.cell p { margin: 0; font-size: 1rem; }
.cell--lime { background: var(--lime); }
.cell--lime:hover { background: var(--lime-deep); }
.cell--lime .mono { color: var(--ink); }
.cell--teal { background: var(--teal); color: var(--paper); }
.cell--teal:hover { background: var(--teal-deep); }
.cell--teal .mono { color: var(--lime); }
.cell--link { text-decoration: none; }
.cell--link .arr { font-size: 2rem; margin-top: auto; }
.beats-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 4rem 1.8rem 1.2rem; }

/* ---------- Approach (cusp: icon + line, 72px rhythm) ---------- */
.steps { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; gap: 1.6rem; }
.steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1.1rem; align-items: center; font-size: 1.25rem; line-height: 1.25; }
.steps b { font-weight: 600; }
.steps svg { width: 2.5rem; height: 2.5rem; color: var(--lime); }
.reel { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--ink); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel__cap { position: absolute; left: 1.5rem; bottom: 1.5rem; }
.reel__cap .mono { color: var(--lime); }

/* ---------- Advantage ---------- */
.adv { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--stone-line); }
.adv__item { padding: 1.7rem 1.7rem 1.7rem 0; border-bottom: 1px solid var(--stone-line); }
.adv__item:nth-child(even) { padding-left: 1.7rem; border-left: 1px solid var(--stone-line); }
.adv__item .mono { color: var(--teal); display: block; margin-bottom: 1.8rem; }
.adv__item h3 { font-size: 1.75rem; }
.adv__item p { margin: 0; }
.adv__item--teal { background: var(--teal); color: var(--paper); padding-left: 1.7rem !important; margin-left: -1px; }
.adv__item--teal .mono { color: var(--lime); }
.adv__item--teal p { color: #dcecf0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.2rem; }
.chips span { font-family: var(--mono); font-size: 0.8rem; text-transform: uppercase; padding: 0.4rem 0.75rem; border-radius: 999px; border: 1px solid rgba(20,20,20,.3); }
.chips--dark span { border-color: rgba(136,255,130,.45); color: var(--lime); }
.big-num { font-size: 9rem; line-height: .95; letter-spacing: -0.04em; }
.big-num em { font-style: normal; color: var(--pink); }

/* ---------- Proof carousel (cusp: quote, then ← 01 / 22 →) ---------- */
.carousel { position: relative; }
.slides { display: grid; overflow: hidden; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(1.5rem); transition: opacity .5s var(--ease), transform .6s var(--ease), visibility .5s; }
.slide.is-on { opacity: 1; visibility: visible; transform: none; }
.slide blockquote { margin: 0; font-size: 3rem; line-height: 1.1; letter-spacing: -0.02em; max-width: 22ch; }
.slide blockquote .q { color: var(--teal); }
.def__word { font-size: 6.5rem; letter-spacing: -0.04em; line-height: 1; }
.def__ipa { color: var(--mute); margin: 0.6rem 0 1.2rem; }
.controls { display: flex; align-items: center; gap: 1rem; margin-top: 3rem; }
.arrow { width: 3.4rem; height: 2.3rem; border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; transition: background-color .2s; }
.arrow:hover { background: var(--lime); border-color: var(--lime); }
.count b { font-weight: 500; }
.proof-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 4.5rem; }
.logo-tile { background: var(--paper); border-radius: 0.6rem; padding: 1.8rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-height: 16rem; }
.logo-tile img { max-width: 14rem; height: auto; filter: grayscale(1); }
.vcard { position: relative; border-radius: 0.6rem; overflow: hidden; background: var(--ink); color: var(--paper); min-height: 22rem; display: flex; }
.vcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.vcard__body { position: relative; margin-top: auto; padding: 1.5rem; background: linear-gradient(transparent, rgba(20,20,20,.88) 38%); width: 100%; }
.vcard__body h3 { color: var(--paper); font-size: 1.5rem; }
.vcard__body .mono { color: var(--lime); }
.minis { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1rem; margin-top: 1rem; }
.minis div b { display: block; font-weight: 400; font-size: 1.85rem; letter-spacing: -0.03em; color: var(--lime); }
.minis div span { font-size: 0.8rem; color: #d4d4d4; }

/* ---------- Pricing ---------- */
.plain { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 0.9rem; font-size: 1.25rem; line-height: 1.3; }
.plain b { font-weight: 600; color: var(--lime); }
.tiers { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 0.7rem; }
.tier { background: var(--paper); border-radius: 0.6rem; padding: 1.4rem; display: flex; flex-direction: column; min-height: 15rem; }
.tier .mono:first-child { color: var(--teal); }
.tier__price { font-size: 2.6rem; letter-spacing: -0.04em; line-height: 1; margin-top: 0; padding-top: 1.8rem; }
.tier p { margin: 0.5rem 0 0; font-size: 1rem; }
.tier p.mono { font-size: 0.72rem; color: var(--mute); }
.tier p:last-of-type { margin-top: auto; padding-top: 1.1rem; }
.tier .pill { margin-top: 1.1rem; align-self: flex-start; height: 2.4rem; font-size: 0.8rem; padding: 0 0.9rem; }
.tier--lime { background: var(--lime); }
.tier--lime .mono:first-child, .tier--lime p.mono { color: var(--ink); }
.tier--teal { background: var(--teal); color: var(--paper); }
.tier--teal .mono:first-child, .tier--teal p.mono { color: var(--lime); }
.tier--teal .tier__price { font-size: 2.3rem; }
.tier:not(.tier--lime):not(.tier--teal) .tier__price { font-size: 1.75rem; padding-top: 2.4rem; }
.tier--teal p { color: #dcecf0; }

/* ---------- Beyond ---------- */
.beyond { display: grid; gap: 1rem; }
.bcard { display: grid; grid-template-columns: 42% 1fr; background: var(--paper); border-radius: 0.6rem; overflow: hidden; text-decoration: none; }
.bcard__media { position: relative; min-height: 17rem; background: var(--teal); }
.bcard__media video, .bcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bcard__body { padding: 1.8rem; display: flex; flex-direction: column; }
.bcard__body p { margin: 0 0 1.3rem; }
.bcard__body .link-mono { margin-top: auto; align-self: flex-start; }
.railmap { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3.5rem; border-top: 1px solid var(--stone-line); border-left: 1px solid var(--stone-line); }
.railmap a { padding: 1.5rem; border-right: 1px solid var(--stone-line); border-bottom: 1px solid var(--stone-line); text-decoration: none; display: flex; flex-direction: column; gap: 0.7rem; min-height: 14rem; transition: background-color .3s; }
.railmap a:hover { background: var(--paper); }
.railmap a.here { background: var(--lime); }
.railmap h3 { font-size: 1.5rem; margin: 0; }
.railmap p { font-size: 1rem; margin: 0; }
.railmap .link-mono { margin-top: auto; align-self: flex-start; }

/* ---------- Start (lime, like cusp's join block) ---------- */
.cta { position: relative; z-index: 1; background: var(--lime); color: var(--ink); display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); }
.cta__inner { padding: var(--content-top) 1.25rem 8rem 1.85rem; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 4rem; align-items: start; }
.cta h2 { margin: 1.2rem 0 1.4rem; font-size: 4.75rem; line-height: 1; letter-spacing: -0.01em; max-width: 12ch; }
.cta p { font-size: 1.5rem; max-width: 40ch; line-height: 1.3; margin: 0 0 2rem; }
.cta__mail { margin-top: 2rem; }
.cta__mail a { text-transform: none; }
.on-lime .pill--demo { background: var(--paper); }

.form { display: grid; gap: 1.6rem; padding-top: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form label > .mono, .form legend { display: block; margin-bottom: 0.5rem; color: var(--ink); font-size: 0.8rem; opacity: .7; }
.form input:not([type=radio]):not([type=checkbox]) { width: 100%; height: 2.8rem; padding: 0; border: 0; border-bottom: 1px solid rgba(20,20,20,.35); background: transparent; font: inherit; font-size: 1.25rem; color: var(--ink); border-radius: 0; }
.form input::placeholder { color: rgba(20,20,20,.4); }
.form input:focus { outline: none; border-bottom-color: var(--ink); }
.form fieldset { border: 0; margin: 0; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.opts label { cursor: pointer; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts span { display: inline-block; padding: 0.5rem 0.9rem; border-radius: 999px; border: 1px solid rgba(20,20,20,.35); font-size: 1rem; transition: background-color .2s, border-color .2s; }
.opts label:hover span { border-color: var(--ink); }
.opts input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.form button { justify-self: start; background: var(--ink); color: var(--lime); }
.form button:hover { background: #000; }

/* ---------- Footer (cusp: giant thin wordmark on lime, then legal in mono) ---------- */
.foot { position: relative; z-index: 1; background: var(--lime); color: var(--ink); display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); }
.foot__inner { padding: 4rem 1.25rem 2.4rem 1.85rem; }
.foot__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot .mark { color: var(--ink); }
.foot p { font-size: 1rem; max-width: 34ch; }
.foot h4 { margin: 0.3rem 0 1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; font-size: 1rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--teal); }
.foot__big { font-size: min(14.5rem, 14.6cqw); font-weight: 200; letter-spacing: -0.02em; line-height: .88; margin: 5rem 0 3rem; white-space: nowrap; user-select: none; }
.foot__inner { container-type: inline-size; overflow: hidden; }
.foot__legal { padding: 1.2rem 5rem 0 0; border-top: 1px solid rgba(20,20,20,.2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.7rem; }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(1.5rem); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Quieter chat trigger (overrides chat.css) ---------- */
.chat-trigger { width: 3rem; height: 3rem; background: var(--ink); box-shadow: none; bottom: 1.5rem; right: 1.5rem; }
.chat-trigger:hover { background: var(--teal); box-shadow: none; transform: none; }
.chat-trigger svg { width: 1.4rem; height: 1.4rem; fill: var(--lime); }
.chat-trigger:not(.is-open)::after { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .foot__cols, .tiers, .eco, .grid--3 { grid-template-columns: 1fr 1fr; }
  .tier--lime { grid-column: span 2; }
  .cta__grid { grid-template-columns: 1fr; }
  .screen h1, .screen h2 { font-size: 4rem; }
}

/* ---------- Mobile (cusp: lime bar, wordmark, thin burger, video below) ---------- */
@media (max-width: 860px) {
  html { font-size: 15px; }
  :root { --rail: 0px; --content-top: 9rem; }
  .rail { display: none; }
  .actions { top: 0; left: 0; right: 0; padding: 0.9rem 1.2rem; background: var(--lime); justify-content: space-between; height: 4.2rem; }
  .actions [data-mobile-mark] { display: inline-flex !important; color: var(--ink); }
  .actions .pill--demo, .actions .pill--login { display: none; }
  .burger { display: flex; }
  .hero-video { top: 4.2rem; }
  .screen { padding: var(--content-top) 1.2rem 0 1.2rem; height: 90vh; }
  .screen h1, .screen h2 { font-size: 2.9rem; letter-spacing: -0.01em; }
  .screen__label { left: 1.2rem; }
  .screen__arrow { left: 1.2rem; top: auto; bottom: 6rem; }
  .panel { grid-template-columns: minmax(0, 1fr); }
  .panel::before { display: none; }
  .stage { position: relative; height: auto; padding: 6rem 1.2rem 3rem; }
  .stage__num { top: 2rem; }
  .stage h2 { font-size: 2.6rem; }
  .stage__lede { font-size: 1.3rem; }
  .stage__label { margin-top: 2rem; }
  .main { min-height: 0; padding: 2.5rem 1.2rem 4rem; }
  .main--flush { padding: 0; }
  .reel { position: relative; height: 60vh; }
  .sixsteps, .adv, .duo, .proof-row, .grid, .grid--3, .eco, .railmap, .tiers, .foot__cols { grid-template-columns: 1fr; }
  .tier--lime { grid-column: auto; }
  .sixsteps li { padding-right: 0; border-bottom: 1px solid var(--stone) !important; }
  .adv__item, .adv__item:nth-child(even) { padding: 1.5rem 0; border-left: 0; }
  .adv__item--teal { padding: 1.5rem 1.2rem !important; margin: 0 -1.2rem; }
  .beats-head { padding: 2.8rem 1.2rem 1rem; }
  .bcard { grid-template-columns: 1fr; }
  .bcard__media { min-height: 14rem; }
  .cta, .foot { grid-template-columns: minmax(0, 1fr); }
  .cta__inner { padding: 5rem 1.2rem; }
  .cta h2 { font-size: 3.2rem; }
  .cta p { font-size: 1.2rem; }
  .form__row { grid-template-columns: 1fr; }
  .foot__inner { padding: 3.5rem 1.2rem 2rem; }
  .foot__big { font-size: 14.2vw; letter-spacing: -0.03em; margin: 3rem 0 2rem; }
  .foot__legal { padding-right: 5rem; }
  .foot__inner { overflow: hidden; }
  .feed-item { grid-template-columns: 1fr; gap: 0.3rem; }
  .feed-item__ts br { display: none; }
  .sheet { padding: 1.2rem 1rem 1rem; }
  .big-num { font-size: 6rem; }
  .slide blockquote { font-size: 2rem; }
  .def__word { font-size: 4.5rem; }
}

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

/* iOS: never show the big play glyph on background videos. If Safari declines to
   autoplay (Low Power Mode), the poster frame shows instead. */
video::-webkit-media-controls { display: none !important; }
video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
video::-webkit-media-controls-panel { display: none !important; }
video.is-declined { opacity: 0 !important; }

/* Homepage: lime rail from the first screen (not only once the panels arrive) */
html[data-rail="lime"] .rail { background: var(--lime); color: var(--ink); }
html[data-rail="lime"] .rail__index a.is-active { background: var(--ink); color: var(--lime); }
html[data-rail="lime"] .rail__index a:hover { background: rgba(20,20,20,.08); }
html[data-rail="lime"] .rail__foot a:hover { color: var(--teal); }
html[data-rail="lime"] .hero-video { left: var(--rail); }
@media (max-width: 860px) { html[data-rail="lime"] .hero-video { left: 0; } }

/* ---------- Start form: a pale card so it reads as an input area, not decoration ---------- */
.form { background: rgba(255,255,255,.55); border-radius: 1.2rem; padding: 2rem 2rem 2.2rem; gap: 1.5rem; }
.form input:not([type=radio]):not([type=checkbox]) { background: var(--paper); border: 1px solid rgba(20,20,20,.18); border-radius: 0.6rem; padding: 0 1rem; height: 3rem; font-size: 1.1rem; }
.form input:not([type=radio]):not([type=checkbox]):focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,20,20,.08); }
.form label > .mono, .form legend { opacity: 1; color: var(--ink-2); }
.opts span { background: var(--paper); border-color: rgba(20,20,20,.18); }
.opts label:hover span { border-color: var(--ink); }
.opts input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--lime); }
@media (max-width: 860px) { .form { padding: 1.4rem 1.2rem 1.6rem; border-radius: 1rem; } }

/* ============================================================
   MECHANICS PASS (cusp-measured): loader wipe, word reveal, tablet
   construction below 1024px, drop-down menu, section-jump mask,
   rail label roll. Appended last so it wins.
   ============================================================ */
:root { --bar-h: 4.5rem; --wipe: cubic-bezier(.87, 0, .13, 1); }

/* ---------- Loader: teal, wordmark, eight bands wipe left ---------- */
.loader { background: transparent; display: block; opacity: 1; visibility: visible; transition: none; }
.loader__bar { position: absolute; left: 0; width: 100%; height: 12.5%; background: var(--teal); will-change: transform; }
.loader__bar:nth-child(1) { top: 0; } .loader__bar:nth-child(2) { top: 12.5%; } .loader__bar:nth-child(3) { top: 25%; } .loader__bar:nth-child(4) { top: 37.5%; }
.loader__bar:nth-child(5) { top: 50%; } .loader__bar:nth-child(6) { top: 62.5%; } .loader__bar:nth-child(7) { top: 75%; } .loader__bar:nth-child(8) { top: 87.5%; }
.loader__mark { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; transform: scale(1.5); }
.loader__mark svg { display: block; width: 100%; height: 100%; animation: markspin 4.29s infinite; transform-origin: 50% 50%; }
/* cusp: +120deg per 1.1s, sine.inOut, 330ms rest between turns; three steps = one seamless revolution */
@keyframes markspin {
  0% { transform: rotate(0deg); animation-timing-function: ease-in-out; } 25.64% { transform: rotate(120deg); } 33.33% { transform: rotate(120deg); animation-timing-function: ease-in-out; }
  58.97% { transform: rotate(240deg); } 66.67% { transform: rotate(240deg); animation-timing-function: ease-in-out; } 92.31% { transform: rotate(360deg); } 100% { transform: rotate(360deg); } }
.is-wiping .loader__bar { transition: transform .75s var(--wipe); transform: translateX(-100%); }
.is-wiping .loader__bar:nth-child(2) { transition-delay: .09s; } .is-wiping .loader__bar:nth-child(3) { transition-delay: .18s; } .is-wiping .loader__bar:nth-child(4) { transition-delay: .27s; }
.is-wiping .loader__bar:nth-child(5) { transition-delay: .36s; } .is-wiping .loader__bar:nth-child(6) { transition-delay: .45s; } .is-wiping .loader__bar:nth-child(7) { transition-delay: .54s; } .is-wiping .loader__bar:nth-child(8) { transition-delay: .63s; }
.is-wiping .loader__mark { transition: transform .75s var(--wipe); transform: scale(0); }
.is-wiping .loader__mark svg { animation-play-state: paused; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.is-loaded .loader { display: none; }
@media (min-width: 1024px) { .is-wiping .loader__bar { transform: translateY(-100%); } }

/* ---------- Word reveal (cusp: y 24px → 0, fade, stagger) ---------- */
.screen h1 .w, .screen h2 .w { display: inline-block; opacity: 0; transform: translateY(24px); transition: opacity .55s var(--ease), transform .7s var(--ease); }
.screen.is-in h1 .w, .screen.is-in h2 .w { opacity: 1; transform: none; }
.screen__arrow { opacity: 0; transform: scale(.9); transition: opacity .6s .35s, transform .6s .35s var(--ease); }
.screen.is-in .screen__arrow { opacity: 1; transform: none; }
.screen__label { opacity: 0; transition: opacity .5s .1s; }
.screen.is-in .screen__label { opacity: 1; }

/* ---------- Section-jump mask: eight teal bands sweep across ---------- */
.jump { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.jump span { position: absolute; left: 0; width: 100%; height: 12.5%; background: var(--teal); transform: translateX(-101%); transition: transform .7s var(--wipe); }
.jump span:nth-child(1) { top: 0; } .jump span:nth-child(2) { top: 12.5%; } .jump span:nth-child(3) { top: 25%; } .jump span:nth-child(4) { top: 37.5%; }
.jump span:nth-child(5) { top: 50%; } .jump span:nth-child(6) { top: 62.5%; } .jump span:nth-child(7) { top: 75%; } .jump span:nth-child(8) { top: 87.5%; }
.jump.is-in span { transform: translateX(0); transition-duration: .24s; }
.jump.is-out span { transform: translateX(101%); }
.jump span:nth-child(2) { transition-delay: .03s; } .jump span:nth-child(3) { transition-delay: .06s; } .jump span:nth-child(4) { transition-delay: .09s; }
.jump span:nth-child(5) { transition-delay: .12s; } .jump span:nth-child(6) { transition-delay: .15s; } .jump span:nth-child(7) { transition-delay: .18s; } .jump span:nth-child(8) { transition-delay: .21s; }

/* ---------- Rail label roll on hover ---------- */
.rail__index a { line-height: 1.35; }
.roll { display: inline-block; position: relative; overflow: hidden; vertical-align: bottom; height: 1.35em; }
.roll span { display: block; transition: transform .45s var(--wipe); }
.roll span + span { position: absolute; left: 0; top: 0; transform: translateY(110%); }
.rail__index a:hover .roll span:first-child { transform: translateY(-110%); }
.rail__index a:hover .roll span + span { transform: none; }

/* ---------- Burger → X, bar → teal when the menu is open ---------- */
.burger { transition: transform .3s; }
.burger i { transition: transform .35s var(--wipe), width .35s var(--wipe), background-color .3s; transform-origin: center; }
.is-menu-open .burger i:first-child { transform: translateY(0.3rem) rotate(45deg); width: 1.7rem; }
.is-menu-open .burger i:last-child { transform: translateY(-0.3rem) rotate(-45deg); width: 1.7rem; }

/* ---------- Below 1024px: cusp's tablet construction ---------- */
@media (max-width: 1023px) {
  :root { --rail: 0px; --content-top: 9rem; }
  html { font-size: clamp(14px, 1.25vw, 16px); }
  .rail { display: none; }
  .actions { top: 0; left: 0; right: 0; height: var(--bar-h); padding: 0 1.4rem; background: var(--lime); color: var(--ink); justify-content: space-between; transition: background-color .4s, color .4s; }
  .actions [data-mobile-mark] { display: inline-flex !important; color: inherit; margin-right: auto; }
  .actions .pill--login { display: none; }
  .actions .pill--demo { position: fixed; top: calc(var(--bar-h) + 1.4rem); right: 1.4rem; }
  .burger { display: flex; }
  .burger i { background: currentColor; }
  .is-menu-open .actions { background: var(--teal); color: var(--lime); }
  .is-menu-open .actions .pill--demo { opacity: 0; pointer-events: none; }
  .hero-video, html[data-rail="lime"] .hero-video { top: var(--bar-h); left: 0; }
  .intro { padding-top: var(--bar-h); }
  .screen { height: calc(100vh - var(--bar-h)); padding: 0 1.4rem 4.5rem; display: flex; flex-direction: column; justify-content: flex-end; }
  .screen h1, .screen h2 { font-size: 3rem; line-height: 1; letter-spacing: -0.01em; max-width: 22ch; }
  .screen__label { position: static; margin-bottom: 1.4rem; }
  .screen__arrow { position: static; margin-top: 2.4rem; width: 1.7rem; height: 1.7rem; }
  .panel { grid-template-columns: minmax(0, 1fr); }
  .panel::before { display: none; }
  .stage { position: relative; height: auto; padding: 6rem 1.4rem 3rem; }
  .stage__num { top: 2rem; }
  .stage h2 { font-size: 3rem; }
  .stage__lede { font-size: 1.4rem; }
  .stage__label { margin-top: 2rem; }
  .main { min-height: 0; padding: 2.5rem 1.4rem 4rem; }
  .main--flush { padding: 0; }
  .reel { position: relative; height: 60vh; }
  .cta, .foot { grid-template-columns: minmax(0, 1fr); }
  .cta__inner { padding: 6rem 1.4rem; }
  .foot__inner { padding: 4rem 1.4rem 2rem; }
  .cta__grid { grid-template-columns: 1fr; }
  .eco, .grid--3 { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .tier--lime { grid-column: span 2; }
  .band { grid-template-columns: minmax(0, 1fr); }
  .chat-trigger { bottom: 1.2rem; right: 1.2rem; }

  /* Drop-down menu under the bar (cusp: absolute top-full, lime, index in mono caps) */
  .menu { top: var(--bar-h); bottom: auto; left: 0; right: 0; height: auto; max-height: calc(100dvh - var(--bar-h)); overflow-y: auto; padding: 2.6rem 1.4rem 2rem; z-index: 44; transform: translateY(-101%); visibility: hidden; transition: transform .6s var(--wipe), visibility 0s .6s; }
  .menu.is-open { transform: none; visibility: visible; transition: transform .6s var(--wipe), visibility 0s; }
  .menu__head { display: none; }
  .menu__inner { position: relative; }
  .menu__links { margin: 0; }
  .menu__links a { font-family: var(--mono); font-size: 1.6rem; line-height: 1.4; letter-spacing: 0; text-transform: uppercase; font-weight: 500; border: 0; padding: 0.25rem 0; gap: 0.75rem; }
  .menu__links a .mono { font-size: 1.6rem; opacity: 1; font-weight: 400; }
  .menu__cta { position: absolute; top: 0; right: 0; }
  .menu__foot { margin-top: 3rem; gap: 0.6rem 1.75rem; }
  .menu__foot a { font-size: 1rem; }
}
@media (max-width: 639px) {
  .actions .pill--demo { display: none; }
  .menu__cta { position: static; margin: 1.6rem 0 0; display: inline-flex; }
  .screen h1, .screen h2 { font-size: 2.6rem; }
}
html:not(.is-loaded) .chat-trigger { opacity: 0; pointer-events: none; }
.chat-trigger { transition: opacity .4s; }

/* ============================================================
   ALL-IN PASS: top bar everywhere, headline at the bottom, the rail
   as a hover/pin drawer, pixel-fall loader exit. Appended last.
   ============================================================ */
:root { --rail: 0px; --content-top: 9rem; }
html { font-size: clamp(14px, 0.9722vw, 17px); }

/* Top bar at every width */
.actions { top: 0; left: 0; right: 0; height: var(--bar-h); padding: 0 1.4rem; background: var(--lime); color: var(--ink); justify-content: space-between; transition: background-color .4s, color .4s; }
.actions [data-mobile-mark] { display: inline-flex !important; color: inherit; margin-right: auto; }
.actions .pill--login { display: none; }
.actions .pill--demo { position: fixed; top: calc(var(--bar-h) + 1.4rem); right: 1.4rem; }
.burger { display: flex; }
.burger i { background: currentColor; }
.is-rail-open .actions { background: var(--teal); color: var(--lime); }
.is-rail-open .burger i:first-child { transform: translateY(0.3rem) rotate(45deg); width: 1.7rem; }
.is-rail-open .burger i:last-child { transform: translateY(-0.3rem) rotate(-45deg); width: 1.7rem; }
.is-menu-open .actions { background: var(--lime); color: var(--ink); }
.menu { display: none !important; }

/* Hero: statement at the bottom, one per screen */
.hero-video, html[data-rail="lime"] .hero-video { top: var(--bar-h); left: 0; }
.intro { padding-top: var(--bar-h); }
.screen { height: calc(100vh - var(--bar-h)); padding: 0 clamp(1.4rem, 4vw, 4.3rem) 4.5rem; display: flex; flex-direction: column; justify-content: flex-end; }
.screen h1, .screen h2 { font-size: clamp(2.6rem, 4.2vw, 4rem); line-height: 1; letter-spacing: -0.005em; max-width: 24ch; }
.screen__label { position: static; margin-bottom: 1.4rem; }
.screen__arrow { position: static; margin-top: 2.4rem; width: 1.7rem; height: 1.7rem; }

/* Split panels without a rail column */
.panel { grid-template-columns: 43.6fr 56.4fr; }
.panel::before { display: none; }
.stage { position: sticky; height: 100vh; padding: var(--content-top) 2.5rem 3rem clamp(1.4rem, 4vw, 4.3rem); }
.stage__num { left: clamp(1.4rem, 4vw, 4.3rem); top: calc(var(--bar-h) + 1.6rem); }
.main { min-height: 100vh; padding: var(--content-top) clamp(1.4rem, 3vw, 3rem) 6rem 2rem; }
.main--flush { padding: 0; }
.reel { position: sticky; height: 100vh; }
.cta, .foot { grid-template-columns: minmax(0, 1fr); }
.cta__inner { padding: var(--content-top) clamp(1.4rem, 4vw, 4.3rem) 8rem; }
.cta__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.foot__inner { padding: 4rem clamp(1.4rem, 4vw, 4.3rem) 2.4rem; }
.band { grid-template-columns: minmax(0, 1fr); }
.ticker { padding-left: 0; }
body { padding-left: 0 !important; }

/* The rail: a drawer. Hover near the left edge opens it; the burger pins it. */
.rail { display: flex; width: 15rem; background: var(--lime); color: var(--ink); z-index: 46; transform: translateX(-100%); visibility: hidden; transition: transform .55s var(--wipe), visibility 0s .55s; box-shadow: 0 0 0 1px rgba(20,20,20,.06); padding-top: calc(var(--bar-h) + 1.6rem); }
.rail .mark { display: none; }
.rail__index { margin-top: 0; }
.rail__index a.is-active { background: var(--ink); color: var(--lime); }
.is-rail-open .rail { transform: none; visibility: visible; transition: transform .55s var(--wipe), visibility 0s; }
.rail__edge { position: fixed; left: 0; top: var(--bar-h); bottom: 0; width: 24px; z-index: 45; }
.is-rail-open .rail__edge { display: none; }
.rail__scrim { position: fixed; inset: 0; z-index: 43; background: rgba(20,20,20,0); pointer-events: none; transition: background-color .4s; }
.is-rail-pinned .rail__scrim { background: rgba(20,20,20,.28); pointer-events: auto; }

/* Loader exit: the teal breaks into pixels and falls (noah-news physics) */
.loader canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.is-wiping .loader__bar { transition: none; transform: none; opacity: 0; }
.loader { background: var(--teal); }
.is-wiping .loader { background: transparent; }
.loader canvas { z-index: 2; }
.loader__mark { z-index: 3; }
.is-falling .loader__mark { transition: transform .35s var(--wipe); transform: scale(0); }

@media (max-width: 1023px) {
  .panel { grid-template-columns: minmax(0, 1fr); }
  .stage, .reel { position: relative; height: auto; }
  .stage { padding: 6rem 1.4rem 3rem; }
  .main { min-height: 0; padding: 2.5rem 1.4rem 4rem; }
  .main--flush { padding: 0; }
  .reel { height: 60vh; }
  .cta__grid { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  .rail { width: min(85vw, 22rem); }
  .rail__edge { display: none; }
}
@media (hover: none) { .rail__edge { display: none; } }

/* ---------- Page transitions: the bands cover on arrival, then sweep out ---------- */
html.nw-arrive .jump span { transform: none; transition: none; }
html.nw-arrive .jump.is-out span { transform: translateX(101%); transition: transform .7s var(--wipe); }
html.nw-arrive .loader { display: none; }
html.nw-arrive .chat-trigger { opacity: 0; }
.burger { color: inherit; -webkit-appearance: none; appearance: none; }
@media (max-width: 860px) {
  .screen { padding-bottom: 7.5rem; }
  .screen__arrow { display: block; margin-top: 2rem; }
  .screen h1, .screen h2 { max-width: none; }
}

/* Page canvas is lime: the scrollbar track, overscroll and Safari's sampled
   toolbar tint all follow the bar instead of showing a black strip. */
html { background: var(--lime); color-scheme: light; scrollbar-color: var(--pink) var(--lime); }
html::-webkit-scrollbar { width: 12px; background: var(--lime); }
html::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 999px; border: 3px solid var(--lime); }
body { background: transparent; }
.hero-video { background: var(--ink); }
.jump.is-reset span { transition: none !important; }

/* Phones: the statement clears iOS's bottom toolbar (small-viewport height) with a proper margin */
@media (max-width: 860px) {
  .screen { height: calc(100vh - var(--bar-h)); height: calc(100svh - var(--bar-h)); padding-bottom: 9.5rem; }
  .intro { padding-top: var(--bar-h); }
}

/* Phones and tablets: the section number sits in the flow above the headline, never over it */
@media (max-width: 1023px) {
  .stage { padding-top: 3.2rem; }
  .stage__num { position: static !important; display: block; margin: 0 0 1.6rem; }
}


/* ---------- FT Strategies partnership card (their navy and salmon) ---------- */
.ft { background: #262A33; color: #FAFAFA; border-radius: 0.6rem; padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; min-height: 22rem; position: relative; overflow: hidden; }
.ft::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 0.4rem; background: #FCD0B1; }
.ft__head { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 0.4rem; }
.ft__eyebrow { color: #FCD0B1; }
.ft__logo { width: 13.5rem; height: auto; display: block; }
.ft h3 { color: #FAFAFA; font-size: 1.6rem; line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.ft p { color: #D7DBE1; margin: 0; font-size: 0.95rem; }
.ft__note { color: #FCD0B1 !important; font-size: 1.05rem !important; line-height: 1.3; }
.ft__link { color: #FAFAFA; text-decoration: none; border-bottom: 1px solid #FCD0B1; padding-bottom: 1px; align-self: flex-start; margin-top: auto; }
.ft__link:hover { color: #FCD0B1; }

/* ---------- Hero: arrow and the mobile CTA share a row ---------- */
.screen__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.4rem; }
.screen__row .screen__arrow { margin-top: 0; }
.screen__cta { display: none; }

/* ---------- iOS: keep the fixed chrome nailed to the visual viewport ---------- */
html, body { overflow-x: clip; }
.jump, .rail { overflow: hidden; }
.jump { width: 100%; max-width: 100vw; }
.actions { left: 0; right: auto; width: 100%; max-width: 100vw; box-sizing: border-box; -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: translateZ(0); }
.chat-trigger { transform: translateZ(0); }

@media (max-width: 860px) {
  .screen { padding-bottom: 7.25rem; }
  .screen__cta { display: inline-flex; }
  .screen__row { margin-top: 2rem; }
  .screen__arrow { margin-top: 0; }
  .proof-row .ft { min-height: 0; }
}

/* Wordmark: a touch larger and set in from the edge on wide screens */
@media (min-width: 861px) {
  .actions { padding-left: 1.8rem; }
  .actions .mark { font-size: 1.9rem; }
}

/* ---------- Bar and principal call to action, sized to cusp ---------- */
:root { --bar-h: 4.9rem; }
@media (min-width: 861px) {
  .actions .mark { font-size: 2.05rem; }
  .actions .pill--demo { top: calc(var(--bar-h) + 2.6rem); right: 1.4rem; height: 4.3rem; padding: 0 2.4rem; font-size: 1.6rem; gap: 0.8rem; }
}
@media (max-width: 860px) {
  .screen__cta { height: 3.4rem; padding: 0 1.5rem; font-size: 1.05rem; }
}

/* The principal pill steps aside once the form it points to is on screen */
.actions .pill--demo { transition: opacity .35s, transform .35s var(--ease), background-color .25s; }
.at-start .actions .pill--demo { opacity: 0; transform: translateY(-0.5rem); pointer-events: none; }


/* Wire sheet: make it read as our real, running product */
.sheet__head a { color: var(--teal); text-decoration: none; border-bottom: 1px solid currentColor; }
.sheet__intro { margin: 1rem 0 0; font-size: 1.05rem; line-height: 1.4; color: var(--ink); max-width: 62ch; }
.feed-item { grid-template-columns: 4.5rem 1fr auto; align-items: start; }
.feed-item__brk { display: block; }
.feed-item__thumb { display: block; width: 7.5rem; height: 5rem; border-radius: 0.4rem; overflow: hidden; background: var(--stone); }
.feed-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85); transition: transform .5s var(--ease), filter .3s; }
.feed-item:hover .feed-item__thumb img { transform: scale(1.04); filter: saturate(1); }
.feed-item__thumb.is-empty { background: var(--stone); }
.feed-item__thumb.is-empty img { display: none; }
.tag--report { background: var(--teal); border-color: var(--teal); color: var(--paper); }
.sheet__foot { gap: 1rem; flex-wrap: wrap; }
@media (max-width: 860px) {
  .feed-item { grid-template-columns: 1fr auto; gap: 0.35rem 0.8rem; }
  .feed-item__ts { grid-column: 1 / -1; padding-top: 0; }
  .feed-item__brk { display: inline; }
  .feed-item__brk::before { content: '\00a0\00b7\00a0'; }
  .feed-item__thumb { width: 4.6rem; height: 4.6rem; margin-top: 0.15rem; }
  .sheet__intro { font-size: 0.95rem; }
}


/* Noah Predict card (end of the Why panel) */
.predict { display: block; margin-top: 1rem; background: var(--teal); color: var(--paper); border-radius: 0.6rem; padding: 1.7rem; text-decoration: none; transition: background-color .3s; }
.predict:hover { background: #016478; }
.predict__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.predict__head .mono { color: var(--lime); }
.predict__live { display: inline-flex; align-items: center; gap: 0.5rem; color: #cfe6ea !important; }
.predict__live i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--lime); animation: predictpulse 1.8s ease-in-out infinite; }
@keyframes predictpulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.predict__q { font-size: 2.6rem; line-height: 1.08; letter-spacing: -0.02em; font-weight: 400; margin: 1.6rem 0 1rem; color: var(--paper); }
.predict__q em { display: block; font-style: normal; color: var(--paper); }
.predict__verb { display: block; position: relative; overflow: hidden; height: 1.2em; line-height: 1.2; color: var(--lime); }
.predict__verb span { display: block; transition: transform .55s var(--wipe); will-change: transform; }
.predict__verb span.is-out { transform: translateY(-110%); }
.predict__verb span.is-in { position: absolute; left: 0; top: 0; transform: translateY(110%); }
.predict__verb span.is-in.is-on { transform: none; }
.predict p { color: #dcecf0; max-width: 56ch; font-size: 1.05rem; line-height: 1.45; margin: 0; }
.predict__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.predict__who { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.predict__who li { font-family: var(--mono); font-size: 0.8rem; text-transform: uppercase; border: 1px solid rgba(250,250,250,.35); border-radius: 999px; padding: 0.4rem 0.8rem; }
.predict .link-mono { color: var(--lime); }
.predict:hover .link-mono { color: var(--paper); }
@media (max-width: 860px) {
  .predict { padding: 1.4rem 1.2rem; }
  .predict__q { font-size: 1.9rem; }
}


/* Network tier: richer, and full width wherever the tiers wrap to two columns */
.tier--network .tier__more { display: none; }
@media (max-width: 1023px) {
  .tier--network { grid-column: 1 / -1; flex-direction: row; gap: 1.6rem; align-items: flex-start; min-height: 0; }
  .tier--network .tier__lead { flex: 0 0 11rem; }
  .tier--network .tier__more { display: block; flex: 1; padding-top: 1.8rem; }
  .tier--network .tier__more p { margin: 0 0 0.9rem; padding: 0; }
  .tier--network .chips { margin-top: 0; }
}
@media (max-width: 639px) {
  .tier--network { flex-direction: column; gap: 0.4rem; }
  .tier--network .tier__lead { flex: none; }
  .tier--network .tier__more { padding-top: 0.6rem; }
}

.sheet__head .live-badge, .sheet__head .wire-sheet__stamp { white-space: nowrap; }


/* Predict card is an advertisement for another site: pink, not the wire's teal */
.predict, .predict:hover { background: var(--pink); color: var(--ink); }
.predict:hover { background: #FF8FCB; }
.predict__head .mono, .predict__live, .predict .link-mono, .predict:hover .link-mono { color: var(--ink) !important; }
.predict__live i { background: var(--ink); }
.predict__q { color: var(--ink); margin: 1.4rem 0 0.8rem; }
.predict p { color: var(--ink); }
.predict__roll { display: flex; gap: 0.5rem; align-items: baseline; margin-top: 1.2rem !important; font-size: 0.875rem !important; text-transform: uppercase; max-width: none !important; }
.predict__verb { display: inline-block; height: 1.4em; line-height: 1.4; color: var(--ink); font-weight: 500; min-width: 9ch; }
.predict__who li { border-color: rgba(20,20,20,.35); }


/* Predict advert, quieter: paper card, pink outline, pink details */
.predict, .predict:hover { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 2px var(--pink); }
.predict:hover { background: #FFF3F9; }
.predict__head .mono, .predict__live { color: var(--pink) !important; }
.predict__live i { background: var(--pink); }
.predict__q { font-size: 2.8rem; margin: 1.6rem 0 0.9rem; }
.predict p { font-size: 1.1rem; }
.predict__roll { display: block !important; margin-top: 2.2rem !important; font-family: var(--sans); font-size: 2rem !important; line-height: 1.12; letter-spacing: -0.02em; text-transform: none; }
.predict__verb { display: block; height: 1.12em; line-height: 1.12; min-width: 0; color: var(--pink); font-weight: 400; }
.predict__tail { display: block; color: var(--ink); }
.predict__foot { margin-top: 2.2rem; }
.predict__who li { border-color: rgba(20,20,20,.3); }
.predict .link-mono, .predict:hover .link-mono { color: var(--pink) !important; }
@media (min-width: 1024px) { .predict { padding: 2.2rem 2.2rem 2rem; min-height: 30rem; display: flex; flex-direction: column; } .predict__foot { margin-top: auto; padding-top: 2.2rem; } }
@media (max-width: 860px) { .predict__q { font-size: 2rem; } .predict__roll { font-size: 1.5rem !important; } }


/* Loader sits below the lime bar: the bar is permanent chrome, so Safari's
   toolbar is lime from first paint and never has to switch from teal. */
.loader { top: var(--bar-h); }
