/* HodlNode landing page (no sign-in; the iPhone app waitlist), shared with the privacy, terms and support pages.
   Colours follow the app (style.css) on a deeper ground; the hero card stays dark in both themes so the chart reads
   the way it does in the app. Headlines are set in Newsreader's display cut (static/fonts, SIL Open Font License),
   figures and labels in the system's monospace, everything else in the system's own typeface. */
@font-face { font-family: "Newsreader Display"; src: url(/fonts/newsreader-display.woff2) format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader Display"; src: url(/fonts/newsreader-display-italic.woff2) format("woff2");
  font-weight: 400; font-style: italic; font-display: swap; }
:root {
  --bg: #0a0d12; --panel: #10141c; --panel-2: #181e2a; --line: #232a38;
  --text: #eceef3; --muted: #8e97aa; --accent: #f7931a; --on-accent: #16120b; --real: #4c9aff;
  --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
  --wash-1: rgba(247,147,26,.07); --wash-2: rgba(76,154,255,.06); --lift: 0 30px 60px -30px rgba(0,0,0,.75);
  --display: "Newsreader Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1240px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f7f9; --panel: #ffffff; --panel-2: #eef0f4; --line: #dde1e7; --text: #161b22; --muted: #5d6676; --real: #2f7de1;
    --wash-1: rgba(247,147,26,.06); --wash-2: rgba(47,125,225,.05); --lift: 0 30px 60px -34px rgba(22,27,34,.28);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f6f7f9; --panel: #ffffff; --panel-2: #eef0f4; --line: #dde1e7; --text: #161b22; --muted: #5d6676; --real: #2f7de1;
  --wash-1: rgba(247,147,26,.06); --wash-2: rgba(47,125,225,.05); --lift: 0 30px 60px -34px rgba(22,27,34,.28);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased;
  /* Two faint washes of the chart's own colours behind the top of the page */
  background-image: radial-gradient(900px 520px at 12% -120px, var(--wash-1), transparent 70%),
    radial-gradient(900px 560px at 92% -160px, var(--wash-2), transparent 70%);
  background-repeat: no-repeat;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- header ---------- */
.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px;
  padding: 14px max(20px, calc((100vw - var(--wrap)) / 2)); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; text-decoration: none; }
.brand img { border-radius: 7px; }
.links { display: flex; gap: 26px; }
.links a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; }
.links a:hover { color: var(--text); }
.acts { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 16px; border-radius: 10px;
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s, background-color .2s, border-color .2s, filter .2s;
}
.btn.primary { background: linear-gradient(180deg, #ffab45, var(--accent)); color: var(--on-accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 10px 24px -12px rgba(247,147,26,.75); }
.btn.primary:hover { filter: brightness(1.07); transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 16px 30px -12px rgba(247,147,26,.85); }
.btn.primary:active { transform: none; filter: brightness(.97); }
.btn.ghost { border-color: rgba(230,233,239,.22); color: #e6e9ef; background: rgba(230,233,239,.04); }
.btn.ghost:hover { border-color: rgba(230,233,239,.6); background: rgba(230,233,239,.08); }
.btn.big { height: 50px; padding: 0 24px; font-size: 16px; border-radius: 13px; }
.btn[disabled] { opacity: .6; cursor: default; }

main { max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding: 18px 20px 0; }

/* ---------- hero: a dark card filled with price against realized price ---------- */
.hero {
  --bg: #080b10; --text: #eceef3; --muted: #8e97aa; --line: #232a38;
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(600px, calc(100vh - 104px), 820px); padding: 60px; border-radius: 28px;
  background: radial-gradient(70% 60% at 92% 0%, rgba(247,147,26,.13), transparent 62%),
    radial-gradient(120% 90% at 85% 15%, #172031 0%, #080b10 62%);
  color: var(--text); border: 1px solid #1d2432; box-shadow: var(--lift);
}
/* A hairline of light along the top edge */
.hero::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 8%, rgba(255,255,255,.14) 40%, rgba(247,147,26,.7) 78%, transparent 97%); }
.hero-grid { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(142,151,170,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(142,151,170,.075) 1px, transparent 1px);
  background-size: 64px 64px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(80% 85% at 78% 30%, #000 20%, transparent 78%); mask-image: radial-gradient(80% 85% at 78% 30%, #000 20%, transparent 78%); }
.hero-chart { position: absolute; inset: 56px 0 74px 0; }
.hero-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 55%); mask-image: linear-gradient(90deg, transparent 4%, #000 55%); }
.hero-chart .tag {
  position: absolute; right: 18px; transform: translateY(-50%); padding: 3px 8px; border-radius: 6px;
  font: 600 12.5px/1.5 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.tag.price { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 22px rgba(247,147,26,.55); }
.tag.real { background: #4c9aff; color: #fff; }
.halving { position: absolute; bottom: -28px; transform: translateX(-50%); font: 11px var(--mono); letter-spacing: .04em; color: #6b7487; white-space: nowrap; }
/* The block counter that runs while the chart draws, then rests on the latest block */
.replay { position: absolute; z-index: 2; top: 22px; right: 22px; display: flex; align-items: center; gap: 9px; margin: 0;
  padding: 6px 12px 6px 10px; border-radius: 999px; border: 1px solid rgba(230,233,239,.12); background: rgba(8,11,16,.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 12px/1.5 var(--mono); letter-spacing: .03em; font-variant-numeric: tabular-nums; color: #c3c9d4; white-space: nowrap; }
.replay i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(247,147,26,.6); }
.replay.done i { animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(247,147,26,.6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(247,147,26,0); } }
/* Reading the chart: a hairline, a dot on each line and that week's figures */
.xh-line, .xh-dot, .xh-box { position: absolute; opacity: 0; pointer-events: none; transition: opacity .15s; }
.xh-on .xh-line, .xh-on .xh-dot, .xh-on .xh-box { opacity: 1; }
.xh-line { top: 0; width: 1px; background: linear-gradient(rgba(230,233,239,0), rgba(230,233,239,.4) 12%, rgba(230,233,239,.4)); }
.xh-dot { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; border: 2px solid #080b10; }
.xh-dot.p { background: var(--accent); box-shadow: 0 0 14px rgba(247,147,26,.8); } .xh-dot.r { background: #4c9aff; }
.xh-box { top: 0; display: grid; gap: 2px; margin-left: 12px; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(230,233,239,.14);
  background: rgba(8,11,16,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 12px/1.5 var(--mono); font-variant-numeric: tabular-nums; color: #c3c9d4; white-space: nowrap; }
.xh-box.flip { margin-left: -12px; transform: translateX(-100%); }
.xh-box b { font-weight: 600; color: #eceef3; }
.xh-box i { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; }
.hero-copy { position: relative; isolation: isolate; max-width: 800px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 5px 12px; border-radius: 999px;
  font: 600 11.5px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
/* A soft shadow behind the words, so the chart never runs through them */
.hero-copy::before { content: ""; position: absolute; z-index: -1; inset: -90px -140px -70px -120px;
  background: radial-gradient(closest-side, rgba(8,11,16,.92) 40%, rgba(8,11,16,0)); pointer-events: none; }
.hero h1 { margin: 0; font: 400 clamp(44px, 6.4vw, 86px)/.98 var(--display); letter-spacing: -.022em; text-wrap: balance; }
.hero h1 em { display: block; color: var(--accent); }
.lede { margin: 24px 0 0; max-width: 54ch; font-size: 18px; line-height: 1.6; color: #c3c9d4; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.proof { margin: 20px 0 0; min-height: 1.5em; font: 12.5px/1.5 var(--mono); letter-spacing: .02em; color: var(--muted); font-variant-numeric: tabular-nums; }
.hero-key { position: absolute; right: 60px; bottom: 22px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px;
  margin: 0; font-size: 13px; color: #c3c9d4; }
.hero-key i { display: inline-block; width: 14px; height: 3px; margin-right: 7px; border-radius: 2px; vertical-align: middle; }
.k-price { background: var(--accent); } .k-real { background: #4c9aff; }
/* The chart's labels fade up once it has drawn (landing.js draws it from 2010 to today) */
.fade { opacity: 0; animation: fade .8s ease 2.3s forwards; }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fade { animation: none; opacity: 1; } .replay.done i { animation: none; } }

/* ---------- the figures under the hero ---------- */
.stats { display: flex; margin: 0; padding: 44px 8px 0; }
.stats div { flex: 1; min-width: 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 0 28px; border-left: 1px solid var(--line); }
.stats div:first-child, .stats div[hidden] + div:nth-child(2) { border-left: 0; padding-left: 0; }
.stats dt { font: 11.5px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 0; font: 400 clamp(34px, 3.6vw, 50px)/1.05 var(--display); letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }

/* ---------- sections ---------- */
.band { padding: 128px 0 0; }
.band-head { max-width: 860px; }
.band h2, .cta h2 { margin: 0; font: 400 clamp(32px, 4.1vw, 54px)/1.06 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.band-head p { margin: 18px 0 0; max-width: 60ch; color: var(--muted); font-size: 17px; line-height: 1.6; }

/* Cards that light up under the pointer (landing.js keeps --mx and --my at the pointer) */
.lit { position: relative; isolation: isolate; }
.lit::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .35s;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 13%, transparent), transparent 62%); pointer-events: none; }
@media (hover: hover) { .lit:hover::before { opacity: 1; } }

.groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 52px 0 0; border-top: 1px solid var(--line); }
.groups div { padding: 26px 24px 30px; border-bottom: 1px solid var(--line); }
.groups div:not(:nth-child(4n)) { border-right: 1px solid var(--line); }
.groups svg { display: block; width: 48px; height: 28px; margin-bottom: 22px; overflow: visible; fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); transition: color .3s, transform .4s cubic-bezier(.2,.7,.2,1); }
.groups svg.heat path { fill: currentColor; stroke: none; }
.groups svg .solid { fill: var(--bg); }
@media (hover: hover) { .groups div:hover svg { color: var(--accent); transform: translateY(-2px); } }
.groups dt { font-weight: 650; font-size: 16.5px; letter-spacing: -.005em; }
.groups dd { margin: 7px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
/* The example answer: a panel with a lit edge; its words arrive the way an answer does in the app */
.example { position: relative; margin: 0; padding: 24px 26px 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: var(--lift); }
.example::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 75%, transparent), transparent 32%, transparent 68%, color-mix(in srgb, var(--real) 60%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.example figcaption { font: 11.5px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.ex-q { width: fit-content; max-width: 85%; margin-left: auto; padding: 9px 15px; border-radius: 18px 18px 6px 18px; background: var(--panel-2); font-size: 15px; }
.ex-a { margin-top: 18px; font-size: 15.5px; line-height: 1.65; }
.ex-a p { margin: 0 0 10px; }
.ex-a b { font-weight: 650; }
.ex-next { margin-top: 16px; display: grid; }
.ex-next span { display: flex; justify-content: space-between; padding: 10px 2px; border-top: 1px solid var(--line); font-size: 14.5px; }
.ex-next span:last-child { border-bottom: 1px solid var(--line); }
.ex-next span::after { content: "→"; color: var(--muted); }
.stream .w { opacity: 0; }
.stream.go .w { animation: word .4s ease forwards; animation-delay: calc(var(--i) * 24ms + 350ms); }
.stream .ex-q, .stream .ex-next { opacity: 0; }
.stream.go .ex-q { animation: pop .45s cubic-bezier(.2,.7,.2,1) forwards; }
.stream.go .ex-next { animation: word .6s ease forwards; animation-delay: calc(var(--n) * 24ms + 600ms); }
@keyframes word { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }

/* App screenshots: phone frames, light or dark set (the other set is display:none, so lazy loading skips it) */
.shots-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.shots-head { display: grid; justify-items: end; gap: 8px; flex: none; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); }
.seg button { font: inherit; font-size: 14px; font-weight: 600; padding: 6px 15px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--panel-2); color: var(--text); }
.shots-note { margin: 0; font-size: 13px; color: var(--muted); text-align: right; }
.shots { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; margin-top: 44px; padding-bottom: 8px; }
/* Light pooled behind the phones */
.shots::before { content: ""; position: absolute; z-index: -1; inset: 8% 6% 0; pointer-events: none; filter: blur(70px); opacity: .55;
  background: radial-gradient(50% 60% at 30% 50%, rgba(247,147,26,.35), transparent 70%), radial-gradient(50% 60% at 72% 45%, rgba(76,154,255,.3), transparent 70%); }
.shot { margin: 0; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.phone { padding: 7px; border-radius: 38px; background: linear-gradient(150deg, #3b414d, #0b0d12 22%, #05070a 70%, #2b303a);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.08), 0 34px 60px -28px rgba(0,0,0,.8); }
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 600 / 1300; border-radius: 31px; background: #0b0f15; }
html:not([data-shots="light"]) .s-light, html[data-shots="light"] .s-dark { display: none; }
.shot figcaption { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--muted); text-align: center; transition: color .3s; }
@media (hover: hover) { .shot:hover figcaption { color: var(--text); } }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.apps div { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); transition: border-color .3s, transform .4s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .apps div:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-3px); } }
.apps h3 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.005em; }
.apps p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

/* The newest blocks our node has replayed, the latest one lit (drawn by landing.js) */
.chain { display: flex; justify-content: flex-end; margin-top: 48px; padding: 4px 14px 34px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.blk { position: relative; flex: none; width: 46px; height: 46px; margin-left: 30px; border: 1px solid var(--line); border-radius: 11px;
  background: linear-gradient(var(--line), var(--line)) 11px 14px / 22px 1px no-repeat, linear-gradient(var(--line), var(--line)) 11px 22px / 22px 1px no-repeat,
    linear-gradient(var(--line), var(--line)) 11px 30px / 13px 1px no-repeat, var(--panel); }
.blk::before { content: ""; position: absolute; right: 100%; top: 50%; width: 30px; height: 1px; background: var(--line); }
.blk b { position: absolute; top: calc(100% + 11px); left: 50%; transform: translateX(-50%); font: 400 11.5px/1 var(--mono);
  font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.blk.tip { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 26px -4px rgba(247,147,26,.55); animation: tip 2.6s ease-out infinite; }
.blk.tip::before { background: linear-gradient(90deg, var(--line), var(--accent)); }
.blk.tip b { color: var(--accent); font-weight: 600; }
@keyframes tip { 0% { box-shadow: 0 0 26px -4px rgba(247,147,26,.55), 0 0 0 0 rgba(247,147,26,.45); } 70%, 100% { box-shadow: 0 0 26px -4px rgba(247,147,26,.55), 0 0 0 12px rgba(247,147,26,0); } }
@media (prefers-reduced-motion: reduce) { .blk.tip { animation: none; } }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.chain:not([hidden]) + .how { margin-top: 30px; }
.how h3 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.005em; }
.how p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.how div { position: relative; padding-top: 20px; border-top: 1px solid var(--line); }
.how div::before { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 2px; background: var(--accent); }

/* ---------- waitlist: the closing panel ---------- */
.cta { position: relative; overflow: hidden; margin-top: 128px; padding: 84px 28px 80px; border: 1px solid var(--line); border-radius: 28px; text-align: center;
  background: radial-gradient(70% 110% at 50% 118%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), var(--panel); box-shadow: var(--lift); }
.cta::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 15%, color-mix(in srgb, var(--accent) 80%, transparent) 50%, transparent 85%); }
.cta > p { margin: 18px auto 0; max-width: 46ch; color: var(--muted); font-size: 17px; line-height: 1.6; }
.req { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.req label { display: grid; gap: 6px; align-content: start; font-size: 14px; font-weight: 600; }
.req .wide { grid-column: 1 / -1; }
.req .opt { font-weight: 400; color: var(--muted); }
.req input, .req textarea {
  width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text);
  font: inherit; font-size: 15px; font-weight: 400; outline: none; transition: border-color .2s, box-shadow .2s;
}
.req textarea { resize: vertical; min-height: 84px; }
.req input:focus, .req textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.req input[aria-invalid="true"] { border-color: #f0506e; }
.trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.req-msg { margin: 0; font-size: 14.5px; color: var(--muted); }
.req-msg.bad { color: #f0506e; }
.req-msg.ok { color: var(--text); }
.req.done .btn { display: none; }
/* The waitlist: one email field and its button on a line */
.req.one { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.req.one .req-msg:empty { display: none; }
.cta .req { max-width: 540px; margin: 36px auto 0; padding: 0; border: 0; background: none; gap: 10px; text-align: left; }
.cta .req input { height: 50px; padding: 0 16px; border-radius: 13px; font-size: 16px; }
.cta .req-msg { text-align: center; }

.foot { display: flex; flex-wrap: wrap; gap: 8px 24px; max-width: var(--wrap); margin: 96px auto 0; padding: 26px 20px 40px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot a { margin-left: auto; text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--text); }

/* ---------- sections rise into place as they scroll into view (landing.js adds rv-on, then .in) ---------- */
.rv-on .rv { opacity: 0; }
.rv-on .rv.in { opacity: 1; animation: rise .8s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@media (prefers-reduced-motion: reduce) { .rv-on .rv { opacity: 1; } .rv-on .rv.in { animation: none; } }

/* ---------- privacy, terms and support pages ---------- */
.links a[aria-current="page"] { color: var(--text); }
.doc { max-width: 760px; padding-top: 40px; }
.doc h1 { font: 400 clamp(36px, 5.4vw, 54px)/1.06 var(--display); letter-spacing: -.02em; margin: 0 0 8px; }
.doc h2 { font-size: 22px; letter-spacing: -.01em; margin: 40px 0 8px; }
.doc h3 { font-size: 17px; margin: 24px 0 4px; }
.doc p, .doc li { color: color-mix(in srgb, var(--text) 86%, var(--muted)); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--accent); text-underline-offset: 2px; }
.doc code { font: .9em var(--mono); }
.doc pre { overflow-x: auto; max-width: 100%; margin: 10px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); }
.doc pre code { font-size: 13px; white-space: pre; }
.summary { margin: 26px 0 8px; padding: 4px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.foot-links { margin-left: auto; display: flex; gap: 18px; }
.foot .foot-links a { margin-left: 0; }

/* ---------- wide screens: the phones stand in an arc and lift under the pointer ---------- */
@media (min-width: 981px) {
  .shot:nth-child(1), .shot:nth-child(5) { transform: translateY(44px); }
  .shot:nth-child(2), .shot:nth-child(4) { transform: translateY(16px); }
  .shots { padding-bottom: 52px; }
}
@media (min-width: 981px) and (hover: hover) {
  .shot:nth-child(n):hover { transform: translateY(-10px); }
  .shot:nth-child(2):hover, .shot:nth-child(4):hover { transform: translateY(2px); }
  .shot:nth-child(1):hover, .shot:nth-child(5):hover { transform: translateY(28px); }
}

/* ---------- smaller screens ---------- */
@media (max-width: 980px) {
  .groups { grid-template-columns: repeat(2, 1fr); }
  .groups div:not(:nth-child(4n)) { border-right: 0; }
  .groups div:nth-child(odd) { border-right: 1px solid var(--line); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .how { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .apps { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
  .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 0; }
  .stats div:nth-child(odd), .stats div[hidden] + div:nth-child(2) { border-left: 0; padding-left: 0; }
  /* Screenshots become a sideways swipe */
  .shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(200px, 30%); overflow-x: auto;
    scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
  .shots::before { display: none; }
  .shot { scroll-snap-align: start; }
}
@media (max-width: 720px) {
  .links { display: none; }
  .nav { gap: 12px; padding: 12px 16px; }
  .acts { gap: 12px; }
  main { padding: 12px 12px 0; }
  .hero { min-height: 0; padding: 30px 22px 356px; border-radius: 22px; justify-content: flex-start; }
  .hero-grid { background-size: 44px 44px; -webkit-mask-image: linear-gradient(transparent 40%, #000 75%); mask-image: linear-gradient(transparent 40%, #000 75%); }
  .hero-chart { inset: auto 0 88px 0; height: 220px; }
  .hero-chart svg { -webkit-mask-image: none; mask-image: none; }
  .hero-chart .tag { right: 10px; font-size: 11.5px; }
  .hero h1 em { display: inline; }
  .halving { display: none; }
  .replay { top: auto; right: auto; left: 22px; bottom: 316px; font-size: 11px; }
  .xh-box { font-size: 11px; padding: 7px 10px; }
  .hero-key { left: 22px; right: 22px; bottom: 16px; justify-content: flex-start; gap: 4px 14px; font-size: 12px; }
  .hero-key .muted { display: none; }
  .lede { font-size: 16.5px; margin-top: 18px; }
  .ctas { margin-top: 26px; }
  .ctas .btn { flex: 1; }
  .stats { padding: 34px 10px 0; }
  .stats div { padding: 0 0 0 18px; }
  .stats dd { font-size: 31px; white-space: nowrap; }
  .band { padding-top: 88px; }
  .groups { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .groups div { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; padding: 20px 2px 22px; border-right: 0 !important; }
  .groups svg { grid-column: 2; grid-row: 1 / span 2; margin: 2px 0 0; }
  .groups dt, .groups dd { grid-column: 1; }
  .shots-top { display: block; }
  .shots-head { justify-items: start; margin-top: 24px; }
  .shots-note { text-align: left; }
  .shots { grid-auto-columns: 62%; gap: 14px; margin-top: 22px; }
  .phone { border-radius: 34px; padding: 6px; } .phone img { border-radius: 28px; }
  .apps { grid-template-columns: minmax(0, 1fr); }
  .blk { width: 40px; height: 40px; margin-left: 24px; background: var(--panel); }
  .blk::before { width: 24px; }
  .cta { margin-top: 88px; padding: 56px 20px 52px; border-radius: 22px; }
  .req, .req.one { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .cta .req { padding: 0; }
  .eyebrow { margin-bottom: 16px; }
  .req-foot .btn { width: 100%; }
  .foot { margin-top: 72px; }
  .foot a { margin-left: 0; }
}
