:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #15201d;
  --muted: #55615d;
  --line: #e2ded4;
  --brand: #12332d;
  --brand-2: #1d5348;
  --accent: #f2b84b;
  --ok: #17694f;
  --err: #a8321f;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* { 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(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--brand-2); }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.15rem; line-height: 1.3; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(247, 245, 240, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font: inherit; font-weight: 600; font-size: 1rem;
  color: #fff; background: var(--brand);
  border: 1px solid var(--brand); border-radius: 10px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--brand-2); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: rgba(18, 51, 45, 0.07); }
.btn-light { background: var(--accent); border-color: var(--accent); color: #23190a; }
.btn-light:hover { background: #f6c868; }

/* Hero */
.hero { padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 600; color: var(--brand-2); background: #e6efe9; padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.lead { margin-top: 20px; font-size: 1.15rem; color: var(--muted); max-width: 34em; }

.waitlist { margin-top: 30px; max-width: 520px; }
.waitlist-row { display: flex; gap: 10px; }
.waitlist input[type="email"] {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 16px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid #cfcabd; border-radius: 10px;
}
.waitlist input[type="email"]:focus { border-color: var(--brand-2); outline: 3px solid rgba(29, 83, 72, 0.2); outline-offset: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; margin-top: 10px; font-size: 0.95rem; font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.form-note { font-size: 0.88rem; color: var(--muted); }

.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -30px rgba(18, 51, 45, 0.45); overflow: hidden; transform: rotate(1.2deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fbfaf7; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d4c7; }
.mock-bar span { margin-left: 10px; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.mock-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 16px; }
.mock-title { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-bottom: 10px; }
.mock-item { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; font-size: 0.82rem; line-height: 1.35; }
.mock-item b { font-weight: 600; }
.mock-item span { color: var(--muted); font-size: 0.76rem; }
.mock-item.warn { border-color: #f0d49a; background: #fff9ec; }
.pill { align-self: flex-start; padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.pill.p1 { background: #e6efe9; color: var(--ok) !important; }
.pill.p2 { background: #fdf1d6; color: #7a5410 !important; }
.pill.p3 { background: #ecebf7; color: #45408a !important; }
.mock-caption { margin-top: 16px; font-size: 0.8rem; color: var(--muted); text-align: center; }

/* Sections */
.section { padding: 84px 0; }
.section.alt { background: #efece4; border-block: 1px solid var(--line); }
.kicker { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 10px; }
.section-lead { margin-top: 14px; color: var(--muted); max-width: 40em; }

.steps { list-style: none; padding: 0; margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { border-top: 2px solid var(--brand); padding-top: 18px; }
.step-n { font-family: var(--serif); font-size: 1.6rem; color: var(--brand-2); }
.steps h3 { margin: 6px 0 8px; }
.steps p, .who p { color: var(--muted); }

.cards { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.icon { width: 44px; height: 44px; border-radius: 10px; background: #e6efe9; display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { margin-top: 8px; color: var(--muted); }
.card ul, .plan ul { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 8px; font-size: 0.95rem; }
.card li, .plan li { position: relative; padding-left: 24px; }
.card li::before, .plan li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 10px; height: 5px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

.who { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.who > div { padding: 28px; }
.who > div + div { border-left: 1px solid var(--line); }
.who h3 { margin-bottom: 8px; }

.plans { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 22px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); }
.plan-for { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
.price { margin-top: 18px; color: var(--muted); }
.price span { font-family: var(--serif); font-size: 2.8rem; font-weight: 600; color: var(--ink); line-height: 1; }
.plan ul { margin-bottom: 26px; }
.plan .btn { margin-top: auto; }
.fine { margin-top: 22px; font-size: 0.88rem; color: var(--muted); max-width: 46em; }

.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--brand-2); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--muted); }

.cta { background: var(--brand); color: #f7f5f0; padding: 80px 0; text-align: center; }
.cta p { margin-top: 12px; color: #c9d6d1; }
.cta .waitlist { margin-inline: auto; }
.cta .waitlist input[type="email"] { border-color: transparent; }
.cta .form-status.ok { color: #a9e5cb; }
.cta .form-status.err { color: #ffc2b5; }

/* Footer */
.site-footer { padding: 44px 0 36px; font-size: 0.95rem; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer-name { font-weight: 700; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.copyright { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.86rem; }

/* Legal and simple pages */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.legal .meta { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
.legal h2 { font-family: var(--font); font-size: 1.25rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; margin-top: 40px; }
.legal p, .legal ul { margin-top: 14px; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal .summary { margin-top: 26px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.simple { padding: 110px 0 130px; text-align: center; }
.simple p { margin: 16px auto 28px; color: var(--muted); max-width: 30em; }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .mock { transform: none; }
  .cards, .steps { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr; }
  .who > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .cta { padding: 60px 0; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .header-row { justify-content: space-between; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .waitlist-row { flex-direction: column; }
  .waitlist .btn { width: 100%; }
  .mock-body { grid-template-columns: 1fr; }
  .card, .plan, .who > div { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
