:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #16181d;
  --muted: #5d6270;
  --line: #e4e1da;
  --accent: #c2410c;
  --accent-ink: #ffffff;
  --accent-soft: #fdeee6;
  --radius: 14px;
  --max: 1080px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317;
    --surface: #191c22;
    --ink: #eceae4;
    --muted: #9aa0ad;
    --line: #2a2e36;
    --accent: #fb7a3c;
    --accent-ink: #16181d;
    --accent-soft: #2b1d16;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
img { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-family: var(--display); font-weight: 600; font-size: 1.25rem; text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 22px; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.brand { white-space: nowrap; }
@media (max-width: 640px) { .nav { gap: 14px; font-size: 0.88rem; } .nav .hide-sm { display: none; } .brand { font-size: 1.1rem; } }
@media (max-width: 400px) { .nav { gap: 12px; font-size: 0.82rem; } }

/* Type */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.eyebrow { font: 600 0.78rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }

/* Sections */
section { padding: 88px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }
.hero { padding: 104px 0 88px; }
@media (max-width: 600px) { section { padding: 64px 0; } .hero { padding: 72px 0 64px; } }

.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer; font-family: inherit;
}
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); color: var(--accent-ink); }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid.two, .grid.three { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.card p:last-child { margin-bottom: 0; }
.card .num { font: 600 0.8rem var(--mono); color: var(--accent); }

.path { display: flex; flex-direction: column; }
.path ul { padding-left: 18px; margin: 0 0 20px; color: var(--muted); }
.path li { margin-bottom: 6px; }
.path .btn { margin-top: auto; align-self: flex-start; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head p { margin: 0; max-width: 520px; }

.stat { font: 600 1.9rem/1.1 var(--display); color: var(--accent); margin-bottom: 12px; letter-spacing: -0.02em; }
.stats h3 { margin-bottom: 6px; }
.offer { list-style: none; padding-left: 0 !important; }
.offer li { padding-left: 16px; border-left: 2px solid var(--accent-soft); margin-bottom: 12px !important; }
.offer strong { color: var(--ink); }
.useful { margin-top: 40px; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .when { font: 0.88rem var(--mono); color: var(--muted); padding-top: 3px; }
.timeline h3 { margin-bottom: 4px; }
@media (max-width: 600px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 0.85rem; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); }

/* Feature (WodWatts teaser) */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .feature { grid-template-columns: 1fr; } }
.meter {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  font-family: var(--mono);
}
.meter .big { font-size: 3.4rem; font-weight: 600; letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.meter .row { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 0.9rem; }
.meter .row:first-of-type { margin-top: 18px; }

/* Contact */
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; }

footer { padding: 36px 0 48px; color: var(--muted); font-size: 0.88rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
