:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --text: #15181d;
  --muted: #5a6370;
  --rule: #e2e5ea;
  --accent: #1b4dd8;
  --accent-text: #ffffff;
  --maxw: 42rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1216;
    --surface: #171b21;
    --text: #e9ecf1;
    --muted: #9aa4b2;
    --rule: #272d36;
    --accent: #7aa2ff;
    --accent-text: #0f1216;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1216;
  --surface: #171b21;
  --text: #e9ecf1;
  --muted: #9aa4b2;
  --rule: #272d36;
  --accent: #7aa2ff;
  --accent-text: #0f1216;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-wrap: break-word;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

header.site {
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}
header.site .wrap { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.brand {
  font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em;
  color: var(--text); text-decoration: none;
}
.brand-sub { color: var(--muted); font-size: 0.9rem; }

main { padding: 40px 0 8px; }

h1 { font-size: 1.9rem; line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 18px; }
.hero h1 { font-size: 2.15rem; }
h2 { font-size: 1.2rem; margin: 36px 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 1rem; margin: 24px 0 6px; }
p, li { color: var(--text); }
p { margin: 0 0 16px; }
.lede { font-size: 1.1rem; color: var(--muted); margin-bottom: 28px; }
ul { padding-left: 1.2em; margin: 0 0 16px; }
li { margin-bottom: 8px; }
strong { font-weight: 650; }
a { color: var(--accent); }

.price {
  display: inline-block; font-weight: 700; font-size: 1.25rem;
  padding: 10px 16px; border: 1px solid var(--rule); border-radius: 10px;
  background: var(--surface); margin-bottom: 8px;
}
.price small { display: block; font-weight: 400; font-size: 0.85rem; color: var(--muted); }

ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 8px; }
ol.steps > li {
  counter-increment: s; position: relative;
  padding: 0 0 0 44px; margin-bottom: 22px;
}
ol.steps > li::before {
  content: counter(s);
  position: absolute; left: 0; top: 1px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: var(--accent-text);
  display: grid; place-items: center;
  font-size: 0.9rem; font-weight: 700;
}
ol.steps b { display: block; }

.note {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: 10px; padding: 16px 18px; margin: 0 0 16px;
}
.note p:last-child { margin-bottom: 0; }

.cta { margin: 28px 0 8px; }
.cta a {
  display: inline-block; background: var(--accent); color: var(--accent-text);
  text-decoration: none; font-weight: 650;
  padding: 12px 22px; border-radius: 10px;
}

footer.site {
  border-top: 1px solid var(--rule);
  margin-top: 48px; padding: 28px 0 48px;
  color: var(--muted); font-size: 0.92rem;
}
footer.site a { color: var(--muted); }
footer.site nav { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.updated { color: var(--muted); font-size: 0.92rem; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 1.75rem; }
  h1 { font-size: 1.6rem; }
}
