/* Lineup site. Light first, dark under prefers-color-scheme. No framework. */

:root {
  --bg: #fbfbfd;
  --bg-2: #f2f2f6;
  --surface: #ffffff;
  --surface-2: #f6f6f8;
  --text: #1d1d1f;
  --text-2: #4a4a4f;
  --text-3: #6e6e73;
  --line: rgba(0, 0, 0, .09);
  --line-2: rgba(0, 0, 0, .14);
  --blue: #2f6bff;
  --blue-btn: #2a62f0;
  --blue-btn-hi: #3d74ff;
  --blue-ink: #1f57e0;
  --blue-soft: rgba(47, 107, 255, .1);
  --blue-soft-2: rgba(47, 107, 255, .16);
  --glass: rgba(246, 246, 250, .72);
  --glass-line: rgba(255, 255, 255, .75);
  --glass-edge: rgba(0, 0, 0, .12);
  --pop: rgba(242, 242, 246, .78);
  --win: #ffffff;
  --win-bar: #f3f3f5;
  --win-line: rgba(0, 0, 0, .1);
  --skel: rgba(0, 0, 0, .085);
  --skel-2: rgba(0, 0, 0, .05);
  --track: rgba(0, 0, 0, .1);
  --switch-off: rgba(0, 0, 0, .14);
  --key: #ffffff;
  --key-edge: rgba(0, 0, 0, .16);
  --kbd-body: #d9dbe1;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .06), 0 2px 8px rgba(0, 0, 0, .04);
  --shadow-2: 0 0 0 .5px rgba(0, 0, 0, .08), 0 4px 14px rgba(20, 30, 60, .08), 0 18px 40px -12px rgba(20, 30, 60, .14);
  --shadow-3: 0 0 0 .5px rgba(0, 0, 0, .1), 0 12px 30px rgba(20, 30, 60, .14), 0 40px 90px -30px rgba(20, 30, 60, .3);
  --wall-a: #cfe0ff;
  --wall-b: #ffd7c2;
  --wall-c: #d8ccff;
  --wall-d: #bfeaff;
  --wall-base: #e9eefb;
  --wall-ink: rgba(255, 255, 255, .5);
  --menubar: rgba(255, 255, 255, .42);
  --menubar-ink: #1d1d1f;
  --radius: 22px;
  --wrap: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0c;
    --bg-2: #111115;
    --surface: #18181c;
    --surface-2: #1f1f24;
    --text: #f5f5f7;
    --text-2: #c9c9ce;
    --text-3: #9a9aa0;
    --line: rgba(255, 255, 255, .1);
    --line-2: rgba(255, 255, 255, .16);
    --blue-ink: #7ea4ff;
    --blue-soft: rgba(90, 140, 255, .16);
    --blue-soft-2: rgba(90, 140, 255, .24);
    --glass: rgba(30, 30, 36, .62);
    --glass-line: rgba(255, 255, 255, .12);
    --glass-edge: rgba(0, 0, 0, .6);
    --pop: rgba(36, 36, 42, .72);
    --win: #1f1f23;
    --win-bar: #2a2a2f;
    --win-line: rgba(255, 255, 255, .1);
    --skel: rgba(255, 255, 255, .13);
    --skel-2: rgba(255, 255, 255, .07);
    --track: rgba(255, 255, 255, .16);
    --switch-off: rgba(255, 255, 255, .2);
    --key: #2c2c31;
    --key-edge: rgba(0, 0, 0, .6);
    --kbd-body: #1a1a1e;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow-2: 0 0 0 .5px rgba(255, 255, 255, .08), 0 6px 18px rgba(0, 0, 0, .4), 0 20px 50px -14px rgba(0, 0, 0, .6);
    --shadow-3: 0 0 0 .5px rgba(255, 255, 255, .1), 0 14px 34px rgba(0, 0, 0, .5), 0 50px 100px -30px rgba(0, 0, 0, .8);
    --wall-a: #2b3a9a;
    --wall-b: #7a2f6e;
    --wall-c: #3b2a8a;
    --wall-d: #0c5a7a;
    --wall-base: #0f1433;
    --wall-ink: rgba(255, 255, 255, .08);
    --menubar: rgba(20, 20, 30, .35);
    --menubar-ink: #f5f5f7;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.5 var(--font); letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
img, svg { display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blue-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
kbd { font: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 70%, transparent); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: 12px; transform: translateY(-200%); z-index: 100; background: var(--surface); padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow-2); }
.skip:focus { transform: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.ico { width: 1.05em; height: 1.05em; flex: none; }
.ico-r { width: .9em; height: .9em; margin-left: .35em; }

[hidden] { display: none !important; }

/* ---------- Type ---------- */
h1 {
  font-size: clamp(2.7rem, 1.1rem + 5.3vw, 5.6rem);
  line-height: 1.02; letter-spacing: -.045em; font-weight: 700; text-wrap: balance;
}
h1 .soft { color: var(--text-3); }
h2 {
  font-size: clamp(2.15rem, 1.15rem + 3.4vw, 4rem);
  line-height: 1.05; letter-spacing: -.038em; font-weight: 700; text-wrap: balance;
}
h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.25; }
.lede { font-size: clamp(1.1rem, 1rem + .45vw, 1.36rem); line-height: 1.45; color: var(--text-2); max-width: 40ch; letter-spacing: -.016em; text-wrap: pretty; }
.eyebrow { font-size: .95rem; font-weight: 600; color: var(--text-3); letter-spacing: -.005em; margin-bottom: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: 44px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 1rem; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .2s, box-shadow .2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn-sm { height: 34px; padding: 0 14px; font-size: .9rem; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-primary {
  color: #fff; background: linear-gradient(180deg, var(--blue-btn-hi), var(--blue-btn));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(20, 50, 160, .3), 0 6px 18px -6px rgba(47, 107, 255, .55);
}
.btn-primary:hover { background: linear-gradient(180deg, #4b7fff, #2f68f5); }
.btn-quiet { color: var(--blue-ink); background: var(--blue-soft); }
.btn-quiet:hover { background: var(--blue-soft-2); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding: 12px 16px 0; pointer-events: none; }
.nav-bar {
  pointer-events: auto; max-width: 980px; margin: 0 auto; height: 52px; padding: 0 9px 0 14px;
  display: flex; align-items: center; gap: 12px; border-radius: 999px;
  background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
  box-shadow: inset 0 0 0 .5px var(--glass-line), 0 0 0 .5px var(--glass-edge), 0 8px 30px -10px rgba(0, 0, 0, .18);
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 700; letter-spacing: -.02em; font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { display: block; padding: 7px 12px; border-radius: 999px; color: var(--text-2); font-size: .92rem; font-weight: 500; }
.nav-links a:hover { background: var(--line); color: var(--text); text-decoration: none; }
@media (max-width: 760px) { .nav-links { display: none; } .nav nav { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 5vw, 68px) 0 40px; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; inset: -10% -20% auto; height: 900px; z-index: -1;
  background:
    radial-gradient(40% 40% at 25% 45%, color-mix(in srgb, var(--wall-b) 55%, transparent), transparent 70%),
    radial-gradient(40% 45% at 75% 40%, color-mix(in srgb, var(--wall-c) 55%, transparent), transparent 70%),
    radial-gradient(50% 40% at 50% 80%, color-mix(in srgb, var(--wall-d) 45%, transparent), transparent 70%);
  opacity: .55; filter: blur(30px);
}
.hero-copy { max-width: 980px; margin: 0 auto; padding: 0 24px; text-align: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--text-2);
  padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 .5px var(--glass-line), 0 0 0 .5px var(--glass-edge);
  margin-bottom: 26px;
}
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 3px rgba(52, 199, 89, .2); }
.hero h1 { margin-bottom: 20px; font-size: clamp(2.6rem, 1rem + 4.7vw, 4.9rem); }
.hero .lede { margin: 0 auto 28px; max-width: 52ch; text-wrap: balance; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.fineprint { margin-top: 18px; font-size: .88rem; color: var(--text-3); text-wrap: balance; }


/* ---------- Sections ---------- */
.sect { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sect.alt, .keyboard, .quiet, .roadmap, .faq { background: var(--bg-2); }
.tool-head { display: flex; gap: 20px; align-items: flex-end; margin-bottom: 22px; }
.tool-head .eyebrow { margin-bottom: 8px; }
.tool-icon { width: 64px; height: 64px; filter: drop-shadow(0 6px 14px rgba(30, 60, 160, .25)); flex: none; }
.icon-stack { display: flex; flex: none; }
.icon-stack img { width: 56px; height: 56px; margin-right: -14px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .18)); }
.icon-stack img:nth-child(2) { transform: translateY(-6px) rotate(4deg); }
.icon-stack img:nth-child(3) { transform: rotate(-3deg); }
.icon-stack img:nth-child(4) { transform: translateY(-4px) rotate(6deg); }
.icon-stack + div { padding-left: 14px; }
.tool-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: 44px; }
.tool-intro .lede { max-width: 48ch; }
@media (max-width: 860px) {
  .tool-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .icon-stack + div { padding-left: 0; }
  .tool-intro { grid-template-columns: 1fr; }
}

/* ---------- Native ---------- */
.native { padding-bottom: 0; }
.native-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.native-copy h2 { margin-bottom: 20px; }
.native-copy .lede { margin-bottom: 40px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.stats > div { padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.stats > div:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.stats > div:nth-child(even) { padding-left: 24px; }
.stats dt { font-size: .9rem; color: var(--text-3); font-weight: 600; margin-bottom: 8px; }
.stats dd { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-note { margin-top: 14px; font-size: .84rem; color: var(--text-3); max-width: 52ch; }
.settings { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-3); overflow: hidden; }
.set-bar { height: 44px; display: flex; align-items: center; gap: 14px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); font-size: .9rem; }
.set-bar .tl { gap: 8px; }
.set-bar .tl i { width: 12px; height: 12px; }
.set-list { padding: 8px 8px 0; }
.set-list li { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 10px; font-size: .95rem; font-weight: 500; }
.set-list li + li { box-shadow: inset 0 1px 0 var(--line); }
.set-list li img { width: 28px; height: 28px; transition: filter .3s, opacity .3s; }
.set-list li.off img { filter: grayscale(1); opacity: .65; }
.set-list li.off span { color: var(--text-3); }
.set-list .switch { margin-left: auto; }
.set-foot { padding: 12px 18px 16px; font-size: .88rem; color: var(--text-2); border-top: 1px solid var(--line); margin-top: 8px; }
.native-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--text-2); }
.native-points b { color: var(--text); }
@media (max-width: 900px) { .native-grid { grid-template-columns: 1fr; gap: 44px; } .native-points { grid-template-columns: 1fr; gap: 12px; margin-top: 44px; } }

/* Switch (native style) */
.switch { position: relative; display: inline-flex; flex: none; cursor: pointer; }
.switch input, .lp-toggle input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch i, .lp-toggle i { width: 38px; height: 22px; border-radius: 999px; background: var(--switch-off); position: relative; transition: background-color .2s; }
.switch i::after, .lp-toggle i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .25s var(--ease); }
.switch input:checked + i, .lp-toggle input:checked + i { background: #34c759; }
.switch input:checked + i::after, .lp-toggle input:checked + i::after { transform: translateX(16px); }
.switch input:focus-visible + i, .lp-toggle input:focus-visible + i { outline: 3px solid color-mix(in srgb, var(--blue) 70%, transparent); outline-offset: 2px; }

/* ---------- Dock ---------- */
.intro { padding-top: clamp(72px, 8vw, 112px); padding-bottom: 60px; }
.intro h2 { margin-bottom: 18px; }
.dock-wrap { display: flex; justify-content: center; margin-top: 60px; padding: 0 16px; }
.dock {
  display: flex; align-items: flex-end; gap: 6px; padding: 8px 10px; border-radius: 26px; height: 92px;
  background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 0 0 .5px var(--glass-line), 0 0 0 .5px var(--glass-edge), 0 20px 50px -20px rgba(20, 30, 70, .35);
}
.dock li { position: relative; }
.dock a { display: block; position: relative; }
.dock img { width: 72px; height: 72px; transform-origin: 50% 100%; transform: scale(var(--s, 1)); transition: transform .18s var(--ease); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .18)); }
.dock span {
  position: absolute; left: 50%; bottom: calc(100% + 12px + (var(--s, 1) - 1) * 72px); transform: translateX(-50%); white-space: nowrap;
  padding: 4px 10px; border-radius: 8px; font-size: .82rem; font-weight: 600; color: var(--text); background: var(--pop);
  box-shadow: 0 0 0 .5px var(--glass-edge), 0 4px 12px rgba(0, 0, 0, .15); opacity: 0; pointer-events: none; transition: opacity .15s;
}
.dock a:hover span, .dock a:focus-visible span { opacity: 1; }
.dock a:hover { text-decoration: none; }
@media (max-width: 900px) {
  .dock { height: auto; flex-wrap: wrap; justify-content: center; gap: 12px 6px; padding: 12px; max-width: 420px; }
  .dock img { width: 56px; height: 56px; transform: none; }
  .dock span { position: static; transform: none; display: block; opacity: 1; background: none; box-shadow: none; padding: 4px 0 0; font-size: .7rem; text-align: center; color: var(--text-2); white-space: normal; line-height: 1.15; width: 64px; }
  .dock li { width: 64px; display: flex; flex-direction: column; align-items: center; }
  .dock a { display: flex; flex-direction: column; align-items: center; }
}

/* ---------- Quiet ---------- */
.quiet h2 { margin-bottom: 56px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.moment { border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-2); overflow: hidden; display: flex; flex-direction: column; }
.moment-vis { position: relative; min-height: 290px; padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 14px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-bottom: 1px solid var(--line); }
.moment-copy { padding: 26px 28px 30px; }
.moment-copy h3 { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; margin-bottom: 8px; }
.moment-copy p { color: var(--text-2); margin-bottom: 14px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* ---------- Roadmap ---------- */
.roadmap h2 { margin-bottom: 18px; }
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; text-align: left; }
.req-col { padding: 26px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-2); }
.req-col h3 { font-size: 1rem; color: var(--text-2); margin-bottom: 16px; }
/* The changelog link sits beside the heading, and becomes a note under the list on phones. */
.req-ship { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-content: start; }
.req-ship h3, .req-ship .req-log { grid-row: 1; align-self: baseline; }
.req-ship ul { grid-column: 1 / -1; }
.req-ship .req-log { grid-column: 2; margin: 0; font-size: .9rem; font-weight: 600; }
.road-cta { margin-top: 28px; }
.req-col ul { display: flex; flex-direction: column; gap: 10px; }
.card { border-radius: 14px; padding: 14px 16px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: .9rem; color: var(--text-2); }
.card b { display: block; color: var(--text); font-size: 1rem; margin-bottom: 2px; }
.card-ship { display: flex; gap: 12px; align-items: center; }
.card-ship img { width: 36px; height: 36px; flex: none; }
.card-ship span { font-size: .82rem; color: var(--text-3); }
.ship-check { width: 22px; height: 22px; margin-left: auto; flex: none; padding: 4px; border-radius: 50%; background: #34c759; color: #fff; }
.req-note { margin-top: 14px; font-size: .84rem; color: var(--text-3); }
@media (max-width: 760px) { .req-grid { grid-template-columns: 1fr; } .req-col { padding: 20px; } .req-ship .req-log { grid-column: 1 / -1; grid-row: 3; margin-top: 14px; font-size: .84rem; font-weight: 400; } }

/* ---------- Pricing ---------- */
.pricing > .wrap { max-width: 880px; }
.pricing-head { margin-bottom: 56px; }
.pricing-head .lede { margin-top: 16px; }
.ledger { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); }
.ledger-plan { padding: 32px 0 36px; display: flex; flex-direction: column; min-width: 0; }
.ledger-plan + .ledger-plan { padding-left: 40px; border-left: 1px solid var(--line); }
.ledger-plan:first-child { padding-right: 40px; }
.ledger-plan h3 { font-size: 1.05rem; font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.amt { font-size: 3.6rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.per { font-size: 1rem; color: var(--text-3); font-weight: 500; }
.plan-sub { color: var(--text-2); margin-top: 12px; max-width: 32ch; text-wrap: pretty; }
.founding-note { margin-top: 12px; font-size: .95rem; color: var(--text-2); }
.places-left { white-space: nowrap; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.plan-features { margin: 28px 0; border-top: 1px solid var(--line); flex: 1; }
.plan-features li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .97rem; color: var(--text-2); display: flex; gap: 16px; justify-content: space-between; }
.plan-features b { font-weight: 500; color: var(--text); }
.plan-features li > span { color: var(--text-3); text-align: right; }
.plan-action { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.plan-action .btn { min-width: 200px; }
.plan-note { font-size: .88rem; color: var(--text-3); }
.ledger-terms { margin-top: 56px; border-top: 1px solid var(--line-2); }
.ledger-terms > div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ledger-terms dt { font-weight: 600; }
.ledger-terms dd { color: var(--text-2); max-width: 60ch; text-wrap: pretty; }
.price-tax { margin-top: 20px; font-size: .88rem; color: var(--text-3); }
.btn-line { color: var(--text); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line:hover { background: var(--surface-2); }
.pricing .btn-primary, .checkout-done .btn-primary { background: var(--blue-btn); box-shadow: none; }
.pricing .btn-primary:hover, .checkout-done .btn-primary:hover { background: #2458db; }
.pricing .btn-quiet, .checkout-done .btn-quiet { color: var(--text); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.pricing .btn-quiet:hover, .checkout-done .btn-quiet:hover { background: var(--surface-2); }
@media (max-width: 720px) {
  .ledger { grid-template-columns: 1fr; }
  .ledger-plan:first-child { padding-right: 0; }
  .ledger-plan + .ledger-plan { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .ledger-terms > div { grid-template-columns: 1fr; gap: 4px; }
  .plan-action, .plan-action .buy-wrap, .plan-action .btn { width: 100%; }
}

/* ---------- Checkout (checkout.js) ---------- */
.btn.busy { cursor: progress; }
.btn.busy .spinner { display: inline-block; }
.btn-quiet .spinner { border-color: color-mix(in srgb, currentColor 28%, transparent); border-top-color: currentColor; }
.btn[aria-disabled="true"]:not(.busy) { opacity: .55; pointer-events: none; }
.buy-live .ts-slot > * { margin-top: 12px; }
.buy-msg { margin-top: 12px; font-size: .88rem; color: var(--text-2); }
.buy-msg:empty { display: none; }
.buy-msg.error { color: #c4271b; font-weight: 600; }
.checkout-notice { margin-bottom: 24px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; color: var(--text-2); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.checkout-notice b { color: var(--text); }
@media (prefers-color-scheme: dark) { .buy-msg.error { color: #ff8a80; } }

/* ---------- Founding ---------- */
.founding { padding-top: 40px; }
.found-card { position: relative; max-width: 820px; margin: 0 auto; text-align: center; padding: clamp(40px, 6vw, 72px) clamp(22px, 5vw, 64px); border-radius: 34px; overflow: hidden; isolation: isolate; background: var(--surface); box-shadow: var(--shadow-3); }
.found-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 20% 0%, color-mix(in srgb, var(--wall-b) 70%, transparent), transparent 70%), radial-gradient(60% 60% at 90% 10%, color-mix(in srgb, var(--wall-c) 70%, transparent), transparent 70%); opacity: .7; }
.found-icon { width: 112px; height: 112px; margin: 0 auto 22px; filter: drop-shadow(0 14px 24px rgba(40, 80, 200, .35)); }
.found-card h2 { margin-bottom: 14px; }
.found-card .lede { margin: 0 auto 30px; max-width: 34ch; }
.wl-row { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; padding: 6px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-1); }
.wl-row:focus-within { box-shadow: inset 0 0 0 2px var(--blue), var(--shadow-1); }
.wl input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 1.02rem; border-radius: 999px; }
.wl input:focus { outline: none; }
.wl input::placeholder { color: var(--text-3); }
.wl .btn { height: 46px; }
.wl-msg { margin-top: 14px; font-size: .9rem; color: var(--text-3); min-height: 1.4em; }
.wl-count { margin: -14px auto 22px; font-size: .95rem; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wl.error .wl-row { box-shadow: inset 0 0 0 2px #d92d20; }
.wl.error .wl-msg, .leave.error + .leave-msg { color: #c4271b; font-weight: 600; }
@media (prefers-color-scheme: dark) { .wl.error .wl-msg, .leave.error + .leave-msg { color: #ff8a80; } }
.spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite; }
.wl.busy .spinner { display: inline-block; }
.wl.busy .wl-label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.wl-done:not([hidden]) { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wl-done:focus { outline: none; }
.done-check { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #34c759; color: #fff; margin-bottom: 8px; animation: pop .45s var(--ease) both; }
.done-check svg { width: 28px; height: 28px; }
.done-t { font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; }
.done-s { color: var(--text-2); }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
@media (max-width: 520px) { .wl-row { flex-direction: column; border-radius: 20px; } .wl .btn { width: 100%; } }

/* ---------- FAQ ---------- */
.faq h2 { margin-bottom: 36px; text-align: center; }
.faq-list { border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-2); overflow: hidden; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 1.05rem; position: relative; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq summary:hover { background: var(--surface-2); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: 0; }
.faq details p { padding: 0 24px 22px; color: var(--text-2); max-width: 66ch; }

/* ---------- Final + footer ---------- */
.final { padding: clamp(90px, 12vw, 160px) 0; position: relative; overflow: clip; }
.final::before { content: ""; position: absolute; left: 50%; top: 30%; width: 900px; height: 500px; transform: translateX(-50%); z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--wall-a) 70%, transparent), transparent); filter: blur(40px); opacity: .7; }
.final-icon { width: 128px; height: 128px; margin: 0 auto 28px; filter: drop-shadow(0 20px 30px rgba(40, 80, 200, .35)); }
.final h2 { margin-bottom: 14px; }
.final .lede { margin-bottom: 32px; }
.foot { border-top: 1px solid var(--line); padding: 30px 0 40px; font-size: .88rem; color: var(--text-3); }
.foot-grid { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot ul { display: flex; gap: 20px; flex-wrap: wrap; }
.foot ul a { color: var(--text-2); }
.foot p { margin-left: auto; }
@media (max-width: 640px) { .foot p { margin-left: 0; width: 100%; } .foot ul { column-gap: 12px; } }

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

/* ---------- Phone ---------- */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero-copy { padding: 0 16px; }
  .cta-row .btn-lg { width: 100%; }
  .nav { padding: 8px 10px 0; }
  .brand span { display: none; }
  .nav .btn-sm span { display: inline; }
  .instead ul { gap: 4px 12px; font-size: .9rem; }
  .stats > div:nth-child(even) { padding-left: 14px; }
  .stats > div:nth-child(odd) { padding-right: 10px; }
  .moment-vis { padding: 18px; min-height: 0; }
  .moment-copy { padding: 20px; }
}
@media (max-width: 400px) { .nav .btn-sm { margin-left: auto; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* ---------- Privacy and other plain pages ---------- */
.legal { padding: clamp(56px, 9vw, 110px) 0 clamp(64px, 9vw, 120px); }
.legal h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4rem); margin-bottom: 16px; }
.legal .lede { margin-bottom: 8px; }
.legal h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); letter-spacing: -.025em; margin: 48px 0 14px; }
.legal ul { display: grid; gap: 14px; }
.legal li, .legal p:not(.lede):not(.eyebrow) { color: var(--text-2); max-width: 64ch; }
.legal li b { color: var(--text); }
.legal code { font: .92em var(--mono); }
.foot a[aria-current="page"] { color: var(--text); }

.legal p a, .legal li a, .faq-list p a { text-decoration: underline; text-underline-offset: 3px; }

.leave { display: flex; gap: 10px; max-width: 520px; margin-top: 18px; }
.leave input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border: 0; border-radius: 999px; font: inherit; color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.leave input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.leave.error input { box-shadow: inset 0 0 0 2px #d92d20; }
.leave .btn:disabled { opacity: .6; cursor: default; }
.legal .leave-msg { margin-top: 10px; min-height: 1.5em; font-size: .9rem; color: var(--text-3); }
@media (max-width: 520px) { .leave { flex-direction: column; } .leave input { flex: none; } }

/* ---------- Checkout return pages (/thanks, /checkout-cancelled) ---------- */
.checkout-done { padding: clamp(48px, 9vw, 110px) 0 clamp(64px, 10vw, 130px); }
.done-card { max-width: 832px; margin: 0 auto; padding: 32px 0; border-top: 1px solid var(--line-2); }
.done-card h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4rem); margin-bottom: 16px; }
.done-card .lede { margin-bottom: 32px; max-width: 50ch; }
.done-steps { margin-bottom: 32px; border-top: 1px solid var(--line); counter-reset: step; }
.done-steps li { position: relative; padding: 18px 0 18px 40px; border-bottom: 1px solid var(--line); color: var(--text-2); counter-increment: step; }
.done-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 18px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.done-steps b { display: block; color: var(--text); }
.done-card .cta-row { justify-content: flex-start; }
.done-fine { margin-top: 28px; max-width: 64ch; font-size: .9rem; color: var(--text-3); }
.done-fine a { text-decoration: underline; text-underline-offset: 3px; }

.purchase-email { margin-top: 16px; text-align: left; }
.purchase-email label { display: block; font-weight: 600; }
.purchase-email label + label { margin-top: 12px; }
.purchase-email input, .purchase-email select { display: block; width: 100%; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); font: inherit; }
.purchase-email p { margin: 10px 0; font-size: .9rem; }
