/* ============================================================
   CWBC — Central World Bank Coin
   Palette: near-black ground, aged-paper text, brass accent.
   ============================================================ */

:root {
  --ink:        #0a0a0c;
  --ink-2:      #101014;
  --ink-3:      #16161b;
  --line:       #26262d;
  --paper:      #f2efe7;
  --muted:      #9d9a92;
  --gold:       #d4af37;
  --gold-2:     #e8c85f;
  --gold-dim:   rgba(212, 175, 55, .18);
  --warn:       #e5a13a;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1120px;
  --r: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: #000; padding: 10px 16px; font-weight: 600;
}
.skip:focus { left: 8px; top: 8px; }

/* ── Risk ribbon ─────────────────────────────────────────── */
.ribbon {
  position: relative; z-index: 30;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #1b1408;
  border-bottom: 1px solid rgba(212,175,55,.28);
  color: #e7d29a;
  font-size: 12.5px; letter-spacing: .02em;
  padding: 9px 20px; text-align: center;
}
.ribbon__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--warn);
  flex: none; box-shadow: 0 0 0 4px rgba(229,161,58,.15);
}

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 25;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
  background: rgba(10,10,12,.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { filter: drop-shadow(0 0 12px rgba(212,175,55,.25)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--serif); font-size: 19px; letter-spacing: .14em; }
.brand__text em {
  font-style: normal; font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
  color: var(--muted); font-size: 14px; letter-spacing: .02em; text-decoration: none;
  transition: color .18s ease;
}
.nav__links a:hover { color: var(--paper); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a1405;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 12px 22px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  box-shadow: 0 6px 26px rgba(212,175,55,.18);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 34px rgba(212,175,55,.3); filter: brightness(1.05); }
.btn--sm { padding: 9px 16px; font-size: 13.5px; white-space: nowrap; }
.btn--lg { padding: 15px 30px; font-size: 16.5px; }
.btn--ghost {
  background: transparent; color: var(--paper);
  border: 1px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); box-shadow: none; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 11vw, 140px) 0 clamp(80px, 10vw, 130px); }
.hero__glow {
  position: absolute; inset: -30% -10% auto -10%; height: 640px; pointer-events: none;
  background: radial-gradient(50% 55% at 30% 40%, rgba(212,175,55,.16), transparent 70%);
}
.hero__inner { position: relative; z-index: 2; max-width: 860px; }
.hero__seal {
  position: absolute; right: -110px; top: 50%; transform: translateY(-50%);
  opacity: .07; pointer-events: none; z-index: 1;
}

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

h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -.02em;
  font-weight: 600;
  margin: 0 0 26px;
}

.lede {
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.6; color: #cbc7bd; max-width: 640px; margin: 0 0 36px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero__fine { font-size: 13px; color: var(--muted); margin: 0; }
.hero__fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.hero__fine a:hover { color: var(--gold); }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.section--alt { background: var(--ink-2); }
.section--why { background:
  linear-gradient(180deg, rgba(212,175,55,.05), transparent 60%), var(--ink); }

.grid-2 { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }

.col-label .num {
  display: block; font-family: var(--serif); font-size: 13px; letter-spacing: .3em;
  color: var(--gold); opacity: .8; margin-bottom: 10px;
}
.col-label h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.01em; margin: 0;
}
.col-label--center { text-align: center; margin-bottom: 52px; }

.prose { max-width: 660px; }
.prose p { margin: 0 0 22px; color: #cbc7bd; }
.prose__first { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.55; color: var(--paper) !important; }
.prose em { color: var(--paper); font-style: italic; }

.pull {
  margin: 34px 0 0; padding: 24px 0 24px 26px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif); font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.35; color: var(--paper);
}
.pull__tag { display: block; margin-top: 10px; color: var(--gold); font-size: .78em; }

.statement {
  font-family: var(--serif); font-size: clamp(21px, 2.9vw, 32px);
  line-height: 1.3; color: var(--paper) !important; margin-top: 30px !important;
}

/* ── Cards ───────────────────────────────────────────────── */
.cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px;
}
.card {
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px 28px;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.card:hover { border-color: rgba(212,175,55,.45); transform: translateY(-3px); background: #191920; }
.card__mark { display: block; color: var(--gold); font-size: 20px; margin-bottom: 14px; }
.card h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.card p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.6; }
.card strong { color: var(--paper); font-weight: 600; }

/* ── Steps ───────────────────────────────────────────────── */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px;
}
.step {
  position: relative; padding: 30px 26px 28px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--ink);
}
.step__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--serif); font-size: 15px; margin-bottom: 16px;
}
.step h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 0 0 8px; }
.step p { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.step__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; font-size: 13.5px; font-family: var(--sans);
  color: var(--paper); background: transparent; cursor: pointer; text-decoration: none;
  transition: border-color .18s ease, color .18s ease;
}
.chip:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.chip--gold { border-color: var(--gold-dim); background: rgba(212,175,55,.09); color: var(--gold); }

/* ── Risk ────────────────────────────────────────────────── */
.risk { background: var(--ink); }
.risk__box {
  border: 1px solid rgba(229,161,58,.4);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(229,161,58,.07), rgba(229,161,58,.02));
  padding: clamp(28px, 4.5vw, 46px);
}
.risk__kicker {
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--warn); margin: 0 0 14px;
}
.risk h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(24px, 3.2vw, 36px); line-height: 1.15; margin: 0 0 18px;
}
.risk__body { margin: 0; font-size: clamp(15.5px, 1.8vw, 18px); line-height: 1.7; color: #ded9cd; max-width: 820px; }
.risk__body strong { color: #fff; font-weight: 600; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); background: var(--ink-2); padding: 52px 0 40px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; justify-content: space-between; }
.footer__brand { display: flex; gap: 16px; align-items: flex-start; max-width: 520px; }
.footer__brand strong { font-family: var(--serif); font-size: 17px; letter-spacing: .04em; }
.footer__brand p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__links a { color: var(--muted); font-size: 14px; }
.footer__links a:hover { color: var(--gold); }
.footer__legal {
  max-width: var(--wrap); margin: 34px auto 0; padding: 22px 24px 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.6; color: #6f6d67;
}

/* ── Reveal animation ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .hero__seal { right: -180px; opacity: .05; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { padding: 12px 16px; gap: 12px; }
  .wrap { padding-inline: 18px; }
  .brand__text em { display: none; }
  .brand img { width: 34px; height: 34px; }
  .hero__cta .btn { width: 100%; }
  .footer__inner { flex-direction: column; }
}
