:root {
  color-scheme: dark;
  --bg: #090a0b;
  --surface: rgba(24, 27, 30, 0.78);
  --surface-strong: #181b1e;
  --text: #f5f6f7;
  --muted: #aeb4bb;
  --border: rgba(255, 255, 255, 0.1);
  --brand: #f27649;
  --brand-soft: rgba(242, 118, 73, 0.16);
  --success: #82d69d;
  --danger: #ff8b80;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 8% -5%, rgba(242, 118, 73, 0.18), transparent 30rem),
    radial-gradient(circle at 94% 12%, rgba(117, 83, 255, 0.09), transparent 26rem),
    var(--bg);
  line-height: 1.65;
}

a { color: #ff9a73; text-underline-offset: 3px; }
a:hover { color: #ffb295; }

.shell { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 22px 0 64px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  background: linear-gradient(to bottom, rgba(9, 10, 11, 0.98), rgba(9, 10, 11, 0.84));
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 750; }
.mark { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(145deg, #ff9a73, var(--brand)); box-shadow: 0 8px 24px rgba(242, 118, 73, 0.3); }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 15px; font-size: 13px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--text); }

.hero {
  margin: 26px 0 18px;
  padding: clamp(24px, 6vw, 52px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(242, 118, 73, 0.13), rgba(24, 27, 30, 0.76) 52%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.eyebrow { margin: 0 0 10px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(34px, 8vw, 58px); line-height: 1.03; letter-spacing: -0.045em; }
.lede { max-width: 690px; margin: 18px 0 0; color: #d2d6da; font-size: clamp(16px, 2.5vw, 19px); }
.meta { margin: 20px 0 0; color: var(--muted); font-size: 13px; }

.notice {
  margin: 18px 0;
  padding: 17px 19px;
  border: 1px solid rgba(242, 118, 73, 0.32);
  border-radius: 17px;
  background: var(--brand-soft);
}
.notice strong { color: #ffad8e; }

.content { padding: clamp(12px, 3vw, 24px); }
section { padding: 24px 0; border-bottom: 1px solid var(--border); }
section:last-child { border-bottom: 0; }
h2 { margin: 0 0 12px; font-size: clamp(21px, 4vw, 27px); letter-spacing: -0.025em; }
h3 { margin: 22px 0 8px; font-size: 17px; }
p { margin: 10px 0; color: #d0d4d8; }
ul, ol { margin: 10px 0; padding-left: 22px; color: #d0d4d8; }
li + li { margin-top: 8px; }
strong { color: var(--text); }

.steps { counter-reset: steps; list-style: none; padding: 0; }
.steps li { position: relative; min-height: 46px; padding: 4px 0 14px 52px; }
.steps li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: var(--text);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 10px;
  padding: 0 20px;
  border-radius: 14px;
  color: #160d09;
  background: linear-gradient(135deg, #ff9b74, var(--brand));
  box-shadow: 0 12px 30px rgba(242, 118, 73, 0.24);
  font-weight: 800;
  text-decoration: none;
}
.button:hover { color: #160d09; transform: translateY(-1px); }
.fine { color: var(--muted); font-size: 13px; }
.danger { color: var(--danger); }
.success { color: var(--success); }

footer { padding: 26px 0 0; color: var(--muted); font-size: 13px; text-align: center; }

@media (max-width: 620px) {
  .shell { width: min(100% - 22px, 920px); padding-top: 8px; }
  .topbar { align-items: flex-start; }
  .nav { max-width: 210px; gap: 8px 12px; }
  .hero { border-radius: 22px; }
  .content { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
