@font-face { font-family: Hanken; src: url("./assets/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Hanken; src: url("./assets/hanken-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Hanken; src: url("./assets/hanken-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("./assets/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* Tokens from docs/platform-pigeon-design/DESIGN.md */
:root {
  color-scheme: dark;
  --background: #0b0d14;
  --surface: #141826;
  --surface-raised: #1c2133;
  --board: #000;
  --tile: #232a3d;
  --line: #2c3450;
  --text: #eef0f7;
  --text-2: #9ba3b8;
  --text-3: #7c849b;
  --on-board: #c5cad9;
  --flap: #f2f3f8;
  --blue: #5b5bf0;
  --purple: #a78bfa;
  --teal: #4fd8c4;
  --teal-2: #8de8db;
  --orange: #ff9f5a;
  --amber: #ffb020;
  --cancelled: #ff7a93;
  --pip-violet: #8f74e0;
  --gutter: clamp(1rem, 5vw, 4rem);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  font-family: Hanken, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--background); scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-block-start: 5rem; }

.shell { width: min(100% - var(--gutter) * 2, 78rem); margin-inline: auto; }

.skip { position: fixed; z-index: 50; top: .5rem; left: .5rem; padding: .75rem 1rem; background: var(--text); color: var(--background); border-radius: .5rem; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* Pip switch: off hides every Pip image */
html[data-pip="off"] .pip-art { display: none !important; }

/* ---------- Masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--background) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 700; font-size: 1.125rem; letter-spacing: -.03em; text-decoration: none; }
.brand img { border-radius: 24%; }
.masthead nav { display: flex; align-items: center; gap: clamp(.75rem, 2.5vw, 1.75rem); }
.nav-link { font-weight: 600; font-size: .9375rem; color: var(--text-2); text-decoration: none; transition: color .2s; }
.nav-link:hover { color: var(--text); }

.pip-switch {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 2.75rem; padding: .3rem .85rem .3rem .4rem;
  border: 1px solid var(--line); border-radius: 2rem;
  background: var(--surface); cursor: pointer; font-weight: 700; font-size: .875rem;
}
.pip-switch-track { position: relative; width: 2.3rem; height: 1.35rem; border-radius: 1rem; background: var(--tile); transition: background .25s; }
.pip-switch-track span { position: absolute; top: .15rem; left: .15rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--text-2); transition: transform .3s var(--ease-out), background .25s; }
.pip-switch[aria-checked="true"] .pip-switch-track { background: var(--pip-violet); }
.pip-switch[aria-checked="true"] .pip-switch-track span { transform: translateX(.95rem); background: #fff; }

/* ---------- Shared type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; color: var(--teal); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.live-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 var(--teal); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 #4fd8c499; } 70% { box-shadow: 0 0 0 .55rem #4fd8c400; } 100% { box-shadow: 0 0 0 0 #4fd8c400; } }

h1 {
  margin-block: 1.1rem 1.5rem;
  font-size: clamp(2.9rem, 5.6vw, 5.9rem);
  font-weight: 700; line-height: .92; letter-spacing: -.05em;
  text-wrap: balance;
}
h1 em {
  display: block; font-style: normal; white-space: nowrap;
  background: linear-gradient(95deg, var(--teal) 0%, var(--blue) 48%, var(--purple) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
h2 { font-size: clamp(2.3rem, 5.6vw, 4.75rem); font-weight: 700; line-height: .98; letter-spacing: -.05em; text-wrap: balance; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; }
.intro { max-width: 34ch; color: var(--text-2); font-size: clamp(1.125rem, 1.7vw, 1.35rem); line-height: 1.45; }
.lede { max-width: 46ch; margin-top: 1.25rem; color: var(--text-2); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }
.section-head { max-width: 52rem; }
.section-head h2 { margin-top: .9rem; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: .8rem 1.5rem; border: 0; border-radius: 1rem;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  box-shadow: 0 .75rem 2rem -0.75rem #5b5bf0aa;
  transition: transform .25s var(--ease-out), box-shadow .25s, background .2s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 1rem 2.5rem -0.75rem #5b5bf0dd; }
.button:active { transform: translateY(0); }
.button-ghost { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 1px var(--blue); }
.button-ghost:hover { background: #5b5bf01f; box-shadow: inset 0 0 0 1px var(--blue); }
.button-light { background: var(--background); color: var(--text); box-shadow: none; }
.button-light:hover { box-shadow: 0 1rem 2rem -1rem #000c; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3rem, 8vw, 7rem) clamp(4rem, 8vw, 7.5rem); }
.hero::before {
  content: ""; position: absolute; z-index: -2; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 60rem; max-height: 60rem;
  background: radial-gradient(closest-side, #5b5bf044, #a78bfa14 55%, transparent);
}
.hero-route { position: absolute; z-index: -1; inset: auto 0 0 0; width: 100%; height: 100%; opacity: .45; }
.hero-train { filter: drop-shadow(0 0 10px #a78bfa); }

.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(2.5rem, 5vw, 5rem); }

.hero-stage { position: relative; display: grid; padding-top: clamp(1rem, 3vw, 2rem); }
.hero-card { position: relative; width: min(92%, 31rem); justify-self: end; transform: rotate(3deg); opacity: .8; animation: card-in 1s var(--ease-out) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(2rem) rotate(6deg); } to { opacity: .8; transform: rotate(3deg); } }
.hero-claim { position: relative; z-index: 3; width: min(88%, 25rem); margin-top: clamp(-3.5rem, -5vw, -2rem); transform: rotate(-2.5deg); animation: claim-in 1.1s .35s var(--ease-out) both; }
@keyframes claim-in { from { opacity: 0; transform: translateY(3rem) rotate(-8deg); } to { opacity: 1; transform: rotate(-2.5deg); } }
.hero-claim .claim { border-color: #ffb02077; box-shadow: 0 2rem 4rem -1.5rem #000, 0 0 4rem -1rem #ffb02040; }
.hero-claim-pip { position: absolute; z-index: 2; left: calc(100% - 2.75rem); bottom: -1.5rem; width: clamp(7rem, 11vw, 9.5rem); transform: rotate(8deg); animation: cheer 2.6s ease-in-out 1.4s infinite; transform-origin: 50% 90%; }
@keyframes cheer { 0%, 100% { transform: rotate(8deg); } 10% { transform: rotate(2deg) translateY(-.6rem); } 20% { transform: rotate(10deg); } 30% { transform: rotate(8deg); } }
.claim-delay { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; color: var(--on-board); font-weight: 600; }
.hero-claim .claim-line { margin-block: .7rem .25rem; }
.claim-deadline { margin-bottom: 1rem; color: var(--orange); font-size: .9375rem; font-weight: 600; }
.repay-note { display: flex; align-items: center; gap: .75rem; max-width: 34rem; margin-top: 1.5rem; padding: .7rem 1rem .7rem .7rem; border: 1px solid #ffb02044; border-radius: 1rem; background: #ffb0200f; color: var(--text); font-weight: 600; font-size: .9375rem; line-height: 1.35; }
.repay-mark { flex: none; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: .6rem; background: var(--amber); color: var(--background); font: 600 1.35rem/1 "Barlow Condensed", sans-serif; }
.sample-note { justify-self: center; margin-top: 1.75rem; color: var(--text-3); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Board ---------- */
.board {
  position: relative; z-index: 1;
  padding: clamp(1rem, 2.4vw, 1.5rem) clamp(1rem, 2.4vw, 1.6rem);
  border: 1px solid var(--line); border-radius: 1.4rem;
  background: var(--board);
  box-shadow: 0 2.5rem 5rem -2rem #000, 0 0 0 1px #ffffff06 inset;
}
.board-top, .board-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; }
.board-context { color: var(--on-board); font-size: clamp(.9375rem, 1.3vw, 1.0625rem); font-weight: 600; }
.board-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-block: 1rem; flex-wrap: wrap; }
.board-label { margin-bottom: .4rem; color: var(--text-2); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.board-platform { display: grid; justify-items: end; gap: .3rem; }
.board-foot { font-size: clamp(1rem, 1.4vw, 1.125rem); font-weight: 700; }
.board-foot span:last-child { color: var(--on-board); font-weight: 600; font-variant-numeric: tabular-nums; }
.usually { color: var(--purple); font-weight: 600; font-size: .9375rem; }

.pill { display: inline-flex; align-items: center; padding: .28rem .8rem; border-radius: 2rem; color: var(--background); font-size: .875rem; font-weight: 700; white-space: nowrap; }
.pill-ok { background: var(--teal); }
.pill-late { background: var(--amber); }
.pill-cancel { background: var(--cancelled); }

/* Split-flap: tile 0.60S × 0.92S, character 0.78S, radius 0.10S, gap 0.06S */
.flaps { --s: 4rem; display: inline-flex; align-items: center; gap: calc(var(--s) * .06); color: var(--flap); }
.flaps-xl { --s: clamp(3.4rem, 7vw, 5.4rem); }
.flaps-lg { --s: clamp(3.2rem, 6vw, 4.6rem); }
.flaps-md { --s: clamp(2.4rem, 3.6vw, 2.9rem); }
.flaps-sm { --s: clamp(2rem, 3vw, 2.4rem); }
.flap {
  position: relative; display: grid; place-items: center;
  width: calc(var(--s) * .6); height: calc(var(--s) * .92);
  border-radius: max(3px, calc(var(--s) * .1));
  background: linear-gradient(to bottom, #2b3245 0 50%, var(--tile) 50% 100%);
  font: 600 calc(var(--s) * .78)/1 "Barlow Condensed", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  perspective: 20rem;
}
.flap::after { content: ""; position: absolute; inset: 50% 0 auto; height: 2px; margin-top: -1px; background: #000; }
.flap.flip { animation: flip .32s var(--ease-out); }
@keyframes flip { 0% { transform: rotateX(0); } 45% { transform: rotateX(-88deg); filter: brightness(.6); } 100% { transform: rotateX(0); } }
.colon { display: grid; gap: calc(var(--s) * .18); padding-inline: calc(var(--s) * .04); }
.colon::before, .colon::after { content: ""; width: calc(var(--s) * .09); aspect-ratio: 1; border-radius: 50%; background: currentColor; }
.dot { align-self: flex-end; width: calc(var(--s) * .09); aspect-ratio: 1; margin: 0 calc(var(--s) * .03) calc(var(--s) * .12); border-radius: 50%; background: currentColor; }
.flaps.dim { color: var(--text-3); }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: #06070b; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span {
  display: inline-flex; align-items: center; gap: 1.5rem; padding: 1.1rem 1.5rem 1.1rem 0;
  font: 600 clamp(1.4rem, 2.6vw, 2.1rem)/1 "Barlow Condensed", sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--amber);
  white-space: nowrap;
}
.ticker span::after { content: ""; width: .55rem; height: .55rem; border-radius: 50%; border: 2px solid var(--teal); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Pip demo ---------- */
.pip-section { padding-block: clamp(5rem, 11vw, 9rem); background: radial-gradient(60rem 30rem at 20% 0%, #a78bfa12, transparent 70%); }
.demo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-top: clamp(3rem, 6vw, 4.5rem); }
.demo-stage { display: grid; justify-items: center; }
.demo-card { position: relative; width: min(100%, 32rem); padding-top: clamp(7rem, 12vw, 9rem); }
.demo-pip { position: absolute; z-index: 2; right: 10%; bottom: calc(100% - clamp(8.6rem, 14.4vw, 10.6rem)); width: clamp(8.5rem, 13vw, 10.5rem); transition: opacity .3s, transform .45s var(--ease-out); }
.demo-pip.swap { opacity: 0; transform: translateY(.75rem) scale(.92); }
.demo-pip.gone { opacity: 0; transform: translateY(2rem) scale(.8); }
.demo-card .board { transition: border-color .3s, box-shadow .3s; }
.demo-card.is-cancel .board { border-color: #ff7a9366; }
.demo-card.is-late .board { border-color: #ffb02055; }
.demo-caption { min-height: 3.5em; max-width: 30rem; margin-top: 1.75rem; color: var(--text-2); font-size: 1.125rem; text-align: center; }
.demo-caption strong { color: var(--text); }

.controls-label { margin-bottom: 1rem; color: var(--text-3); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.controls-label:not(:first-child) { margin-top: 2.25rem; }

.timeline { position: relative; display: grid; gap: .35rem; }
.timeline::before { content: ""; position: absolute; left: 1.05rem; top: 1.4rem; bottom: 1.4rem; width: 3px; border-radius: 2px; background: linear-gradient(var(--teal), var(--blue), var(--purple)); opacity: .5; }
.timeline button, .wrong button {
  display: flex; align-items: center; gap: 1rem; width: 100%; min-height: 3.5rem;
  padding: .6rem 1rem .6rem 0; border: 1px solid transparent; border-radius: 1rem;
  background: none; cursor: pointer; text-align: left; font-weight: 600; font-size: 1.0625rem; color: var(--text-2);
  transition: background .2s, color .2s, border-color .2s;
}
.timeline button::before {
  content: ""; flex: none; width: 1rem; height: 1rem; margin-left: .62rem; border-radius: 50%;
  border: 3px solid var(--text-2); background: var(--background); transition: all .25s var(--ease-out);
}
.timeline button:hover, .wrong button:hover { color: var(--text); background: var(--surface); }
.timeline button[aria-pressed="true"], .wrong button[aria-pressed="true"] { color: var(--text); background: var(--surface); border-color: var(--line); }
.timeline button[aria-pressed="true"]::before { border-color: var(--teal); background: var(--teal); box-shadow: 0 0 0 .35rem #4fd8c433; }
.clock { min-width: 3.4rem; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--text); }
.wrong { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.wrong button { flex-direction: column; align-items: flex-start; gap: .55rem; padding: 1rem; border-color: var(--line); }
.wrong .pill { font-size: .8125rem; }

/* ---------- Features (bento) ---------- */
.features { padding-block: clamp(5rem, 10vw, 8rem); border-top: 1px solid var(--line); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(.9rem, 1.6vw, 1.25rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: clamp(1.4rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: 1.75rem; background: var(--surface);
  transition: transform .4s var(--ease-out), border-color .3s;
}
.tile:hover, .js .tile.reveal.in:hover { transform: translateY(-4px); border-color: #3a4468; }
.tile-copy p { max-width: 38ch; margin-top: .65rem; color: var(--text-2); }
.tile-claims { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); background: linear-gradient(150deg, #2a2210, var(--surface) 55%); border-color: #ffb02033; }
.tile-claims h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.tile-small { color: var(--text-3) !important; font-size: .9375rem; }
.claims { padding: clamp(1rem, 2.5vw, 1.5rem); border-radius: 1.5rem; background: #000; border: 1px solid var(--line); }
.claims-hero { padding-bottom: 1rem; border-bottom: 1px solid var(--tile); }
.claims-count { display: flex; align-items: baseline; gap: .6rem; color: var(--on-board); font-weight: 600; font-size: 1.0625rem; }
.claims-count span { color: var(--amber); font-size: clamp(2.75rem, 4.5vw, 3.5rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.claims-next { margin-top: .35rem; color: var(--orange); font-weight: 600; font-size: .9375rem; }
.claims-section { margin-top: 1rem; color: var(--text-2); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.claims-list li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .4rem 1rem; padding-block: .75rem; border-bottom: 1px solid var(--tile); font-size: .9375rem; }
.claims-list li:last-child { border-bottom: 0; }
.claims-when { color: var(--text-2); }
.claims-when b { display: block; color: var(--text); font-size: 1.0625rem; }
.claims-left { color: var(--orange); font-weight: 600; font-size: .875rem; }
.claims-done { min-width: 5.6rem; text-align: center; color: var(--text-2); font-weight: 700; font-size: .875rem; }
.claims-past b { color: var(--text-2); }
.claims-list .pill { min-width: 5.6rem; justify-content: center; }
.tile-alerts { grid-column: span 7; background: linear-gradient(160deg, #1b1f37, var(--surface) 60%); }
.tile-live { grid-column: span 5; }
.tile-platform { grid-column: span 12; flex-direction: row; align-items: center; }
.tile-platform .tile-copy { flex: 1; }

.notes { display: grid; gap: .6rem; }
.note {
  display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 1.25rem;
  background: #ffffff14; border: 1px solid #ffffff12; backdrop-filter: blur(10px);
  font-size: .9375rem; line-height: 1.35;
}
.note img { border-radius: 24%; flex: none; }
.note > div { flex: 1; min-width: 0; }
.note-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .15rem; }
.note-head span { color: var(--text-3); font-size: .8125rem; }
.note p:last-child { color: var(--on-board); }
.note-back { margin-inline: .9rem; opacity: .6; transform-origin: top; }

.live { padding: 1.1rem 1.2rem 1.3rem; border-radius: 1.5rem; background: #000; border: 1px solid var(--line); }
.live-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; font-weight: 700; font-size: .9375rem; }
.live-mid { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-block: 1rem; }
.live-label { margin-bottom: .3rem; color: var(--text-2); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.live-next { text-align: right; font-weight: 700; }
.progress { position: relative; height: .4rem; border-radius: 1rem; background: #3a4468; }
.progress span { position: absolute; inset: 0 auto 0 0; width: 62%; border-radius: inherit; background: var(--teal); animation: progress 6s var(--ease-out) infinite alternate; }
.progress span::after { content: ""; position: absolute; right: -.45rem; top: 50%; width: .9rem; height: .9rem; border-radius: 50%; background: #fff; transform: translateY(-50%); box-shadow: 0 0 0 .3rem #a78bfa55; }
@keyframes progress { from { width: 52%; } to { width: 66%; } }

.claim { padding: 1.1rem 1.2rem; border-radius: 1.4rem; background: #000; border: 1px solid #ffb02044; }
.claim-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; color: var(--on-board); font-size: .875rem; font-weight: 600; }
.claim-line { margin-block: .8rem 1rem; font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.claim-button { display: flex; justify-content: center; padding: .75rem; border-radius: .9rem; background: var(--blue); font-weight: 700; }

.usually-demo { display: grid; justify-items: center; gap: .5rem; padding: 1.25rem 1.5rem; border-radius: 1.4rem; background: #000; border: 1px solid var(--line); }
.usually-demo .usually { font-size: 1.125rem; }

/* ---------- Principles ---------- */
.principles { background: var(--blue); color: #fff; padding-block: clamp(4.5rem, 10vw, 8rem); }
.principles-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.principles h2 { font-size: clamp(3rem, 7.5vw, 6.5rem); line-height: .9; }
.rules { display: grid; gap: 1.5rem; }
.rules li { display: flex; gap: 1.25rem; padding-top: 1.25rem; border-top: 1px solid #ffffff40; font-size: clamp(1.125rem, 1.6vw, 1.35rem); font-weight: 600; line-height: 1.35; }
.rule-n { font: 600 1.5rem/1.1 "Barlow Condensed", sans-serif; color: #ffffffa0; }
.principles .button { grid-column: 2; justify-self: start; }

/* ---------- Launch ---------- */
.launch { position: relative; overflow: hidden; padding-block: clamp(5rem, 11vw, 9rem); }
.launch::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, #4fd8c41f, transparent); z-index: -1; }
.launch-inner { display: flex; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); }
.launch-pip { flex: none; width: clamp(10rem, 24vw, 19rem); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-.75rem); } }
.launch h2 { margin-top: .75rem; font-size: clamp(3rem, 8vw, 7rem); line-height: .9; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); color: var(--text-3); font-size: .9375rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-block: 1.5rem; }
.brand-small { color: var(--text-2); font-size: 1rem; }
.footer a { color: var(--text-2); text-decoration: none; }
.footer a:hover { color: var(--teal-2); text-decoration: underline; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 62rem) {
  .hero-inner, .demo, .principles-inner { grid-template-columns: 1fr; }
  .principles .button { grid-column: 1; }
  .tile-alerts, .tile-live, .tile-platform { grid-column: span 12; }
  .tile-claims { grid-template-columns: 1fr; }
  .hero-stage { max-width: 34rem; }
}
@media (max-width: 40rem) {
  .nav-link { display: none; }
  .tile-platform { flex-direction: column; align-items: flex-start; }
  .launch-inner { flex-direction: column; align-items: flex-start; }
  .wrong { grid-template-columns: 1fr; }
  .claims-list li { grid-template-columns: 1fr auto; }
  .claims-left { grid-column: 1; grid-row: 2; }
  .claims-list .pill, .claims-done { grid-row: 1 / span 2; grid-column: 2; }
  .hero-claim { width: 80%; }
  .hero-claim-pip { left: calc(100% - 3rem); width: 6.5rem; bottom: -1rem; }
  h1 { font-size: clamp(2.3rem, 10.5vw, 3.4rem); }
  h1 em { white-space: normal; }
  .wrong button { flex-direction: row; align-items: center; }
  .actions .button { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-card { transform: rotate(-2.5deg); }
}
