:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #16212e;
  --muted: #526071;
  --line: #dfe3e8;
  --accent: #0b5cad;
  --accent-ink: #ffffff;
  --accent-soft: #e8f1fb;
  --night: #0f1b2b;
  --night-text: #eef3f9;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1620;
    --surface: #152130;
    --text: #e9eef4;
    --muted: #a3b1c2;
    --line: #26364a;
    --accent: #5aa7ec;
    --accent-ink: #08121e;
    --accent-soft: #162a40;
    --night: #08101a;
    --night-text: #eef3f9;
  }
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.site-header { padding: 18px 0; border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; font-size: 1.05rem; color: var(--text); text-decoration: none; letter-spacing: -.01em; }

.hero { background: var(--night); color: var(--night-text); padding: 56px 0 60px; }
.hero h1 { max-width: 16ch; }
.hero .sub { font-size: 1.15rem; max-width: 36rem; color: #cbd6e3; margin-bottom: 1.6em; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: #8fc1f0; margin-bottom: 1em; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--accent);
}
.btn:hover { filter: brightness(1.08); }
.hero .btn { background: #5aa7ec; border-color: #5aa7ec; color: #08121e; }
.link-alt { font-weight: 600; }
.hero .link-alt { color: #cfe3f8; }

section { padding: 52px 0; }
section + section { border-top: 1px solid var(--line); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 40rem; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 18px 18px 64px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px; top: 18px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  display: grid; place-items: center;
}
.steps strong { display: block; margin-bottom: 2px; }
.steps span { color: var(--muted); }

.panel {
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 22px;
}
.price { font-size: 1.25rem; font-weight: 700; }

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 18px;
  margin-bottom: 10px;
}
summary { cursor: pointer; font-weight: 700; padding: 15px 0; list-style-position: outside; }
details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 14px; }
details p:last-child { margin-bottom: 16px; }

.final { text-align: left; }

.site-footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: .93rem; }
.site-footer p { margin: 0 0 .5em; }
.site-footer a { color: var(--muted); }

.prose { padding: 40px 0 56px; max-width: 42rem; }
.prose h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.updated { color: var(--muted); font-size: .93rem; }

@media (min-width: 720px) {
  body { font-size: 18px; }
  .hero { padding: 88px 0 92px; }
  section { padding: 68px 0; }
  .steps { grid-template-columns: 1fr 1fr; }
}
