:root {
  --bg: #080C14;
  --surface: #0D1320;
  --surface-2: #121926;
  --rule: #253044;
  --gold: #C9A84C;
  --teal: #2AC8AE;
  --blue: #4A90D9;
  --text: #C8CDD8;
  --text-bright: #EEF1F6;
  --text-dim: #6B7385;
  --danger: #C24B4A;
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'DM Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
}

a { color: inherit; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.6rem 0.8rem;
  background: var(--gold);
  color: var(--bg);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.skip-link:focus { top: 1rem; }

.site-shell {
  width: min(1160px, calc(100vw - 40px));
  margin: 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(238,241,246,0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-bright);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.brand span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.nav-links a,
.nav-links button {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

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

.hero {
  padding: clamp(4rem, 8vw, 7rem) 0 3rem;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.46fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.eyebrow,
.label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text-bright);
  font-family: var(--display);
  line-height: 1.04;
}

h1 {
  max-width: 820px;
  margin-top: 1rem;
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 700;
}

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

.hero-copy {
  max-width: 650px;
  margin-top: 1.35rem;
  color: var(--text);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.hero-panel {
  border: 1px solid rgba(238,241,246,0.10);
  border-top: 2px solid var(--gold);
  background: var(--surface);
  padding: 1.2rem;
}

.hero-panel dl {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.hero-panel dt {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero-panel dd {
  margin: 0.2rem 0 0;
  color: var(--text-bright);
  font-size: 0.92rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(238,241,246,0.16);
  color: var(--text-bright);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--bg);
}

.band {
  margin: 2rem 0;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(238,241,246,0.08);
  border-bottom: 1px solid rgba(238,241,246,0.08);
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(238,241,246,0.08);
  border: 1px solid rgba(238,241,246,0.08);
}

.metric {
  background: var(--bg);
  padding: 1rem;
}

.metric strong {
  display: block;
  color: var(--text-bright);
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.1;
}

.metric span {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid rgba(238,241,246,0.08);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.45fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section h2 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-lede {
  margin: 0;
  color: var(--text);
}

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

.card,
.article-block {
  border: 1px solid rgba(238,241,246,0.10);
  background: var(--surface);
  padding: 1.2rem;
}

.card.teal { border-top: 3px solid var(--teal); }
.card.blue { border-top: 3px solid var(--blue); }
.card.gold { border-top: 3px solid var(--gold); }
.card.red { border-top: 3px solid var(--danger); }

.card h3,
.article-block h3 {
  margin-top: 0.4rem;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
}

.card p,
.article-block p {
  margin: 0.65rem 0 0;
  color: var(--text);
}

.article-stack {
  display: grid;
  gap: 1rem;
}

.article-block ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.article-block li + li { margin-top: 0.45rem; }

.proof-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid rgba(238,241,246,0.10);
  background: var(--surface);
}

.proof-table th,
.proof-table td {
  padding: 0.9rem;
  border-bottom: 1px solid rgba(238,241,246,0.08);
  text-align: left;
  vertical-align: top;
}

.proof-table th {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-table td:first-child {
  width: 28%;
  color: var(--text-bright);
  font-weight: 500;
}

.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(238,241,246,0.08);
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-actions a,
.footer-actions button {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--text-dim);
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.footer-actions a:hover,
.footer-actions button:hover { color: var(--text-bright); }

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid rgba(238,241,246,0.14);
  border-top: 2px solid var(--gold);
  background: rgba(13,19,32,0.98);
}

.cookie-banner[hidden] { display: none; }

.cookie-banner h2 {
  margin: 0.25rem 0;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 500;
}

.cookie-banner p {
  max-width: 720px;
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  gap: 0.65rem;
}

.cookie-actions button {
  min-height: 38px;
  border: 1px solid rgba(238,241,246,0.16);
  background: transparent;
  color: var(--text-bright);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  padding: 0.6rem 0.8rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.cookie-actions button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--bg);
}

@media (max-width: 860px) {
  .site-shell { width: min(100vw - 32px, 720px); }
  .site-nav,
  .page-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .nav-links { flex-wrap: wrap; gap: 1rem; }
  .hero,
  .section-head,
  .card-grid {
    grid-template-columns: 1fr;
  }
  .band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-table,
  .proof-table tbody,
  .proof-table tr,
  .proof-table td,
  .proof-table th {
    display: block;
  }
  .proof-table thead { display: none; }
  .proof-table td:first-child { width: auto; }
  .cookie-banner {
    grid-template-columns: 1fr;
  }
  .cookie-actions {
    align-items: stretch;
  }
  .cookie-actions button {
    flex: 1;
    white-space: normal;
  }
}

@media (max-width: 520px) {
  h1 { font-size: 2.8rem; }
  .band-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
}
