:root {
  --primary: #2f4c5c;
  --accent: #d0783f;
  --ink: #152027;
  --bg: #f4f7f8;
  --soft: #d9e2e6;
  --paper: #ffffff;
  --muted: color-mix(in srgb, var(--ink) 68%, white);
  --line: color-mix(in srgb, var(--primary) 18%, white);
  --shadow: 0 18px 44px rgba(20, 24, 28, 0.11);
}

* {
  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;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 86%, white);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 780;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: white;
  font-size: 0.88rem;
  letter-spacing: 0;
}

.brand-name {
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: clamp(520px, 78vh, 740px);
  padding: clamp(46px, 7vw, 86px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero-copy h1,
.page-hero h1,
.article-head h1 {
  margin: 0;
  font-weight: 820;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.lead,
.page-hero p,
.article-summary {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions,
.contact-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: 740;
  border: 1px solid var(--primary);
}

.button.secondary {
  background: transparent;
  color: var(--primary);
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.band,
.content-section,
.contact-strip,
.page-hero,
.text-page,
.article-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.band {
  padding: clamp(34px, 6vw, 64px);
  background: color-mix(in srgb, var(--soft) 52%, white);
  border-block: 1px solid var(--line);
}

.intro-band,
.scope-band,
.contact-strip {
  border-radius: 8px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-head h2,
.scope-copy h2,
.contact-strip h2,
.text-page h2,
.related h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.16;
  letter-spacing: 0;
}

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

.value-item,
.article-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.value-item {
  padding: 22px;
}

.value-item span {
  color: var(--accent);
  font-weight: 820;
}

.value-item p {
  margin: 8px 0 0;
}

.content-section {
  padding: clamp(48px, 7vw, 80px) 0;
}

.article-card {
  min-height: 250px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-meta,
.article-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.article-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.article-card h3 a {
  text-decoration: none;
}

.article-card p {
  margin: 0;
  color: var(--muted);
}

.text-link {
  margin-top: auto;
  color: var(--primary);
  font-weight: 760;
  text-decoration: none;
}

.scope-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 28px;
  align-items: center;
}

.scope-copy p {
  color: var(--muted);
}

.topic-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.topic-list span {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-weight: 690;
}

.contact-strip {
  margin-bottom: 72px;
  padding: 30px;
  justify-content: space-between;
  background: var(--ink);
  color: white;
}

.contact-strip .eyebrow {
  color: color-mix(in srgb, var(--accent) 68%, white);
}

.contact-strip .button {
  background: white;
  color: var(--ink);
  border-color: white;
}

.page-hero {
  padding: clamp(48px, 8vw, 90px) 0 30px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.page-hero p {
  max-width: 760px;
}

.text-page {
  max-width: 840px;
  padding-bottom: 80px;
}

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

.text-page p {
  color: var(--muted);
}

.article-page {
  max-width: 920px;
  padding: 42px 0 80px;
}

.back-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 740;
}

.article-head {
  padding: 34px 0 20px;
}

.article-head h1 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
}

.notice,
.callout {
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--soft) 58%, white);
  padding: 18px 20px;
  border-radius: 8px;
}

.article-body {
  font-size: 1.06rem;
}

.article-body section {
  margin-top: 34px;
}

.article-body h2 {
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: 0;
}

.rich-list,
.check-list {
  padding-left: 22px;
}

.rich-list li,
.check-list li {
  margin: 10px 0;
}

.source-note {
  color: var(--muted);
  font-size: 0.96rem;
}

.related {
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

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

.site-footer {
  background: color-mix(in srgb, var(--ink) 94%, black);
  color: white;
  padding: 42px 0 28px;
}

.footer-grid {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 30px;
}

.footer-grid h2 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.footer-grid p,
.footer-bottom {
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid a:not(.brand) {
  display: block;
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-brand .brand-mark {
  background: var(--accent);
}

.footer-bottom {
  width: min(1120px, calc(100% - 32px));
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset: 72px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 8px;
  }

  .hero,
  .scope-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 15vw, 4.4rem);
  }

  .value-grid,
  .article-grid,
  .related .article-grid {
    grid-template-columns: 1fr;
  }

  .band {
    padding: 28px 20px;
  }

  .contact-strip {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .nav-wrap,
  .hero,
  .band,
  .content-section,
  .contact-strip,
  .page-hero,
  .text-page,
  .article-page,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 24px, 1120px);
  }

  .hero-actions,
  .contact-strip {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .article-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
