:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-soft: #eef4f8;
  --ink: #16181d;
  --muted: #5c6470;
  --line: #dfe5ec;
  --blue: #155da8;
  --blue-dark: #0d3f75;
  --green: #1f7a63;
  --red: #b64334;
  --shadow: 0 18px 45px rgba(21, 36, 61, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover,
a:focus {
  color: var(--red);
  text-decoration: underline;
}

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

h1,
h2,
h3,
strong {
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: 50px;
  line-height: 1.05;
  font-weight: 780;
}

h2 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.15;
}

h3 {
  margin-bottom: 7px;
  font-size: 18px;
  line-height: 1.3;
}

p {
  margin-bottom: 14px;
}

.wrap {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(223, 229, 236, 0.86);
  background: rgba(246, 247, 251, 0.9);
  backdrop-filter: blur(14px);
}

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

.brand {
  color: var(--ink);
  font-weight: 760;
}

.brand:hover,
.brand:focus {
  color: var(--blue);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}

.nav-links a {
  color: #2d3440;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 332px;
  gap: 58px;
  align-items: center;
  padding: 70px 0 42px;
}

.hero-copy {
  max-width: 820px;
}

.lead {
  max-width: 760px;
  color: #303846;
  font-size: 19px;
  line-height: 1.55;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions,
.links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-actions {
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
  box-shadow: 0 8px 18px rgba(21, 36, 61, 0.05);
}

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

.button:hover,
.button:focus {
  border-color: var(--red);
  color: var(--red);
  text-decoration: none;
}

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

.availability {
  max-width: 760px;
  margin-top: 18px;
  margin-bottom: 0;
  padding-left: 12px;
  border-left: 3px solid var(--red);
  color: #87372f;
  font-weight: 690;
}

.portrait-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface-soft);
}

.quick-facts {
  display: grid;
  gap: 12px;
}

.quick-facts div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.quick-facts span,
.metric span,
.venue,
.legend,
time {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.quick-facts strong {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.35;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 56px;
}

.metric {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.metric strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-dark);
  font-size: 24px;
  line-height: 1.18;
}

.metric-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

.section-heading {
  max-width: 680px;
  margin-bottom: 24px;
}

.row-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  max-width: none;
}

.row-heading .legend {
  margin-bottom: 10px;
  white-space: nowrap;
}

.paper h3 {
  color: var(--ink);
}

.paper p:last-child,
.news-list p:last-child,
.simple-list li:last-child {
  margin-bottom: 0;
}

.links {
  margin-top: 14px;
  gap: 8px 14px;
  font-size: 14px;
  font-weight: 710;
}

.links a {
  color: var(--blue);
}

.two-column {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 42px;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-list article {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.news-list article:first-child {
  padding-top: 0;
}

.news-list p {
  margin-bottom: 0;
}

.paper-list {
  display: grid;
  gap: 14px;
}

.paper {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.paper img {
  width: 100%;
  aspect-ratio: 1.65 / 1;
  border-radius: 6px;
  object-fit: contain;
  background: var(--surface-soft);
}

.paper.compact {
  grid-template-columns: 1fr;
}

.paper.compact h3 {
  margin-bottom: 6px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline article {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.timeline h3 {
  margin-bottom: 4px;
}

.timeline p {
  margin-bottom: 0;
}

.timeline-entry {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.timeline-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.timeline-logo.wide-logo {
  width: 46px;
  padding: 6px;
}

.timeline-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

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

.simple-list li {
  padding-left: 18px;
  border-left: 3px solid var(--line);
}

.site-footer {
  margin-top: 30px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #101821;
  color: #edf3f8;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 28px;
}

.site-footer p {
  max-width: 560px;
  margin: 5px 0 0;
  color: #b8c3cf;
}

.footer-links {
  justify-content: flex-end;
}

.footer-links a {
  color: #d7eaff;
  font-size: 14px;
}

@media (max-width: 920px) {
  h1 {
    font-size: 42px;
  }

  .hero,
  .two-column,
  .split {
    grid-template-columns: 1fr;
  }

  .portrait-panel {
    align-self: auto;
    max-width: 460px;
  }

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

}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  h2 {
    font-size: 25px;
  }

  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav-links {
    gap: 12px;
  }

  .hero {
    gap: 28px;
    padding-top: 32px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-copy p:not(.eyebrow):not(.availability) {
    line-height: 1.55;
  }

  .metrics,
  .paper,
  .timeline article,
  .news-list article,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: auto;
  }

  .paper {
    gap: 14px;
  }

  .paper img {
    max-height: 180px;
  }

  .row-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .row-heading .legend {
    margin-bottom: 0;
    white-space: normal;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
