:root {
  color-scheme: light;
  --ink: #1f2328;
  --muted: #59636e;
  --line: #d0d7de;
  --soft: #f6f8fa;
  --blue: #0969da;
  --blue-dark: #0550ae;
  --gold: #9a6700;
  --white: #ffffff;
  --page: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px max(24px, calc((100vw - var(--page)) / 2));
  border-bottom: 1px solid rgba(217, 224, 231, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  border-radius: 6px;
}

nav {
  display: flex;
  gap: 26px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--blue);
}

.hero,
.section {
  width: min(var(--page), calc(100% - 48px));
  margin: 0 auto;
}

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

.hero-copy {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1030px;
  margin: 0 auto 24px;
  font-size: 47px;
  line-height: 1.16;
}

.summary {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: 17px;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  max-width: 1000px;
  margin: 0 auto 10px;
  color: var(--blue-dark);
  font-size: 16px;
  font-weight: 600;
}

.authors sup,
.affiliations sup {
  font-size: 0.68em;
}

.affiliations {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
}

.affiliations small {
  font-size: 12px;
}

.actions {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 44px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
}

.button.primary:hover,
.button.primary:focus-visible {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: -22px 0 40px;
}

.topic-list span {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--soft);
  font-size: 12px;
  font-weight: 600;
}

.headline-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.headline-stats div {
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.headline-stats div:last-child {
  border-right: 0;
}

.headline-stats strong,
.headline-stats span {
  display: block;
}

.headline-stats strong {
  color: var(--blue-dark);
  font-size: 30px;
}

.headline-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

figure {
  margin: 0;
}

.hero-figure,
.wide-figure {
  margin-top: 42px;
}

.hero-figure img,
.wide-figure img,
.analysis-grid img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.band {
  position: relative;
}

.band::before {
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background: var(--soft);
  content: "";
}

.section {
  padding: 80px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.2;
}

.section-heading > p:last-child,
.closing p {
  color: var(--muted);
  font-size: 17px;
}

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

.steps article,
.result-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.step-number {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.35;
}

.steps p,
.result-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.result-grid article {
  border-top: 3px solid var(--blue);
}

.result-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 40px;
}

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

.analysis-grid figure {
  min-width: 0;
}

.closing {
  max-width: 760px;
  text-align: center;
}

.closing img {
  margin: 0 auto 18px;
  border-radius: 8px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px max(24px, calc((100vw - var(--page)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

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

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    gap: 14px;
  }

  .hero,
  .section {
    width: min(100% - 30px, var(--page));
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    font-size: 38px;
  }

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

  .headline-stats div:nth-child(2) {
    border-right: 0;
  }

  .headline-stats div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .steps,
  .result-grid,
  .analysis-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 58px;
  }

  nav a:nth-child(2) {
    display: none;
  }

  h1 {
    font-size: 31px;
  }

  h2 {
    font-size: 28px;
  }

  .authors {
    gap: 3px 12px;
    font-size: 14px;
  }

  .headline-stats div {
    padding: 16px;
  }

  footer {
    flex-direction: column;
  }
}
