
:root {
  --bg: #f7f6f3; --surface: #ffffff; --surface-2: #f0eee9; --text: #1d1b18; --muted: #6b665d; --border: #e3dfd6;
  --accent: #6a4cdb; --accent-soft: #efeafd; --accent-text: #ffffff;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121214; --surface: #1b1b1f; --surface-2: #24242a; --text: #ecebe8; --muted: #a29e96; --border: #2f2f36;
    --accent: #9d86ff; --accent-soft: #2a2540; --accent-text: #121214;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121214; --surface: #1b1b1f; --surface-2: #24242a; --text: #ecebe8; --muted: #a29e96; --border: #2f2f36;
  --accent: #9d86ff; --accent-soft: #2a2540; --accent-text: #121214;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
a { color: inherit; }
.top { background: var(--surface); border-bottom: 1px solid var(--border); }
.top-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.brand { font-weight: 700; letter-spacing: -0.01em; }
.admin-link { color: var(--muted); font-size: 14px; text-decoration: none; border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; }
.admin-link:hover { color: var(--text); }
.hero { padding: 56px 0 40px; }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
h1 { margin: 0 0 14px; font-size: clamp(28px, 5vw, 42px); line-height: 1.15; letter-spacing: -0.02em; max-width: 820px; }
.lead { margin: 0 0 24px; font-size: 18px; color: var(--muted); max-width: 760px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-block; text-decoration: none; font-size: 15px; font-weight: 600; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn.primary:hover { filter: brightness(1.08); }
.btn:focus-visible, .admin-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 44px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.step .n { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; }
.step h2 { font-size: 17px; margin: 10px 0 4px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }
.section-title { font-size: 24px; margin: 0 0 16px; letter-spacing: -0.015em; }
.exts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 18px; margin-bottom: 44px; }
.ext { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; }
.ext h3 { font-size: 20px; margin: 0 0 6px; }
.ext p { margin: 0 0 12px; color: var(--muted); }
.hl { margin: 0 0 18px; padding-left: 20px; font-size: 15px; }
.hl li { margin-bottom: 4px; }
.ext .actions { margin-top: auto; }
.admin { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; padding: 22px; margin-bottom: 40px; }
.admin h2 { font-size: 18px; margin: 0 0 4px; }
.admin p { margin: 0; color: var(--muted); font-size: 14px; max-width: 640px; }
.foot { color: var(--muted); font-size: 13px; padding-bottom: 32px; }
