:root {
  color-scheme: dark;
  --bg: #0b1424;
  --surface: #111d31;
  --surface-strong: #18263b;
  --line: #2b3b53;
  --text: #f5f7fb;
  --muted: #a8b3c5;
  --accent: #2f6df3;
  --accent-soft: #172c57;
  --success: #19c594;
  --warning: #ffbd4a;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(47, 109, 243, 0.16), transparent 32rem),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: #79a5ff; }
a:hover { color: #a9c5ff; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(11, 20, 36, 0.86);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav,
.container {
  width: min(100% - 2rem, 980px);
  margin-inline: auto;
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand span { color: #4d83ff; }

.nav-links {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--text); }

.container { padding: 4rem 0 5rem; }

.hero {
  padding: 3.5rem 0 2rem;
  max-width: 780px;
}

.eyebrow {
  color: var(--success);
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.22; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.25rem, 7vw, 4.4rem); margin: 0.35rem 0 1rem; }
h2 { font-size: clamp(1.45rem, 4vw, 2rem); margin-top: 2.6rem; }
h3 { font-size: 1.1rem; margin-top: 1.5rem; }
p, li { color: #d7deea; }
.lead { font-size: clamp(1.08rem, 2.5vw, 1.3rem); color: var(--muted); }
.meta { color: var(--muted); font-size: 0.94rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card,
.notice,
.data-table-wrap {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(24, 38, 59, 0.96), rgba(17, 29, 49, 0.96));
}

.card { padding: 1.5rem; text-decoration: none; }
.card:hover { border-color: #4c77c7; transform: translateY(-2px); }
.card h2 { color: var(--text); margin: 0 0 0.45rem; font-size: 1.35rem; }
.card p { margin: 0; color: var(--muted); }

.notice {
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  border-color: #775d25;
  background: rgba(93, 65, 15, 0.28);
}
.notice strong { color: var(--warning); }

.document { max-width: 820px; }
.document section { scroll-margin-top: 92px; }
.document ul { padding-left: 1.25rem; }
.document li + li { margin-top: 0.45rem; }

.data-table-wrap { overflow-x: auto; margin: 1.25rem 0; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--text); background: rgba(47, 109, 243, 0.1); }
td { color: #d7deea; }
tr:last-child td { border-bottom: 0; }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { position: relative; padding: 0.1rem 0 1.2rem 3rem; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: #8fb1ff;
  font-weight: 750;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.1rem;
  border-radius: 11px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { color: white; background: #407bf7; }

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 1.5rem 0 2.5rem;
  font-size: 0.9rem;
}

@media (max-width: 680px) {
  .cards { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; padding: 1rem 0; flex-direction: column; }
  .nav-links { width: 100%; justify-content: space-between; }
  .container { padding-top: 2.5rem; }
}
