:root {
  --bg: #08090c;
  --bg-alt: #0b0d12;
  --surface: #101319;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e8eaef;
  --muted: #9aa2b1;
  --accent: #d9a441;
  --accent-soft: rgba(217, 164, 65, 0.12);
  --max: 1120px;
  --radius: 14px;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #10100c;
  padding: 10px 16px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

a { color: inherit; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 12, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mark { width: 26px; height: 26px; color: var(--accent); flex: none; }

.brand-name { font-size: 1.02rem; }

.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s ease;
}
.nav a:hover { color: var(--text); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #14100a;
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { background: #e6b455; transform: translateY(-1px); }

.btn-small { padding: 9px 16px; font-size: 0.86rem; }
.btn-large { padding: 15px 28px; font-size: 1rem; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--text); }

/* ---------- hero ---------- */

.hero {
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% 20% auto -10%;
  height: 620px;
  background: radial-gradient(closest-side, rgba(217, 164, 65, 0.13), transparent 72%);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  padding: 6px 14px 6px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.79rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

h1 {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 6.4vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

h1 em { font-style: italic; color: var(--accent); }

.lede {
  max-width: 62ch;
  margin: 0 0 34px;
  font-size: 1.13rem;
  color: var(--muted);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 64px 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.hero-facts > div {
  padding: 22px 24px 0 0;
}

.hero-facts dt {
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.hero-facts dd {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text);
}

/* ---------- band ---------- */

.band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.band-inner { padding-top: 44px; padding-bottom: 44px; }

.band p {
  margin: 0;
  max-width: 78ch;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.45;
  color: #cfd4de;
}

.band strong { color: var(--accent); font-weight: 400; }

/* ---------- sections ---------- */

.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.kicker {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

h2 {
  margin: 0 0 44px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

p { margin: 0 0 16px; }

/* ---------- cards ---------- */

.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  padding: 26px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover { border-color: var(--border-strong); transform: translateY(-2px); }

.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

.card-num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.card-plain { background: transparent; }

/* ---------- steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.step-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--accent);
}

.steps p { margin: 0; color: var(--muted); max-width: 70ch; }

.steps .note {
  margin-top: 12px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  color: #cfd4de;
  font-size: 0.93rem;
}

/* ---------- quote ---------- */

.quote {
  margin: 0 0 44px;
  padding: 28px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote p {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.24rem;
  line-height: 1.5;
  color: #d8dce5;
}

.quote cite {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- table ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 720px;
}

thead th {
  text-align: left;
  padding: 16px 20px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

tbody th, tbody td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

tbody th { color: var(--text); font-weight: 500; white-space: nowrap; }

.muted { color: var(--muted); font-weight: 400; font-size: 0.85rem; }

.disclaimer {
  margin: 26px 0 0;
  max-width: 78ch;
  font-size: 0.9rem;
  color: var(--muted);
}

.sector-line {
  margin: 34px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- CTA ---------- */

.cta-section { padding: 96px 0; }

.cta-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-inner h2 { margin-bottom: 18px; }
.cta-inner .lede { margin-bottom: 0; }

.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

.fine {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-weight: 600;
}

.footer-brand .mark { width: 20px; height: 20px; }

.footer-note { margin: 0; }
.footer-copy { margin: 0 0 0 auto; }

.mono { font-family: var(--mono); font-size: 0.85em; color: #cfd4de; }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero { padding: 64px 0 56px; }
  .hero-facts { grid-template-columns: 1fr; gap: 0; }
  .hero-facts > div { padding: 18px 0; border-bottom: 1px solid var(--border); }
  .hero-facts > div:last-child { border-bottom: 0; }
  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 0; }
  .steps li { grid-template-columns: 46px 1fr; gap: 14px; }
  .footer-copy { margin-left: 0; }
}
