:root {
  --bg: #f4f1ea;
  --surface: #ffffff;
  --ink: #1d2420;
  --muted: #5b645e;
  --line: #ddd7cb;
  --accent: #2f5d50;
  --accent-ink: #ffffff;
  --warm: #c8743c;
  --radius: 14px;
  --max: 1080px;
  font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151a17;
    --surface: #1d2420;
    --ink: #eef0ea;
    --muted: #a6aea8;
    --line: #2f3833;
    --accent: #7fb7a4;
    --accent-ink: #10201a;
    --warm: #e39a63;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--warm); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 19px;
}
.brand svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 14px;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 16px; }
h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 850; }
h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 750; }
.lead { font-size: 20px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
p { margin: 0 0 16px; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
}
.btn:hover { color: var(--accent-ink); filter: brightness(1.08); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  margin-left: 8px;
}
.btn.ghost:hover { border-color: var(--ink); }

.hero-art {
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-art svg { width: 82%; height: auto; }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head p { color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
section.alt .card { background: var(--bg); }
.card .num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--warm);
  margin-bottom: 10px;
  display: block;
}
.card p { color: var(--muted); margin: 0; }

.steps { counter-reset: step; display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.steps li::before {
  content: counter(step);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid; place-items: center;
  font-weight: 800;
}
.steps strong { display: block; }
.steps span { color: var(--muted); }

/* Pricing */
.price-list { display: grid; gap: 16px; }
.price {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  align-items: baseline;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.price h3 { margin: 0; }
.price .amount { font-size: 24px; font-weight: 800; white-space: nowrap; }
.price .amount small { font-size: 14px; font-weight: 600; color: var(--muted); }
.price p { grid-column: 1 / -1; color: var(--muted); margin: 0; }
.note { color: var(--muted); font-size: 15px; margin-top: 18px; }

/* Two-column text */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { font-weight: 650; text-align: right; }

.callout {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 22px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.callout h2 { margin: 0 0 6px; }
.callout p { margin: 0; opacity: 0.85; }
.callout .btn { background: var(--accent-ink); color: var(--accent); }

/* Page header */
.page-head { padding: 56px 0 8px; }
.page-head .lead { margin-bottom: 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
  color: var(--muted);
  font-size: 14px;
  margin-top: 40px;
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* 404 */
.notfound { padding: 96px 0; text-align: center; }
.notfound .big { font-size: clamp(72px, 14vw, 140px); font-weight: 900; letter-spacing: -0.05em; color: var(--warm); line-height: 1; margin-bottom: 12px; }

@media (max-width: 860px) {
  .hero { padding: 48px 0 32px; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { max-width: 360px; }
  .cards { grid-template-columns: 1fr; }
  .callout { padding: 28px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .btn.ghost { margin: 10px 0 0; }
  .price { grid-template-columns: 1fr; }
}
