/* ============================================================
   The front door, /confirm, /unsubscribe and /privacy (waitlist round).
   Built to the approved designs in design-reference/waitlist-2026-10-07
   (Main, MainPhone, Confirmed, ConfirmedDesktop, States). Always dark.
   The app (app.html) has its own stylesheet; nothing here reaches it.
   ============================================================ */
:root {
  --bg: #0f1115; --band: #13161b; --band-line: #22262e; --card: #171a20; --tile: #1d2128;
  --line: #2a2f38; --input-line: #353b46;
  --text: #eef0f4; --text-2: #d6d9e0; --text-3: #c3c8d1; --muted: #a2a8b3; --faint: #7d8491;
  --accent: #8e98ff; --link: #aab2ff; --link-hover: #ccd1ff; --green: #5fd39a; --green-soft: #1b2e26; --coral: #f2856e; --error: #f2a08e;
  --pill: #262c4a; --pill-text: #c9ceff;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --display: "Fraunces", Georgia, serif;
  --mono: "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
/* Headings and messages that take focus so a screen reader reads them: no ring. */
[tabindex="-1"]:focus { outline: none; }
input::placeholder, textarea::placeholder { color: var(--faint); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
.page > main { flex: 1; }

/* ---------- Header and footer ---------- */
.site-head { width: 100%; max-width: 1120px; margin: 0 auto; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand span { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.head-signin { font-size: 15px; text-decoration: none; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--text-2); min-height: 44px; display: inline-flex; align-items: center; }
.head-signin:hover { color: var(--text); border-color: var(--input-line); }
/* Landing v2: "How it works" and "FAQ" jump down the page. On a phone they
   move to their own row under the logo. */
.head-nav { margin-left: auto; display: flex; gap: 22px; font-size: 15px; }
.head-nav a { color: var(--text-3); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.head-nav a:hover { color: var(--text); }
@media (max-width: 600px) {
  .head-nav { order: 3; width: 100%; margin: -8px 0 -12px; gap: 24px; }
}
.site-foot { border-top: 1px solid var(--band-line); }
.site-foot-in { max-width: 1120px; margin: 0 auto; padding: 32px 24px calc(100px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--muted); }
.site-foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-foot p { margin: 0; max-width: 760px; }
/* (The bottom padding is the Back to top button's height + its gap twice — below it and above it — so the
   last line never touches it: 52 + 24 + 24 on desktop, 48 + 16 + 16 on phones.) */
/* "Back to top" lands focus on the header; no ring around the whole bar. */
#top:focus { outline: none; }

/* ---------- Back to top (floating; design-reference BackToTop.dc.html) ----------
   A 52px circle (48px on phones) that grows into a "Back to top" pill on
   hover (pointer devices only) and keyboard focus. Hidden until the page is
   scrolled past one screen (site/site.js toggles .is-shown, aria-hidden and
   tabindex); without JavaScript it never shows. */
.to-top {
  position: fixed; right: calc(24px + env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 20;
  width: 52px; height: 52px; padding: 0; overflow: hidden; cursor: pointer; font: inherit;
  border: 1px solid #353b46; border-radius: 999px; background: #171a20; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  opacity: 0; transform: translateY(8px); visibility: hidden; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s, width 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.to-top.is-shown {
  opacity: 1; transform: none; visibility: visible; pointer-events: auto;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s, width 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.to-top-icon, .to-top-label { position: absolute; left: 50%; top: 50%; transition: transform 0.3s ease, opacity 0.3s ease; }
.to-top-icon { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
.to-top-label { white-space: nowrap; font-size: 15px; font-weight: 600; line-height: 1; color: #0f1115; opacity: 0; transform: translate(-50%, calc(-50% + 34px)); }
.to-top:focus-visible { width: 148px; background: #8e98ff; border-color: #8e98ff; }
.to-top:focus-visible .to-top-icon { transform: translateY(-34px); }
.to-top:focus-visible .to-top-label { opacity: 1; transform: translate(-50%, -50%); }
@media (hover: hover) {
  .to-top:hover { width: 148px; background: #8e98ff; border-color: #8e98ff; }
  .to-top:hover .to-top-icon { transform: translateY(-34px); }
  .to-top:hover .to-top-label { opacity: 1; transform: translate(-50%, -50%); }
}
@media (max-width: 600px) {
  .to-top { right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; }
  .site-foot-in { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
/* Reduced motion: it just appears, and the pill swaps without sliding. */
@media (prefers-reduced-motion: reduce) {
  .to-top, .to-top.is-shown, .to-top-icon, .to-top-label { transition: none; }
  .to-top { transform: none; }
}

/* ---------- Type ---------- */
.eyebrow { margin: 0; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.eyebrow-sm { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.h-hero { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.015em; }
.h-section { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.2; }
.lede { margin: 0; font-size: 19px; color: var(--text-3); max-width: 560px; }
.pos { color: var(--green); }
.neg { color: var(--coral); }

/* ---------- Hero ---------- */
.hero { max-width: 1120px; margin: 0 auto; padding: 48px 24px 56px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-card-wrap { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.pays { width: 100%; max-width: 380px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.pays-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); }
.pays-head span:first-child { letter-spacing: 0.08em; text-transform: uppercase; }
.pays-line { margin: 0; font-family: var(--serif); font-size: 23px; line-height: 1.3; }
.demo-label { font-size: 12px; color: var(--faint); }
/* "Your criteria pay" (landing v2's hero card; demo data). */
.crit-rows { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--text-3); }
.crit-row { display: flex; align-items: center; gap: 10px; }
.crit-row > span:first-child { flex: 0 0 82px; }
.crit-bar { flex: 1; height: 8px; border-radius: 4px; }
.crit-bar.is-met { background: var(--accent); }
.crit-bar.is-missed { background: linear-gradient(90deg, var(--coral) 92%, var(--line) 92%); }
/* Round S12c: the Dashboard's Guardrail line (the app's words), no suggestion. */
.crit-guard { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 15px; }
.crit-guard-k { flex: 1 0 100%; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.crit-guard-v { font-weight: 600; color: var(--text); }

/* ---------- The waitlist form (both copies) ---------- */
.join { display: flex; flex-direction: column; gap: 10px; max-width: 520px; width: 100%; margin: 6px 0 0; }
.join[hidden], .join-done[hidden] { display: none; }
.join label { font-size: 14px; color: var(--text-3); }
.join-row { display: flex; gap: 10px; flex-wrap: wrap; }
.field { flex: 1 1 240px; min-width: 0; min-height: 50px; padding: 0 16px; font: inherit; color: var(--text); background: var(--card); border: 1px solid var(--input-line); border-radius: 12px; }
.join-bottom .field, .on-card .field { background: var(--bg); }
.field[aria-invalid="true"] { border: 1.5px solid var(--coral); padding: 0 15.5px; }
.btn { flex: 0 0 auto; min-height: 50px; padding: 0 22px; font: inherit; font-weight: 600; color: var(--bg); background: var(--accent); border: 0; border-radius: 12px; cursor: pointer; }
.btn:hover { background: #a1aaff; }
.btn:disabled { opacity: 0.7; cursor: progress; }
.btn-ghost { font: inherit; color: var(--text-2); background: transparent; border: 1px solid var(--input-line); border-radius: 12px; cursor: pointer; min-height: 48px; padding: 0 28px; }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }
.join-error { margin: 0; font-size: 14px; color: var(--error); }
.join-error:empty { display: none; }
.join-error.is-plain { color: var(--text-3); }
.consent { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.join-done { max-width: 520px; width: 100%; margin: 6px 0 0; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 6px; }
.join-done:focus { outline: none; }
.join-done strong { font-size: 17px; }
.join-done span { color: var(--text-3); font-size: 15px; }
.join-done.join-bottom, .join-done.on-card { background: var(--bg); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- What it looks like ---------- */
.screens { max-width: 1120px; margin: 0 auto; padding: 40px 24px 64px; display: flex; flex-direction: column; gap: 28px; }
.screens-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 700px) { .screens-grid { grid-template-columns: minmax(0, 1fr); } }
.screens-note { margin: 0; font-size: 13px; color: var(--faint); }
.shot { margin: 0; display: flex; flex-direction: column; gap: 14px; }
/* Round S12c: real screenshots (demo data, dark like the site) in place of the drawn cards. */
.shot-frame { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; justify-content: center; }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-frame.is-narrow img { width: auto; max-width: 100%; max-height: 420px; }
.shot figcaption { font-size: 16px; color: var(--text-2); }
.shot figcaption .demo-label { display: block; margin-top: 4px; }
.pill { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--pill); color: var(--pill-text); }

/* ---------- How it works ---------- */
.band { background: var(--band); border-top: 1px solid var(--band-line); border-bottom: 1px solid var(--band-line); }
.band-in { max-width: 1120px; margin: 0 auto; padding: 72px 24px; display: flex; flex-direction: column; gap: 36px; }
/* Five steps in a row; two columns on a tablet; one on a phone. */
.how { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 959px) { .how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .how { grid-template-columns: minmax(0, 1fr); } }
.how li { display: flex; flex-direction: column; gap: 8px; }
.how-n { font-family: var(--serif); font-size: 40px; color: var(--accent); line-height: 1; }
.how strong { font-size: 19px; }
.how li > span:last-child { color: var(--text-3); line-height: 1.55; }

/* ---------- Founder note ---------- */
.founder { max-width: 760px; margin: 0 auto; padding: 72px 24px; display: flex; flex-direction: column; gap: 18px; }
.founder[hidden] { display: none; }
.founder-note { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--text-2); white-space: pre-line; }
.founder-by { margin: 0; color: var(--muted); }

/* ---------- Questions (landing v2) ----------
   Seven <details name="faq">: one open at a time (site/site.js closes the
   others where the browser doesn't). The summary is the button; + / − is
   drawn, not read. */
.faq { max-width: 880px; margin: 0 auto; padding: 0 24px 72px; }
.founder[hidden] + .faq { padding-top: 72px; }
.faq .h-section { margin-bottom: 18px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa-q { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--text); cursor: pointer; }
.qa-q::-webkit-details-marker { display: none; }
.qa-q::marker { content: ""; }
.qa-q:hover { color: var(--link-hover); }
.qa-sign { flex: none; width: 20px; text-align: center; font-size: 22px; font-weight: 400; line-height: 1; color: var(--accent); }
.qa-sign::before { content: "+"; }
.qa[open] .qa-sign::before { content: "\2212"; }
.qa-a { margin: 0; padding: 0 0 22px; color: var(--text-3); line-height: 1.6; max-width: 720px; }

/* ---------- Founding price ---------- */
.price { max-width: 1120px; margin: 0 auto; padding: 0 24px 80px; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.h-price { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; max-width: 720px; }
.tiers { display: flex; gap: 14px; flex-wrap: wrap; width: 100%; max-width: 640px; }
.tier { flex: 1 1 220px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.tier-name { font-size: 15px; color: var(--text-3); }
.tier-price { font-size: 28px; font-weight: 600; }
.tier-price small { font-size: 15px; font-weight: 400; color: var(--muted); }
.tier-was { font-size: 14px; color: var(--muted); }
/* Round S13b: the pricing page's pattern on the landing's tiers — the normal price, the founding box under it, nothing struck. */
.tier .founding-box.tier-founding { margin-top: 10px; font-size: 14px; } /* beats .founding-box's margin: 0 below */
.price-note { margin: 0; font-size: 17px; color: var(--text-3); max-width: 640px; }
.join-bottom { margin-top: 0; }

/* ---------- /confirm and /unsubscribe ---------- */
.narrow { width: 100%; max-width: 560px; margin: 0 auto; padding: 48px 24px; display: flex; flex-direction: column; gap: 28px; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.stack[hidden] { display: none; }
.result { display: flex; flex-direction: column; gap: 12px; }
.result[hidden], .card-block[hidden], .notice[hidden], .state-card[hidden] { display: none; }
.tick { width: 52px; height: 52px; border-radius: 50%; background: var(--green-soft); display: inline-flex; align-items: center; justify-content: center; }
.tick svg { width: 26px; height: 26px; }
.h-result { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1.1; }
.result-copy { margin: 0; color: var(--text-3); font-size: 17px; }
.card-block { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card-block label.q { font-size: 18px; font-weight: 600; line-height: 1.35; }
.q-hint { font-size: 14px; color: var(--muted); }
.answer { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--input-line); border-radius: 12px; padding: 12px 14px; resize: vertical; min-height: 110px; width: 100%; }
.answer-actions { display: flex; gap: 10px; }
.answer-actions .btn { min-height: 48px; padding: 0 28px; }
.thanks { color: var(--text-3); }
.state-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.h-state { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.15; }
.state-copy { margin: 0; color: var(--text-3); }
.state-card .join { margin: 0; max-width: none; }
.state-link { align-self: flex-start; font-size: 15px; }
.notice { margin: 0; color: var(--text-3); }
.page-foot { width: 100%; max-width: 1120px; margin: 0 auto; padding: 24px; font-size: 13px; color: var(--faint); }
.page-foot a { color: var(--muted); }

/* Phone (Confirmed.dc.html at 390): a smaller head, a smaller title,
   Send and Skip share the row. */
@media (max-width: 600px) {
  .narrow { padding: 24px 20px; gap: 28px; }
  .narrow > :not([hidden]) { margin-top: 24px; }
  .page-head-sm { padding: 24px 20px 0; }
  .page-head-sm .brand svg { width: 24px; height: 24px; }
  .page-head-sm .brand span { font-size: 20px; }
  .tick { width: 48px; height: 48px; }
  .tick svg { width: 24px; height: 24px; }
  .h-result { font-size: 36px; }
  .result-copy { font-size: 16px; }
  .card-block { padding: 20px; }
  .card-block label.q { font-size: 17px; }
  .answer-actions .btn, .answer-actions .btn-ghost { flex: 1; padding: 0 12px; }
  .page-foot { padding: 24px 20px; }
}

/* ---------- /privacy ---------- */
.doc { width: 100%; max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }
.doc h1 { margin: 0 0 8px; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 44px); line-height: 1.1; }
.doc h2 { margin: 40px 0 12px; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; }
.doc h3 { margin: 24px 0 8px; font-size: 17px; }
.doc p, .doc li { color: var(--text-3); }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin: 0 0 6px; }
.doc strong { color: var(--text); }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.doc .draft { padding: 14px 16px; border: 1px solid var(--coral); border-radius: 12px; color: var(--text); font-size: 15px; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); color: var(--text-3); }
.doc th { color: var(--text); font-weight: 600; }
@media (max-width: 600px) {
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .doc td { border: 0; padding: 2px 0; }
  .doc td:first-child { color: var(--text); font-weight: 600; }
}

/* Motion: none beyond the browser's own; nothing to reduce. */

/* ---------- Payments round: /pricing, /register, the launch switch ---------- */
.head-nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.pricing { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px 40px; }
.pricing-hero { padding: 40px 0 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pricing-title { font-size: clamp(34px, 4.5vw, 52px); }
.pricing-lede { max-width: 640px; }
.period-switch { display: flex; gap: 4px; margin-top: 8px; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.period-switch button { border: 0; border-radius: 9px; padding: 10px 18px; font: inherit; font-size: 15px; color: var(--muted); background: transparent; cursor: pointer; min-height: 44px; }
.period-switch button[aria-checked="true"] { background: var(--line); color: var(--text); font-weight: 600; }
/* Round S13: each card's founding box (hidden at 0 left), the live count in green. */
.founding-box { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(95, 211, 154, 0.08); border: 1px solid rgba(95, 211, 154, 0.35); font-size: 15px; line-height: 1.45; color: var(--text-2); }
.founding-box[hidden] { display: none; }
.founding-box b { color: var(--text); font-weight: 600; }
.founding-box [data-founding-left] { color: var(--green); font-weight: 600; }
.plans { display: flex; gap: 24px; padding-top: 24px; }
@media (max-width: 760px) { .plans { flex-direction: column; } }
.plan { flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 16px; box-sizing: border-box; }
.plan.pro { border: 1.5px solid var(--accent); background: #181b26; }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pname { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.plan .small, .plan-aside .small { margin: 0; font-size: 15px; color: var(--muted); }
.price-row { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.big { font-size: 44px; font-weight: 600; letter-spacing: -0.01em; }
.price-sub { margin-top: -10px; }
.price-sub[hidden] { display: none; }
.plan .btn.pri { display: flex; align-items: center; justify-content: center; min-height: 50px; text-decoration: none; }
.plan-list { margin: 0; padding: 4px 0 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-2); line-height: 1.45; }
.plan-list i { flex: none; width: 18px; height: 18px; border-radius: 50%; background: rgba(142, 152, 255, 0.18); color: var(--link); font-style: normal; font-size: 11px; display: grid; place-items: center; margin-top: 2px; }
.pricing-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); text-align: center; }

.steps { margin: 0; padding: 0; list-style: none; display: flex; gap: 18px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--faint); }
.step b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; border: 1px solid var(--input-line); }
.step.is-on { color: var(--text-3); }
.step.is-on b { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.register { width: 100%; max-width: 1120px; margin: 0 auto; padding: 36px 24px 48px; }
.register-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .register-grid { grid-template-columns: minmax(0, 1fr); } }
.register-col { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.register-title { font-size: clamp(32px, 4vw, 40px); }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; font: inherit; font-weight: 600; color: var(--text); background: transparent; border: 1px solid var(--input-line); border-radius: 12px; cursor: pointer; }
.btn-google[aria-disabled="true"] { opacity: 0.6; }
.btn-google[hidden], .or[hidden] { display: none; } /* round S13: hidden means hidden (Google only with the switch ON and set up) */
.or { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--faint); font-size: 14px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.register-fields { display: flex; flex-direction: column; gap: 18px; }
.register-fields .fld { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-3); }
.register-fields .field { flex: none; width: 100%; box-sizing: border-box; min-height: 48px; }
.box { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1px solid var(--input-line); border-radius: 12px; background: var(--bg); font-size: 15px; line-height: 1.45; }
.box:has(input:checked) { border: 1.5px solid var(--accent); background: rgba(142, 152, 255, 0.10); }
.box input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.box input:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.box label { cursor: pointer; }
.box a, .link-btn { color: var(--link); }
.link-btn { padding: 0; border: 0; background: none; font: inherit; font-size: inherit; cursor: pointer; text-decoration: underline; }
.small-print { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.nowrap { white-space: nowrap; }
/* Round S13: /register's step 1 (RD12NewAccount, RD12NewCode) — Google or an emailed code, the Terms box first, six code boxes. */
.register-view { display: flex; flex-direction: column; gap: 18px; }
.register-view[hidden] { display: none; }
.register-sub { margin: -6px 0 0; font-size: 16px; line-height: 1.5; color: var(--text-3); }
.code-boxes { display: flex; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.code-box { flex: 1 1 0; min-width: 0; max-width: 56px; height: 56px; padding: 0; text-align: center; font: inherit; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); background: var(--card); border: 1px solid var(--input-line); border-radius: 12px; }
.code-box:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.code-boxes[aria-invalid="true"] .code-box { border-color: var(--coral); }
.code-alt { display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: 15px; }
.code-alt .link-btn { min-height: 44px; }
.code-alt .link-btn:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.aside-price { margin: 0; font-size: 15px; color: var(--text-3); }
.aside-price b { font-size: 28px; color: var(--text); font-weight: 600; }
.aside-free { margin: 0; font-size: 15px; color: var(--text); }
.aside-change { align-self: flex-start; color: var(--link); font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.plan-aside p { margin: 0; }
.plan.is-chosen { box-shadow: 0 0 0 2px var(--link); }
.start-btn { width: 100%; min-height: 52px; }
.start-btn:disabled { background: var(--line); color: #6b7280; cursor: not-allowed; }
.plan-aside { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.plan-aside-name { font-family: var(--serif); font-size: 26px; }
.aside-founding { font-size: 13px; color: var(--green); }
.aside-founding[hidden] { display: none; }
.aside-fine { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.register-grid[hidden] { display: none; }
/* The landing once the switch is on (site.js initLaunch). */
.launch-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.launch-cta .btn { text-decoration: none; display: inline-flex; align-items: center; }
.launch-cta .btn-ghost { text-decoration: none; display: inline-flex; align-items: center; }

/* Round B2 §3: the hero's way into example data (/app?example=1). */
.example-link { margin: -8px 0 0; font-size: 15px; }
.example-link a { color: var(--accent); font-weight: 600; text-decoration: none; }
.example-link a:hover { text-decoration: underline; }

/* ---------- /vs-trading-journals (round S12b) ----------
   Marketing's comparison page on the landing's shell: the hero, the short
   version, the table (stacked cards under 600px: the row's label, then each
   column under its own name), How Patienza works, Questions, the closing
   button (the launch switch: site.js initLaunch). */
.vs-hero { max-width: 1120px; margin: 0 auto; padding: 48px 24px 56px; display: flex; flex-direction: column; gap: 22px; }
.vs-hero .h-hero { max-width: 940px; }
.vs-hero .lede { max-width: 720px; }
.vs-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.vs-btn { text-decoration: none; display: inline-flex; align-items: center; }
.btn.vs-btn:hover { color: var(--bg); }
.vs-section { max-width: 1120px; margin: 0 auto; padding: 0 24px 64px; display: flex; flex-direction: column; gap: 24px; }
.vs-short { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .vs-short { grid-template-columns: minmax(0, 1fr); } }
.vs-short li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; color: var(--text-3); line-height: 1.55; }
.vs-short strong { display: block; margin-bottom: 6px; font-size: 19px; color: var(--text); }
.vs-short li.is-us { border-color: var(--accent); }
.vs-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: 16px; line-height: 1.5; }
.vs-table th, .vs-table td { text-align: left; vertical-align: top; padding: 16px 20px; border-top: 1px solid var(--line); }
.vs-table thead th, .vs-table thead td { border-top: 0; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.vs-table thead th.is-us { color: var(--accent); }
.vs-table tbody th { width: 26%; font-weight: 600; color: var(--text); }
.vs-table tbody td { width: 37%; color: var(--text-3); }
.vs-table td.is-us { color: var(--text); background: rgba(142, 152, 255, 0.07); }
.vs-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
@media (max-width: 860px) { .vs-steps { grid-template-columns: minmax(0, 1fr); } }
.vs-steps li { display: flex; gap: 18px; align-items: flex-start; }
.vs-steps li p { margin: 0; color: var(--text-3); line-height: 1.6; }
.vs-steps strong { display: block; margin-bottom: 4px; font-size: 19px; color: var(--text); }
.vs-steps .how-n { flex: 0 0 32px; }
.vs-tools { margin: 0; color: var(--text-3); line-height: 1.6; max-width: 820px; padding-top: 24px; border-top: 1px solid var(--band-line); }
.vs-faq { padding-top: 72px; }
.vs-close .price-card { gap: 0; }
.vs-close .join { margin: 0; }
@media (max-width: 600px) {
  .vs-hero { padding-top: 24px; }
  .vs-actions .vs-btn { width: 100%; justify-content: center; text-align: center; }
  .vs-table, .vs-table thead, .vs-table tbody, .vs-table tr, .vs-table th, .vs-table td { display: block; width: auto; }
  .vs-table { background: none; border: 0; border-radius: 0; overflow: visible; }
  .vs-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .vs-table tbody { display: flex; flex-direction: column; gap: 14px; }
  .vs-table tbody tr { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
  .vs-table tbody th { width: auto; border-top: 0; padding: 16px 18px 6px; font-size: 18px; }
  .vs-table tbody td { width: auto; border-top: 0; padding: 8px 18px 14px; }
  .vs-table tbody td.is-us { border-top: 1px solid var(--line); padding-top: 12px; }
  .vs-table tbody td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
  .vs-table tbody td.is-us::before { color: var(--accent); }
}

/* Round S13b: Cloudflare Turnstile's box (js/turnstile.js) — empty and gone unless Cloudflare asks
   for a click; then a small box above the bottom edge, inside the screen at any width. */
.ts-box { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2000; max-width: calc(100vw - 32px); }
.ts-box:empty { display: none; }
