:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --ink: #1f2a24;
  --muted: #5d6a62;
  --line: #e6e0d4;
  --brand: #1f5f4a;
  --brand-ink: #ffffff;
  --accent: #d9822b;
  --tint: #eef4f0;
  --radius: 14px;
  --maxw: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121714;
    --surface: #1a211d;
    --ink: #e9efe9;
    --muted: #a3b0a8;
    --line: #2b352f;
    --brand: #5fbf98;
    --brand-ink: #0d1411;
    --accent: #f0a45a;
    --tint: #1c2923;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 650; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 0.5em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 1.6em 0 0.5em; }
h3 { font-size: 1.15rem; margin: 1.2em 0 0.3em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: Fraunces, Georgia, serif; font-size: 1.35rem; font-weight: 650; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--brand); }
.nav-toggle, .nav-burger { display: none; }

.btn { display: inline-block; background: var(--brand); color: var(--brand-ink) !important; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 600; border: 0; cursor: pointer; font-size: 1rem; }
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--brand) !important; border: 1.5px solid var(--brand); }
.btn-small { padding: 8px 16px; font-size: 0.95rem; }

@media (max-width: 760px) {
  .nav-burger { display: block; width: 40px; height: 40px; position: relative; cursor: pointer; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { position: absolute; left: 9px; width: 22px; height: 2px; background: var(--ink); content: ""; }
  .nav-burger span { top: 19px; }
  .nav-burger span::before { top: -7px; left: 0; }
  .nav-burger span::after { top: 7px; left: 0; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 12px; text-align: center; border-bottom: 0; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}

/* Hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 38em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: 0 20px 50px -30px rgba(31, 95, 74, 0.45); }
.hero-card .row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.hero-card .row:last-child { border-bottom: 0; }
.pill { font-size: 0.78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--brand); white-space: nowrap; }
.pill.warn { color: var(--accent); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 44px; } }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: var(--tint); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); }
.card .num { font-family: Fraunces, Georgia, serif; color: var(--accent); font-size: 1.4rem; font-weight: 650; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 18px 64px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 600; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.price { font-family: Fraunces, Georgia, serif; font-size: 2.4rem; font-weight: 650; margin: 8px 0 0; }
.price small { font-family: Inter, sans-serif; font-size: 0.95rem; color: var(--muted); font-weight: 400; }
.card ul { padding-left: 1.1em; color: var(--ink); }
.card.featured { border: 2px solid var(--brand); }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }

/* Legal / prose pages */
.page-head { padding: 56px 0 8px; }
.prose { max-width: 760px; padding-bottom: 64px; }
.prose p, .prose li { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--tint); }
.table-scroll { overflow-x: auto; }
.note { background: var(--tint); border-left: 4px solid var(--brand); padding: 14px 18px; border-radius: 8px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.contact-grid dt { font-weight: 600; margin-top: 12px; }
.contact-grid dd { margin: 2px 0 0; color: var(--muted); }
form label { display: block; font-weight: 500; margin: 14px 0 6px; }
form input, form select, form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; }
form textarea { min-height: 120px; resize: vertical; }
form .btn { margin-top: 18px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding-top: 44px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 28px; }
.footer-grid a { display: block; color: var(--ink); text-decoration: none; padding: 3px 0; font-size: 0.95rem; }
.footer-grid a:hover { color: var(--brand); }
.footer-grid p { margin: 0 0 8px; }
.footer-brand { font-family: Fraunces, Georgia, serif; font-size: 1.3rem; font-weight: 650; }
.footer-head { font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.footer-base { border-top: 1px solid var(--line); margin-top: 32px; padding: 18px 16px 28px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
