:root {
  color-scheme: light;
  --bg: #f4f7f7;
  --paper: #ffffff;
  --ink: #182225;
  --muted: #637073;
  --line: #d9e0df;
  --cyan: #237f88;
  --amber: #9a6a2e;
  --green: #3d725c;
  --blue: #315f8c;
  --shadow: 0 18px 48px rgba(25, 34, 37, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
  padding: 0 clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(222, 219, 209, 0.8);
  background: rgba(244, 247, 247, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--ink);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 96px);
  display: grid;
  align-items: center;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 18, 18, 0.82) 0%, rgba(15, 18, 18, 0.54) 42%, rgba(15, 18, 18, 0.1) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 40px));
  padding: clamp(32px, 6vw, 72px);
  color: #fff;
}

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

.hero .eyebrow {
  color: #84d4de;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
}

.button.primary {
  background: #ffffff;
  color: #151919;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 16px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metrics div {
  padding: 22px;
  background: var(--paper);
}

.metrics strong {
  display: block;
  font-size: 32px;
}

.metrics span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 76px 0 0;
}

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

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 0;
}

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

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.article-card:hover,
.article-card.active {
  transform: translateY(-2px);
  border-color: rgba(31, 138, 155, 0.5);
  box-shadow: var(--shadow);
}

.article-card .tag {
  width: max-content;
  margin-bottom: 18px;
  padding: 6px 9px;
  border-radius: 8px;
  background: #edf7f7;
  color: #1d6f7e;
  font-size: 12px;
  font-weight: 760;
}

.article-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.article-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.article-card .meta {
  margin-top: auto;
  padding-top: 18px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 760;
}

.reader {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.reader-empty {
  padding: 32px;
  color: var(--muted);
}

.article-full {
  padding: clamp(24px, 5vw, 56px);
}

.article-full header {
  max-width: 780px;
  margin-bottom: 28px;
}

.article-full h2 {
  font-size: clamp(30px, 5vw, 56px);
}

.article-full .summary {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.article-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 48px;
  align-items: start;
}

.article-aside {
  position: sticky;
  top: 88px;
  padding: 18px;
  border-left: 3px solid var(--cyan);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.article-content p {
  margin: 0 0 20px;
  line-height: 1.85;
  color: #343a3b;
}

.article-content h3 {
  margin: 32px 0 14px;
  font-size: 24px;
}

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

.checklist article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
}

.checklist span {
  color: var(--amber);
  font-weight: 800;
}

.checklist h3 {
  margin: 42px 0 12px;
  font-size: 20px;
}

.checklist p,
.about p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.about {
  max-width: 760px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 88px;
}

.policy-grid article {
  min-height: 240px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.policy-grid h2 {
  font-size: 28px;
}

.policy-grid p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .article-grid,
  .checklist,
  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  main {
    width: min(100% - 20px, 1180px);
  }

  .hero {
    min-height: 720px;
  }

  .hero::after {
    background: rgba(15, 18, 18, 0.68);
  }

  .hero-copy {
    width: 100%;
    padding: 28px;
  }

  h1 {
    font-size: 46px;
  }

  .metrics,
  .article-grid,
  .checklist,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
  }
}
