/* Applesprout — one typeface, one accent, air. */

:root {
  --bg: #fbfaf7; --bg-2: #f3f2ec; --card: #ffffff;
  --ink: #171613; --ink-2: #3d3b36; --muted: #6b6963; --faint: #9c9a93;
  --line: #e7e5de; --line-2: #d8d6ce;
  --green: #1f6f3f; --green-hover: #185a33; --green-ink: #ffffff; --green-soft: #e8f3ec; --green-text: #1b5c35;
  --mark: #fff0a8;
  --shadow: 0 1px 2px rgba(23,22,19,.06), 0 8px 24px -12px rgba(23,22,19,.14);
  --ring: 0 0 0 3px rgba(31,111,63,.22);
  --r: 10px; --r-lg: 18px;
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111210; --bg-2: #181a16; --card: #1c1e1a;
    --ink: #eeede8; --ink-2: #cfcdc6; --muted: #9b9991; --faint: #6f6e68;
    --line: #2a2c27; --line-2: #383a34;
    --green: #7fcf98; --green-hover: #95dbaa; --green-ink: #0d1a11; --green-soft: #1a2a1f; --green-text: #9ddcb0;
    --mark: #4a4216;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 30px -14px rgba(0,0,0,.7);
    --ring: 0 0 0 3px rgba(127,207,152,.3);
  }
}
:root[data-theme="dark"] {
  --bg: #111210; --bg-2: #181a16; --card: #1c1e1a;
  --ink: #eeede8; --ink-2: #cfcdc6; --muted: #9b9991; --faint: #6f6e68;
  --line: #2a2c27; --line-2: #383a34;
  --green: #7fcf98; --green-hover: #95dbaa; --green-ink: #0d1a11; --green-soft: #1a2a1f; --green-text: #9ddcb0;
  --mark: #4a4216;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 30px -14px rgba(0,0,0,.7);
  --ring: 0 0 0 3px rgba(127,207,152,.3);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv05";
}
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.2vw, 72px); letter-spacing: -0.035em; line-height: 1.0; }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 20px; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
ul, ol, dl { margin: 0; padding: 0; }
li { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--green-soft); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }

.wrap { width: min(1080px, 100% - 40px); margin: 0 auto; }
.wrap.narrow { width: min(680px, 100% - 40px); }
section { padding: clamp(72px, 10vw, 128px) 0; }
.alt { background: var(--bg-2); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.fine { font-size: 14px; color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink);
  transition: background .15s, border-color .15s, transform .08s;
}
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn.primary { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.btn.primary:hover { background: var(--green-hover); border-color: var(--green-hover); }
.btn.ghost { background: transparent; }
.btn.lg { padding: 15px 24px; font-size: 17px; }
.btn[disabled] { opacity: .6; cursor: default; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--green-text); }
.brand span { color: var(--ink); }
.links { display: none; gap: 28px; }
.links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.links a:hover { color: var(--ink); }
@media (min-width: 760px) { .links { display: flex; } }

/* Hero */
.hero { padding-top: clamp(56px, 9vw, 120px); text-align: center; }
.hero .lede { margin: 24px auto 0; max-width: 52ch; }
.hero .cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; }

/* The demo card */
.note {
  margin: clamp(56px, 7vw, 88px) auto 0; width: min(560px, 100% - 40px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); text-align: left; overflow: hidden;
}
.note-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.ten { display: flex; gap: 5px; }
.ten li { width: 14px; height: 6px; border-radius: 3px; background: var(--line-2); }
.ten li.ok { background: var(--green); }
.ten li.skip { background: var(--faint); }
.ten li.now { background: var(--ink); width: 22px; }
.step { padding: 16px 20px 18px; border-bottom: 1px solid var(--line); }
.step.last { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 0; }
.lbl { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lbl i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: var(--green-ink); font-style: normal; font-size: 11px; letter-spacing: 0; }
.who { margin-top: 10px; font-weight: 600; font-size: 15.5px; }
.why { margin-top: 6px; padding: 10px 12px; background: var(--green-soft); color: var(--green-text); border-radius: var(--r); font-size: 14px; line-height: 1.45; }
.head { margin-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.head div { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 2px 0; }
.head dt { color: var(--faint); }
.head dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.body { padding-top: 12px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.body p + p { margin-top: 10px; }
.body mark { background: var(--mark); color: inherit; padding: 0 2px; border-radius: 3px; }
.acts { display: flex; gap: 8px; }
.acts .btn { padding: 8px 14px; font-size: 14px; }
.after { display: grid; gap: 4px; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--green-soft); color: var(--green-text); font-size: 13.5px; line-height: 1.45; }
.after b { font-weight: 700; }
.note figcaption { padding: 12px 20px; border-top: 1px solid var(--line); background: var(--bg-2); font-size: 13px; color: var(--muted); text-align: center; }

.demo-link { margin: 20px auto 0; width: min(560px, 100% - 40px); text-align: center; font-size: 15px; color: var(--muted); }
.demo-link a { color: var(--green-text); font-weight: 600; }

/* Mirror */
.mirror h2 { margin-bottom: 24px; }
.big { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; color: var(--ink-2); letter-spacing: -0.01em; }
.maybe { margin-top: 36px; border-top: 1px solid var(--line-2); }
.maybe li { padding: 18px 0; border-bottom: 1px solid var(--line-2); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; color: var(--ink); }
.turn { margin-top: 36px; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; font-weight: 600; letter-spacing: -0.015em; }

/* Uses */
.uses h2 { margin-bottom: 40px; }
.cases { display: grid; gap: 14px; }
@media (min-width: 700px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cases { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.cases li { padding: 26px 26px 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cases h3 { margin-bottom: 10px; }
.cases p { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.rule { margin: 32px auto 0; max-width: 62ch; text-align: center; font-size: 17px; color: var(--ink-2); }

/* How */
.how h2 { margin-bottom: 48px; }
.steps { display: grid; gap: 40px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.steps li { display: grid; gap: 12px; align-content: start; }
.n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: var(--green-ink); font-weight: 700; font-size: 15px; }
.steps p { color: var(--ink-2); max-width: 34ch; }
.guard { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); max-width: 70ch; }

/* Expect */
.split { display: grid; gap: 40px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
.expect h2 { margin-bottom: 20px; }
.expect p { color: var(--ink-2); max-width: 46ch; }
.expect p + p { margin-top: 14px; }
.nums { display: grid; gap: 8px; }
.nums div { display: grid; gap: 2px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.nums dd { margin: 0; font-size: clamp(40px, 4.6vw, 60px); white-space: nowrap; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.nums dt { font-size: 15px; color: var(--muted); }

/* Fit */
.fit h3 { margin-bottom: 16px; }
.fit li { position: relative; padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.fit li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.fit .no li::before { width: 10px; height: 0; border-left: 0; border-bottom: 2px solid var(--faint); transform: none; top: 20px; }
.fit .small { margin-top: 16px; }

/* Price */
.price h2 { margin-bottom: 40px; text-align: center; }
.plans { display: grid; gap: 16px; }
@media (min-width: 820px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plans.one { grid-template-columns: none; justify-items: center; }
.plans.one .plan { width: min(480px, 100%); }
.plan { position: relative; display: grid; gap: 14px; align-content: start; padding: 28px 26px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.plan.pick { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), var(--shadow); }
.tag { position: absolute; top: -12px; left: 24px; padding: 3px 10px; border-radius: 999px; background: var(--green); color: var(--green-ink); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.amt { font-size: 15px; color: var(--muted); }
.amt span { font-size: 38px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); margin-right: 4px; }
.plan ul { display: grid; gap: 8px; padding: 6px 0 8px; border-top: 1px solid var(--line); }
.plan li { padding: 4px 0 0 22px; position: relative; font-size: 15px; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 1px; top: 11px; width: 10px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; width: 100%; }
.under { margin-top: 28px; text-align: center; font-size: 15px; color: var(--muted); }

/* FAQ */
.faq h2 { margin-bottom: 24px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 16px; font-size: 24px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 60ch; }

/* Start */
.start { text-align: center; }
.month { margin: 0 auto 56px; max-width: 34ch; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; color: var(--ink-2); text-wrap: balance; }
.month em { font-style: normal; color: var(--ink); font-weight: 600; }
.start .lede { margin: 20px auto 0; }
.form { margin: 36px auto 0; width: min(460px, 100%); display: grid; gap: 14px; text-align: left; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input { padding: 13px 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--card); font-size: 16px; }
.form input:focus { outline: none; border-color: var(--green); box-shadow: var(--ring); }
.form input::placeholder { color: var(--faint); }
.form textarea { padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--card); font-size: 16px; line-height: 1.45; resize: vertical; min-height: 44px; }
.form textarea:focus { outline: none; border-color: var(--green); box-shadow: var(--ring); }
.form textarea::placeholder { color: var(--faint); }
.form label em { font-style: normal; font-weight: 400; color: var(--muted); }
.goals { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.goals legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.goals label { display: inline-flex; }
.goals input { position: absolute; opacity: 0; width: 0; height: 0; }
.goals span { display: inline-block; padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; background: var(--card); }
.goals input:checked + span { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.goals input:focus-visible + span { box-shadow: var(--ring); }
.form .btn { margin-top: 6px; }
.form .fine { text-align: center; }
.hp { position: absolute !important; left: -9999px; }
.err { display: none; padding: 10px 12px; border-radius: var(--r); background: #fbe9e4; color: #8a2f12; font-size: 14px; }
.err.on { display: block; }
.done { display: none; margin: 36px auto 0; padding: 28px; width: min(460px, 100%); background: var(--green-soft); border-radius: var(--r-lg); color: var(--green-text); }
.done.on { display: block; }
.done h3 { margin-bottom: 8px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 100px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer a { color: var(--ink-2); }
@media (min-width: 760px) { footer { padding-bottom: 36px; } }

/* Sticky phone CTA */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); z-index: 30; transition: transform .2s; }
.sticky .btn { width: 100%; padding: 14px; font-size: 16px; }
.sticky.hide { transform: translateY(110%); }
@media (min-width: 760px) { .sticky { display: none; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .sticky { transition: none; } }

/* Demo bar on narrow phones */
.note-bar span { white-space: nowrap; }
@media (max-width: 430px) {
  .note-bar { padding: 10px 16px; font-size: 12px; }
  .ten { gap: 3px; }
  .ten li { width: 9px; height: 5px; }
  .ten li.now { width: 15px; }
}

/* Legal pages */
.legal a { color: var(--ink-2); }
.page { padding: 56px 0 96px; }
.page h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 8px; }
.page .when { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.page h2 { font-size: 22px; margin: 36px 0 10px; }
.page p, .page li { color: var(--ink-2); font-size: 16.5px; }
.page li { list-style: disc; margin-left: 22px; padding: 3px 0; }
