:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1d1b33;
  --muted: #5c5974;
  --line: #e6e3dc;
  --indigo: #2f2a7a;
  --indigo-soft: #ecebf7;
  --orange: #e8742a;
  --orange-soft: #fdf0e6;
  --radius: 14px;
  --max: 1080px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14131f;
    --surface: #1d1c2b;
    --ink: #eeedf6;
    --muted: #a9a6bf;
    --line: #2e2c41;
    --indigo: #a9a3f5;
    --indigo-soft: #26244a;
    --orange: #f29a5c;
    --orange-soft: #3a2a1f;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.brand svg { width: 34px; height: 34px; }
.site-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }

/* Buttons */
.button {
  display: inline-block; background: var(--indigo); color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; font-weight: 600;
}
.button:hover { background: var(--orange); color: #fff; }
@media (prefers-color-scheme: dark) { .button { color: #14131f; } .button:hover { color: #14131f; } }
.button.secondary { background: transparent; color: var(--indigo); border: 1.5px solid var(--indigo); }

/* Sections */
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 16px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 700; color: var(--orange); margin-bottom: 10px; }
.muted { color: var(--muted); }

.hero { padding: 80px 0 64px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.proof { margin-top: 32px; padding: 18px 20px; border-left: 4px solid var(--orange); background: var(--orange-soft); border-radius: 0 var(--radius) var(--radius) 0; max-width: 46rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 32px; padding: 0; list-style: none; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step .num { font-weight: 700; color: var(--orange); font-size: 0.9rem; }
.step.featured { border-color: var(--indigo); box-shadow: 0 0 0 1px var(--indigo); }
.badge { position: absolute; top: 14px; right: 14px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: var(--indigo-soft); color: var(--indigo); padding: 3px 8px; border-radius: 999px; }

/* Example */
.example { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { display: flex; justify-content: space-between; gap: 8px; }
.tag { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.card ul { margin: 0; padding-left: 18px; }
.card li { margin-bottom: 10px; }
.quote { display: block; color: var(--muted); font-size: 0.92rem; }
.draft { white-space: pre-line; font-size: 0.95rem; }

/* Lists */
.checks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px 28px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; border-radius: 4px; background: var(--indigo); }
.soon li::before { background: transparent; border: 2px solid var(--orange); }

/* FAQ and legal */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 40px; font-size: 1.4rem; }
.prose h3 { margin-top: 28px; }
.prose ul { padding-left: 20px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
details p { margin: 12px 0 0; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
