@font-face {
  font-family: "Oswald";
  src: url("/fonts/Oswald-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --accent: #001871;
  --accent-fill: #001871;
  --accent-fill-hover: #213A8F;
  --bg: #F2F3F7;
  --surface: #FFFFFF;
  --text: #161A1B;
  --muted: #5C6566;
  --line: #E3E6E6;
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --brand: "Oswald", "Arial Narrow", sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #6586FF;
    --bg: #141718;
    --surface: #1B1F20;
    --text: #ECEEEE;
    --muted: #9AA3A4;
    --line: #2C3233;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { display: block; width: auto; height: 32px; }
.lang { font-size: 14px; color: var(--muted); }

.hero { padding: 48px 0 32px; }
.hero img { width: 96px; height: 96px; border-radius: 20px; margin-bottom: 24px; }
h1, .doc h2 { font-family: var(--brand); font-weight: 500; }
h1 { font-size: clamp(34px, 7vw, 48px); line-height: 1.1; margin-bottom: 12px; }
.lead { font-size: clamp(18px, 3vw, 21px); color: var(--muted); margin-bottom: 28px; max-width: 34em; }

.btn { display: inline-block; padding: 12px 22px; border-radius: var(--radius); background: var(--accent-fill); color: #FFFFFF; font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--accent-fill-hover); }

.points { list-style: none; display: grid; gap: 12px; margin: 8px 0 40px; }
.points li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.points strong { display: block; margin-bottom: 2px; }
.points span { color: var(--muted); }

.note { color: var(--muted); margin-bottom: 48px; }

.doc { padding: 24px 0 48px; }
.doc h1 { font-size: clamp(30px, 6vw, 40px); margin-bottom: 8px; }
.doc .meta { font-size: 14px; color: var(--muted); padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.doc h2 { font-size: 21px; margin: 32px 0 10px; }
.doc p, .doc li { color: var(--text); margin-bottom: 12px; }
.doc ul { margin: 0 0 12px 22px; }
.doc .box { background: var(--surface); border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 20px 0; }
.doc .box p { margin: 0; }

footer { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
footer p { margin-bottom: 8px; }
footer a { color: var(--muted); }
