:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #16202c;
  --muted: #566475;
  --line: #dde3ea;
  --accent: #0b5cad;
  --accent-ink: #ffffff;
  --warn-bg: #fff4e0;
  --warn-ink: #7a4b00;
  --ok: #1d7a3e;
  --radius: 10px;
  --wrap: 960px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f141a;
    --surface: #161d25;
    --text: #e7edf3;
    --muted: #9aa8b7;
    --line: #2a3542;
    --accent: #5aa4f2;
    --accent-ink: #0b1220;
    --warn-bg: #2d2412;
    --warn-ink: #f2c97a;
    --ok: #5cc98a;
  }
}
* { 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, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
header.top { border-bottom: 1px solid var(--line); background: var(--surface); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { font-weight: 700; letter-spacing: -0.01em; text-decoration: none; color: var(--text); }
.lang a { margin-left: 12px; font-size: 15px; }
.hero { padding-top: 56px; padding-bottom: 40px; }
.badge {
  display: inline-block; background: var(--warn-bg); color: var(--warn-ink);
  padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; margin-bottom: 16px; max-width: 100%;
}
h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
h2 { font-size: 26px; letter-spacing: -0.01em; margin: 0 0 16px; }
h3 { font-size: 18px; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--muted); max-width: 46em; margin: 0 0 24px; }
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  padding: 12px 22px; border-radius: var(--radius); font-weight: 600; text-decoration: none; border: 0;
  font-size: 17px; cursor: pointer;
}
.btn:disabled { opacity: 0.6; cursor: default; }
section { padding: 40px 0; border-top: 1px solid var(--line); }
.steps, .cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p { margin: 0; color: var(--muted); }
.num { font-weight: 700; color: var(--accent); }
table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg); }
.table-wrap { overflow-x: auto; }
.small { font-size: 14px; color: var(--muted); }
form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 560px; }
label { display: block; font-weight: 600; margin: 14px 0 6px; font-size: 15px; }
input[type=email], input[type=text], input[type=number], select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit;
  background: var(--bg); color: var(--text);
}
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; }
.check input { margin-top: 5px; }
.status { margin-top: 14px; font-weight: 600; }
.status.ok { color: var(--ok); }
.status.err { color: #c0392b; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
summary { font-weight: 600; cursor: pointer; }
footer { padding: 32px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer a { margin-right: 16px; }
.prose { max-width: 46em; }
