:root {
  color-scheme: dark;
  --bg: #090c12;
  --surface: #111827;
  --surface-soft: #172033;
  --text: #f5efe2;
  --muted: #b8ad9c;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #d9a441;
  --fel: #75c44a;
  --blue: #6ca7ff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(93, 75, 177, .3), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(117, 196, 74, .18), transparent 24rem),
    var(--bg);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page { min-height: 100vh; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(9, 12, 18, .82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 38px;
  color: #16120a;
  background: linear-gradient(135deg, #ffd56a, #b87824);
  border-radius: 12px;
  font-size: 13px;
  box-shadow: 0 16px 34px rgba(217, 164, 65, .24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a,
.pill {
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a.active,
.pill.active {
  color: var(--text);
  background: rgba(255, 255, 255, .08);
  border-color: var(--line);
}

.hero { padding: 84px 0 58px; }
.hero-grid, .article-grid, .content-grid, .split {
  display: grid;
  gap: 34px;
}

.hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; }
.article-grid { grid-template-columns: 1fr 430px; align-items: center; }
.content-grid { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
.split { grid-template-columns: .9fr 1.1fr; }

.eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  color: #16120a;
  background: var(--gold);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.eyebrow.small {
  margin-bottom: 10px;
  background: rgba(217, 164, 65, .14);
  color: #f4cd78;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -.045em;
}

h1 { font-family: Georgia, serif; font-size: clamp(44px, 7vw, 82px); }
h2 { font-family: Georgia, serif; font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 23px; }

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
}

.button.primary {
  color: #16120a;
  background: var(--gold);
  box-shadow: 0 18px 38px rgba(217, 164, 65, .22);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
}

.panel, .card, .article-card, .side-card {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.045));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.panel { padding: 28px; }
.section { padding: 58px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head p { max-width: 560px; margin: 0; color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card { overflow: hidden; }
.card > div, .card:not(.feature-card) { padding: 24px; }
.feature-card img, .feature-card svg { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.card p, .article-section p, .text-muted { color: var(--muted); }

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: #f4cd78;
  font-weight: 800;
}

.cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.article-card { padding: 34px; }
.article-section + .article-section { margin-top: 34px; padding-top: 34px; border-top: 1px solid var(--line); }
.article-section p { font-size: 18px; }

.side-card { position: sticky; top: 100px; padding: 22px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill { color: var(--muted); background: rgba(255, 255, 255, .045); }

.stat-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.stat-list li {
  padding: 14px 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
}

.footer {
  padding: 38px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 900px) {
  .nav, .section-head, .footer .container { align-items: flex-start; flex-direction: column; }
  .nav-links { flex-wrap: wrap; }
  .hero-grid, .article-grid, .content-grid, .split, .cards { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .side-card { position: static; }
}
