:root {
  --paper: #FFFBF5; --ink: #1E2B2E; --muted: #5B6B6E; --teal: #2A9D8F; --teal-dark: #1F7A70;
  --cream: #FBF4E8; --line: #E8DFD0; --amber: #E0A526;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0F1F1E; --ink: #F3EDE3; --muted: #A9B7B5; --teal: #3DB4A5; --teal-dark: #2A9D8F; --cream: #163330; --line: #24423E; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
main, header, footer { max-width: 720px; margin: 0 auto; padding: 0 20px; }
header { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 8px; }
header a.brand { font-weight: 800; font-size: 1.15em; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
header nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 0.95em; }
header nav a:hover, a:hover { color: var(--teal); }
a { color: var(--teal-dark); }
h1 { font-size: 2em; line-height: 1.15; letter-spacing: -0.02em; margin: 40px 0 12px; }
h2 { font-size: 1.25em; margin-top: 2em; }
.lede { font-size: 1.2em; color: var(--muted); margin-top: 0; }
.hero { padding: 48px 0 24px; }
.hero h1 { font-size: 2.6em; margin-top: 12px; }
.badge { display: inline-block; margin-top: 18px; padding: 12px 20px; border-radius: 12px; background: var(--teal); color: #fff; font-weight: 700; text-decoration: none; }
.badge.soon { background: var(--cream); color: var(--muted); border: 1px solid var(--line); }
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 32px 0; }
.card { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 1.05em; }
.card p { margin: 0; color: var(--muted); font-size: 0.97em; }
.card .n { display: inline-block; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; text-align: center; font-weight: 800; line-height: 28px; margin-bottom: 10px; }
ul { padding-left: 1.2em; }
footer { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 20px; padding-bottom: 40px; color: var(--muted); font-size: 0.92em; }
footer a { color: var(--muted); margin-right: 16px; }
em.date { color: var(--muted); }

/* ───────── Landing page ───────── */
.landing header { padding-top: 22px; }
.hero { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: center; padding: 40px 0 10px; overflow: visible; }
.hero .copy { position: relative; z-index: 2; }
.hero .kicker { display: inline-flex; align-items: center; gap: 8px; background: var(--cream); border: 1px solid var(--line); color: var(--teal-dark); border-radius: 999px; padding: 6px 12px; font-size: 0.85em; font-weight: 700; letter-spacing: 0.02em; }
.hero h1 { font-size: 3.1em; margin: 18px 0 14px; }
.hero h1 .word { display: inline-block; white-space: pre; }
.js-anim .hero h1 .word { opacity: 0; }
.hero .sub { color: var(--muted); font-size: 1.15em; margin: 0 0 22px; max-width: 34ch; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 14px; font-weight: 800; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn.primary { background: var(--teal); color: #fff; box-shadow: 0 6px 0 var(--teal-dark); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--teal-dark); color: #fff; }
.btn.primary:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--teal-dark); }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn.ghost:hover { border-color: var(--teal); color: var(--teal); }
.hero .stage { position: relative; height: 380px; }
.hero .horse { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 300px; filter: drop-shadow(0 18px 24px rgba(30,43,46,.18)); }
.js-anim .hero .horse { opacity: 0; }
.hero .puff { position: absolute; border-radius: 50%; }
.js-anim .hero .puff { opacity: 0; }
.hero .puff.teal { background: var(--teal); }
.hero .puff.amber { background: var(--amber); }
.hero .puff.cream { background: var(--cream); border: 1px solid var(--line); }
.hero .plate { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); width: 320px; height: 42px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); z-index: -1; }
.hero .bubble { position: absolute; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 10px 14px; font-weight: 700; font-size: 0.95em; box-shadow: 0 8px 20px rgba(30,43,46,.08); }
.js-anim .hero .bubble { opacity: 0; }
@media (prefers-color-scheme: dark) { .hero .bubble { background: var(--cream); }
.js-anim .bars .rail i { width: 0; } }
.marquee { margin: 48px 0 0; padding: 12px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); color: var(--muted); font-weight: 700; white-space: nowrap; overflow: hidden; }
.marquee .track { display: inline-block; }
.marquee span { display: inline-block; padding: 0 22px; }
section.block { padding: 56px 0 0; }
section.block h2 { font-size: 1.9em; letter-spacing: -0.02em; margin: 0 0 8px; }
section.block .lede { margin-bottom: 24px; }
.steps.landing-steps { gap: 18px; }
.step { position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: 22px; padding: 22px 20px 20px; overflow: hidden; }
.js-anim .step { opacity: 0; transform: translateY(24px); }
.step img { width: 92px; height: 92px; object-fit: contain; display: block; margin: -4px 0 8px; }
.step .n { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step h3 { margin: 6px 0 6px; font-size: 1.1em; }
.step p { margin: 0; color: var(--muted); font-size: 0.97em; }
.tasting { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: center; }
.phone { position: relative; width: 300px; margin: 0 auto; border-radius: 44px; background: var(--ink); padding: 14px; box-shadow: 0 30px 60px rgba(30,43,46,.22); }
.phone .screen { border-radius: 32px; background: var(--paper); padding: 22px 18px 24px; min-height: 520px; }
.phone .topbar { display: flex; justify-content: space-between; font-size: 0.75em; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.phone .card-title { font-weight: 800; font-size: 1.05em; margin: 0 0 4px; }
.phone .card-sub { color: var(--muted); font-size: 0.85em; margin: 0 0 16px; }
.gauge { position: relative; width: 190px; height: 190px; margin: 0 auto 8px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 16; stroke-linecap: round; }
.gauge .track { stroke: var(--line); }
.gauge .fill { stroke: var(--teal); stroke-dasharray: 534; stroke-dashoffset: 203; }
.js-anim .gauge .fill { stroke-dashoffset: 534; }
.gauge .num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3.2em; font-weight: 900; letter-spacing: -0.03em; }
.gauge .num small { display: block; font-size: 0.32em; color: var(--muted); font-weight: 700; margin-top: -6px; text-align: center; }
.verdict { text-align: center; font-weight: 800; color: var(--teal-dark); margin: 0 0 14px; }
.js-anim .verdict { opacity: 0; }
.bars { display: grid; gap: 9px; }
.bar { display: grid; grid-template-columns: 96px 1fr 30px; align-items: center; gap: 8px; font-size: 0.8em; color: var(--muted); font-weight: 700; }
.bar .rail { height: 9px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bar .rail i { display: block; height: 100%; width: var(--w, 0); border-radius: 6px; background: var(--teal); }
.bar .rail i.amber { background: var(--amber); }
.bar .rail i.sage { background: #7FA86F; }
.tasting .text h2 { margin-top: 0; }
.tasting .text ul { color: var(--muted); padding-left: 1.1em; }
.tasting .text li { margin: 6px 0; }
.plus { margin-top: 64px; background: var(--teal); color: #fff; border-radius: 28px; padding: 36px 32px; display: grid; grid-template-columns: 1fr 180px; gap: 20px; align-items: center; overflow: hidden; position: relative; }
.plus h2 { color: #fff; margin: 0 0 8px; font-size: 1.8em; }
.plus p, .plus li { color: rgba(255,255,255,.88); }
.plus ul { margin: 12px 0 0; padding-left: 1.1em; }
.plus .price { display: inline-block; margin-top: 16px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 12px; padding: 8px 12px; font-weight: 800; }
.plus img { width: 180px; justify-self: end; transform: translateY(12px); }
.faqish { margin-top: 56px; }
.faqish details { border-top: 1px solid var(--line); padding: 14px 0; }
.faqish summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faqish summary::after { content: "+"; color: var(--teal); font-weight: 900; }
.faqish details[open] summary::after { content: "–"; }
.faqish p { color: var(--muted); margin: 8px 0 0; }
.js-anim .reveal { opacity: 0; transform: translateY(18px); }
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .hero h1 { font-size: 2.3em; }
  .hero .stage { height: 300px; order: -1; }
  .hero .horse { width: 230px; }
  .tasting { grid-template-columns: 1fr; }
  .plus { grid-template-columns: 1fr; }
  .plus img { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .word, .hero .horse, .step, .reveal, .verdict, .hero .bubble { opacity: 1 !important; transform: none !important; }
  .marquee .track { animation: none !important; }
}
