:root {
  color-scheme: dark;
  --background: #091326;
  --surface: #101f39;
  --surface-light: #172b49;
  --text: #edf5ff;
  --muted: #a9bdd6;
  --blue: #83ceff;
  --gold: #ffd18a;
  --border: rgba(180, 211, 245, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 76% 8%, rgba(45, 112, 175, .26), transparent 38%),
    var(--background);
  color: var(--text);
  font: 16px/1.75 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header,
.page,
.site-footer {
  width: min(100% - 40px, 1080px);
  margin-inline: auto;
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(131, 206, 255, .48);
  border-radius: 10px;
  color: var(--blue);
}

.header-topic,
.eyebrow {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 46px;
  padding: 72px 0 64px;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--gold);
}

h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(46px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -.065em;
}

h1 span {
  color: var(--blue);
}

.lead {
  max-width: 520px;
  margin: 24px 0 26px;
  color: #c2d3e9;
  font-size: 18px;
  line-height: 1.7;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.read-link span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.hero-art {
  margin: 0;
}

.hero-art img {
  display: block;
  width: 100%;
  border: 1px solid rgba(180, 211, 245, .18);
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.hero-art figcaption {
  margin: 12px 4px 0;
  color: var(--muted);
  font-size: 12px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: start;
  gap: 58px;
  padding: 42px 0 72px;
  border-top: 1px solid var(--border);
}

.article {
  min-width: 0;
}

.intro {
  margin: 0 0 42px;
  color: #dceaff;
  font-size: 21px;
  line-height: 1.55;
}

.story-section {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  margin: 0 0 34px;
}

.section-number {
  padding-top: 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
}

.story-section h2,
.side-card h2,
.sources h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -.035em;
}

.story-section p {
  margin: 0;
  color: #bdcde1;
}

.fact {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 19px 21px;
  border: 1px solid rgba(131, 206, 255, .2);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30, 68, 105, .64), rgba(16, 31, 57, .8));
}

.fact-label {
  color: var(--gold);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.formula {
  color: var(--blue);
  font-size: 19px;
  font-weight: 700;
}

.fact-note {
  color: var(--muted);
  font-size: 12px;
}

.side-card {
  position: sticky;
  top: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(23, 43, 73, .96), rgba(13, 27, 49, .96));
}

.side-card-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 209, 138, .32);
  border-radius: 12px;
  color: var(--gold);
  font-size: 19px;
}

.side-card h2 {
  font-size: 20px;
}

.side-card p {
  margin: 0 0 22px;
  color: #bdcde1;
  font-size: 14px;
}

.side-card a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.sources {
  padding: 34px 0 58px;
  border-top: 1px solid var(--border);
}

.sources h2 {
  margin-bottom: 20px;
  font-size: 28px;
}

.source-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.source {
  min-height: 116px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(16, 31, 57, .68);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.source:hover {
  transform: translateY(-2px);
  border-color: rgba(131, 206, 255, .55);
}

.source-name {
  grid-column: 1 / -1;
  color: var(--gold);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .13em;
}

.source-title {
  color: #dceaff;
  font-size: 13px;
  line-height: 1.5;
}

.source-arrow {
  color: var(--blue);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 28px;
  border-top: 1px solid var(--border);
  color: #8097b5;
  font-size: 12px;
}

@media (max-width: 760px) {
  .site-header,
  .page,
  .site-footer {
    width: min(100% - 30px, 560px);
  }

  .header-topic {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 50px 0 42px;
  }

  h1 {
    font-size: clamp(46px, 13vw, 66px);
  }

  .lead {
    font-size: 16px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 32px;
  }

  .side-card {
    position: static;
    order: -1;
  }

  .intro {
    font-size: 19px;
  }

  .story-section {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
  }

  .story-section h2 {
    font-size: 21px;
  }

  .source-list {
    grid-template-columns: 1fr;
  }

  .source {
    min-height: 86px;
  }
}
