:root {
  color-scheme: light;
  --paper: #fffdf6;
  --paper-2: #f4f8f3;
  --ink: #101214;
  --muted: #5c6469;
  --line: #d9ded8;
  --coral: #ff513d;
  --cyan: #10bfd1;
  --green: #b8f500;
  --orange: #fb8a23;
  --dark: #161b1f;
  --shadow: 0 20px 50px rgba(16, 18, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(16, 18, 20, 0.3);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: currentColor;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(16, 18, 20, 0.08);
  background: rgba(255, 253, 246, 0.94);
  backdrop-filter: blur(14px);
}

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

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

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--green);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 4px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--ink);
  background: rgba(16, 18, 20, 0.06);
}

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

.copy-container {
  max-width: 920px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero .container {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 34px;
  align-items: center;
  padding: 34px 0 18px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  max-width: 12ch;
}

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

.hero-copy .lede {
  font-size: 1.15rem;
  max-width: 48rem;
  color: #31373b;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 6px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-weight: 820;
}

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

.hero-art {
  align-self: end;
  margin-right: calc((100vw - min(1120px, calc(100vw - 32px))) / -2);
}

.hero-art img {
  width: min(820px, 58vw);
  height: auto;
  object-fit: contain;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.status-strip div {
  background: var(--paper-2);
  padding: 20px;
}

.status-strip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.02rem;
}

.status-strip span {
  color: var(--muted);
  font-size: 0.94rem;
}

.band {
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}

.band.alt {
  background: var(--paper-2);
}

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

.section-head h2 {
  font-size: clamp(1.85rem, 3vw, 3rem);
  max-width: 16ch;
}

.section-head p {
  max-width: 45rem;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.84);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.card p,
.card li {
  color: var(--muted);
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 34px;
  align-items: start;
  padding: 44px 0 64px;
}

.article-main {
  min-width: 0;
}

.article h1 {
  max-width: 900px;
  font-size: clamp(2.35rem, 6vw, 5.2rem);
  margin-bottom: 18px;
}

.article .lede {
  font-size: 1.16rem;
  color: #343b40;
}

.quick-answer {
  margin: 26px 0;
  border-left: 6px solid var(--green);
  background: white;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.quick-answer strong {
  display: block;
  margin-bottom: 5px;
}

.content-section {
  margin-top: 36px;
  scroll-margin-top: 96px;
}

.home-detail .content-section:first-child {
  margin-top: 0;
}

.content-section h2 {
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  margin-bottom: 16px;
}

.content-section h3 {
  font-size: 1.2rem;
  margin-top: 22px;
}

.content-section p {
  color: #30363b;
  margin: 0 0 16px;
}

.fact-list,
.caveat-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.fact-list li,
.caveat-list li {
  border-left: 4px solid var(--cyan);
  background: white;
  padding: 13px 14px;
}

.caveat-list li {
  border-left-color: var(--coral);
}

.source-filter {
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  padding: 8px 10px;
  font: inherit;
}

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

.source-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 16px;
}

.source-list span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.toc {
  position: sticky;
  top: 94px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 18px;
}

.toc h2 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  text-decoration: none;
}

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

.timeline {
  border-left: 4px solid var(--ink);
  padding-left: 18px;
  display: grid;
  gap: 18px;
}

.timeline-item {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  border: 3px solid var(--paper);
  left: -29px;
  top: 22px;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.faq-item h3 {
  font-size: 1.16rem;
  margin-bottom: 8px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.related-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: white;
  text-decoration: none;
  font-weight: 760;
}

.site-footer {
  background: var(--dark);
  color: white;
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 24px;
}

.site-footer a {
  color: white;
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.72);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.9rem;
}

@media (max-width: 880px) {
  .nav {
    align-items: flex-start;
    padding: 12px 0;
    flex-direction: column;
    gap: 10px;
  }

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

  .hero .container,
  .article,
  .grid.two,
  .grid.three,
  .footer-grid,
  .status-strip {
    grid-template-columns: 1fr;
  }

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

  .hero-art {
    position: static;
    width: 100%;
    max-height: 220px;
    overflow: hidden;
    margin-right: 0;
  }

  .hero-art img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: 72% center;
  }

  .section-head {
    display: block;
  }

  .article {
    padding-top: 30px;
  }

  .content-section {
    scroll-margin-top: 156px;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 560px) {
  .container,
  .nav {
    width: min(100% - 22px, 1120px);
  }

  h1,
  .article h1 {
    font-size: 2.35rem;
    max-width: none;
  }

  .band {
    padding: 42px 0;
  }

  .nav-links a {
    padding: 7px 8px;
    font-size: 0.88rem;
  }
}
