:root {
  color-scheme: dark;
  --bg: #15120f;
  --surface: #1d1915;
  --surface-raised: #26201a;
  --text: #f6f1e9;
  --muted: #bdb3a7;
  --line: #3b3128;
  --ember: #f18a47;
  --ember-light: #ffc08a;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: radial-gradient(circle at 75% -10%, #3b2116 0, var(--bg) 34rem); color: var(--text); line-height: 1.7; }
a { color: var(--ember-light); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: #ffd4af; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--ember-light); outline-offset: 4px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; }
h1 { max-width: 900px; margin: .2em 0 .35em; font-size: clamp(2.65rem, 8vw, 5.8rem); }
h2 { margin: 0 0 1rem; font-size: clamp(1.65rem, 4vw, 2.65rem); }
h3 { margin: 0 0 .55rem; font-size: 1.18rem; }
p { margin: 0 0 1.15rem; }
ul { padding-left: 1.35rem; }
li + li { margin-top: .42rem; }

.site-header, main, .site-footer { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); font-weight: 750; text-decoration: none; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: linear-gradient(145deg, var(--ember-light), var(--ember)); color: #24130a; box-shadow: 0 8px 28px #f18a4733; }
nav { display: flex; gap: 8px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { background: var(--surface); color: var(--text); }

main { padding-block: 72px 96px; }
section + section { margin-top: 96px; }
.hero { padding: 48px 0 36px; }
.hero-small { max-width: 860px; }
.hero-small h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); }
.eyebrow { margin-bottom: .8rem; color: var(--ember-light); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.lead { max-width: 780px; color: #d9d0c5; font-size: clamp(1.08rem, 2.4vw, 1.35rem); }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid var(--ember); border-radius: 12px; background: var(--ember); color: #24130a; font-weight: 800; text-decoration: none; }
.button:hover { background: var(--ember-light); color: #24130a; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, var(--surface-raised), var(--surface)); box-shadow: 0 18px 55px #0000001f; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.notice { display: grid; grid-template-columns: .9fr 1.5fr; gap: 44px; align-items: start; padding: 32px; border: 1px solid #6c402a; border-radius: 20px; background: #211710; }
.notice p:last-child { margin-bottom: 0; }
.muted, .meta { color: var(--muted); }
.legal { max-width: 860px; }
.legal h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); }
.legal h2 { margin-top: 2.35em; font-size: clamp(1.4rem, 3vw, 1.85rem); }
.legal .summary { margin: 42px 0; }
.legal .summary h2 { margin-top: 0; }
.check-list { margin: 0; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 36px; padding-block: 30px 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.site-footer p { margin: 0; }
.site-footer div { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 820px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .notice { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 620px) {
  .site-header { align-items: flex-start; flex-direction: column; padding-block: 18px; }
  nav { width: 100%; overflow-x: auto; }
  nav a { padding-inline: 10px; }
  main { padding-block: 44px 72px; }
  section + section { margin-top: 68px; }
  .hero { padding-top: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .card, .notice { padding: 20px; }
  .site-footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
