:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-2: #efece4;
  --ink: #1d2a24;
  --ink-2: #4a5a52;
  --ink-3: #6f7c75;
  --line: #ddd8cc;
  --green: #2f5544;
  --green-2: #3d6b56;
  --green-soft: #e3ebe5;
  --amber: #b5762a;
  --amber-soft: #f6ead8;
  --red: #a8432f;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::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-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-2); margin-bottom: .8rem; display: block; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 100; border-radius: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,245,240,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.08rem; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: .95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 72px 0; }
.section-alt { background: var(--surface-2); }
.section-dark { background: var(--green); color: #f2f5f1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .muted { color: #c9d7cf; }
.section-head { max-width: 680px; margin-bottom: 40px; }

/* Hero */
.hero { padding: 64px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero p.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 34ch; margin-bottom: 1.6rem; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--ink-3); }

/* Phone mockup */
.phone { width: 300px; max-width: 100%; margin: 0 auto; background: #1d2a24; border-radius: 40px; padding: 12px; box-shadow: 0 30px 60px -20px rgba(29,42,36,.35); }
.screen { background: var(--bg); border-radius: 30px; overflow: hidden; padding: 18px 14px 20px; font-size: 13px; line-height: 1.4; }
.screen-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 700; color: var(--green); }
.screen h4 { font-family: var(--serif); font-size: 19px; margin: 0 0 2px; color: var(--ink); }
.screen .addr { color: var(--ink-3); font-size: 12px; margin-bottom: 12px; }
.tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.tabs span { padding: 5px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 11px; font-weight: 600; }
.tabs span.on { background: var(--green); color: #fff; }
.entry { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 11px; margin-bottom: 8px; }
.entry b { display: block; font-size: 12.5px; color: var(--ink); }
.entry .meta { color: var(--ink-3); font-size: 11px; margin-top: 3px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pill { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 600; }
.pill-ok { background: var(--green-soft); color: var(--green); }
.pill-warn { background: var(--amber-soft); color: var(--amber); }
.screen .fab { margin-top: 10px; background: var(--green); color: #fff; text-align: center; border-radius: 999px; padding: 9px; font-weight: 700; font-size: 12.5px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.steps li::before { counter-increment: s; content: counter(s); display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps h3 { margin-bottom: .35em; }
.steps p { margin: 0; color: var(--ink-2); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card .ico svg { width: 24px; height: 24px; }
.card p { margin: 0; color: var(--ink-2); }
.section-alt .card { background: var(--bg); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.flip > :first-child { order: 2; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checks li { padding-left: 32px; position: relative; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5544' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.section-dark .checks li::before { background-color: rgba(255,255,255,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }

/* Compare: scope example */
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.scope div { border-radius: var(--radius-sm); padding: 16px; border: 1px solid var(--line); background: var(--surface); }
.scope .yes { border-color: #b9cfc2; }
.scope .no { border-style: dashed; color: var(--ink-3); }
.scope small { display: block; font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.scope .yes small { color: var(--green); }
.scope .no small { color: var(--red); }

/* Doc mock */
.doc { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px 24px; box-shadow: 0 20px 40px -24px rgba(29,42,36,.35); font-size: 13px; line-height: 1.45; max-width: 420px; margin: 0 auto; }
.doc .dt { font-size: 11px; color: var(--ink-3); }
.doc h4 { font-family: var(--serif); font-size: 20px; margin: 6px 0 2px; }
.doc .row { border-top: 1px solid var(--line); padding: 9px 0; display: flex; justify-content: space-between; gap: 10px; }
.doc .row span:last-child { color: var(--ink-3); text-align: right; }
.doc .code { margin-top: 12px; font-family: ui-monospace, Menlo, monospace; background: var(--surface-2); border-radius: 6px; padding: 6px 8px; display: inline-block; font-size: 12px; }

/* Pricing */
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 34px; }
.price { font-family: var(--serif); font-size: 3.4rem; line-height: 1; margin: 6px 0 4px; }
.price small { font-family: var(--sans); font-size: 1rem; color: var(--ink-2); font-weight: 500; }
.price-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items: start; }
.tag { display: inline-block; background: var(--green-soft); color: var(--green); padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--green); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 18px; color: var(--ink-2); }

/* Page header */
.page-head { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.page-head p { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; margin: 0; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.placeholder { background: var(--amber-soft); border: 1px dashed var(--amber); color: #6b4614; border-radius: var(--radius-sm); padding: 14px 16px; font-size: .95rem; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .btn-row { justify-content: center; }
.cta-band p { max-width: 52ch; margin: 0 auto 1.6em; }

/* Footer */
.site-footer { background: #1d2a24; color: #c9d1cc; padding: 56px 0 32px; font-size: .95rem; }
.site-footer a { color: #e8eee9; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.foot-note { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: .85rem; color: #9aa69f; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 980px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.open + .mobile-menu { display: block; }
  .hero-grid, .split, .price-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.flip > :first-child { order: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .hero { padding: 36px 0 56px; }
  .cards, .scope { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
  .btn-row .btn { flex: 1 1 auto; }
  .nav-cta .btn-primary { display: none; }
  .price-card { padding: 24px; }
}
.mobile-menu { display: none; border-bottom: 1px solid var(--line); background: var(--bg); }
.mobile-menu ul { list-style: none; margin: 0; padding: 8px 16px 20px; }
.mobile-menu li a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; }
.mobile-menu .btn-row { margin-top: 16px; }
.mobile-menu .btn-row a { display: inline-flex; padding: 0 22px; border-bottom: 1.5px solid; }
.mobile-menu .btn-row a.btn-primary { color: #fff; border-color: var(--green); }
.mobile-menu .btn-row a.btn-ghost { color: var(--ink); border-color: var(--ink); }
@media (min-width: 981px) { .mobile-menu { display: none !important; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
