:root {
  color-scheme: dark;
  --bg: #0b0e11;
  --panel: #12171d;
  --panel-2: #171d24;
  --text: #f4f1e8;
  --muted: #a6adb5;
  --gold: #d8b36a;
  --gold-soft: #f1d99e;
  --green: #7fd4a1;
  --line: #28313a;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 84% 2%, rgb(216 179 106 / 12%), transparent 28rem),
    radial-gradient(circle at 0 50%, rgb(64 91 113 / 12%), transparent 34rem),
    var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.site-header,
main,
footer {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid rgb(255 255 255 / 7%);
}

.brand {
  font-weight: 850;
  letter-spacing: .12em;
  text-decoration: none;
  white-space: nowrap;
}

.brand span { color: var(--gold); font-weight: 520; }
.site-header nav, footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-header nav a, footer nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.site-header nav a:hover, footer nav a:hover, .text-link:hover { color: var(--gold-soft); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
  gap: clamp(36px, 8vw, 100px);
  align-items: end;
  padding: clamp(76px, 12vw, 150px) 0 clamp(72px, 10vw, 120px);
}

.hero h1,
.publication h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(44px, 7.3vw, 92px);
  line-height: .98;
  letter-spacing: -.045em;
}

.hero .lead, .publication .lead {
  max-width: 780px;
  margin: 28px 0 0;
  color: #c4c8cb;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 36px; }
.button, .visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border-radius: 999px;
  background: var(--gold);
  color: #17120a;
  font-weight: 780;
  text-decoration: none;
}
.button:hover, .visit:hover { background: var(--gold-soft); }
.text-link { color: #d9dde0; font-weight: 650; text-decoration: none; }

.hero-stat {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 1%));
}
.hero-stat strong { display: block; color: var(--gold-soft); font-size: 72px; line-height: 1; }
.hero-stat span { display: block; margin-top: 12px; color: var(--muted); }

.process, .catalog { padding: clamp(72px, 9vw, 112px) 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading.split { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2, .transparency h2, .verification h2, .content-page h1 {
  margin: 0;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li, .card, .verification {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgb(255 255 255 / 4%), rgb(255 255 255 / 1%));
}
.steps li { padding: clamp(24px, 4vw, 38px); }
.steps li > span { color: var(--gold); font: 700 12px/1 system-ui; letter-spacing: .12em; }
.steps h3 { margin: 42px 0 12px; font-size: 22px; line-height: 1.2; }
.steps p, .card > p, .transparency > p, .content-page p, .content-page li { color: var(--muted); }

.feed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card { min-width: 0; padding: clamp(25px, 4vw, 40px); }
.card-top, .card-meta, .source-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.card h3 { margin: 18px 0 14px; font-size: clamp(24px, 3vw, 34px); line-height: 1.16; }
.card h3 a { text-decoration-color: rgb(216 179 106 / 40%); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.card > p { margin: 0; }
.status-dot { color: var(--green); font-size: 12px; white-space: nowrap; }
.status-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 14px currentColor; }
.card-meta { align-items: end; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.card-meta strong { color: #d6dadd; font-weight: 600; }
.card-meta time { text-align: right; }

.transparency {
  margin: clamp(40px, 8vw, 100px) 0 clamp(90px, 12vw, 150px);
  padding: clamp(34px, 7vw, 76px);
  border-radius: 30px;
  background: linear-gradient(135deg, #191d20, #111820 70%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 6%);
}
.transparency h2 { max-width: 850px; }
.transparency > p { max-width: 810px; margin: 22px 0; }
.transparency > div { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 30px; }

.breadcrumbs { display: flex; gap: 10px; padding: 44px 0 28px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { text-decoration: none; }
.publication { padding: 20px 0 clamp(90px, 12vw, 150px); }
.publication h1 { max-width: 920px; font-size: clamp(42px, 6.4vw, 78px); }
.source-line { max-width: 780px; margin: 30px 0 22px; padding: 15px 0; border-block: 1px solid var(--line); color: var(--muted); }
.source-line strong { color: var(--text); }
.visit { margin: 8px 0 50px; }
.verification { max-width: 900px; margin-top: 30px; padding: clamp(26px, 5vw, 50px); }
.verification h2 { font-size: clamp(28px, 4vw, 44px); }
.verification dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 34px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--line); }
.verification dl div { min-width: 0; padding: 20px; background: var(--panel); }
.verification dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.verification dd { margin: 7px 0 0; overflow-wrap: anywhere; font-weight: 680; }
.verification dd a { color: var(--gold-soft); }
.notice { max-width: 900px; margin-top: 20px; padding: 22px 24px; border-left: 3px solid var(--gold); background: rgb(216 179 106 / 8%); color: #c6c9cb; }
.meta { color: var(--muted); font-size: 13px; }
.publication > .meta { margin-top: 24px; }

.content-page { max-width: 820px; padding: clamp(70px, 10vw, 130px) 0; }
.content-page h1 { margin-bottom: 30px; }
.content-page h2 { margin: 45px 0 12px; font-size: 27px; }
.content-page ul, .content-page ol { padding-left: 22px; }
.content-page .notice { margin: 36px 0; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding: 34px 0 55px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer strong { color: var(--text); }
footer p { max-width: 390px; margin: 6px 0 0; }
footer nav { justify-content: flex-end; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-stat { display: flex; align-items: center; gap: 20px; }
  .hero-stat strong { font-size: 56px; }
  .hero-stat span { margin: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps h3 { margin-top: 24px; }
  .feed { grid-template-columns: 1fr; }
  .verification dl { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header, main, footer { width: min(100% - 28px, var(--max)); }
  .site-header { align-items: flex-start; }
  .site-header nav { justify-content: flex-end; gap: 10px 16px; }
  .site-header nav a:first-child { display: none; }
  .hero { padding-top: 72px; }
  .hero h1, .publication h1 { font-size: clamp(39px, 13vw, 60px); }
  .section-heading.split, footer { align-items: flex-start; flex-direction: column; }
  .card-top, .card-meta { align-items: flex-start; flex-direction: column; gap: 10px; }
  .card-meta time { text-align: left; }
  footer nav { justify-content: flex-start; }
}

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