:root {
  color-scheme: light dark;
  --background: #0f0f10;
  --surface: #19191c;
  --text: #f5f5f5;
  --muted: #b5b5bd;
  --border: #303036;
  --accent: #ed1c24;
  --accent-soft: #3d1719;
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
}

a { color: inherit; text-underline-offset: 0.2em; }
a:hover { color: #fff; }

.site-header,
main,
footer {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  text-decoration: none;
}

.brand img { width: 40px; height: 40px; }
nav { display: flex; gap: 22px; }
nav a { color: var(--muted); }
nav a[aria-current="page"] { color: var(--text); font-weight: 650; }

main { padding-block: 76px; }

.hero {
  min-height: 390px;
  display: grid;
  grid-template-columns: 150px minmax(0, 720px);
  align-items: center;
  gap: 48px;
}

.hero-icon { width: 128px; height: 128px; }
.eyebrow { color: #ff6b70; font-size: 0.82rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
h1 { max-width: 820px; margin: 0.15em 0 0.35em; font-size: clamp(2.4rem, 7vw, 5.4rem); line-height: 0.98; letter-spacing: -0.055em; }
.intro { max-width: 760px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.3rem); }

h2 { margin-top: 2.5em; font-size: 1.65rem; letter-spacing: -0.025em; }
h3 { margin-top: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-grid article,
.notice {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.feature-grid p,
.notice p { color: var(--muted); }
.notice { margin-top: 48px; border-color: #5a292b; background: var(--accent-soft); }
.notice h2 { margin-top: 0; }

.checklist { max-width: 760px; margin: 0.6em 0 1.6em; padding-left: 1.15em; color: var(--muted); font-size: 1.05rem; }
.checklist li { margin-block: 0.55em; }
.checklist li::marker { color: var(--accent); }

.policy { max-width: 820px; }
.policy h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); }
.policy h2 { padding-top: 0.7em; border-top: 1px solid var(--border); }
.policy p { color: var(--muted); }
.policy a { color: #ff8b8f; }
code { padding: 0.12em 0.32em; border-radius: 5px; background: #28282d; color: #fff; }

footer { padding-block: 28px 48px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; }

@media (prefers-color-scheme: light) {
  :root { --background: #fff; --surface: #f7f7f8; --text: #161618; --muted: #57575f; --border: #dedee2; --accent-soft: #fff1f1; }
  a:hover { color: #000; }
  code { background: #eeeeef; color: #111; }
  .policy a { color: #a91016; }
}

@media (max-width: 680px) {
  .site-header { align-items: flex-start; flex-direction: column; padding-block: 18px; }
  main { padding-block: 48px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 26px; }
  .hero-icon { width: 92px; height: 92px; }
  .feature-grid { grid-template-columns: 1fr; }
}
