:root {
  --ink: #111312;
  --ink-soft: #2f3431;
  --paper: #f4f1e9;
  --paper-2: #ebe5d6;
  --line: rgba(30, 34, 31, 0.14);
  --line-dark: rgba(244, 241, 233, 0.16);
  --teal: #18a999;
  --teal-dark: #0b5f59;
  --amber: #d99b32;
  --red: #b84b42;
  --white: #fffaf0;
  --shadow: 0 18px 60px rgba(17, 19, 18, 0.18);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--teal));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 28px;
  color: var(--white);
  background: rgba(17, 19, 18, 0.78);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.site-nav,
.language-switch {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header-actions {
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 4px rgba(24, 169, 153, 0.35),
    0 0 22px rgba(217, 155, 50, 0.45);
}

.site-nav {
  gap: 4px;
}

.site-nav a {
  padding: 9px 12px;
  color: rgba(255, 250, 240, 0.82);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  border-bottom-color: var(--amber);
  outline: none;
}

.language-switch {
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.08);
}

.lang-button {
  min-width: 42px;
  min-height: 34px;
  padding: 6px 9px;
  color: rgba(255, 250, 240, 0.78);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.lang-button.active {
  color: var(--ink);
  background: var(--amber);
}

.lang-button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.hero {
  position: relative;
  min-height: clamp(620px, 86vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(17, 19, 18, 0.9) 0%, rgba(17, 19, 18, 0.62) 36%, rgba(17, 19, 18, 0.08) 70%),
    linear-gradient(0deg, rgba(17, 19, 18, 0.78) 0%, rgba(17, 19, 18, 0.12) 44%);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 640px;
  margin-bottom: 20px;
  font-size: clamp(54px, 11vw, 132px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(255, 250, 240, 0.88);
  font-size: clamp(19px, 2.2vw, 28px);
  line-height: 1.48;
}

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

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
}

.primary-link {
  color: var(--ink);
  background: var(--amber);
}

.secondary-link {
  color: var(--white);
  border: 1px solid rgba(255, 250, 240, 0.35);
}

.section {
  padding: 88px 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.split,
.status-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 48px;
  align-items: start;
}

.split p,
.status-layout p,
.section-heading p {
  color: rgba(17, 19, 18, 0.72);
  font-size: 18px;
}

.definition-panel {
  display: grid;
  gap: 12px;
}

.definition-panel > div,
.comparison-item,
.team-card,
.source-card,
.watch-list,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.58);
}

.definition-panel > div {
  padding: 20px;
}

.definition-panel strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.definition-panel p {
  margin-bottom: 0;
  color: rgba(17, 19, 18, 0.68);
}

.metric {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-weight: 800;
}

.comparison-band,
.map-band,
.faq-band,
.articles-band {
  background: #e8e0cf;
}

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

.comparison-item {
  min-height: 245px;
  padding: 24px;
}

.comparison-item.featured {
  color: var(--white);
  background: var(--ink);
  border-color: rgba(255, 250, 240, 0.2);
  box-shadow: var(--shadow);
}

.comparison-item p {
  color: rgba(17, 19, 18, 0.72);
}

.comparison-item.featured p,
.comparison-item.featured small {
  color: rgba(255, 250, 240, 0.78);
}

.comparison-item small {
  display: block;
  margin-top: 20px;
  color: rgba(17, 19, 18, 0.58);
}

.type-label {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
}

.featured .type-label {
  color: var(--amber);
}

.timeline-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(24, 169, 153, 0.12), rgba(217, 155, 50, 0.08)),
    var(--ink);
}

.timeline-band .section-kicker,
.timeline-band h2 {
  color: var(--white);
}

.timeline {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.timeline li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
}

.timeline time {
  color: var(--amber);
  font-weight: 800;
}

.timeline p {
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.72);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 36px;
  align-items: end;
  margin-bottom: 26px;
}

.filter-row,
.source-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-button,
.source-button {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  background: transparent;
  border: 1px solid rgba(17, 19, 18, 0.22);
  border-radius: 8px;
  cursor: pointer;
}

.filter-button.active,
.source-button.active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

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

.team-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 20px;
}

.team-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-card .focus {
  margin-bottom: 14px;
  color: var(--teal-dark);
  font-weight: 800;
}

.team-card p {
  color: rgba(17, 19, 18, 0.7);
}

.maturity {
  flex: 0 0 auto;
  padding: 4px 8px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  background: var(--teal-dark);
  border-radius: 999px;
}

.maturity.early {
  background: var(--red);
}

.maturity.mid {
  background: #7d6a2b;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
}

.tag-row span {
  padding: 3px 7px;
  color: rgba(17, 19, 18, 0.68);
  font-size: 12px;
  font-weight: 700;
  background: rgba(17, 19, 18, 0.07);
  border-radius: 999px;
}

.team-evidence {
  display: grid;
  gap: 8px;
  margin: 4px 0 16px;
  padding: 12px;
  background: rgba(17, 19, 18, 0.055);
  border: 1px solid rgba(17, 19, 18, 0.08);
  border-radius: 8px;
}

.team-evidence div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
}

.team-evidence dt,
.team-evidence dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.team-evidence dt {
  color: rgba(17, 19, 18, 0.54);
  font-weight: 800;
}

.team-evidence dd {
  color: rgba(17, 19, 18, 0.78);
}

.team-link,
.source-card a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

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

.policy-card {
  min-height: 220px;
  padding: 22px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid rgba(255, 250, 240, 0.14);
  border-radius: 8px;
}

.policy-card span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--amber);
  font-weight: 900;
}

.policy-card p {
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.74);
}

.review-strip {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 18px;
  padding: 18px 20px;
  color: var(--ink);
  background: rgba(217, 155, 50, 0.18);
  border: 1px solid rgba(17, 19, 18, 0.1);
  border-radius: 8px;
}

.review-strip span,
.article-card span {
  display: block;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.review-strip strong {
  display: block;
  font-size: 22px;
}

.review-strip p {
  margin-bottom: 0;
  color: rgba(17, 19, 18, 0.72);
}

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

.reading-list {
  display: grid;
  gap: 12px;
}

.source-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 20px;
}

.source-card h3 {
  margin-bottom: 6px;
}

.source-card p {
  margin-bottom: 0;
  color: rgba(17, 19, 18, 0.68);
}

.source-kind,
.source-year {
  color: rgba(17, 19, 18, 0.58);
  font-size: 13px;
  font-weight: 800;
}

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

.article-card {
  min-height: 250px;
  padding: 24px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 250, 240, 0.62);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-card:hover,
.article-card:focus-visible {
  border-color: rgba(11, 95, 89, 0.5);
  outline: none;
  box-shadow: 0 16px 38px rgba(17, 19, 18, 0.12);
}

.article-card h3 {
  margin-top: 34px;
  font-size: 26px;
}

.article-card p {
  margin-bottom: 0;
  color: rgba(17, 19, 18, 0.68);
}

.status-band {
  background:
    linear-gradient(90deg, rgba(217, 155, 50, 0.18), transparent 42%),
    var(--paper-2);
}

.watch-list {
  padding: 24px;
  background: var(--ink);
  color: var(--white);
  border-color: rgba(255, 250, 240, 0.16);
}

.watch-list h3 {
  color: var(--amber);
}

.watch-list ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 250, 240, 0.78);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

details {
  padding: 18px 20px;
}

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

details p {
  margin: 12px 0 0;
  color: rgba(17, 19, 18, 0.7);
}

.subscribe-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(24, 169, 153, 0.16), rgba(217, 155, 50, 0.12)),
    var(--ink);
}

.subscribe-band h2,
.subscribe-band .section-kicker {
  color: var(--white);
}

.subscribe-band p {
  color: rgba(255, 250, 240, 0.76);
}

.subscribe-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
}

.subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 28px;
  color: rgba(255, 250, 240, 0.76);
  background: var(--ink);
}

.site-footer p {
  margin: 4px 0 0;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 24px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(24, 169, 153, 0.16), rgba(217, 155, 50, 0.14)),
    var(--ink);
}

.not-found > div {
  width: min(720px, 100%);
}

.not-found h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(42px, 8vw, 82px);
  line-height: 1;
}

.not-found p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 19px;
}

.article-main {
  background:
    linear-gradient(180deg, rgba(24, 169, 153, 0.08), transparent 280px),
    var(--paper);
}

.article-shell {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 92px;
}

.article-shell h1 {
  max-width: 840px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.98;
}

.article-dek {
  max-width: 760px;
  margin-bottom: 22px;
  color: rgba(17, 19, 18, 0.72);
  font-size: 22px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 42px;
}

.article-meta span {
  padding: 6px 9px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  background: var(--teal-dark);
  border-radius: 999px;
}

.article-language {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.article-language h2,
.article-sources h2 {
  max-width: 760px;
  font-size: 32px;
}

.article-language h3 {
  margin-top: 28px;
}

.article-language p,
.article-language li,
.article-sources li {
  color: rgba(17, 19, 18, 0.75);
  font-size: 18px;
}

.article-callout {
  margin: 28px 0;
  padding: 18px 20px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

.article-callout p {
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.78);
}

.article-sources {
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.article-sources a {
  color: var(--teal-dark);
  font-weight: 800;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  color: var(--white);
  font-weight: 700;
}

@media (max-width: 1040px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .site-nav {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .hero {
    min-height: 690px;
    align-items: end;
  }

  .hero-image {
    object-position: 59% center;
  }

  .hero-scrim {
    background:
      linear-gradient(0deg, rgba(17, 19, 18, 0.96) 0%, rgba(17, 19, 18, 0.76) 42%, rgba(17, 19, 18, 0.2) 100%),
      linear-gradient(90deg, rgba(17, 19, 18, 0.55), transparent);
  }

  .section {
    padding: 64px 0;
  }

  .section-inner,
  .hero-content,
  .article-shell {
    width: min(100% - 32px, var(--max));
  }

  .split,
  .status-layout,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .team-grid,
  .faq-grid,
  .method-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .review-strip,
  .subscribe-layout {
    grid-template-columns: 1fr;
  }

  .subscribe-actions {
    justify-content: flex-start;
  }

  .source-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 58px;
  }

  .hero-lede {
    font-size: 19px;
  }

  .hero-actions,
  .primary-link,
  .secondary-link,
  .subscribe-actions {
    width: 100%;
  }

  .primary-link,
  .secondary-link {
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
