:root {
  --deep-ocean-teal: #0A3D4C;
  --charcoal: #1C2526;
  --copper: #C77E3A;
  --copper-light: #d9934e;
  --off-white: #F8F6F3;
  --teal-glow: #4ECDC4;
  --surface-dark: var(--charcoal);
  --surface-mid: #0E3340;
  --surface-ink: #10272e;
  --surface-light: var(--off-white);
  --text-on-dark: var(--off-white);
  --text-on-light: var(--charcoal);
  --text-muted-dark: #8aa0a3;
  --text-muted-light: #66797b;
  --line-dark: rgba(248, 246, 243, 0.1);
  --line-light: rgba(28, 37, 38, 0.12);
  --radius-card: 20px;
  --radius-sm: 12px;
  --radius-pill: 9999px;
  --transition: 0.22s ease;
  --section-gap: 96px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--surface-dark);
  color: var(--text-on-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 40px;
  background: rgba(28, 37, 38, 0.96);
  border-bottom: 1px solid rgba(248, 246, 243, 0.05);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav__logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.nav__wordmark {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-on-dark);
}

.nav__wordmark em {
  color: var(--copper);
  font-style: normal;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav__links a {
  color: var(--text-muted-dark);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--text-on-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: opacity var(--transition), border-color var(--transition);
}

.btn:hover {
  opacity: 0.84;
}

.btn--copper {
  background: var(--copper);
  color: var(--charcoal);
}

.btn--ghost {
  background: rgba(248, 246, 243, 0.07);
  color: var(--off-white);
  border-color: rgba(248, 246, 243, 0.18);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  padding: 82px 0 64px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--teal-glow);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-glow);
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.hero h1 .accent {
  color: var(--copper);
}

.hero__sub {
  max-width: 680px;
  margin-top: 26px;
  color: var(--text-muted-dark);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.topic-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid rgba(248, 246, 243, 0.15);
  border-radius: var(--radius-pill);
  color: var(--text-muted-dark);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.topic-chip:hover {
  color: var(--off-white);
  border-color: rgba(248, 246, 243, 0.3);
}

.hero__figure {
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface-mid);
  border: 1px solid var(--line-dark);
}

.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.figure-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--text-muted-dark);
  font-size: 0.82rem;
}

.metric-band {
  background: var(--surface-light);
  color: var(--text-on-light);
  padding: 34px 0;
}

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

.metric {
  padding: 12px 0;
}

.metric__value {
  margin-bottom: 6px;
  color: var(--charcoal);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 500;
  line-height: 1;
}

.metric__label {
  color: var(--text-muted-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: var(--section-gap) 0;
}

.section--light {
  background: var(--surface-light);
  color: var(--text-on-light);
}

.section--ink {
  background: var(--surface-ink);
}

.section__header {
  max-width: 760px;
  margin-bottom: 42px;
}

.section__label {
  margin-bottom: 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.section__sub {
  margin-top: 16px;
  color: var(--text-muted-dark);
  font-size: 1.05rem;
  line-height: 1.65;
}

.section--light .section__sub {
  color: var(--text-muted-light);
}

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

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

.research-card,
.score-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border-radius: var(--radius-card);
  background: var(--surface-mid);
  border: 1px solid rgba(248, 246, 243, 0.07);
  text-decoration: none;
}

.research-card--featured {
  grid-column: span 2;
  min-height: 340px;
  background: linear-gradient(135deg, rgba(14, 51, 64, 0.98), rgba(28, 37, 38, 0.92));
}

.research-card--featured h3 {
  max-width: 680px;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.section--light .research-card,
.section--light .score-card {
  background: #ffffff;
  color: var(--text-on-light);
  border-color: var(--line-light);
}

.card__kicker,
.tag {
  color: var(--copper-light);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section--light .card__kicker,
.section--light .tag {
  color: #9b5e26;
}

.research-card h3,
.score-card h3 {
  margin: 14px 0 12px;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0;
}

.research-card p,
.score-card p {
  color: var(--text-muted-dark);
  font-size: 0.96rem;
  line-height: 1.65;
}

.section--light .research-card p,
.section--light .score-card p {
  color: var(--text-muted-light);
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  color: var(--teal-glow);
  font-size: 0.88rem;
  font-weight: 600;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  color: var(--text-muted-dark);
  font-size: 0.84rem;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(248, 246, 243, 0.06);
}

.section--light .post-meta {
  color: var(--text-muted-light);
}

.section--light .post-meta span {
  background: rgba(28, 37, 38, 0.06);
}

.post-list {
  display: grid;
  gap: 12px;
}

.post-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  background: rgba(14, 51, 64, 0.58);
  color: inherit;
  text-decoration: none;
}

.section--light .post-item {
  background: #ffffff;
  border-color: var(--line-light);
}

.post-item__date,
.post-item__topic,
.post-item__arrow {
  color: var(--text-muted-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section--light .post-item__date,
.section--light .post-item__topic,
.section--light .post-item__arrow {
  color: var(--text-muted-light);
}

.post-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
}

.post-item p {
  margin-top: 6px;
  color: var(--text-muted-dark);
  font-size: 0.92rem;
  line-height: 1.55;
}

.section--light .post-item p {
  color: var(--text-muted-light);
}

.section--light .card__footer {
  color: #0A8C7E;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  background: rgba(14, 51, 64, 0.56);
}

.section--light .table-wrap {
  background: #ffffff;
  border-color: var(--line-light);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-dark);
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
}

.section--light th,
.section--light td {
  border-bottom-color: var(--line-light);
}

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

th {
  color: var(--text-muted-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section--light th {
  color: var(--text-muted-light);
}

td strong {
  color: var(--off-white);
  font-weight: 600;
}

.section--light td strong {
  color: var(--charcoal);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(78, 205, 196, 0.11);
  color: var(--teal-glow);
  font-size: 0.78rem;
  font-weight: 700;
}

.section--light .pill {
  color: #08786d;
}

.note {
  max-width: 960px;
  padding: 24px 28px;
  border-left: 3px solid var(--copper);
  background: rgba(199, 126, 58, 0.08);
  color: var(--text-muted-dark);
  font-size: 0.95rem;
  line-height: 1.7;
}

.takeaway-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.takeaway {
  padding: 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  background: rgba(14, 51, 64, 0.5);
}

.section--light .takeaway {
  background: #ffffff;
  border-color: var(--line-light);
}

.takeaway__value {
  margin-bottom: 10px;
  color: var(--copper-light);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.05;
}

.takeaway p {
  color: var(--text-muted-dark);
  font-size: 0.92rem;
  line-height: 1.55;
}

.section--light .takeaway p {
  color: var(--text-muted-light);
}

.section--light .note {
  color: var(--text-muted-light);
}

.wide-figure {
  overflow: hidden;
  margin-top: 34px;
  border-radius: var(--radius-card);
  background: var(--surface-mid);
  border: 1px solid var(--line-dark);
}

.wide-figure img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.footer {
  padding: 42px 24px;
  color: var(--text-muted-dark);
  text-align: center;
  font-size: 0.88rem;
}

.footer a {
  color: var(--copper);
  text-decoration: none;
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    padding: 16px 24px;
  }

  .nav__links {
    display: none;
  }

  .hero {
    padding-top: 58px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .card-grid,
  .card-grid--two,
  .takeaway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .research-card--featured {
    grid-column: span 2;
  }

  .post-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 620px) {
  :root {
    --section-gap: 72px;
  }

  .container {
    width: min(100% - 32px, 1180px);
  }

  .nav {
    padding: 14px 16px;
  }

  .btn {
    width: 100%;
  }

  .nav .btn {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 16vw, 4.4rem);
  }

  .hero__actions {
    flex-direction: column;
  }

  .metric-grid,
  .card-grid,
  .card-grid--two,
  .takeaway-grid {
    grid-template-columns: 1fr;
  }

  .research-card--featured {
    grid-column: span 1;
  }

  .figure-caption {
    flex-direction: column;
  }
}
