@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/geist-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/geist-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/geist-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/geist-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }
:root {
  --bg: #F7F7F4;
  --card: #FFFFFF;
  --ink: #15171C;
  --muted: #5A5F69;
  --rule: #E2E2DC;
  --accent: #C8402B;
  --accent-text: #B5381F;
  --tap: #FBE4DE;
  --gold: #F2C36B;
  --ot: #C8402B;
  --ps: #8A5A00;
  --pr: #1E7558;
  --nt: #2F5BC4;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1320;
    --card: #171E2E;
    --ink: #F2F4F8;
    --muted: #A3ABBA;
    --rule: #283247;
    --accent: #F2C36B;
    --accent-text: #F2C36B;
    --tap: #3A3122;
    --ot: #F2C36B;
    --ps: #F5A285;
    --pr: #86D8B7;
    --nt: #9DBDFF;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
a { color: var(--accent-text); }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

header.site { padding: 20px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 20px; letter-spacing: -0.4px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.site a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; margin-left: 20px; }
nav.site a:hover { color: var(--ink); }

.hero { padding-top: 56px; padding-bottom: 40px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.04; letter-spacing: -1.8px; margin: 0 0 18px; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 34ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; }
@media (prefers-color-scheme: dark) { .btn { color: #1A1407; } }
.note { color: var(--muted); font-size: 14px; }
.streams { display: flex; gap: 8px; margin-top: 28px; }
.streams span { width: 44px; height: 8px; border-radius: 4px; }

.hero-video { justify-self: center; margin: 0; width: 100%; max-width: 440px; }
.hero-video video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 28px; border: 1px solid var(--rule); background: #F7F7F4; box-shadow: 0 30px 60px -34px rgba(21,23,28,0.4); }
.phone-video { justify-self: center; margin: 0; width: 290px; max-width: 78vw; text-align: center; }
.phone-frame { background: #15171C; border-radius: 46px; padding: 9px; box-shadow: 0 34px 70px -30px rgba(21,23,28,0.5); }
.phone-frame video { display: block; width: 100%; height: auto; aspect-ratio: 600 / 1300; border-radius: 38px; background: var(--card); }
.tour-caption { margin-top: 18px; font-weight: 600; font-size: 16px; color: var(--ink); min-height: 1.5em; }
.tour-caption.in { animation: tourIn 0.45s ease both; }
@keyframes tourIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tour-caption.in { animation: none; } }
.phone { justify-self: center; width: 300px; max-width: 100%; border-radius: 40px; background: var(--card); border: 1px solid var(--rule); padding: 22px 18px; box-shadow: 0 30px 60px -30px rgba(21,23,28,0.35); }
.phone .day { color: var(--muted); font-size: 13px; font-weight: 500; }
.phone h3 { margin: 4px 0 14px; font-size: 24px; line-height: 1.1; letter-spacing: -0.6px; }
.phone .row { display: flex; align-items: center; gap: 12px; padding: 11px; border: 1px solid var(--rule); border-radius: 16px; margin-bottom: 8px; background: var(--bg); }
.phone .badge { width: 34px; height: 34px; border-radius: 10px; color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.phone .ref { font-weight: 600; font-size: 15px; }
.phone .kind { font-size: 11px; color: var(--muted); }
.phone .mins { margin-left: auto; font-size: 12px; color: var(--muted); }
.phone .go { margin-top: 12px; border-radius: 999px; background: var(--accent); color: #fff; text-align: center; font-weight: 600; padding: 13px; font-size: 15px; }
@media (prefers-color-scheme: dark) { .phone .go, .phone .badge { color: #1A1407; } }

section { padding: 48px 0; }
section h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -1px; line-height: 1.1; margin: 0 0 12px; }
section p.sub { color: var(--muted); margin: 0 0 32px; max-width: 60ch; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 24px; padding: 24px; }
.card .dot { width: 12px; height: 12px; border-radius: 6px; margin-bottom: 14px; }
.card h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.3px; }
.card p { margin: 0; color: var(--muted); }

.verse { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); line-height: 1.35; margin: 0 0 10px; }
.cite { color: var(--muted); font-size: 14px; }

.tapdemo { font-family: var(--serif); font-size: 20px; line-height: 1.6; }
.tapdemo mark { background: var(--tap); color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; padding: 0 2px; border-radius: 3px; }
.tapcard { margin-top: 18px; background: var(--card); border: 1px solid var(--rule); border-radius: 22px; padding: 18px; }
.pill { display: inline-block; background: var(--tap); color: var(--accent-text); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.facts div { background: var(--bg); border-radius: 14px; padding: 10px 12px; font-size: 14px; }
.facts small { display: block; color: var(--muted); font-size: 12px; }

.faq details { border-top: 1px solid var(--rule); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; }

footer.site { padding: 40px 0 56px; border-top: 1px solid var(--rule); margin-top: 32px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer.site a { color: var(--muted); }
footer.site .social { display: flex; gap: 6px; flex-basis: 100%; margin-left: -8px; }
footer.site .social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; color: var(--muted); }
footer.site .social a:hover, footer.site .social a:focus-visible { color: var(--accent-text); background: var(--tap); }

.doc { padding-top: 24px; padding-bottom: 40px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -1.2px; line-height: 1.1; margin: 16px 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; letter-spacing: -0.3px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 22px; }
.doc .box { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 18px 20px; }

/* Mailing-list sign-up */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
section.join { padding: 16px 0 40px; }
.signup-card { background: var(--card); border: 1px solid var(--rule); border-radius: 28px; padding: clamp(24px, 5vw, 44px); }
.signup-card h2, .join-end h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.6px; max-width: 24ch; }
.signup-card p.sub, .join-end p.sub { margin-bottom: 22px; }
.signup { max-width: 560px; }
.signup-row { display: flex; gap: 10px; }
.signup input[type=email] { flex: 1; min-width: 0; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--rule); background: var(--bg); color: var(--ink); font: inherit; font-size: 17px; }
.signup input[type=email]::placeholder { color: var(--muted); }
.signup input[type=email]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--tap); }
.signup input[aria-invalid=true] { border-color: var(--accent); }
.signup .btn { border: 0; font: inherit; font-weight: 600; cursor: pointer; flex-shrink: 0; }
.signup .btn:disabled { opacity: 0.7; cursor: default; }
.signup .btn:focus-visible { outline: 3px solid var(--tap); outline-offset: 2px; }
.signup-small { color: var(--muted); font-size: 14px; margin: 10px 0 0 4px; }
.signup-status { margin: 12px 0 0 4px; font-size: 15px; }
.signup-status:empty { display: none; }
.signup-status:focus { outline: none; }
.signup-status.error { color: var(--accent-text); }
.signup-status.success { color: var(--ink); background: var(--tap); border-radius: 16px; padding: 14px 16px; margin-left: 0; font-weight: 500; }
.signup.done .signup-row, .signup.done .signup-small { display: none; }
.join-end { border-top: 1px solid var(--rule); }
.checklist { padding-top: 24px; padding-bottom: 24px; }
.checklist .kicker { color: var(--accent-text); font-weight: 600; font-size: 14px; margin: 16px 0 6px; }
.checklist h1 { font-size: clamp(34px, 6vw, 50px); line-height: 1.06; letter-spacing: -1.4px; margin: 0 0 14px; }
.checklist .lead { font-size: 19px; color: var(--muted); margin: 0 0 20px; }
.ticks { list-style: none; padding: 0; margin: 0 0 32px; }
.checklist-intro { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 32px; align-items: start; }
.checklist-preview { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--rule); box-shadow: 0 20px 40px -24px rgba(21,23,28,0.35); margin-top: 24px; transform: rotate(2deg); }
@media (max-width: 640px) {
  .checklist-intro { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .checklist-preview { width: 180px; margin: 0 auto 28px; display: block; }
}
.ticks li { position: relative; padding-left: 32px; margin: 0 0 10px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 6px; background: var(--tap); color: var(--accent-text); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
@media (max-width: 520px) {
  .signup-row { flex-direction: column; }
  .signup .btn { width: 100%; }
}

@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 24px; gap: 40px; }
  .grid, .grid.three { grid-template-columns: minmax(0, 1fr); }
  nav.site a { margin-left: 14px; }
}

/* Welcome page (after confirming the Kit sign-up) */
.welcome { padding-top: 24px; padding-bottom: 32px; }
.welcome .kicker { color: var(--accent-text); font-weight: 600; font-size: 14px; margin: 16px 0 6px; }
.welcome h1 { font-size: clamp(34px, 6vw, 50px); line-height: 1.06; letter-spacing: -1.4px; margin: 0 0 14px; }
.welcome .lead { font-size: 19px; color: var(--muted); margin: 0 0 24px; }
.welcome h2 { font-size: 26px; letter-spacing: -0.6px; line-height: 1.15; margin: 44px 0 16px; }
.btn-big { min-height: 60px; padding: 0 32px; font-size: 18px; }
.file-note { color: var(--muted); font-size: 14px; margin: 10px 0 0 4px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--rule); border-radius: 20px; padding: 18px; color: var(--muted); }
.steps li strong { color: var(--ink); }
.steps .num { flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
@media (prefers-color-scheme: dark) { .steps .num { color: #1A1407; } }
.app-card { margin-top: 44px; }
.app-card h2 { margin-top: 0; }
.welcome .next { margin-top: 28px; color: var(--muted); }
@media (max-width: 520px) { .btn-big { width: 100%; } }

/* Store badges (shown once links are set in assets/stores.json) */
[hidden] { display: none !important; }
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.store-badge { display: inline-block; line-height: 0; border-radius: 10px; }
.store-badge img { height: 52px; width: auto; }
.store-badge:focus-visible { outline: 3px solid var(--tap); outline-offset: 3px; }
.get-app { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); }
.get-app p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }

/* Checklist download, shown after a sign-up */
.signup-download { margin-top: 12px; text-align: center; line-height: 1.3; padding-top: 10px; padding-bottom: 10px; }
@media (max-width: 520px) { .signup-download { width: 100%; } }
