/* Kindsend site — no external fonts or scripts; system font stack for speed and privacy. */
:root {
  --bg: #fbf8f4;
  --surface: #ffffff;
  --surface-2: #f3eee7;
  --ink: #1f1b16;
  --ink-2: #5a524a;
  --ink-3: #6e665d;
  --line: #e6ded3;
  --brand: #b04530;        /* warm coral, AA on white and on --brand-soft */
  --brand-ink: #ffffff;
  --brand-soft: #fbe7e1;
  --accent: #2f6f62;       /* deep teal for data */
  --accent-soft: #dcefe9;
  --focus: #1d4ed8;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(31,27,22,.06), 0 8px 24px rgba(31,27,22,.06);
  --max: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15120f;
    --surface: #1e1a16;
    --surface-2: #26211c;
    --ink: #f3ede6;
    --ink-2: #c7bdb2;
    --ink-3: #a1978c;
    --line: #362f28;
    --brand: #e0735b;
    --brand-ink: #1a0f0b;
    --brand-soft: #3a2119;
    --accent: #6cc2ae;
    --accent-soft: #1d3530;
    --focus: #93b4ff;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.3);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.01em; font-size: 19px; }
.logo svg { width: 28px; height: 28px; flex: none; }
.nav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink-2); }
@media (max-width: 560px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid transparent; background: var(--brand); color: var(--brand-ink); font-family: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .08s ease, filter .15s ease; }
.btn:hover { color: var(--brand-ink); filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.secondary:hover { color: var(--ink); border-color: var(--ink-3); }
.btn.small { min-height: 38px; padding: 6px 16px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Hero */
.hero { padding: 56px 0 40px; }
@media (min-width: 900px) { .hero { padding: 88px 0 64px; } }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.eyebrow { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: 13px; }
h1 { font-size: clamp(34px, 5.4vw, 54px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 18px; font-weight: 750; }
h1 .soft { color: var(--brand); }
.lead { font-size: clamp(18px, 2.2vw, 20px); color: var(--ink-2); margin: 0 0 28px; max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: 14px; color: var(--ink-3); margin-top: 14px; }

/* Illustration: thank-you page + report */
.mock { position: relative; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.mock .ty { padding: 20px; }
.ty-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ty-check { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.ty-top small { display: block; color: var(--ink-3); font-size: 12px; }
.ty-top strong { font-size: 15px; }
.ty-q { border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.ty-q p { margin: 0 0 10px; font-weight: 600; font-size: 15px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.opt::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink-3); flex: none; }
.opt.on { border-color: var(--brand); background: var(--brand-soft); }
.opt.on::before { border-color: var(--brand); background: radial-gradient(var(--brand) 45%, transparent 50%); }
.followup { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.followup span { display: block; margin-top: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; color: var(--ink); background: var(--surface-2); }
.report { position: relative; margin: 14px 0 0; padding: 16px 18px; }
.report h3 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.bar { display: grid; grid-template-columns: 108px 1fr auto; align-items: center; gap: 10px; font-size: 13px; margin: 6px 0; }
.bar i { display: block; height: 10px; border-radius: 6px; background: var(--accent); }
.bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 52px; }
.bar.muted i { background: repeating-linear-gradient(45deg, var(--ink-3) 0 4px, transparent 4px 8px); opacity: .6; }
.bar.muted span, .bar.muted b { color: var(--ink-3); }

/* Sections */
section { padding: 56px 0; scroll-margin-top: 64px; }
@media (min-width: 900px) { section { padding: 80px 0; } }
.section-alt { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; }
.section-lead { color: var(--ink-2); max-width: 40em; margin: 0 0 36px; }
.grid3 { display: grid; gap: 18px; }
@media (min-width: 820px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 22px; }
.feature .icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
.feature h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--ink-2); font-size: 16px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .checklist { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6f62' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; }

.price-card { padding: 28px; display: grid; gap: 22px; }
@media (min-width: 820px) { .price-card { grid-template-columns: 1fr 1.2fr; align-items: center; } }
.price { font-size: 44px; font-weight: 750; letter-spacing: -.03em; line-height: 1; }
.price small { font-size: 17px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.price-alt { color: var(--ink-2); margin-top: 8px; }
.compare { font-size: 15px; color: var(--ink-2); margin: 0; }

.pilot-grid { display: grid; gap: 18px; }
@media (min-width: 820px) { .pilot-grid { grid-template-columns: 1fr 1fr; } }
.pilot-grid .card { padding: 22px; }
.pilot-grid h3 { margin: 0 0 12px; font-size: 18px; }
.pilot-grid ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.pilot-grid li { margin: 6px 0; }

/* Form */
.form-card { padding: 24px; max-width: 760px; }
@media (min-width: 720px) { .form-card { padding: 36px; } }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.row2 { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.form-card label, .form-card legend { font-weight: 600; font-size: 15px; }
.hint { font-size: 13px; color: var(--ink-3); font-weight: 400; }
.form-card :is(input[type="email"], input[type="text"], input[type="url"], select, textarea) {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 16px;
}
.form-card textarea { min-height: 96px; resize: vertical; }
.form-card :is(input, select, textarea):focus { outline: 3px solid color-mix(in srgb, var(--focus) 40%, transparent); border-color: var(--focus); }
.form-card fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.choices { display: grid; gap: 8px; margin-top: 8px; }
@media (min-width: 640px) { .choices.inline { grid-template-columns: repeat(3, 1fr); } }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-weight: 500; font-size: 15px; cursor: pointer; background: var(--bg); }
.choice input { margin-top: 4px; accent-color: var(--brand); }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--ink-2); }
.consent input { margin-top: 4px; accent-color: var(--brand); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-size: 15px; min-height: 1.5em; }
.form-status.error { color: #b42318; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form-status.error { color: #ff8a80; } }
.success { text-align: left; }
.success h3 { margin: 0 0 8px; font-size: 22px; }

/* FAQ */
.faq-inner { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: 10px 0 0; }

/* Prose pages */
.prose { max-width: 720px; padding: 48px 0 72px; }
.prose h1 { font-size: clamp(30px, 4.4vw, 40px); }
.prose h2 { font-size: 22px; margin-top: 32px; }
.prose p, .prose li { color: var(--ink-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--ink-3); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
html { scroll-behavior: smooth; }

/* ---- Landing page (2026-10-28 redesign): rotating headline, hero timeline, reveals, pricing chart ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rot { display: grid; }
.rot > span { grid-area: 1 / 1; transition: opacity .6s ease, transform .6s ease, visibility .6s; }
.rot > span:not(.on) { opacity: 0; transform: translateY(10px); visibility: hidden; }
.hero-ctl { margin-left: 4px; font: 500 13px/1 inherit; color: var(--ink-3); background: none; border: 0; padding: 6px 2px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--ink-2); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.fig { margin: 10px 0 0; font-size: 12px; color: var(--ink-3); letter-spacing: .02em; }
.mock .opt, .mock .followup, .price-pill { transition: opacity .5s ease, background-color .4s ease, border-color .4s ease; }
.mock .bar i { transform-origin: left; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.mock.reset .bar i { transform: scaleX(0); }
.mock.nofu .followup, .mock.nopill .price-pill { opacity: 0; }
.price-pill { margin: 12px 0 0; display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 600; }
.pairs h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.015em; }
.pairs p { margin: 0; color: var(--ink-2); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; padding: 22px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 16px; }
.price-grid { padding: 24px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 820px) { .price-grid { grid-template-columns: 1.15fr 1fr; padding: 32px; } }
.chart { width: 100%; height: auto; color: var(--ink-3); font: 12px ui-sans-serif, system-ui, sans-serif; }
.chart .ax { stroke: var(--line); stroke-width: 1.5; fill: none; }
.chart .meter { stroke: var(--ink-3); stroke-width: 3; fill: none; stroke-linejoin: round; }
.chart .flat { stroke: var(--brand); stroke-width: 4; fill: none; stroke-linecap: round; }
.chart text { fill: currentColor; }
.chart .lb { fill: var(--brand); font-weight: 700; font-size: 14px; }
.fig2 { font-size: 12px; color: var(--ink-3); margin: 8px 0 0; }
.price-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; color: var(--ink-2); }
.price-list li::before { content: "— "; color: var(--brand); }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .draw path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s ease; }
.js .draw .flat { transition-delay: .8s; }
.js .in .draw path { stroke-dashoffset: 0; }
.more { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) {
  .rot { display: block; }
  .rot > span { display: block; opacity: 1 !important; transform: none !important; visibility: visible !important; }
  .rot > span + span { font-size: .5em; font-weight: 650; color: var(--ink-2); margin-top: .3em; letter-spacing: -.01em; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-ctl { display: none; }
}
