/* dailycash
   Layout: Relume-style split section heads over bordered cards; painted art that dissolves
   into the page through stepped pixel edges, framed by banner-style square fields.
   Colour: Artic brand (#81CBFD on #212121). Dark first; light ("Air") via the theme toggle. */

/* Geist and Geist Mono, self-hosted (SIL Open Font License, see assets/fonts/OFL.txt) */
@font-face { font-family: "Geist"; src: url("assets/fonts/Geist-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("assets/fonts/Geist-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("assets/fonts/GeistMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("assets/fonts/GeistMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #212121;
  --bg-2: #1b1b1b;
  --card: #262626;
  --card-2: #2e2e2e;
  --line: #333333;
  --line-2: #424242;
  --fg: #f9f9f9;
  --fg-2: #d4d4d4;
  --muted: #aaaaaa;
  --faint: #7c7c7c;
  --brand: #81cbfd;
  --brand-hi: #a3dafe;
  --brand-text: #81cbfd;
  --brand-wash: rgba(129, 203, 253, 0.1);
  --ink: #0b1b27;
  --ink-soft: rgba(11, 27, 39, 0.72);
  --paper: #f9f9f9;
  --charcoal: #212121;
  --panel: rgba(33, 33, 33, 0.9);
  --grid: rgba(255, 255, 255, 0.2);
  --px-ink: 255, 255, 255;
  --shadow: 0 28px 70px -28px rgba(0, 0, 0, 0.7);
  --draft: rgba(249, 249, 249, 0.045);
  /* iPhone hardware, same in both themes */
  --hw-glass: #0a0a0b;
  --hw-frame: #3a3c40;
  --hw-edge: #6e7176;

  /* Artic gradients */
  --flow:
    radial-gradient(70% 55% at 28% 108%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 70%),
    radial-gradient(55% 38% at 78% 16%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 70%),
    linear-gradient(165deg, #b8e3ff 0%, #81cbfd 44%, #4ba4e8 100%);

  /* Depth: charcoal and navy with a soft Artic blue glow (dark-theme home for the white sketches) */
  --depth:
    radial-gradient(60% 58% at 50% 110%, rgba(129, 203, 253, 0.4), rgba(129, 203, 253, 0) 70%),
    radial-gradient(42% 45% at 88% -5%, rgba(129, 203, 253, 0.16), rgba(129, 203, 253, 0) 70%),
    linear-gradient(180deg, #19222e 0%, #1b2532 55%, #1f2b3a 100%);
  --depth-grid: rgba(129, 203, 253, 0.13);

  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1280px;
  --gut: 40px;
  --r-btn: 3px;
  --r-card: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="light"] {
  color-scheme: light;
  --draft: rgba(20, 30, 40, 0.06);
  --depth: var(--flow);
  --depth-grid: rgba(255, 255, 255, 0.26);
  --bg: #f4f6f8;
  --bg-2: #e9edf1;
  --card: #ffffff;
  --card-2: #f1f4f7;
  --line: #e1e6eb;
  --line-2: #cfd6dd;
  --fg: #141414;
  --fg-2: #30353a;
  --muted: #5b646d;
  --faint: #8a939c;
  --brand-text: #1673b5;
  --brand-wash: rgba(129, 203, 253, 0.22);
  --panel: rgba(255, 255, 255, 0.92);
  --px-ink: 20, 30, 40;
  --shadow: 0 28px 70px -30px rgba(20, 45, 70, 0.35);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, blockquote, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
svg { width: 1em; height: 1em; flex: none; }
/* line icons: stroke styling must sit on <use>, since <symbol> clones only inherit from it */
use[href^="#i-"] { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--brand); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 8px 12px; background: var(--brand); color: var(--ink); border-radius: var(--r-btn); font-weight: 500; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gut));
  margin-inline: auto;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}

.eyebrow {
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-text);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 14px;
  border-radius: var(--r-btn);
  font: 500 14px/1 var(--sans);
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-brand { background: var(--brand); color: var(--ink); }
.btn-brand:hover { background: var(--brand-hi); }
.btn-line { border: 1px solid var(--line-2); color: var(--fg); }
.btn-line:hover { background: var(--card-2); }
.btn-ink { background: var(--charcoal); color: var(--paper); }
.btn-ink:hover { background: #333; }
.btn-sm { height: 28px; padding: 0 10px; font-size: 13px; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: var(--r-btn);
  color: var(--muted);
  font-size: 17px;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}
.icon-btn:hover { color: var(--fg); background: var(--card-2); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 500; letter-spacing: -0.03em; justify-self: start; }
.brand .mark { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 30px; font-size: 14px; color: var(--fg-2); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }
.nav-end { display: flex; align-items: center; gap: 8px; justify-self: end; }
.nav-in.nav-two { grid-template-columns: 1fr auto; }
.nav-menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 88px; overflow: hidden; }
.px-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-in { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 {
  margin-top: 18px;
  font-size: clamp(40px, 5.6vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.lede { max-width: 560px; margin-top: 22px; font-size: 17px; line-height: 1.6; color: var(--fg-2); }

.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }

/* ---------- stage ---------- */
.stage {
  position: relative; z-index: 1;
  --pw: clamp(256px, 21.5vw, 312px);
  margin-top: 64px;
  height: calc(var(--pw) * 852 / 393 + 72px);
  border-radius: var(--r-card) var(--r-card) 0 0;
  overflow: hidden;
  background: var(--depth);
  isolation: isolate;
}
/* hero map: contour lines and a GPS route, drawn like the object sketches */
.stage-map { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--fg); fill: none; stroke-linecap: round; stroke-linejoin: round; }
.stage-map .contours { stroke: currentColor; stroke-width: 1.1; opacity: 0.13; }
.stage-map .route { stroke: var(--brand); stroke-width: 2; stroke-dasharray: 3 9; animation: march 2.4s linear infinite; }
.stage-map .route-start { fill: var(--brand); }
.stage-map .route-end { stroke: var(--brand); stroke-width: 2; }
@keyframes march { to { stroke-dashoffset: -24; } }

/* object sketches: one hairline style everywhere, drawn in on view */
.art { display: block; color: var(--fg); fill: none; stroke: currentColor; stroke-width: var(--sw, 1.3); stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.art.is-drawing { animation: draw 1.9s var(--ease) both; }
@keyframes draw { from { stroke-dasharray: 0 1000; } to { stroke-dasharray: 1000 0; } }
.drafted {
  background-color: var(--card);
  background-image: linear-gradient(var(--draft) 1px, transparent 1px), linear-gradient(90deg, var(--draft) 1px, transparent 1px);
  background-size: 20px 20px; background-position: -1px -1px;
}
.grid-ov {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
}
.stage .grid-ov { --grid: var(--depth-grid); }

.shot {
  position: absolute; width: 21%; aspect-ratio: 4 / 5;
  border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 30px 60px -20px rgba(10, 30, 50, 0.55);
  transition: transform 1.2s var(--ease);
}
.shot { display: grid; place-items: center; }
.shot .art { width: 84%; height: auto; aspect-ratio: 1; margin-top: -14%; --sw: 1.5; }
.shot { width: 22%; }
.shot-l { left: 9%; top: 18%; }
.shot-r { right: 9%; top: 9%; }
.tag {
  position: absolute; left: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 8px; border-radius: var(--r-btn);
  background: var(--panel); color: var(--fg);
  font: 500 12px/1 var(--mono);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tag svg { color: var(--brand-text); font-size: 13px; }
.tag .mark { font-size: 14px; }

/* iPhone: hardware stays dark in both themes, the app screen follows the theme */
.phone {
  position: absolute; left: 50%; top: 40px; z-index: 5;
  width: var(--pw); aspect-ratio: 393 / 852;
  padding: calc(var(--pw) * 0.032);
  border-radius: calc(var(--pw) * 0.165);
  background: var(--hw-glass);
  transform: translateX(-50%);
  box-shadow:
    0 0 0 1px var(--hw-edge),
    0 0 0 3.5px var(--hw-frame),
    0 0 0 4.5px var(--hw-edge),
    0 60px 110px -30px rgba(5, 20, 35, 0.75);
  transition: transform 1.2s var(--ease);
}
.phone-key { position: absolute; width: 3px; background: var(--hw-frame); border-radius: 2px; }
.k1 { left: -6px; top: 17%; height: 3.6%; }
.k2 { left: -6px; top: 24%; height: 7%; }
.k3 { left: -6px; top: 32.5%; height: 7%; }
.k4 { right: -6px; top: 27%; height: 11%; }

.screen {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  border-radius: calc(var(--pw) * 0.135);
  overflow: hidden;
  background: var(--bg); color: var(--fg);
  font-size: calc(var(--pw) * 0.041);
  line-height: 1.35;
}
.ios-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 3.5em; padding: 0 1.9em 0 2.3em; flex: none; }
.ios-time { font-size: 1.18em; font-weight: 500; letter-spacing: -0.01em; }
.ios-island { width: 7.8em; height: 2.3em; border-radius: 2em; background: #000; }
.ios-icons { display: flex; justify-content: flex-end; align-items: center; gap: 0.4em; }
.ios-icons svg { width: auto; height: 0.92em; fill: currentColor; }
.ios-icons .ios-bat { height: 1em; }

.app-body { flex: 1; min-height: 0; padding: 0.5em 1.3em 0; overflow: hidden; }
.app-head { display: flex; align-items: flex-end; justify-content: space-between; }
.app-date { display: block; font: 500 0.78em/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-text); }
.app-title { margin-top: 0.3em; font-size: 2.35em; font-weight: 500; line-height: 1; letter-spacing: -0.035em; }
.app-avatar { display: grid; place-items: center; width: 2.7em; height: 2.7em; border-radius: 50%; background: var(--brand-wash); color: var(--brand-text); font-weight: 500; font-size: 1em; }

.app-card { margin-top: 1em; padding: 1em 1.05em 1.1em; border-radius: 0.8em; background: var(--card); border: 1px solid var(--line); }
.lbl { font: 500 0.74em/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.bal { display: flex; align-items: baseline; gap: 0.4em; margin-top: 0.55em; }
.bal b { font-size: 3.05em; font-weight: 500; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.bal span { font: 0.85em var(--mono); color: var(--muted); }
.app-card-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5em; margin-top: 0.7em; }
.streak { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.9em; color: var(--muted); }
.streak svg { color: var(--brand-text); }
.app-card .btn-sm { height: 2.3em; padding: 0 0.85em; font-size: 0.88em; }
.cells { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.3em; margin-top: 0.95em; }
.cells i { height: 0.42em; background: var(--line-2); transition: background-color 0.5s; }
.cells i.on { background: var(--brand); }

.app-sub { display: flex; justify-content: space-between; margin: 1.25em 0 0.2em; font: 500 0.74em/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.app-list { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 2.75em 1fr auto; gap: 0.8em; align-items: center; padding: 0.62em 0; border-bottom: 1px solid var(--line); }
.row-ico { display: grid; place-items: center; width: 2.75em; height: 2.75em; border-radius: 0.45em; background: var(--card-2); color: var(--fg-2); }
.row-ico svg { font-size: 1.3em; }
.row.is-done .row-ico { color: var(--brand-text); }
.row > div { min-width: 0; }
.row b { display: block; font-size: 1.04em; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row small { display: block; font-size: 0.86em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amt { font: 400 13px var(--mono); color: var(--faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.row .amt { font-size: 0.95em; }
.row.is-done .amt { color: var(--brand-text); }
.row.is-new { animation: rowIn 0.6s var(--ease); }
.row.is-verifying .amt { color: var(--muted); display: inline-flex; align-items: center; gap: 0.4em; }
.dots { display: inline-grid; grid-template-columns: repeat(3, 4px); gap: 2px; }
.dots i { width: 4px; height: 4px; background: var(--brand); animation: blink 0.9s infinite; }
.dots i:nth-child(2) { animation-delay: 0.15s; }
.dots i:nth-child(3) { animation-delay: 0.3s; }

.ios-tabs {
  flex: none; display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 0.6em 0.6em 2.3em;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 85%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.ios-tabs span { display: flex; flex-direction: column; align-items: center; gap: 0.3em; font-size: 0.7em; font-weight: 500; color: var(--faint); }
.ios-tabs svg { font-size: 1.95em; }
.ios-tabs .on { color: var(--brand-text); }
.ios-home { position: absolute; left: 50%; bottom: 0.6em; width: 10.5em; height: 0.36em; border-radius: 1em; background: var(--fg); opacity: 0.85; transform: translateX(-50%); }

.cursor {
  position: absolute; left: 31%; top: 66%; z-index: 6;
  display: flex; align-items: flex-start;
  color: var(--brand);
  filter: drop-shadow(0 6px 14px rgba(5, 20, 35, 0.45));
  animation: drift 6s ease-in-out infinite;
  transition: left 1s var(--ease), top 1s var(--ease);
}
.cursor svg { width: 16px; height: 16px; }
.cursor span {
  margin: 12px 0 0 2px; padding: 4px 7px; border-radius: var(--r-btn);
  background: var(--brand); color: var(--ink);
  font: 500 12px/1 var(--mono);
}

/* pixel canvases */
.px { position: absolute; pointer-events: none; --px-c: var(--bg); }
.px[data-px="edge"] { z-index: 4; }
.px[data-side="bottom"] { left: 0; right: 0; bottom: 0; }
.px[data-side="left"] { top: 0; bottom: 0; left: 0; }
.px[data-side="right"] { top: 0; bottom: 0; right: 0; }

/* ---------- strip ---------- */
.strip-sec { padding-top: 28px; }
.strip {
  display: grid; grid-template-columns: 230px 1fr; align-items: center;
  height: 76px; border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--card); overflow: hidden;
}
.strip-label { padding-left: 24px; font-size: 14px; color: var(--muted); }
.marquee {
  overflow: hidden; min-width: 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq { display: inline-flex; align-items: center; gap: 10px; padding: 0 30px; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.mq svg { font-size: 19px; color: var(--muted); }
.mq b { font: 400 13px var(--mono); color: var(--brand-text); }

/* ---------- sections ---------- */
.sec { padding-top: 150px; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.sec-head h2, .faq-head h2 {
  margin-top: 14px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.sec-lede { max-width: 470px; color: var(--fg-2); font-size: 16px; line-height: 1.6; }
.sec-head .sec-lede { margin-top: 31px; justify-self: start; }

/* ---------- feature cards ---------- */
.feat {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 560px;
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--card); overflow: hidden;
}
.feat + .feat { margin-top: 24px; }
.feat-copy { padding: 52px 48px; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.feat-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px; background: var(--brand); color: var(--ink); font-size: 18px; margin-bottom: 20px; }
.feat-copy h3 { margin-top: 12px; font-size: clamp(25px, 2.3vw, 30px); line-height: 1.22; letter-spacing: -0.02em; }
.feat-copy > p:not(.eyebrow) { margin-top: 16px; max-width: 430px; color: var(--fg-2); }
.btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.feat-list { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 18px; }
.feat-list li { display: flex; gap: 12px; align-items: flex-start; }
.feat-list b { display: block; font-size: 15px; font-weight: 500; }
.feat-list span:not(.mini-ico) { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.mini-ico { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; border: 1px solid var(--line-2); border-radius: 5px; color: var(--fg-2); font-size: 15px; }

.feat-art { position: relative; background: var(--flow); overflow: hidden; min-height: 420px; isolation: isolate; }
.feat-art .grid-ov { --grid: rgba(255, 255, 255, 0.38); }
.feat-frame {
  position: absolute; top: 50%; right: 8%; width: 62%; aspect-ratio: 1;
  transform: translateY(-50%);
  display: grid; place-items: center;
  border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 70px -25px rgba(10, 40, 70, 0.55);
}
.feat-frame .art { width: 82%; height: auto; aspect-ratio: 1; --sw: 1.2; }
.feat-rev .feat-frame { right: auto; left: 8%; }
.panel {
  position: absolute; z-index: 2; width: 230px; padding: 14px;
  background: var(--panel); color: var(--fg);
  border: 1px solid var(--line-2); border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
}
.panel-verify { left: 9%; bottom: 11%; }
.panel-wallet { right: 9%; bottom: 11%; }
.panel-top { display: flex; justify-content: space-between; font: 12px var(--mono); color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-text); }
.live i { width: 6px; height: 6px; background: var(--brand); animation: blink 1.4s infinite; }
.panel-big { margin: 10px 0 12px; font-size: 32px; font-weight: 500; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.panel-big small { margin-left: 4px; font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.panel-bar { height: 4px; background: var(--line-2); }
.panel-bar span { display: block; height: 100%; background: var(--brand); }
.panel-dl { margin-top: 10px; }
.panel-dl div { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--line); }
.panel-dl dt { color: var(--muted); }
.panel-dl dd { font: 12px var(--mono); }
.panel-dl dd.ok { display: inline-flex; align-items: center; gap: 4px; color: var(--brand-text); }
.panel-rows { list-style: none; margin: 0; padding: 0; }
.panel-rows li { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--line); }
.panel-rows b { font: 400 12px var(--mono); color: var(--brand-text); }
.panel-cta { display: flex; align-items: center; justify-content: center; gap: 6px; height: 30px; margin-top: 10px; border-radius: var(--r-btn); background: var(--brand); color: var(--ink); font-weight: 500; }
.feat .px { --px-c: var(--card); }

/* ---------- tasks: switcher ---------- */
.switch {
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--card); overflow: hidden;
}
.switch-list { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-right: 1px solid var(--line); }
.sw-item {
  position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 15px 14px; border-radius: 6px; text-align: left; color: var(--fg);
  transition: background-color 0.2s;
}
.sw-item:hover { background: var(--card-2); }
.sw-item.is-on { background: var(--card-2); }
.sw-txt { min-width: 0; }
.sw-txt b { display: block; font-size: 15px; font-weight: 500; }
.sw-txt small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-item .amt { font-size: 14px; color: var(--faint); transition: color 0.2s; }
.sw-item.is-on .amt { color: var(--brand-text); }
.sw-item .mini-ico { transition: border-color 0.2s, color 0.2s; }
.sw-item.is-on .mini-ico { border-color: var(--brand); color: var(--brand-text); }
.sw-bar { position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; overflow: hidden; }
.sw-bar::after { content: ""; display: block; width: 100%; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.sw-item.is-on .sw-bar::after { animation: swfill var(--dur, 5.2s) linear forwards; }
.switch.is-paused .sw-item.is-on .sw-bar::after { animation-play-state: paused; }
.switch.is-static .sw-item.is-on .sw-bar::after { animation: none; transform: scaleX(1); }
@keyframes swfill { to { transform: scaleX(1); } }

.switch-view { position: relative; min-height: 660px; overflow: hidden; background: var(--depth); isolation: isolate; --pw: 262px; }
.sv-art { position: absolute; inset: 0; }
.sv-img {
  position: absolute; top: 10%; left: 4%; width: 52%; height: 80%;
  --sw: 1.05;
  opacity: 0; transform: scale(0.97);
  transition: opacity 0.7s var(--ease), transform 1.4s var(--ease);
}
.sv-img.on { opacity: 1; transform: none; }
.sv-art .grid-ov { --grid: var(--depth-grid); z-index: 1; }
.phone-trk { left: auto; right: 9%; top: 50%; transform: translateY(-50%); }

.trk { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0.4em 1.4em 0; }
.trk-head { display: grid; grid-template-columns: 1.3em minmax(0, 1fr) auto; align-items: center; gap: 0.5em; margin-top: 0.3em; }
.trk-head b { font-size: 1.05em; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trk-back { font-size: 1.3em; color: var(--muted); transform: rotate(180deg); }
.trk-head .live { font: 500 0.78em var(--mono); }
.trk-ring { position: relative; width: 11.6em; height: 11.6em; margin: 1.9em auto 0; }
.trk-ring svg { width: 100%; height: 100%; }
.ring-bg, .ring-fg { fill: none; stroke-width: 7; }
.ring-bg { stroke: var(--line-2); }
.ring-fg { stroke: var(--brand); stroke-dasharray: 100 100; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 60px 60px; transition: stroke-dashoffset 1.2s var(--ease); }
.trk-val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.trk-val b { font-size: 2.7em; font-weight: 500; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.trk-val b.long { font-size: 2.15em; }
.trk-val span { margin-top: 0.35em; font: 0.85em var(--mono); color: var(--muted); }
.trk-goal { margin-top: 1.1em; text-align: center; font: 500 0.76em var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.trk-checks { list-style: none; margin: 1.5em 0 0; padding: 0; border-top: 1px solid var(--line); }
.trk-checks li { display: grid; grid-template-columns: 1.2em minmax(0, 1fr) auto; gap: 0.6em; align-items: center; padding: 0.72em 0; border-bottom: 1px solid var(--line); font-size: 0.92em; }
.trk-checks svg { color: var(--brand-text); }
.trk-checks b { font: 400 0.95em var(--mono); color: var(--fg-2); white-space: nowrap; }
.trk-pay { margin-top: 1.3em; padding: 0.55em 0.9em; border: 1px solid var(--line); border-radius: 0.6em; background: var(--card); font-size: 0.9em; }
.trk-pay div { display: flex; justify-content: space-between; gap: 0.6em; padding: 0.35em 0; }
.trk-pay div + div { border-top: 1px solid var(--line); }
.trk-pay dt { color: var(--muted); }
.trk-pay dd { font: 400 0.95em var(--mono); color: var(--fg-2); }
.trk-pay div + div dd { color: var(--brand-text); }
.trk-claim { display: flex; align-items: center; justify-content: center; height: 3em; margin: auto 0 2.7em; border-radius: var(--r-btn); background: var(--brand); color: var(--ink); font-weight: 500; }

/* ---------- statement ---------- */
.statement { position: relative; margin-top: 150px; padding-block: 170px; background: var(--bg-2); overflow: hidden; }
.statement-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.say {
  max-width: 15ch;
  font-size: clamp(36px, 5.6vw, 80px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.say .w { color: var(--faint); transition: color 0.4s; }
.say .w.lit { color: var(--fg); }
.pill-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 40px; padding: 5px 10px 5px 5px;
  border: 1px solid var(--line-2); border-radius: 4px; background: var(--card);
  font-size: 14px; transition: border-color 0.2s;
}
.pill-link:hover { border-color: var(--brand); }
.pill-link > svg { color: var(--muted); font-size: 14px; }
.pill-thumbs { display: flex; }
.pill-thumbs > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 3px; border: 2px solid var(--card); background: var(--card-2); color: var(--fg-2); font-size: 12px; }
.pill-thumbs > span + span { margin-left: -7px; }

/* ---------- story ---------- */
.story { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.story-art { position: relative; aspect-ratio: 4 / 4.3; border-radius: var(--r-card); overflow: hidden; }
.story-art { display: grid; place-items: center; border: 1px solid var(--line); }
.story-art .art { width: 74%; height: auto; aspect-ratio: 1; --sw: 1.1; }
.story-art .tag { left: 14px; bottom: 14px; }
.story-copy { min-width: 0; }
.story-copy blockquote { margin-top: 18px; font-size: clamp(22px, 2.2vw, 29px); line-height: 1.38; letter-spacing: -0.02em; }
.receipt { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line-2); font-variant-numeric: tabular-nums; }
.receipt li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px dashed var(--line-2); }
.receipt time { font: 12px var(--mono); color: var(--faint); }
.receipt span { font-size: 15px; color: var(--fg-2); }
.receipt b { font: 400 14px var(--mono); color: var(--brand-text); }
.receipt .sub span { color: var(--muted); }
.receipt .total { border-bottom-style: solid; }
.receipt .total span { color: var(--fg); font-weight: 500; }
.receipt .total b { color: var(--fg); font-weight: 500; font-size: 15px; }
.fine { margin-top: 14px; font-size: 12.5px; color: var(--faint); }

/* ---------- compare ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 19px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font: 500 12px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.compare tbody th { font-weight: 500; width: 22%; }
.compare td { color: var(--muted); }
.compare .us { background: var(--brand-wash); color: var(--fg); }
.compare thead .us { color: var(--brand-text); }
.compare thead .us .mark { font-size: 13px; margin-right: 8px; vertical-align: -2px; color: var(--fg); }

/* ---------- challenges ---------- */
.chals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.chal { display: block; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); overflow: hidden; transition: border-color 0.25s; }
.chal:hover { border-color: var(--line-2); }
.chal-art { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); }
.chal-art { display: grid; place-items: center; }
.chal-art .art { height: 86%; width: auto; aspect-ratio: 1; --sw: 1.35; transition: transform 1s var(--ease); }
.chal:hover .chal-art .art { transform: translateY(-4px); }
.chal-foot { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.chal-foot > div { flex: 1; min-width: 0; }
.chal-foot b { display: block; font-size: 15px; font-weight: 500; }
.chal-foot small { display: block; font-size: 13px; color: var(--muted); }
.chal-foot .amt { font-size: 14px; color: var(--brand-text); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 72px; align-items: start; }
.faq-head .sec-lede { margin-top: 18px; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; cursor: pointer; font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { font-size: 18px; color: var(--muted); transition: transform 0.3s var(--ease), color 0.2s; }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--brand-text); }
.faq details p { max-width: 62ch; padding: 0 40px 24px 0; color: var(--fg-2); font-size: 15px; line-height: 1.65; }
.faq details p a { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cta ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: 120px;
  border-radius: 12px;
  background: var(--flow);
  color: var(--ink);
  text-align: center;
}
.cta .grid-ov { --grid: rgba(255, 255, 255, 0.42); }
.cta-in { position: relative; z-index: 2; max-width: 640px; margin-inline: auto; padding-inline: 16px; }
.cta .eyebrow { color: var(--ink-soft); }
.cta h2 { margin-top: 14px; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -0.035em; }
.cta-in > p:not(.eyebrow):not(.join-note) { margin-top: 18px; font-size: 17px; color: var(--ink-soft); }
.join { display: flex; gap: 8px; max-width: 440px; margin: 34px auto 0; }
.join input {
  flex: 1; min-width: 0; height: 40px; padding: 0 12px;
  border: 1px solid rgba(11, 27, 39, 0.16); border-radius: var(--r-btn);
  background: rgba(255, 255, 255, 0.8); color: var(--ink);
  font: 400 15px var(--sans);
}
.join input::placeholder { color: rgba(11, 27, 39, 0.45); }
.join input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.join .btn { height: 40px; }
.join-note { margin-top: 12px; font-size: 13px; color: var(--ink-soft); min-height: 20px; }
.join-note.err { color: #8a1c1c; }

/* ---------- footer ---------- */
.foot { margin-top: 150px; border-top: 1px solid var(--line); padding-top: 64px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.foot-tiles { display: grid; grid-template-columns: repeat(8, 26px); gap: 6px; margin: 26px 0 22px; }
.foot-tiles span { width: 26px; height: 26px; border-radius: 3px; background: var(--card-2); overflow: hidden; }
.foot-tiles span.b { background: var(--brand); }
.foot-tiles span.w { background: var(--fg-2); opacity: 0.55; }
.foot-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.foot-note i { width: 8px; height: 8px; background: var(--brand); }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; font-size: 14px; color: var(--fg-2); }
.foot-col .eyebrow { margin-bottom: 6px; }
.foot-col a:hover { color: var(--fg); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap;
  margin-top: 64px; padding-top: 24px; padding-bottom: max(36px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--faint);
}

/* ---------- waitlist bits ---------- */
.hero-note { margin-top: 14px; font: 500 12px var(--mono); letter-spacing: 0.04em; color: var(--faint); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.join-note.ok { color: var(--ink); font-weight: 500; }
.cta-btns { justify-content: center; margin-top: 30px; }
.btn-glass { border: 1px solid rgba(11, 27, 39, 0.22); color: var(--ink); background: rgba(255, 255, 255, 0.35); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.6); }
.foot-mail { display: flex; width: max-content; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--fg-2); }
.foot-mail + .foot-mail { margin-top: 10px; }
.foot-mail svg { font-size: 15px; color: var(--muted); }
.foot-mail:hover { color: var(--fg); }
.foot-bottom a { color: var(--fg-2); }
.foot-bottom a:hover { color: var(--fg); }

/* ---------- content pages: docs, legal, about, contact ---------- */
.page { padding-top: 72px; }
.page-head { max-width: calc(var(--wrap) + 2 * var(--gut)); }
.page-head h1 { margin-top: 14px; max-width: 18ch; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.035em; }
.page-lede { max-width: 620px; margin-top: 18px; font-size: 17px; line-height: 1.6; color: var(--fg-2); }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font: 12px var(--mono); color: var(--faint); }
.page-meta b { font-weight: 500; color: var(--fg-2); }

.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; margin-top: 56px; align-items: start; }
.doc-toc { position: sticky; top: calc(88px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 2px; }
.doc-toc .eyebrow { margin-bottom: 10px; }
.doc-toc a { padding: 6px 10px; margin-left: -10px; border-left: 1px solid var(--line); font-size: 14px; color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.doc-toc a:hover { color: var(--fg); }
.doc-toc a.is-on { color: var(--fg); border-left-color: var(--brand); }

.prose { max-width: 720px; min-width: 0; color: var(--fg-2); font-size: 16px; line-height: 1.7; }
.prose > section { scroll-margin-top: 90px; padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.prose > section:last-child { border-bottom: 0; }
.prose h2 { color: var(--fg); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.025em; }
.prose h3 { margin-top: 28px; color: var(--fg); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.prose p, .prose ul, .prose ol, .prose table, .prose .note, .prose .steps-list { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--faint); }
.prose a { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--fg); font-weight: 500; }
.prose code { font: 0.9em var(--mono); color: var(--fg); background: var(--card-2); padding: 1px 6px; border-radius: 3px; }
.table-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); }
.prose table { width: 100%; min-width: 560px; margin: 0; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { font: 500 11px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--card); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose td.num { font-family: var(--mono); color: var(--brand-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.note { padding: 14px 16px; border: 1px solid var(--line-2); border-left: 2px solid var(--brand); border-radius: 4px; background: var(--card); font-size: 15px; }
.note strong { display: block; margin-bottom: 2px; }
.steps-list { list-style: none; padding: 0 !important; counter-reset: step; }
.steps-list li { position: relative; padding-left: 44px; min-height: 28px; counter-increment: step; }
.steps-list li + li { margin-top: 14px; }
.steps-list li::before {
  content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center;
  width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 5px;
  font: 500 12px var(--mono); color: var(--brand-text);
}

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.contact-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); scroll-margin-top: 90px; }
.contact-card h2 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--fg); }
.contact-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.contact-card .mail-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; }
.contact-card code { font: 13px var(--mono); color: var(--fg); }
.mail-big { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.mail-big a { font-size: clamp(22px, 3vw, 32px); letter-spacing: -0.02em; color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 6px; }
.mail-big a:hover { text-decoration-color: var(--brand); }
.follow { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; color: var(--muted); }
.follow svg { color: var(--fg); }
.follow a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.about-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card); }
.about-card .art { width: 120px; height: 120px; --sw: 1.8; border-radius: 6px; }
.about-card h2 { font-size: 18px; font-weight: 500; color: var(--fg); letter-spacing: -0.01em; }
.about-card p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.page-cta { margin-top: 72px; }
.page-cta .cta { padding-block: 80px; }

.notfound { display: grid; place-items: center; min-height: 60vh; text-align: center; }
.notfound .art { width: 180px; height: 180px; margin: 0 auto 24px; --sw: 1.4; }
.notfound .btns { justify-content: center; }

@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .doc-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .doc-toc .eyebrow { width: 100%; margin-bottom: 4px; }
  .doc-toc a { margin: 0; padding: 5px 10px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; }
  .doc-toc a.is-on { border-color: var(--brand); }
  .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .page { padding-top: 48px; }
}
@media (max-width: 560px) {
  .about-card { grid-template-columns: 1fr; }
  .about-card .art { width: 96px; height: 96px; }
}

/* ---------- form fields (sign-up page and admin) ---------- */
.field {
  width: 100%; height: 38px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: var(--r-btn);
  background: var(--bg); color: var(--fg); font: 400 15px var(--sans);
}
.field:focus { outline: 2px solid var(--brand); outline-offset: 1px; }

/* ---------- waitlist page (/waitlist): one screen, one field ---------- */
.btn-lg { height: 42px; padding: 0 18px; font-size: 15px; }
.done-ico { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 22px; border-radius: 8px; background: var(--brand); color: var(--ink); font-size: 22px; }
.done-ico svg { stroke-width: 2.4; }

.wl { position: relative; display: flex; flex-direction: column; min-height: 100svh; overflow: hidden; isolation: isolate; }
.wl-px { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.wl-top { position: relative; display: flex; justify-content: center; align-items: center; padding: max(26px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.wl-top .brand { font-size: 22px; gap: 10px; }
.wl-top .brand .mark { width: 26px; height: 26px; }
.wl-theme { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); top: max(22px, env(safe-area-inset-top, 0px)); }

.wl-main { flex: 0 0 auto; display: flex; justify-content: center; padding: clamp(36px, 8vh, 96px) max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px)); }
.wl-hero { width: min(1040px, 100%); text-align: center; }
.wl-hero h1 { font-size: clamp(40px, 6.2vw, 86px); font-weight: 500; line-height: 0.98; letter-spacing: -0.05em; text-wrap: nowrap; }
.wl-lede { max-width: 470px; margin: 26px auto 0; font-size: 17.5px; line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }

.wl-form { width: min(560px, 100%); margin: 38px auto 0; }
.wl-box {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center;
  padding: 8px; border: 1px solid var(--line-2); border-radius: 6px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wl-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-wash); }
.wl-box input[type="email"] {
  min-width: 0; height: 48px; padding: 0 14px; border: 0; outline: 0; background: transparent;
  color: var(--fg); font: 400 17px var(--sans);
}
.wl-box input::placeholder { color: var(--faint); }
.wl-box .btn { height: 48px; padding: 0 20px; font-size: 15px; gap: 8px; }
.wl-box .btn svg { font-size: 15px; }
.wl-form .join-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.wl-form .join-note.err { color: #ff8f8f; }
:root[data-theme="light"] .wl-form .join-note.err { color: #b42318; }
.wl-legal { margin-top: 4px; font-size: 12px; color: var(--faint); }
.wl-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.wl-legal a:hover { color: var(--fg); }
.wl-done { padding-top: 24px; outline: none; }
.wl-done .btns { justify-content: center; margin-top: 30px; }

/* bottom band: a soft blue glow the footer sits on */
.wl-scene {
  position: relative; flex: 1 0 auto; min-height: clamp(140px, 24vh, 300px);
  background:
    radial-gradient(60% 85% at 50% 125%, rgba(129, 203, 253, 0.32), rgba(129, 203, 253, 0) 72%),
    linear-gradient(180deg, rgba(25, 34, 46, 0) 0%, rgba(25, 34, 46, 0.55) 55%, #19222e 100%);
  pointer-events: none;
}
:root[data-theme="light"] .wl-scene {
  background:
    radial-gradient(60% 85% at 50% 125%, rgba(129, 203, 253, 0.55), rgba(129, 203, 253, 0) 72%),
    linear-gradient(180deg, rgba(223, 241, 255, 0) 0%, rgba(206, 233, 252, 0.7) 60%, #cfe9fc 100%);
}
.wl-foot {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
  padding: 0 16px max(26px, env(safe-area-inset-bottom, 0px));
  font-size: 13.5px; color: var(--fg-2);
}
.wl-foot a:hover { color: var(--fg); }
.wl-foot span { color: var(--muted); }

@media (max-width: 700px) {
  .wl-main { padding-top: 48px; }
  .wl-lede { font-size: 16px; margin-top: 20px; }
  .wl-box { grid-template-columns: 1fr; padding: 0; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none !important; }
  .wl-box input[type="email"] { height: 54px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--card); text-align: center; }
  .wl-box input[type="email"]:focus { border-color: var(--brand); }
  .wl-box .btn { height: 52px; width: 100%; }
  .wl-hero h1 { font-size: clamp(34px, 10.4vw, 46px); }
  .wl-scene { min-height: 160px; }
  .wl-foot { font-size: 12.5px; gap: 6px 16px; }
}
@media (max-height: 800px) and (min-width: 701px) {
  .wl-main { padding-top: 28px; }
  .wl-hero h1 { font-size: clamp(40px, 5.6vw, 74px); }
  .wl-lede { margin-top: 18px; }
  .wl-form { margin-top: 26px; }
  .wl-scene { min-height: 120px; }
}

/* ---------- compact footer (pre-launch pages) ---------- */
.mini-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 96px; padding-block: 24px max(32px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.mini-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.mini-foot a { color: var(--muted); }
.mini-foot a:hover { color: var(--fg); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  max-width: calc(100vw - 32px);
  padding: 10px 14px; border-radius: 4px;
  background: var(--fg); color: var(--bg);
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: opacity 0.25s, transform 0.4s var(--ease);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast b { font: 500 13px var(--mono); color: var(--brand); }
:root[data-theme="light"] .toast b { color: #8fd2ff; }

/* ---------- motion ---------- */
[data-rise] { transition: transform 1.1s var(--ease); }
[data-rise].is-low { transform: translateY(36px); }
.stage.is-pre .shot-l { transform: translate(-30px, 40px); }
.stage.is-pre .shot-r { transform: translate(30px, 40px); }
.stage.is-pre .phone { transform: translate(-50%, 80px); }

@keyframes slide { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: 0.25; } }
@keyframes rowIn { from { transform: translateY(-8px); background: var(--brand-wash); } to { transform: none; background: transparent; } }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 8px -6px; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .switch-view { --pw: 244px; }
  .phone-trk { right: 7%; }
  .feat-copy { padding: 40px 32px; }
  .shot { width: 23%; }
  .panel { width: 210px; }
}

@media (max-width: 900px) {
  :root { --gut: 24px; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px max(var(--gut), env(safe-area-inset-left, 0px)) 16px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav-links a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav-links { display: flex; }
  .nav-in { grid-template-columns: 1fr auto; }
  .nav-menu { display: inline-grid; }
  .nav-login { display: none; }

  .sec { padding-top: 110px; }
  .sec-head { grid-template-columns: 1fr; gap: 0; }
  .sec-head .sec-lede { margin-top: 18px; }

  .stage { --pw: min(290px, 72vw); }
  .shot, .cursor { display: none; }
  .stage .phone { top: 32px; }

  .strip { grid-template-columns: 1fr; height: auto; }
  .strip-label { padding: 16px 20px 0; }
  .marquee { padding: 14px 0 18px; }

  .feat { grid-template-columns: 1fr; min-height: 0; }
  .feat-rev .feat-art { order: 2; }
  .feat-art { min-height: 460px; }
  .feat .px[data-side="left"], .feat .px[data-side="right"] { --px-side: top; top: 0; left: 0; right: 0; bottom: auto; }
  .feat-frame { width: 64%; max-width: 380px; right: 50%; transform: translate(50%, -55%); }
  .feat-rev .feat-frame { left: auto; right: 50%; }
  .sv-img { width: 100%; }
  .panel-verify, .panel-wallet { left: 50%; right: auto; bottom: 7%; transform: translateX(-50%); }

  .switch { grid-template-columns: 1fr; }
  .switch-view { order: -1; min-height: 600px; --pw: 250px; }
  .switch-list { border-right: 0; border-top: 1px solid var(--line); }
  .phone-trk { right: 50%; transform: translate(50%, -50%); }
  .story { grid-template-columns: 1fr; gap: 40px; }
  .story-art { aspect-ratio: 4 / 3.4; }

  .chals {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 340px);
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin;
  }
  .chal { scroll-snap-align: start; }

  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .statement { padding-block: 120px; margin-top: 110px; }
  .foot { margin-top: 110px; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --gut: 16px; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: 38px; }
  .hero h1 br { display: none; }
  .lede { font-size: 16px; }
  .stage { margin-top: 44px; }
  .feat-copy { padding: 30px 20px 34px; }
  .feat-list { margin-top: 32px; }
  .feat-art { min-height: 400px; }
  .feat-frame { width: 76%; }
  .panel { width: 210px; }
  .switch-view { min-height: 540px; --pw: 228px; }
  .switch-list { padding: 6px; }
  .sw-item { padding: 13px 10px; gap: 12px; }
  .sw-bar { left: 10px; right: 10px; }
  .mq { font-size: 16px; padding: 0 20px; }
  .receipt li { grid-template-columns: 46px 1fr auto; gap: 8px; }
  .receipt span { font-size: 14px; }
  .cta { padding-block: 80px; }
  .join { flex-direction: column; }
  .faq summary { font-size: 16px; }
  .faq details p { padding-right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-rise].is-low, .stage.is-pre .shot-l, .stage.is-pre .shot-r { transform: none; }
  .stage.is-pre .phone { transform: translateX(-50%); }
}
