:root {
  color-scheme: light;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --text: #172033;
  --muted: #5d677a;
  --border: #d9dfeb;
  --accent: #0b57d0;
  --accent-dark: #063b91;
  --max: 920px;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
header { background: #111827; color: #fff; border-bottom: 1px solid #273247; }
.header-inner, main, footer .footer-inner { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.header-inner { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand { font-weight: 700; letter-spacing: 0.01em; }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: #dbe6ff; text-decoration: none; font-size: 0.94rem; }
main { padding: 52px 0 64px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 34px; box-shadow: 0 8px 28px rgba(22, 33, 55, 0.06); }
h1, h2, h3 { line-height: 1.25; }
h1 { margin-top: 0; font-size: clamp(2rem, 4vw, 3rem); }
h2 { margin-top: 2.2rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 760px; }
.notice { margin: 24px 0; padding: 16px 18px; background: #edf4ff; border-left: 4px solid var(--accent); border-radius: 8px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.button { display: inline-block; padding: 10px 16px; border-radius: 8px; text-decoration: none; border: 1px solid var(--accent); font: inherit; cursor: pointer; }
.button.primary { background: var(--accent); color: #fff; }
.button.secondary { background: #fff; color: var(--accent); }
.meta { color: var(--muted); font-size: 0.92rem; }
ul, ol { padding-left: 1.35rem; }
label { display: block; margin-top: 16px; margin-bottom: 6px; font-weight: 600; }
input, select { width: 100%; max-width: 680px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--text); font: inherit; }
input:focus, select:focus, button:focus, a:focus { outline: 3px solid rgba(11, 87, 208, 0.25); outline-offset: 2px; }
footer { border-top: 1px solid var(--border); background: #fff; }
.footer-inner { padding: 24px 0; color: var(--muted); font-size: 0.9rem; }
code { background: #eef1f6; padding: 0.15rem 0.3rem; border-radius: 4px; }
@media (max-width: 640px) { .card { padding: 24px; } .header-inner, main, footer .footer-inner { width: min(calc(100% - 28px), var(--max)); } }
