:root {
  --bg: #fbfaf7;
  --bg-band: #f1efe8;
  --text: #1d1f24;
  --muted: #555a63;
  --accent: #1f5f4f;
  --accent-text: #ffffff;
  --accent-soft: #dcebe5;
  --border: #d7d4cb;
  --card: #ffffff;
  --tag: #8a4b08;
  --tag-bg: #fbecd8;
  --focus: #b4500f;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --bg-band: #1b1e23;
    --text: #ecebe7;
    --muted: #b3b6bd;
    --accent: #6fc3a8;
    --accent-text: #0f1a16;
    --accent-soft: #23362f;
    --border: #353a42;
    --card: #1f2329;
    --tag: #f5c58a;
    --tag-bg: #3a2c1a;
    --focus: #f5a65b;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html { -webkit-text-size-adjust: 100%; }

body {
  overflow-wrap: break-word;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 1em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--card); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

.draft-banner { background: var(--tag-bg); color: var(--tag); text-align: center; font-size: 0.9rem; padding: 6px 16px; }

.site-header { border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 1.25rem; text-decoration: none; color: var(--text); display: flex; align-items: center; gap: 8px; }
.brand-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: var(--accent-text); }
.nav { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); text-decoration: underline; }
.header-row nav { flex: 1; }
@media (max-width: 760px) {
  .header-row nav { order: 3; flex-basis: 100%; padding-bottom: 10px; }
  .nav { gap: 12px; font-size: 0.95rem; }
}

.btn {
  display: inline-block; background: var(--accent); color: var(--accent-text); border: 2px solid var(--accent);
  padding: 0.7em 1.3em; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 1rem; cursor: pointer;
  font-family: inherit;
}
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-small { padding: 0.45em 1em; font-size: 0.9rem; }

.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--accent); font-weight: 700; }
.lead { font-size: 1.2rem; color: var(--muted); }
.lead-small { color: var(--muted); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.5em 0; }
.fine { font-size: 0.88rem; color: var(--muted); }

.phone { margin: 0; justify-self: center; width: 100%; max-width: 340px; }
.phone-screen { background: var(--card); border: 1px solid var(--border); border-radius: 28px; padding: 20px 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.bubble { padding: 10px 12px; border-radius: 14px; font-size: 0.95rem; margin-bottom: 10px; }
.bubble .who { display: block; font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.bubble-ai { background: var(--accent-soft); margin-right: 24px; }
.bubble-caller { background: var(--bg-band); margin-left: 24px; }
.ring-card { border: 2px solid var(--accent); border-radius: 14px; padding: 12px; font-size: 0.95rem; margin: 0; }
.pill { display: inline-block; margin-top: 8px; background: var(--accent); color: var(--accent-text); border-radius: 999px; padding: 2px 12px; font-size: 0.85rem; }
.pill-muted { background: var(--bg-band); color: var(--text); }

section { padding: 56px 0; }
.band { background: var(--bg-band); }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-weight: 700; margin-bottom: 12px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin: 0; }
.card p:last-child { margin-bottom: 0; }
.placeholder { border-style: dashed; color: var(--muted); }
.placeholder footer { font-size: 0.88rem; }
.note { margin-top: 24px; color: var(--muted); }

.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; background: var(--tag-bg); color: var(--tag); border-radius: 6px; padding: 1px 7px; vertical-align: middle; }

.privacy-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.privacy-list li { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
@media (max-width: 760px) { .privacy-list { grid-template-columns: 1fr; } }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; position: relative; }
.tier-featured { border: 2px solid var(--accent); }
.badge { position: absolute; top: -13px; left: 22px; background: var(--accent); color: var(--accent-text); font-size: 0.78rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; margin: 0; }
.price { margin: 0; }
.amount { font-size: 2.3rem; font-weight: 700; }
.tier ul { padding-left: 1.2em; margin: 1em 0 1.5em; }
.tier li { margin-bottom: 0.4em; }

form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 1em; }
.field { margin-bottom: 18px; border: 0; padding: 0; }
label, legend { display: block; font-weight: 600; margin-bottom: 6px; }
input[type="email"], input[type="text"], select {
  width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.6em 0.8em; min-height: 44px;
}
.help { font-size: 0.88rem; color: var(--muted); margin: 6px 0 0; }
.radio, .check { font-weight: 400; display: flex; align-items: center; gap: 10px; min-height: 36px; }
.radio input, .check input { width: 20px; height: 20px; accent-color: var(--accent); }
.check { margin-bottom: 18px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 14px 0 0; font-weight: 600; min-height: 1.6em; }
.status.error { color: var(--focus); }

details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 0 18px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; padding: 16px 0; min-height: 44px; }
details p { margin-top: 0; }

@media (max-width: 480px) {
  section { padding: 40px 0; }
  .hero { padding: 36px 0 28px; }
  .tier, .card, .steps li, .privacy-list li { padding: 18px; }
  form { padding: 18px; }
  .cta-row .btn { flex: 1 1 100%; text-align: center; }
  .header-row .btn-small { margin-left: auto; }
}

.site-footer { border-top: 1px solid var(--border); padding: 28px 0; }
