:root {
  --bg: #eef2f6;
  --surface: #f8fafc;
  --ink: #101318;
  --muted: #5d6673;
  --line: rgba(16, 19, 24, 0.12);
  --hero: #05070b;
  --hero-line: rgba(255, 255, 255, 0.14);
  --hero-text: #f5f7fa;
  --accent: #f0d04f;
  --accent-soft: rgba(240, 208, 79, 0.18);
  --accent-cool: #84d7d2;
  --shadow: 0 20px 60px rgba(5, 7, 11, 0.18);
  --radius: 8px;
  --shell: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Noto Sans JP", "Noto Sans KR", "Noto Sans Arabic",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  text-align: start;
}

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

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

p,
h1,
h2,
h3,
ol,
ul {
  margin: 0;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 0;
}

.brand,
.site-nav a {
  color: rgba(245, 247, 250, 0.92);
}

.brand {
  font-size: 1rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  font-size: 0.94rem;
  opacity: 0.8;
  transition: opacity 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.lang-switcher select {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--hero-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 247, 250, 0.92);
  font: inherit;
}

.lang-switcher select:focus-visible {
  outline: 2px solid rgba(240, 208, 79, 0.6);
  outline-offset: 2px;
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: clip;
  background: var(--hero);
  color: var(--hero-text);
}

.hero-media,
.hero-media img,
.hero-wash {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.86) contrast(0.96) brightness(0.46);
  transform: scale(1.03);
}

.hero-wash {
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.34), rgba(5, 7, 11, 0.74)),
    linear-gradient(90deg, rgba(5, 7, 11, 0.92) 0%, rgba(5, 7, 11, 0.58) 48%, rgba(5, 7, 11, 0.86) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0), var(--bg));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 140px 0 132px;
  max-width: 620px;
}

.eyebrow,
.section-label,
.timeline-date,
.method-number {
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin-top: 18px;
  font-size: 4.8rem;
  line-height: 0.92;
  font-weight: 800;
}

.hero-copy {
  margin-top: 24px;
  font-size: 1.18rem;
  color: rgba(245, 247, 250, 0.86);
}

.hero-copy a {
  text-decoration: underline;
  text-decoration-color: rgba(245, 247, 250, 0.3);
  text-underline-offset: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #1a1606;
}

.button-secondary {
  border-color: var(--hero-line);
  background: rgba(255, 255, 255, 0.06);
}

.hero-footnote {
  margin-top: 28px;
  max-width: 540px;
  color: rgba(245, 247, 250, 0.72);
}

.sample-ribbon {
  position: relative;
  margin-top: -90px;
  padding: 0 0 48px;
}

.ribbon-header {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.ribbon-header h2,
.section-heading h2,
.quality-head h2 {
  margin-top: 10px;
  font-size: 2.2rem;
  line-height: 1.08;
}

.ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 24px;
}

.ribbon-item,
.editorial-item {
  position: relative;
  overflow: clip;
  border-radius: 6px;
  background: #dfe4ea;
  box-shadow: var(--shadow);
}

.ribbon-item img,
.editorial-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.ribbon-item figcaption,
.editorial-item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 16px;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
}

.ribbon-item {
  aspect-ratio: 0.9;
}

.ribbon-item:hover img,
.ribbon-item:focus-within img,
.editorial-item:hover img,
.editorial-item:focus-within img {
  transform: scale(1.03);
}

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

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
}

.section-heading.narrow {
  max-width: 720px;
}

.section-copy {
  color: var(--muted);
  display: grid;
  gap: 18px;
}

.section-copy strong {
  color: var(--ink);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.fact {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.fact-index {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent-cool);
  font-size: 0.9rem;
  font-weight: 800;
}

.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 34px;
  padding: 0;
}

.timeline li {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.timeline-date {
  display: inline-block;
  margin-bottom: 12px;
}

.timeline em {
  font-style: normal;
  color: var(--ink);
}

.methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-top: 38px;
}

.method {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.method h3,
.takeaway h3 {
  margin-top: 14px;
  font-size: 1.4rem;
  line-height: 1.16;
}

.method p {
  margin-top: 16px;
  color: var(--muted);
}

.method a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(16, 19, 24, 0.22);
  text-underline-offset: 4px;
}

.method ol {
  margin-top: 18px;
  padding-left: 20px;
  color: var(--ink);
}

.method li + li {
  margin-top: 10px;
}

.quality-head {
  max-width: 760px;
}

.quality-head p:last-child {
  margin-top: 18px;
  color: var(--muted);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.editorial-item {
  min-height: 320px;
}

.editorial-item.wide {
  grid-column: span 2;
  min-height: 460px;
}

.takeaways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.takeaway {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.takeaway p {
  margin-top: 12px;
  color: var(--muted);
}

.sources-list {
  list-style: none;
  display: grid;
  gap: 14px;
  padding: 0;
}

.sources-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.sources-list a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(16, 19, 24, 0.22);
  text-underline-offset: 4px;
}

.source-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.source-tag.official {
  color: #0f2c2b;
  background: rgba(132, 215, 210, 0.22);
}

.source-tag.report {
  color: #483b09;
  background: rgba(240, 208, 79, 0.24);
}

.source-tag.community {
  color: #3f4754;
  background: rgba(16, 19, 24, 0.08);
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

.final-cta-section {
  padding-top: 84px;
}

.final-cta {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.final-cta h2 {
  font-size: 2.2rem;
  line-height: 1.08;
}

.final-cta p {
  color: var(--muted);
}

.final-cta .button {
  width: fit-content;
  margin-top: 4px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .methods ol {
  padding-left: 0;
  padding-right: 20px;
}

html[dir="rtl"] .final-cta .button {
  justify-self: start;
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 3.8rem;
  }

  .ribbon-grid,
  .facts,
  .timeline,
  .methods,
  .takeaways,
  .editorial-grid,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .editorial-item.wide {
    grid-column: auto;
  }

  .ribbon-item {
    aspect-ratio: 1.18;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 16px;
  }

  .header-tools,
  .site-nav {
    width: 100%;
  }

  .header-tools {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 14px;
  }

  .lang-switcher select {
    width: 100%;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-content {
    padding: 148px 0 110px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .ribbon-header h2,
  .section-heading h2,
  .quality-head h2,
  .final-cta h2 {
    font-size: 1.8rem;
  }

  .section {
    padding: 76px 0;
  }

  .sample-ribbon {
    margin-top: -58px;
  }

  .editorial-item,
  .editorial-item.wide {
    min-height: 260px;
  }
}

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

  * {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
