/* Kanso website — same restrained obsidian look as the app: canvas, hairlines, one accent. */
:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --ink: #111113;
  --ink2: #55555a;
  --ink3: #74747a;
  --line: rgba(0, 0, 0, 0.09);
  --accent: #1f7547;
  --accent-soft: rgba(31, 117, 71, 0.08);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0c;
    --surface: #141416;
    --ink: #f2f2f2;
    --ink2: #a1a1a6;
    --ink3: #7c7c80;
    --line: rgba(255, 255, 255, 0.09);
    --accent: #7fd1a0;
    --accent-soft: rgba(127, 209, 160, 0.08);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1040px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
.narrow { max-width: 720px; }

/* Header / footer */
.top { border-bottom: 0.5px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.brand picture, .brand img { display: block; width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; font-size: 14px; }
.nav a { color: var(--ink2); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
footer { border-top: 0.5px solid var(--line); margin-top: 96px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-block: 28px; font-size: 13px; color: var(--ink3); }
footer a { color: var(--ink2); text-decoration: none; }
footer nav { display: flex; gap: 20px; }

/* Home: hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding-block: 80px 64px; }
.eyebrow { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink3); margin: 0 0 16px; }
h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 20px; font-weight: 650; text-wrap: balance; }
.lede { font-size: 19px; color: var(--ink2); margin: 0 0 32px; max-width: 34ch; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 15px; text-decoration: none; }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.note { font-size: 13px; color: var(--ink3); }

/* Phone mock: a real slice of the app's home screen, drawn in HTML */
.phone { justify-self: center; width: min(330px, 100%); aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px; background: #000; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06) inset; }
.screen { height: 100%; border-radius: 34px; background: #0b0b0c; color: #f2f2f2; padding: 30px 22px; overflow: hidden; font-size: 13px; }
.screen .bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 0.5px solid rgba(255,255,255,0.09); margin-bottom: 18px; }
.screen .bar b { font-size: 16px; font-weight: 600; }
.screen .on { color: #7fd1a0; font-size: 11px; }
.screen .on::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #7fd1a0; margin-right: 6px; vertical-align: 1px; }
.screen .month { font-size: 11px; letter-spacing: 0.08em; color: #7c7c80; }
.screen .total { font-size: 38px; font-weight: 300; letter-spacing: -0.02em; margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.screen .sub { color: #a1a1a6; font-size: 12px; }
.screen .meter { height: 2px; background: rgba(255,255,255,0.1); margin: 14px 0 22px; }
.screen .meter i { display: block; height: 100%; width: 58%; background: #f2f2f2; }
.screen .day { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.08em; color: #7c7c80; text-transform: uppercase; margin: 16px 0 4px; }
.screen .row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 0.5px solid rgba(255,255,255,0.08); font-variant-numeric: tabular-nums; }
.screen .row small { display: block; color: #7c7c80; font-size: 11px; }
.screen .row .amt.in { color: #7fd1a0; }
.screen .note-dot { color: #e0a43a; font-size: 11px; }

/* Home: sections */
section { padding-block: 40px; }
h2 { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 8px; font-weight: 650; text-wrap: balance; }
.section-lede { color: var(--ink2); margin: 0 0 28px; max-width: 60ch; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0.5px solid var(--line); }
.feature { padding: 26px 26px 26px 0; border-bottom: 0.5px solid var(--line); }
.feature:not(:nth-child(3n)) { border-right: 0.5px solid var(--line); }
.feature:not(:nth-child(3n+1)) { padding-left: 26px; }
.feature h3 { font-size: 16px; margin: 0 0 6px; font-weight: 600; }
.feature p { margin: 0; color: var(--ink2); font-size: 15px; }
.promise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 0.5px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.promise div { padding: 22px; }
.promise div + div { border-left: 0.5px solid var(--line); }
.promise dt { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink3); margin-bottom: 6px; }
.promise dd { margin: 0; font-weight: 600; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 0.5px solid var(--line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; padding: 18px 0; border-bottom: 0.5px solid var(--line); }
.steps li::before { content: counter(step); font-family: var(--mono); color: var(--accent); font-size: 14px; padding-top: 2px; }
.steps b { display: block; }
.steps span { color: var(--ink2); font-size: 15px; }

/* Document pages (privacy, support) */
.doc { padding-block: 56px 0; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); }
.doc .meta { color: var(--ink3); font-size: 14px; margin: 0 0 36px; }
.doc h2 { font-size: 21px; margin: 40px 0 10px; }
.doc h3 { font-size: 16px; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--ink2); }
.doc strong { color: var(--ink); font-weight: 600; }
.doc ul { padding-left: 20px; }
.doc li + li { margin-top: 6px; }
.summary { background: var(--accent-soft); border: 0.5px solid var(--line); border-radius: 14px; padding: 18px 22px; margin: 0 0 8px; }
.summary p { margin: 0; color: var(--ink); }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 0.5px solid var(--line); vertical-align: top; }
th { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink3); font-weight: 500; }
td { color: var(--ink2); }
td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
.table-scroll { overflow-x: auto; }
code { font-family: var(--mono); font-size: 0.92em; }
.contact { display: inline-flex; align-items: center; gap: 10px; border: 0.5px solid var(--line); background: var(--surface); padding: 12px 16px; border-radius: 12px; font-weight: 600; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 48px 24px; }
  .grid { grid-template-columns: 1fr; }
  .feature, .feature:not(:nth-child(3n+1)) { padding: 20px 0; border-right: 0 !important; }
  .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise div + div { border-left: 0; }
  .promise div:nth-child(even) { border-left: 0.5px solid var(--line); }
  .promise div:nth-child(n+3) { border-top: 0.5px solid var(--line); }
  .nav { gap: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .nav a { transition: opacity 0.15s, color 0.15s; }
  .btn:hover { opacity: 0.86; }
}

/* ---- Landing page (conversion sections) ---- */
.nav-cta { color: var(--ink) !important; font-weight: 600; border: 0.5px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.btn-ghost { display: inline-flex; align-items: center; padding: 13px 18px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; border: 0.5px solid var(--line); }
.trust-strip { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--ink2); }
.trust-strip li::before { content: "✓"; color: var(--accent); margin-right: 6px; font-weight: 700; }

.problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.problems div { background: var(--surface); border: 0.5px solid var(--line); border-radius: 16px; padding: 22px; }
.problems h3 { margin: 0 0 6px; font-size: 16px; }
.problems p { margin: 0; color: var(--ink2); font-size: 15px; }
.pivot { font-size: 18px; margin: 24px 0 0; max-width: 62ch; color: var(--ink2); }
.pivot strong { color: var(--ink); }

.flow { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 0.5px solid var(--line); border-bottom: 0.5px solid var(--line); }
.flow li { padding: 22px 22px 22px 0; display: flex; flex-direction: column; gap: 4px; }
.flow li + li { padding-left: 22px; border-left: 0.5px solid var(--line); }
.flow .flow-k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.flow b { font-size: 16px; }
.flow span:last-child { color: var(--ink2); font-size: 15px; }
.banks { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 32px; }
.banks span { font-size: 13px; padding: 5px 10px; border: 0.5px solid var(--line); border-radius: 999px; color: var(--ink2); background: var(--surface); }
.banks .banks-label { border: 0; background: none; padding-left: 0; color: var(--ink3); }

.reads { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 36px; }
.reads-col { background: var(--surface); border: 0.5px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.reads-col h3 { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.reads-col.never h3 { color: var(--ink3); }
.reads-col ul { margin: 0; padding-left: 18px; color: var(--ink2); }
.reads-col li + li { margin-top: 6px; }
.sub-h { font-size: 18px; margin: 0 0 4px; }
table.perm td:first-child, table.compare td:first-child { white-space: normal; }
td.no { color: var(--accent) !important; }
table.compare th:nth-child(2), table.compare td.yes { color: var(--accent); font-weight: 600; }

.proof { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; background: var(--accent-soft); border: 0.5px solid var(--line); border-radius: 20px; padding: 36px; margin-bottom: 20px; }
.proof h2 { font-size: clamp(24px, 3.4vw, 32px); }
.proof p { color: var(--ink2); margin: 0; }
.proof p strong { color: var(--ink); }
.check { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ink2); }
.check strong { color: var(--ink); }

.faq details { border-bottom: 0.5px solid var(--line); padding: 4px 0; }
.faq details:first-child { border-top: 0.5px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-weight: 400; font-size: 20px; color: var(--ink3); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--ink2); }
.faq-more { color: var(--ink3); font-size: 14px; margin-top: 18px; }

.final { text-align: center; padding: 56px 24px; border: 0.5px solid var(--line); border-radius: 24px; background: var(--surface); }
.final h2 { font-size: clamp(28px, 4.5vw, 40px); }
.final p { color: var(--ink2); max-width: 46ch; margin: 0 auto 26px; }
.final .cta { justify-content: center; }

@media (max-width: 820px) {
  .nav a:not(.nav-cta) { display: none; }
  .problems, .reads, .proof { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow li + li { padding-left: 0; border-left: 0; border-top: 0.5px solid var(--line); }
  .proof { padding: 26px; gap: 22px; }
}

/* ---- Small phones (320–420 px) and general overflow safety ---- */
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, p, li, td, summary { overflow-wrap: anywhere; }
footer nav { flex-wrap: wrap; }
@media (max-width: 420px) {
  body { font-size: 15px; }
  .wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .top .wrap { height: 56px; }
  h1 { font-size: 34px; }
  h2 { font-size: 24px; }
  .lede { font-size: 17px; }
  .cta { flex-direction: column; align-items: stretch; }
  .btn, .btn-ghost { justify-content: center; }
  .final .cta { align-items: stretch; }
  .phone { width: min(300px, 100%); border-radius: 38px; }
  .screen { padding: 24px 16px; border-radius: 28px; }
  .screen .total { font-size: 32px; }
  .promise { grid-template-columns: 1fr; }
  .promise div:nth-child(even) { border-left: 0; }
  .promise div + div { border-top: 0.5px solid var(--line); }
  .proof, .final { padding: 22px 18px; border-radius: 16px; }
  table { font-size: 14px; }
  th, td { padding: 9px 10px 9px 0; }
  .doc { padding-block: 36px 0; }
  footer .wrap { flex-direction: column; }
}
/* Short landscape phones: don't let the phone mock dominate */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { grid-template-columns: 1.2fr 0.8fr; padding-block: 32px; }
  .phone { width: 220px; }
}
/* Large screens: a little more air */
@media (min-width: 1400px) {
  .wrap { max-width: 1160px; }
  .narrow { max-width: 760px; }
}

/* ---- Early-access form ---- */
.signup { max-width: 520px; margin: 0 auto; text-align: left; display: grid; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field label span { font-weight: 400; color: var(--ink3); }
.field input {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 0.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px;
}
.field input::placeholder { color: var(--ink3); }
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.signup .btn { justify-content: center; border: 0; cursor: pointer; font: inherit; font-weight: 600; min-height: 48px; }
.signup .btn:disabled { opacity: 0.6; cursor: default; }
.signup .note { text-align: center; margin: 0; }
.form-status { margin: 0; text-align: center; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #c0413b; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* ---- Early-access modal ---- */
html.modal-open { overflow: hidden; }
.modal {
  border: 0; padding: 0; background: transparent; color: var(--ink);
  width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: visible;
}
.modal::backdrop { background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
/* No-JavaScript fallback: links to #join show the dialog in place */
.modal:target { display: block; position: fixed; inset: 0; margin: auto; height: fit-content; z-index: 10; }
.modal-card {
  position: relative; background: var(--surface); border: 0.5px solid var(--line); border-radius: 22px;
  padding: 32px 28px 26px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
  max-height: calc(100dvh - 32px); overflow-y: auto;
}
.modal-close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink3); font-size: 26px; line-height: 1; cursor: pointer;
}
.modal-close:hover { background: var(--accent-soft); color: var(--ink); }
.modal-logo { display: block; margin-bottom: 14px; }
.modal h2 { font-size: 24px; margin: 0 0 8px; }
.modal-lede { color: var(--ink2); margin: 0 0 22px; font-size: 15px; }
.modal-lede strong { color: var(--ink); overflow-wrap: anywhere; }
.modal .signup { max-width: none; }
.modal-done { text-align: center; padding: 8px 0 4px; }
.modal-done .btn { justify-content: center; border: 0; cursor: pointer; font: inherit; font-weight: 600; min-width: 140px; }
.done-check {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 28px; font-weight: 700;
}
@media (prefers-reduced-motion: no-preference) {
  .modal[open] .modal-card { animation: modal-in 0.22s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .modal[open]::backdrop { animation: fade-in 0.2s ease-out; }
}
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 520px) {
  /* Phones: a bottom sheet is easier to reach with a thumb */
  .modal { width: 100vw; max-width: 100vw; margin: auto 0 0; max-height: 92dvh; }
  .modal-card { border-radius: 22px 22px 0 0; padding: 28px 18px calc(22px + env(safe-area-inset-bottom)); max-height: 92dvh; }
  @media (prefers-reduced-motion: no-preference) {
    .modal[open] .modal-card { animation: sheet-in 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
  }
}
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: none; } }

/* ---- Simplified home (v2): fewer words, real screens ---- */
.center { text-align: center; }
.simple-hero { padding-block: 72px 40px; }
.simple-hero h1 { font-size: clamp(40px, 6.5vw, 68px); }
.simple-hero .lede { font-size: 21px; max-width: 30ch; }
.hero-note { margin-top: 16px; }
.hero-shot { justify-self: center; width: min(320px, 80vw); height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.35)); }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }
.step3 { text-align: center; }
.step3 img { width: min(220px, 70%); height: auto; margin: 0 auto 22px; display: block; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3)); }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; }
.step3 h3 { font-size: 20px; margin: 10px 0 6px; }
.step3 p { color: var(--ink2); margin: 0 auto; max-width: 28ch; }
.trust-band { text-align: center; background: var(--accent-soft); border: 0.5px solid var(--line); border-radius: 22px; padding: 44px 24px; }
.trust-band p { color: var(--ink2); max-width: 52ch; margin: 0 auto 16px; font-size: 17px; }
.trust-band a { font-weight: 600; text-decoration: none; }
#faq h2 { margin-bottom: 20px; }
@media (max-width: 820px) {
  .simple-hero { text-align: center; }
  .simple-hero .lede { margin-left: auto; margin-right: auto; }
  .simple-hero .cta { justify-content: center; }
  .steps3 { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 420px) {
  .simple-hero .lede { font-size: 18px; }
  .trust-band { padding: 32px 18px; }
}

.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 28px; border-top: 0.5px solid var(--line); }
.mini-grid div { padding: 20px 20px 20px 0; border-bottom: 0.5px solid var(--line); }
.mini-grid div:not(:nth-child(3n+1)) { padding-left: 20px; border-left: 0.5px solid var(--line); }
.mini-grid h3 { font-size: 16px; margin: 0 0 4px; }
.mini-grid p { margin: 0; color: var(--ink2); font-size: 15px; }
.trust-chips { list-style: none; padding: 0; margin: 0 auto 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 640px; }
.trust-chips li { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 0.5px solid var(--line); }
.trust-chips li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
@media (max-width: 820px) {
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .mini-grid div, .mini-grid div:not(:nth-child(3n+1)) { padding: 16px 12px 16px 0; border-left: 0; }
  .mini-grid div:nth-child(even) { padding-left: 14px; border-left: 0.5px solid var(--line); }
}
@media (max-width: 420px) {
  .mini-grid { grid-template-columns: 1fr; }
  .mini-grid div:nth-child(even) { padding-left: 0; border-left: 0; }
}

.problems .fix { margin-top: 12px; color: var(--accent); font-weight: 600; font-size: 15px; }
.center-lede { margin-left: auto; margin-right: auto; }
.proof-h { font-size: 22px; margin: 0 0 8px; }
#privacy .reads { margin-top: 8px; }
#privacy .trust-chips { margin-top: 4px; }

.modal-logo { display: block; width: 44px; height: 44px; margin-bottom: 14px; }
.modal-logo img { width: 44px; height: 44px; display: block; }

/* ---- Section rhythm: clear, consistent space between home-page sections ---- */
main > section { padding-block: clamp(48px, 7vw, 96px); }
main > section + section { border-top: 0.5px solid var(--line); }
main > section > h2 { margin-bottom: 12px; }
main > section > h2.center + * { margin-top: 28px; }
.simple-hero { padding-block: clamp(48px, 8vw, 104px) clamp(48px, 7vw, 88px); }
#early-access { border-top: 0 !important; }
footer { margin-top: clamp(48px, 7vw, 96px); }

/* =============================================================================================
   Spacious layout (v8): wider page, bigger type, more room inside every block.
   Placed last on purpose: these values win over the earlier, tighter ones.
   ============================================================================================= */
body { font-size: 17px; line-height: 1.65; }
.wrap { max-width: 1180px; }
.narrow { max-width: 780px; }
@media (min-width: 1400px) { .wrap { max-width: 1240px; } }

main > section, main > section.wrap { padding-block: clamp(72px, 10vw, 136px); }
main > section > h2, h2.center { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; margin: 0 0 16px; }
main > section > h2.center + * { margin-top: 44px; }
.section-lede { font-size: clamp(17px, 1.6vw, 19px); margin-bottom: 44px; }
.center-lede { max-width: 56ch; }

.simple-hero { gap: clamp(40px, 7vw, 96px); padding-block: clamp(64px, 10vw, 140px) clamp(64px, 8vw, 112px); }
.simple-hero h1 { font-size: clamp(42px, 6.5vw, 76px); margin-bottom: 24px; }
.simple-hero .lede { font-size: clamp(19px, 1.9vw, 23px); margin-bottom: 36px; }
.hero-shot { width: min(360px, 78vw); }

.problems { gap: 24px; }
.problems div { padding: 32px 30px; border-radius: 20px; }
.problems h3 { font-size: 19px; margin-bottom: 10px; }
.problems p { font-size: 16px; line-height: 1.6; }
.problems .fix { margin-top: 18px; }

.steps3 { gap: clamp(40px, 6vw, 72px); }
.step3 img { width: min(250px, 72%); margin-bottom: 30px; }
.step3 h3 { font-size: 21px; margin: 14px 0 8px; }
.step3 p { font-size: 16px; }

.mini-grid div { padding: 28px 28px 28px 0; }
.mini-grid div:not(:nth-child(3n+1)) { padding-left: 28px; }
.mini-grid h3 { font-size: 17px; margin-bottom: 6px; }

.reads { gap: 24px; margin: 0 0 32px; }
.reads-col { padding: 30px 32px; border-radius: 20px; }
.reads-col li + li { margin-top: 10px; }
.proof { padding: clamp(28px, 4vw, 48px); gap: clamp(24px, 4vw, 56px); margin-bottom: 36px; border-radius: 24px; }
.proof-h { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 12px; }
.check { gap: 14px; }
.trust-chips { gap: 10px; margin-bottom: 32px; max-width: 760px; }
.trust-chips li { padding: 8px 15px; font-size: 15px; }

.faq summary { padding: 22px 36px 22px 0; font-size: 17px; }
.faq details p { margin-bottom: 22px; font-size: 16px; }

.final { padding: clamp(56px, 8vw, 96px) 28px; border-radius: 28px; }
.final h2 { margin-bottom: 28px; }

@media (max-width: 820px) {
  .mini-grid div, .mini-grid div:not(:nth-child(3n+1)) { padding: 22px 14px 22px 0; }
  .mini-grid div:nth-child(even) { padding-left: 18px; }
  .problems div, .reads-col { padding: 26px 22px; }
}
@media (max-width: 420px) {
  main > section, main > section.wrap { padding-block: 64px; }
  .mini-grid div, .mini-grid div:nth-child(even) { padding: 20px 0; }
}

/* ---- Story sections (v10): problem → why fixes fail → solution → before/after ---- */
.eyebrow.center { text-align: center; margin-bottom: 14px; }
.simple-hero .eyebrow { margin-bottom: 18px; }
.moments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.moment { background: var(--surface); border: 0.5px solid var(--line); border-radius: 20px; padding: 30px; }
.moment-k { display: inline-block; font-family: var(--mono); font-size: 13px; color: var(--ink3); background: var(--bg);
  border: 0.5px solid var(--line); border-radius: 8px; padding: 6px 10px; margin-bottom: 18px; }
.moment h3 { font-size: 19px; margin: 0 0 10px; line-height: 1.3; }
.moment p { margin: 0; color: var(--ink2); font-size: 16px; }
.fails { margin-top: clamp(48px, 6vw, 72px); }
.fails > h3 { text-align: center; font-size: clamp(20px, 2.2vw, 24px); margin: 0 0 24px; }
.fail-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0.5px solid var(--line); }
.fail-row div { padding: 24px 24px 24px 0; border-bottom: 0.5px solid var(--line); }
.fail-row div + div { padding-left: 24px; border-left: 0.5px solid var(--line); }
.fail-row b { display: block; margin-bottom: 6px; }
.fail-row b::before { content: "✕  "; color: #c0413b; }
.fail-row p { margin: 0; color: var(--ink2); font-size: 15px; }
.solves { display: block; margin-top: 8px; color: var(--accent); font-weight: 600; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ba-col { border-radius: 22px; padding: clamp(26px, 3.5vw, 40px); border: 0.5px solid var(--line); }
.ba-col h3 { margin: 0 0 18px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.ba-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 17px; }
.ba-col.before { background: var(--surface); }
.ba-col.before h3 { color: var(--ink3); }
.ba-col.before li { color: var(--ink2); }
.ba-col.before li::before { content: "✕"; color: #c0413b; margin-right: 12px; }
.ba-col.after { background: var(--accent-soft); }
.ba-col.after h3 { color: var(--accent); }
.ba-col.after li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 12px; }
.final p { color: var(--ink2); margin: -12px auto 28px; }
@media (max-width: 820px) {
  .moments, .fail-row, .ba { grid-template-columns: 1fr; }
  .fail-row div + div { padding-left: 0; border-left: 0; }
}

/* ---- Emotional narrative (v11) ---- */
.confess { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; }
.confess li { position: relative; padding: 20px 22px 20px 62px; background: var(--surface); border: 0.5px solid var(--line);
  border-radius: 16px; font-size: clamp(17px, 1.7vw, 19px); line-height: 1.5; }
.confess li::before { content: "✓"; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px;
  border-radius: 7px; border: 1.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: 15px; font-weight: 700; }
.confess em { font-style: normal; color: var(--ink); font-weight: 600; }
.confess code { font-size: 0.82em; background: var(--bg); border: 0.5px solid var(--line); padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.confess-end { text-align: center; margin: 32px auto 0; font-size: 18px; color: var(--ink2); max-width: 48ch; }
.math { max-width: 720px; margin: 0 auto; }
.math-rows { background: var(--surface); border: 0.5px solid var(--line); border-radius: 22px; padding: 10px 30px; }
.math-rows div { display: grid; grid-template-columns: 1fr auto 120px; gap: 16px; align-items: baseline; padding: 20px 0;
  border-bottom: 0.5px solid var(--line); font-size: 18px; font-variant-numeric: tabular-nums; }
.math-rows .calc { color: var(--ink3); font-family: var(--mono); font-size: 15px; }
.math-rows b { text-align: right; font-weight: 600; }
.math-rows .math-total { border-bottom: 0; font-weight: 600; }
.math-rows .math-total b { font-size: clamp(26px, 3vw, 34px); color: #c0413b; }
.math-note { text-align: center; color: var(--ink2); margin: 24px auto 0; max-width: 52ch; }
.math-note strong { color: var(--ink); }
section > .fail-row { margin-top: 8px; }
@media (max-width: 520px) {
  .math-rows { padding: 6px 18px; }
  .math-rows div { grid-template-columns: 1fr auto; }
  .math-rows .calc { display: none; }
  .confess li { padding-left: 56px; }
  .confess code { white-space: normal; overflow-wrap: anywhere; }
}

.turnstile:empty { display: none; }
.turnstile { min-height: 65px; }
