:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #17181a;
  --muted: #5d6066;
  --line: #e4e1da;
  --accent: #c2410c;
  --accent-ink: #ffffff;
  --code-bg: #f2efe8;
  --radius: 14px;
  --max: 1040px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111214;
    --surface: #18191c;
    --ink: #ecebe8;
    --muted: #a3a29e;
    --line: #2a2b2f;
    --accent: #fb923c;
    --accent-ink: #1a1009;
    --code-bg: #1f2024;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111214; --surface: #18191c; --ink: #ecebe8; --muted: #a3a29e;
  --line: #2a2b2f; --accent: #fb923c; --accent-ink: #1a1009; --code-bg: #1f2024;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
a { color: inherit; text-underline-offset: 3px; }
code, pre { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.86em; }
:not(pre) > code { background: var(--code-bg); padding: 0.1em 0.35em; border-radius: 5px; }
pre {
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  overflow-x: auto;
  line-height: 1.5;
  margin: 0;
}

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

.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.brand { font-weight: 650; letter-spacing: -0.01em; text-decoration: none; }
.brand span { color: var(--muted); font-weight: 450; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 0.95em; }

.hero { padding: 64px 0 40px; }
.eyebrow {
  display: inline-block; font-size: 0.8em; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 18px; }
h2 { font-size: 1.6rem; letter-spacing: -0.02em; margin: 0 0 18px; line-height: 1.2; }
h3 { font-size: 1.05rem; margin: 0 0 6px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 40em; margin: 0 0 28px; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  padding: 12px 20px; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 0; font-size: 1rem;
}
.button[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.note { color: var(--muted); font-size: 0.92em; }

section { padding: 40px 0; border-top: 1px solid var(--line); }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px;
}
.card p { margin: 0; color: var(--muted); }
.card.product { display: block; text-decoration: none; }
.card.product:hover { border-color: var(--accent); }
.tag {
  display: inline-block; font-size: 0.75em; font-weight: 600; padding: 2px 8px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--muted); margin-left: 6px;
  vertical-align: middle;
}

.steps { counter-reset: s; display: grid; gap: 18px; }
.steps > div { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.steps > div::before {
  counter-increment: s; content: counter(s);
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-weight: 600; color: var(--accent);
}
.steps p { margin: 0 0 10px; }

.price { display: flex; flex-wrap: wrap; gap: 24px; align-items: baseline; }
.price .amount { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; }
ul.plain { padding-left: 1.1em; margin: 0; }
ul.plain li { margin: 4px 0; }

details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 8px 0 0; }

footer { padding: 32px 0 48px; color: var(--muted); font-size: 0.9em; border-top: 1px solid var(--line); }
