:root {
  --bg: #faf7ef;
  --ink: #1c2420;
  --brand: #1a3c34;
  --brand-ink: #f5efe0;
  --accent: #c96f2e;
  --card: #fffdf7;
  --line: #e2d9c3;
  --muted: #5a625d;
  --radius: 14px;
  --max: 68rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--brand); color: var(--brand-ink);
  padding: .6rem 1rem; border-radius: 0 0 8px 8px; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 239, .96);
  border-bottom: 1px solid var(--line);
}
.site-header nav {
  max-width: var(--max); margin: 0 auto; padding: .7rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1.15rem;
  color: var(--brand); text-decoration: none; margin-right: auto;
}
.nav-links {
  display: flex; align-items: center; gap: 1.1rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav-links a:not(.btn):hover { text-decoration: underline; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 8px; font-size: 1.3rem; padding: .15rem .6rem; cursor: pointer;
}

/* layout */
main > section {
  max-width: var(--max); margin: 0 auto; padding: 3.5rem 1.25rem;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); line-height: 1.05; margin: .4rem 0 1rem; color: var(--brand); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.15; color: var(--brand); margin: 0 0 1rem; }
.section-lede { font-size: 1.2rem; color: var(--muted); max-width: 44rem; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  font-weight: 700; color: #8f4d15; margin: 0;
}
.lede { font-size: 1.25rem; max-width: 36rem; }

/* buttons */
.btn {
  display: inline-block; padding: .7rem 1.3rem; border-radius: 999px;
  border: 2px solid var(--brand); text-decoration: none; font-weight: 650;
  color: var(--brand); background: transparent;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-ghost { border-color: var(--brand); }
.btn-small { padding: .4rem .9rem; }
.btn:hover { filter: brightness(1.08); }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0; }

/* hero */
.hero { padding-top: 4rem; }
.hero-inner {
  display: grid; grid-template-columns: 1.2fr .8fr;
  gap: 3rem; align-items: center;
}
.hero-points { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .4rem; }
.hero-points li { padding-left: 1.6rem; position: relative; }
.hero-points li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.hero-shot { margin: 0; text-align: center; }
.hero-shot picture { display: block; }
.hero-shot img {
  max-width: min(300px, 70vw); height: auto; border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -24px rgba(26, 60, 52, .45);
}
.hero-shot figcaption { color: var(--muted); font-size: .9rem; margin-top: .6rem; }

/* proof */
.proof { padding-top: 0; padding-bottom: 0; }
.proof-stats {
  list-style: none; margin: 0; padding: 1.4rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  background: var(--brand); color: var(--brand-ink); border-radius: var(--radius);
  text-align: center;
}
.proof-stats strong { display: block; font-size: 2rem; }
.proof-stats span { font-size: .95rem; opacity: .9; }

/* tour */
.tour-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem;
}
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem;
}
.card picture { display: block; }
.card img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.card h3 { margin: .9rem 0 .4rem; color: var(--brand); }
.card p { margin: 0; color: var(--muted); }
.card-text { display: flex; flex-direction: column; justify-content: center; }

/* steps / free / get / faq */
.steps { display: grid; gap: 1rem; padding-left: 0; list-style: none; counter-reset: s; }
.steps li {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem 1.3rem;
}
.free-list { columns: 1; padding-left: 1.2rem; }
.hosting-note {
  background: var(--card); border: 1px dashed var(--line);
  border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 0;
}
.hosting-commands {
  background: var(--brand); color: var(--brand-ink);
  border-radius: var(--radius); padding: 1rem 1.2rem;
  overflow-x: auto; font-size: .95rem;
}
.dl-list { list-style: none; padding: 0; display: grid; gap: 1rem; max-width: 34rem; }
.dl-list li { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.dl-note { color: var(--muted); font-size: .9rem; }
details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: .7rem;
}
summary { font-weight: 650; cursor: pointer; color: var(--brand); }
details p { margin: .6rem 0 0; }

/* footer */
footer {
  border-top: 1px solid var(--line); margin-top: 2rem;
  padding: 2rem 1.25rem 3rem; text-align: center; color: var(--muted);
}
footer nav { display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
footer a { color: var(--brand); }

/* responsive */
@media (max-width: 60rem) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .tour-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 40rem) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; gap: .9rem;
  }
  .nav-links.open { display: flex; }
  .tour-grid { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #101815;
    --ink: #f2ede0;
    --brand: #7fbfa9;
    --brand-ink: #10201b;
    --accent: #e09a52;
    --card: #16211d;
    --line: #2c3d37;
    --muted: #b9c4ba;
  }
  .eyebrow { color: #f0b573; } /* ~8:1 on dark bg, >=4.5 in both modes */
  .site-header { background: rgba(16, 24, 21, .96); }
  .proof-stats { background: #1a3c34; color: #f5efe0; }
  .hero-shot img {
    border-color: var(--line);
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .8);
  }
  .hosting-commands {
    background: #0b120f; color: #f2ede0; border: 1px solid var(--line);
  }
}
