:root {
  color-scheme: dark;
  --bg: #080810;
  --surface: #151525;
  --surface-strong: #1b1b30;
  --border: #303047;
  --text: #f4f4fb;
  --body: #c3c3d5;
  --muted: #8e8ea8;
  --red: #ff252b;
  --red-dark: #cc1515;
  --green: #24d07a;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
}

a { color: #ff555a; text-underline-offset: 3px; }
a:hover { color: #ff7478; }
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(255, 37, 43, 0.55);
  outline-offset: 3px;
}

.site-header {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(8,8,16,0.92);
}

.site-header__inner {
  width: min(100% - 32px, 980px);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.3px;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

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

.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

main {
  width: min(100% - 40px, 800px);
  margin: 0 auto;
  padding: 64px 0 88px;
}

.eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

h1 {
  margin: 8px 0 8px;
  font-size: clamp(36px, 7vw, 58px);
  line-height: 1.05;
  letter-spacing: -2px;
}

.updated {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.lede {
  margin: 0 0 32px;
  color: var(--body);
  font-size: 19px;
  line-height: 1.65;
}

.notice, .action-card, .info-card {
  margin: 28px 0;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.notice { border-left: 4px solid var(--red); }
.action-card { background: linear-gradient(145deg, #221522, var(--surface)); }
.info-card { background: var(--surface-strong); }

.notice p:last-child, .action-card p:last-child, .info-card p:last-child { margin-bottom: 0; }
.action-card > h2:first-child { margin-top: 0; }

h2 {
  margin: 44px 0 12px;
  color: #fff;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.25px;
}

h3 {
  margin: 26px 0 8px;
  color: #fff;
  font-size: 17px;
}

p { margin: 0 0 15px; color: var(--body); }
ul, ol { margin: 0 0 18px; padding-left: 24px; color: var(--body); }
li { margin: 7px 0; }
strong { color: #fff; }

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--red);
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.button:hover { background: #ff4146; color: white; }
.button--secondary { background: transparent; border-color: var(--border); }
.button--secondary:hover { background: rgba(255,255,255,0.06); }

.checklist { list-style: none; padding-left: 0; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  min-height: 42px;
  padding-left: 52px;
  margin: 16px 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,37,43,0.14);
  color: var(--red);
  font-weight: 900;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.link-card {
  padding: 19px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}
.link-card:hover { border-color: rgba(255,37,43,0.65); color: var(--text); }
.link-card strong { display: block; margin-bottom: 4px; }
.link-card span { color: var(--muted); font-size: 14px; }

.page-footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  color: var(--muted);
}
.page-footer__inner {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
  padding: 28px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
}
.page-footer a { color: var(--muted); }

@media (max-width: 720px) {
  .site-header__inner { padding: 14px 0; align-items: flex-start; }
  .site-nav { gap: 12px 16px; }
  main { width: min(100% - 32px, 800px); padding: 48px 0 72px; }
  .link-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .site-header__inner { display: block; }
  .site-nav { justify-content: flex-start; margin-top: 13px; }
  .site-nav a { font-size: 13px; }
  .notice, .action-card, .info-card { padding: 19px; }
}
