:root {
  color-scheme: dark;
  --background: #050505;
  --surface: #111111;
  --border: #2b2b2b;
  --text: #f5f5f5;
  --muted: #b6b6b6;
  --accent: #ed2b2b;
  --max-width: 820px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: #ff6060; }
a:hover { color: #ffffff; }

header {
  border-bottom: 1px solid var(--border);
  background: #000000;
}

.header-inner,
main,
footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  color: var(--text);
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
}

.brand span { color: var(--accent); }

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

main { padding: 56px 0 72px; }

h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 7vw, 46px);
  line-height: 1.12;
}

h2 {
  margin: 40px 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

h3 {
  margin: 28px 0 8px;
  font-size: 17px;
}

p, li { color: var(--muted); }
ul { padding-left: 22px; }

.updated {
  margin: 0 0 32px;
  color: #8f8f8f;
  font-size: 14px;
}

.notice {
  margin: 28px 0;
  padding: 18px;
  border-left: 4px solid var(--accent);
  background: var(--surface);
}

.notice p { margin: 0; }

.button {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

footer {
  padding: 28px 0 42px;
  border-top: 1px solid var(--border);
  color: #858585;
  font-size: 13px;
}

@media (max-width: 620px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  nav {
    justify-content: flex-start;
    gap: 12px;
  }

  main { padding-top: 40px; }
}
