/* Nunito, SIL Open Font License 1.1 (see /assets/fonts/OFL.txt). */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("/assets/fonts/nunito-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("/assets/fonts/nunito-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --bg: #faf7f2;
  --bg-2: #f3eee7;
  --surface: #ffffff;
  --text: #232129;
  --text-2: #66626e;
  --text-3: #9a96a1;
  --border: rgba(35, 33, 41, 0.1);
  --border-strong: rgba(35, 33, 41, 0.18);
  --ink: #232129;
  --ink-hover: #3a3743;
  --on-ink: #ffffff;
  --accent: #4f7df0;
  --accent-soft: #e8efff;
  --accent-text: #2f56b8;
  --coffee: #f59a3c;
  --coffee-hover: #ee8a24;
  --coffee-soft: #fff0e0;
  --on-coffee: #2b1604;
  --sun: #ffd9a8;
  --sky: #dfe8ff;
  --shadow-sm: 0 1px 2px rgba(35, 33, 41, 0.05), 0 4px 12px rgba(35, 33, 41, 0.05);
  --shadow-lg: 0 2px 6px rgba(35, 33, 41, 0.05), 0 24px 60px rgba(35, 33, 41, 0.12);
  --radius: 14px;
  --radius-lg: 24px;
  --font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --container: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16151a;
    --bg-2: #1c1b21;
    --surface: #211f27;
    --text: #f3f1ee;
    --text-2: #b3afba;
    --text-3: #7f7b86;
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.18);
    --ink: #f3f1ee;
    --ink-hover: #dcd8d2;
    --on-ink: #16151a;
    --accent: #86a8ff;
    --accent-soft: #1f2a47;
    --accent-text: #a9c1ff;
    --coffee: #f7a857;
    --coffee-hover: #f9b873;
    --coffee-soft: #3a2614;
    --sun: #5a3d1c;
    --sky: #1d2744;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 24px 60px rgba(0, 0, 0, 0.45);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.container { width: min(var(--container), 100% - 40px); margin: 0 auto; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-text);
}
.section { padding: 112px 0; }
.section-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); margin-top: 12px; }
.section-head p { margin-top: 16px; color: var(--text-2); font-size: 19px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap;
  color: var(--text); background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: 14px;
  cursor: pointer; transition: background 150ms ease, transform 120ms ease, box-shadow 150ms ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn-primary { color: var(--on-ink); background: var(--ink); border-color: var(--ink); }
.btn-primary:hover { background: var(--ink-hover); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text); box-shadow: none; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 12px; }
.btn-coffee { color: var(--on-coffee); background: var(--coffee); border-color: var(--coffee); }
.btn-coffee:hover { background: var(--coffee-hover); }
.btn-arrow { width: 18px; height: 18px; flex: none; transition: transform 150ms ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; }
.nav-links a { text-decoration: none; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; padding: 72px 0 104px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(46px, 6.4vw, 78px); margin-top: 18px; }
.hero-copy .sub { margin-top: 22px; font-size: 21px; color: var(--text-2); max-width: 460px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; color: var(--text-3); }
.hero-note svg { width: 16px; height: 16px; color: var(--accent); }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 700; color: var(--accent-text);
  background: var(--accent-soft);
}
.pill svg { width: 16px; height: 16px; flex: none; }

.hero-visual { position: relative; min-height: 480px; display: flex; align-items: center; }
.decor-sun { position: absolute; width: 180px; height: 180px; border-radius: 50%; background: var(--sun); top: -24px; right: 8%; opacity: 0.9; }
.decor-sky { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--sky); top: 30px; left: 6%; }
.decor-hills { position: absolute; left: -10%; right: -10%; bottom: -40px; height: 180px; color: var(--accent-soft); }

/* Browser mock */
.browser {
  position: relative; z-index: 1;
  width: min(100%, 580px); margin-left: auto;
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid var(--border);
}
.browser-bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.browser-url { flex: 1; max-width: 280px; margin: 0 auto; height: 26px; border-radius: 999px; background: var(--bg-2); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--text-3); }
.browser-url svg { width: 12px; height: 12px; }
.browser-body { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 28px 30px; background: var(--bg); text-align: center; }
.mock-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--text-2); }
.mock-chip svg { width: 13px; height: 13px; color: var(--accent); }
.mock-timer { font-size: 84px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: 8px; }
.mock-left { font-size: 15px; color: var(--text-2); font-weight: 600; }
.mock-until { font-size: 12px; color: var(--text-3); margin-top: -6px; }
.mock-label { margin-top: 14px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.mock-goal { display: flex; align-items: center; gap: 12px; width: min(100%, 380px); padding: 14px 16px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); border: 1px solid var(--border); text-align: left; font-size: 15px; font-weight: 600; }
.mock-goal .bubble { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.mock-goal .bubble svg { width: 18px; height: 18px; }
.mock-back { margin-top: 16px; height: 42px; padding: 0 30px; border-radius: 999px; background: var(--ink); color: var(--on-ink); display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; }
.mock-need { font-size: 12px; color: var(--text-3); }

.bar { height: 5px; margin-top: 12px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 32%; border-radius: inherit; background: var(--accent); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.step-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; color: var(--accent-text); background: var(--accent-soft); }
.step h3 { font-size: 21px; margin-top: 6px; }
.step p { color: var(--text-2); font-size: 16px; }
.step-visual { flex: 1; margin-top: 14px; padding: 16px; border-radius: 18px; background: var(--bg); display: flex; flex-direction: column; gap: 8px; min-height: 150px; justify-content: center; }
.demo { display: flex; flex-direction: column; gap: 8px; }
.demo button { font-family: inherit; line-height: 1.2; cursor: pointer; }
.demo-groups { display: flex; flex-direction: column; gap: 6px; }
.mini-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 12px; background: var(--surface); color: var(--text); font-size: 13px; font-weight: 700; text-align: left; transition: box-shadow 150ms ease; }
.mini-row:hover { box-shadow: var(--shadow-sm); }
.mini-row small { display: block; font-size: 11px; font-weight: 600; color: var(--text-3); }
.mini-row .grow { flex: 1; min-width: 0; }
.mini-toggle { width: 30px; height: 18px; border-radius: 999px; background: var(--border-strong); position: relative; flex: none; transition: background 200ms ease; }
.mini-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform 200ms ease; }
.mini-toggle.on { background: var(--accent); }
.mini-toggle.on::after { transform: translateX(12px); }
.site-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.site-chip { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 8px 0 10px; border: 1px solid transparent; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 12px; font-weight: 700; }
.site-chip svg { width: 12px; height: 12px; opacity: 0.6; transition: transform 150ms ease; }
.site-chip:hover svg { opacity: 1; }
.site-chip.is-off { background: transparent; border-color: var(--border-strong); color: var(--text-3); }
.site-chip.is-off span { text-decoration: line-through; }
.site-chip.is-off svg { transform: rotate(45deg); }
.site-chip.is-new { animation: pop 260ms ease; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
.demo-add { display: flex; gap: 6px; margin-top: 4px; }
.demo-add input { flex: 1; min-width: 0; height: 34px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-size: 13px; }
.demo-add input::placeholder { color: var(--text-3); }
.demo-add button { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--ink); color: var(--on-ink); }
.demo-add button svg { width: 16px; height: 16px; }
.demo-add.is-invalid input { border-color: #d9534f; animation: shake 180ms ease 2; }
@keyframes shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.demo-click { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.demo-click img { width: 20px; height: 20px; border-radius: 6px; }
.click-num { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--ink); color: var(--on-ink); }
.mini-presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 2px; }
.mini-presets button { height: 38px; padding: 0 4px; border-radius: 12px; background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); font-size: 13px; font-weight: 700; transition: background 150ms ease, color 150ms ease; }
.mini-presets button:hover { border-color: var(--text-3); }
.mini-presets button[aria-checked="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.demo-other { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.demo-other input { width: 72px; height: 34px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; font-weight: 700; }
.demo-until { min-height: 20px; font-size: 13px; font-weight: 600; color: var(--text-3); text-align: center; }
.mini-add { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; margin-top: 4px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); color: var(--text); font-size: 13px; font-weight: 700; transition: transform 120ms ease; }
.mini-add:hover { border-color: var(--text-3); }
.mini-add:active { transform: scale(0.97); }
.mini-add svg { width: 14px; height: 14px; }
.mini-timer.is-bumped { animation: bump 320ms ease; }
@keyframes bump { 40% { transform: scale(1.08); color: var(--accent-text); } }
.mini-goal { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--surface); font-size: 13px; font-weight: 700; box-shadow: var(--shadow-sm); }
.mini-goal .bubble { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.mini-goal .bubble svg { width: 15px; height: 15px; }
.mini-timer { font-size: 38px; font-weight: 800; text-align: center; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.mini-caption { text-align: center; font-size: 12px; color: var(--text-3); }

/* Ritual */
.ritual { background: var(--bg-2); }
.ritual-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.ritual-copy h2 { font-size: clamp(32px, 4vw, 46px); margin-top: 12px; }
.ritual-copy > p { margin-top: 18px; font-size: 19px; color: var(--text-2); }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.checks .tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--accent-text); flex: none; box-shadow: var(--shadow-sm); }
.checks .tick svg { width: 14px; height: 14px; }
.ritual-visual { position: relative; display: flex; flex-direction: column; gap: 16px; }
.card { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 26px; }
.question { width: 86%; text-align: center; }
.question .bubble { width: 44px; height: 44px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.question .bubble svg { width: 20px; height: 20px; }
.question h3 { margin-top: 14px; font-size: 22px; }
.question-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.question-actions span { height: 42px; border-radius: 999px; display: grid; place-items: center; font-size: 14px; font-weight: 700; border: 1px solid var(--border-strong); }
.question-actions span:first-child { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.typing { width: 90%; margin-left: auto; margin-top: -56px; position: relative; z-index: 1; }
.typing h3 { font-size: 17px; }
.sentence { margin-top: 14px; padding: 16px; border-radius: 16px; background: var(--bg-2); font-size: 16px; line-height: 1.55; color: var(--text); }
.sentence .done { color: var(--accent-text); }
.sentence .caret { display: inline-block; width: 2px; height: 1.1em; margin: 0 1px -3px; background: var(--accent); animation: blink 1s steps(2) infinite; }
.typing-meta { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.typing-meta .bar { flex: 1; margin: 0; }
.typing-meta .bar i { width: 0; transition: width 80ms linear; }
@keyframes blink { 50% { opacity: 0; } }

/* Stats */
.stats-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.stats-copy h2 { font-size: clamp(32px, 4vw, 46px); margin-top: 12px; }
.private-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 10px 16px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); font-size: 15px; font-weight: 700; }
.private-note svg { width: 18px; height: 18px; flex: none; }
.stats-card { padding: 28px; }
.stats-streak { display: flex; align-items: center; gap: 14px; }
.stats-streak .flame { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: var(--coffee-soft); }
.stats-streak b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.stats-streak span { font-size: 14px; color: var(--text-3); font-weight: 600; }
.stats-label { margin-top: 24px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.daymap { display: grid; grid-template-rows: repeat(7, auto); grid-template-columns: repeat(20, minmax(0, 1fr)); grid-auto-flow: column; gap: 4px; margin-top: 12px; }
.daymap i, .legend i { display: block; aspect-ratio: 1; border-radius: 4px; background: var(--bg-2); }
.daymap i.empty { visibility: hidden; }
.daymap .lv1, .legend .lv1 { background: color-mix(in srgb, var(--accent) 25%, var(--bg-2)); }
.daymap .lv2, .legend .lv2 { background: color-mix(in srgb, var(--accent) 50%, var(--bg-2)); }
.daymap .lv3, .legend .lv3 { background: color-mix(in srgb, var(--accent) 75%, var(--bg-2)); }
.daymap .lv4, .legend .lv4 { background: var(--accent); }
.legend { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 10px; font-size: 12px; color: var(--text-3); }
.legend i { width: 11px; }
.legend span:first-child { margin-right: 4px; }
.legend span:last-child { margin-left: 4px; }
.stats-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.stats-metrics div { padding: 14px; border-radius: 16px; background: var(--bg); }
.stats-metrics b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stats-metrics span { display: block; margin-top: 2px; font-size: 13px; color: var(--text-2); font-weight: 600; line-height: 1.3; }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.extra { display: flex; align-items: flex-start; gap: 14px; padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.extra .bubble { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.extra .bubble svg { width: 20px; height: 20px; }
.extra h3 { font-size: 16px; margin-top: 2px; }
.extra p { margin-top: 4px; font-size: 15px; color: var(--text-2); }

/* Privacy */
.privacy-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center;
  padding: 64px; border-radius: 32px;
  background: #232129; color: #f3f1ee;
}
@media (prefers-color-scheme: dark) { .privacy-card { background: #2a2931; } }
.privacy-card .eyebrow { color: #a9c1ff; }
.privacy-card h2 { font-size: clamp(32px, 4vw, 46px); margin-top: 12px; }
.privacy-card p { margin-top: 18px; font-size: 18px; color: #cfcbd5; }
.privacy-card .checks li { color: #f3f1ee; }
.privacy-card .checks .tick { background: rgba(255, 255, 255, 0.1); color: #a9c1ff; box-shadow: none; }
.privacy-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 700; color: #f3f1ee; text-decoration: none; border-bottom: 1px solid rgba(243, 241, 238, 0.35); padding-bottom: 2px; }
.privacy-link:hover { border-bottom-color: #f3f1ee; }
.privacy-art { position: relative; height: 260px; }
.privacy-art .ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.12); }
.privacy-art .r1 { width: 260px; height: 260px; }
.privacy-art .r2 { width: 190px; height: 190px; }
.privacy-art .r3 { width: 120px; height: 120px; background: rgba(169, 193, 255, 0.12); border-color: transparent; }
.privacy-art .core { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #a9c1ff; color: #16151a; }
.privacy-art .core svg { width: 28px; height: 28px; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--border); padding: 0 24px; transition: box-shadow 150ms ease; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 18px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--text-3); transition: transform 200ms ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--text-2); }

/* Final CTA */
.final { position: relative; text-align: center; padding: 120px 0 128px; overflow: hidden; }
.final h2 { font-size: clamp(36px, 5vw, 58px); max-width: 720px; margin: 0 auto; }
.final p { margin-top: 16px; font-size: 20px; color: var(--text-2); }
.final .btn { margin-top: 34px; }
.final .decor-sky { width: 480px; height: 480px; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0.8; z-index: -1; }
.final .decor-sun { width: 84px; height: 84px; top: auto; bottom: 64px; right: auto; left: calc(50% - 300px); z-index: -1; }

/* Footer */
.footer { padding: 40px 0 56px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; font-weight: 600; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer .btn-coffee { margin-left: auto; }
.footer-legal { width: 100%; font-size: 13px; color: var(--text-3); }

/* Privacy page */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 0 96px; }
.doc-back { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--text-2); text-decoration: none; }
.doc-back:hover { color: var(--text); }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin: 22px 0 10px; }
.doc h2 { font-size: 24px; margin: 44px 0 12px; }
.doc p, .doc li { color: var(--text-2); font-size: 17px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.doc strong { color: var(--text); }
.doc code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.88em; padding: 2px 6px; border-radius: 6px; background: var(--bg-2); color: var(--text); }
.doc a { color: var(--accent-text); }
.doc hr { border: 0; border-top: 1px solid var(--border); margin: 56px 0; }
.table-wrap { overflow-x: auto; margin: 16px 0; border-radius: 16px; border: 1px solid var(--border); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.doc th { color: var(--text); background: var(--bg-2); font-weight: 800; }
.doc tr:last-child td { border-bottom: 0; }

/* Payment return page */
.paid { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 40px 0; }
.paid-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.paid-icon svg { width: 34px; height: 34px; }
.paid h1 { font-size: clamp(30px, 5vw, 44px); margin-top: 8px; }
.paid p { max-width: 460px; font-size: 18px; color: var(--text-2); }
.paid .btn { margin-top: 12px; }
.paid.is-canceled .paid-icon { background: var(--bg-2); color: var(--text-3); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .ritual-grid, .stats-grid, .privacy-card { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .hero-copy { text-align: center; }
  .hero-copy .sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-note { justify-content: center; }
  .hero-visual { min-height: 0; }
  .browser { margin: 0 auto; }
  .steps, .extras { grid-template-columns: 1fr; }
  .privacy-card { padding: 44px 28px; }
  .privacy-art { display: none; }
  .question, .typing { width: 100%; }
  .typing { margin-top: 0; }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .mock-timer { font-size: 64px; }
  .stats-card { padding: 20px; }
  .stats-metrics { grid-template-columns: 1fr; }
  .daymap { gap: 3px; }
  .browser-body { padding: 26px 16px 24px; }
  .nav-inner { gap: 12px; }
  .nav-links { gap: 10px; }
  .nav-cta { display: none; }
  .footer .btn-coffee { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
