:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #5d6a64;
  --line: #d9e1dc;
  --paper: #fbfcfa;
  --panel: #ffffff;
  --accent: #0b6b57;
  --accent-strong: #084b3f;
  --soft: #e8f2ee;
  --gold: #b8872d;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgb(251 252 250 / 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  font-size: 0.82rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  flex-wrap: wrap;
}

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

nav a:hover {
  color: var(--accent-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(42px, 7vw, 84px) clamp(18px, 4vw, 56px) clamp(32px, 5vw, 64px);
  max-width: 1420px;
  margin: 0 auto;
}

.home-hero {
  min-height: 72dvh;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
}

.deck {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 140ms ease, background 140ms ease;
}

.button:active {
  transform: translateY(1px);
}

.primary {
  background: var(--accent);
  color: #fff;
}

.primary:hover {
  background: var(--accent-strong);
}

.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent-strong);
}

.hero-visual {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 22px 70px rgb(23 32 29 / 0.12);
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-visual figcaption {
  padding: 13px 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

.content-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 56px) 76px;
}

.article,
.faq,
.related,
.sources {
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 5vw, 48px);
  margin-top: clamp(30px, 5vw, 56px);
}

.article section {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 48px);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.article h2,
.faq h2,
.related h2,
.sources h2 {
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.article p {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 1.04rem;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.link-grid a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.link-grid a:hover {
  background: var(--soft);
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 14px 16px;
  margin: 10px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p,
.sources p,
footer p {
  color: var(--muted);
}

.sources ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  padding-left: 20px;
}

footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #fff;
}

footer p {
  margin: 8px 0 0;
}

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

  .hero {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.3rem, 13vw, 4.4rem);
  }

  .hero-visual img {
    aspect-ratio: 16 / 10;
  }

  .article section {
    grid-template-columns: 1fr;
  }

  .link-grid {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .sources ul {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
}
