:root {
  --bg: #0f1115;
  --bg-elev: #171a21;
  --bg-card: #1c2029;
  --bg-card-hover: #222733;
  --ink: #e8e6e1;
  --muted: #9a968c;
  --line: #2c3140;
  --amber: #d4a017;
  --amber-soft: #e8c547;
  --amber-dim: rgba(212, 160, 23, 0.14);
  --gold-line: rgba(212, 160, 23, 0.35);
  --danger: #c45c5c;
  --r: 14px;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  --max: 920px;
  --nav-h: 58px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 15% -10%, rgba(212, 160, 23, 0.08), transparent 45%),
    radial-gradient(ellipse at 90% 20%, rgba(80, 100, 140, 0.08), transparent 40%);
  background-attachment: fixed;
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4, .brand-text, .display {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); margin: 0 0 0.4em; color: #f3f1eb; }
h2 { font-size: clamp(1.35rem, 2.8vw, 1.7rem); margin: 1.6em 0 0.55em; color: #f0eee8; }
h3 { font-size: 1.15rem; margin: 1.3em 0 0.4em; color: var(--amber-soft); }
h4 { font-size: 1.02rem; margin: 1.1em 0 0.35em; color: #ddd9cf; }
p { margin: 0 0 1em; }
a { color: var(--amber-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #f0d56a; }
strong { color: #f0eee8; font-weight: 600; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin: 0.35em 0; }
li::marker { color: var(--amber); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 18px; }
.lead { font-size: 1.12rem; color: #c9c5bb; max-width: 42rem; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.kicker {
  display: inline-block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.6em;
}

/* Nav */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(15, 17, 21, 0.92);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #f3f1eb;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(145deg, var(--amber-soft), #9a6d08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 4px 12px rgba(212, 160, 23, 0.25);
  display: grid;
  place-items: center;
  font-family: "Source Serif 4", serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a1405;
}
.brand-text { font-size: 1.15rem; }
.brand-text span { color: var(--amber-soft); font-weight: 600; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: center;
  justify-content: flex-end;
}
.nav a {
  color: #c4c0b6;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 2px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--amber-soft); }
.nav .nav-lock {
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--amber-soft);
  background: var(--amber-dim);
}
.nav .nav-lock:hover { background: rgba(212, 160, 23, 0.22); }

main { padding: 28px 0 64px; }
.hero {
  padding: 28px 0 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.hero h1 { max-width: 18ch; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.3em;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  padding: 11px 18px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 44px;
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.08s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, #e0b12a, #b8860b);
  color: #1a1405;
  box-shadow: 0 4px 14px rgba(212, 160, 23, 0.28);
}
.btn-primary:hover { color: #1a1405; filter: brightness(1.05); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-soft); }

.grid-2 {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
.grid-3 {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0.15em; }
.card p:last-child { margin-bottom: 0; }
a.card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.12s ease, background 0.12s ease, transform 0.12s ease;
}
a.card:hover {
  border-color: var(--gold-line);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  color: inherit;
}
.card .meta {
  font-size: 0.82rem;
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35em;
}

.panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 18px;
  margin: 18px 0;
}
.panel > :first-child { margin-top: 0; }
.panel > :last-child { margin-bottom: 0; }

.callout {
  border-left: 3px solid var(--amber);
  background: var(--amber-dim);
  padding: 14px 16px;
  border-radius: 0 var(--r) var(--r) 0;
  margin: 18px 0;
}
.callout p:last-child { margin-bottom: 0; }

.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 14px 14px 58px;
  margin: 0 0 10px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--amber-dim);
  border: 1px solid var(--gold-line);
  color: var(--amber-soft);
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  font-family: "Inter", system-ui, sans-serif;
}
.steps strong { display: block; margin-bottom: 0.2em; color: var(--amber-soft); }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-card);
  margin: 16px 0 24px;
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 640px;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: #141820;
  color: var(--amber-soft);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  position: sticky;
  top: 0;
}
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }
td a { font-weight: 600; }

.credit {
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 2em;
  padding-top: 1em;
}
.credit a { color: #bdb8ad; }

.breadcrumb {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.8em;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--amber-soft); }

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 3px 10px;
  margin-right: 6px;
}

.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: baseline;
}
.foot a { color: #bdb8ad; text-decoration: none; }
.foot a:hover { color: var(--amber-soft); }

.q-list { list-style: none; padding: 0; }
.q-list li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 16px;
  margin: 0 0 10px;
}
.q-list .qn {
  color: var(--amber);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.3em;
}

.leaders-banner {
  background: linear-gradient(90deg, rgba(212, 160, 23, 0.16), transparent);
  border: 1px solid var(--gold-line);
  border-radius: var(--r);
  padding: 12px 16px;
  margin-bottom: 22px;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .nav { gap: 2px 10px; }
  .nav a { font-size: 0.86rem; }
  main { padding-top: 18px; }
}
