/* ==========================================================================
   $HEDGE — FORM HEDGE-1
   A corporate filing that happens to be a memecoin.
   Palette lifted from Circle's own gradient: B090F5 → 5FBFFF → 68D7FA → 4EE498
   ========================================================================== */

:root {
  --paper: #f7f9fc;
  --paper-2: #eef2f8;
  --ink: #0b1221;
  --ink-2: #46536b;
  --ink-3: #8a96ab;
  --hairline: #dbe2ee;
  --lav: #b090f5;
  --sky: #5fbfff;
  --cyan: #68d7fa;
  --mint: #4ee498;
  --grad: linear-gradient(100deg, var(--lav) 0%, var(--sky) 38%, var(--cyan) 64%, var(--mint) 100%);
  --danger: #e4506e;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --w: min(1180px, calc(100% - 48px));
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--lav); color: #fff; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); }

/* ---------- ticker tape ---------- */
.tape {
  background: var(--ink);
  color: #b6c2d6;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .4px;
  overflow: hidden;
  padding: 8px 0;
}
.tape-track { display: flex; width: max-content; animation: tape 36s linear infinite; }
.tape-seq { white-space: nowrap; padding-right: 8px; }
.tape b { font-weight: 700; }
.tape .ok { color: var(--mint); }
.tape .wild { color: var(--lav); }
.tape i { font-style: normal; color: #5d6b82; }
.tape i.wild { color: var(--lav); opacity: .8; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 32px;
  background: rgba(247, 249, 252, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-coin { width: 40px; height: 40px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: .5px; }
.brand-sub { font-family: var(--mono); font-size: 9.5px; color: var(--ink-3); letter-spacing: 1.6px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }

.btn-fill, .btn-line {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  border-radius: 12px;
  padding: 11px 22px;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s;
  white-space: nowrap;
}
.btn-fill {
  color: #fff;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.btn-fill::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity .2s;
}
.btn-fill:hover::after { opacity: 1; }
.btn-fill:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(95,191,255,.35); }
.btn-fill span, .btn-fill { z-index: 1; }
.btn-line {
  border: 1.5px solid var(--hairline);
  color: var(--ink);
  background: #fff;
}
.btn-line:hover { border-color: var(--sky); transform: translateY(-1px); }
.big { padding: 15px 30px; font-size: 15.5px; border-radius: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.arcs {
  position: absolute;
  right: -240px; top: 50%;
  width: 820px; height: 820px;
  transform: translateY(-50%);
  pointer-events: none;
}
.arcs svg { width: 100%; height: 100%; animation: arcspin 90s linear infinite; }
.arcs circle {
  fill: none;
  stroke: url(#none);
  stroke: var(--sky);
  opacity: .16;
  stroke-width: 1.4;
  stroke-dasharray: 62 38;
  stroke-linecap: round;
}
.arcs circle:nth-child(1) { stroke: var(--lav); stroke-dasharray: 40 60; }
.arcs circle:nth-child(3) { stroke: var(--cyan); stroke-dasharray: 75 25; }
.arcs circle:nth-child(4) { stroke: var(--mint); stroke-dasharray: 55 45; }
@keyframes arcspin { to { transform: rotate(360deg); } }

.hero-grid {
  width: var(--w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 84px 0 96px;
  position: relative;
}
.doc-ref {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--ink-3);
  border: 1px solid var(--hairline);
  background: #fff;
  display: inline-block;
  padding: 7px 14px;
  border-radius: 8px;
  margin-bottom: 30px;
}
.hero-pre {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.8vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.hero-h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 6.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}
.hero-h1 em {
  font-style: italic;
  font-weight: 300;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -.5px;
  margin-bottom: 26px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lede {
  color: var(--ink-2);
  font-size: 18px;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-lede strong { color: var(--ink); }
.hero-lede sup { color: var(--sky); font-weight: 700; }

.ca-row { margin-bottom: 26px; }
.ca-field {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1.5px dashed var(--hairline);
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
  transition: border-color .2s;
  user-select: none;
}
.ca-field:hover { border-color: var(--lav); }
.ca-tag {
  font-size: 9.5px; font-weight: 700; letter-spacing: 1.4px;
  color: #fff;
  background: var(--grad);
  padding: 4px 8px;
  border-radius: 6px;
}
.ca-val { color: var(--ink-2); }
.ca-ico { color: var(--ink-3); }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-foot { font-size: 12.5px; color: var(--ink-3); }
.hero-foot sup { color: var(--sky); font-weight: 700; }

.hero-right { position: relative; }
.hero-card-tilt {
  transition: transform 0.15s ease-out;
  will-change: transform;
}
.mascot-frame {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 18px 18px 14px;
  box-shadow: 0 30px 80px rgba(31, 51, 86, .12);
  animation: heroFloat 5s ease-in-out infinite, glowPulse 4s ease-in-out infinite;
}
.mascot-frame video, .mascot-frame img {
  border-radius: 14px;
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
}
.mascot-plate {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 4px 2px;
}
.plate-mono { font-family: var(--mono); font-size: 11px; letter-spacing: 1.2px; }
.plate-mono.dim { color: var(--ink-3); font-size: 10px; }

.stamp {
  position: absolute;
  right: -14px; top: -22px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: 1.5px;
  text-align: center;
  color: var(--danger);
  border: 3px solid var(--danger);
  border-radius: 10px;
  padding: 10px 16px;
  transform: rotate(9deg) scale(0);
  opacity: .85;
  mix-blend-mode: multiply;
  background:
    repeating-linear-gradient(45deg, transparent 0 3px, rgba(228,80,110,.04) 3px 4px);
  animation: stampIn .45s cubic-bezier(.2, 1.6, .3, 1) 1.1s forwards;
}
.stamp.inline {
  position: static;
  display: inline-block;
  margin-top: 16px;
  animation: none;
  transform: rotate(-6deg) scale(1);
  font-size: 13px;
}
@keyframes heroFloat {
  0%   { transform: translateY(0) scale(1) rotate(1.2deg); }
  50%  { transform: translateY(-8px) scale(1.015) rotate(1.2deg); }
  100% { transform: translateY(0) scale(1) rotate(1.2deg); }
}
@keyframes glowPulse {
  0%   { box-shadow: 0 30px 80px rgba(31, 51, 86, .12), 0 0 24px rgba(176, 144, 245, 0.15); }
  50%  { box-shadow: 0 30px 80px rgba(31, 51, 86, .12), 0 0 48px rgba(176, 144, 245, 0.35); }
  100% { box-shadow: 0 30px 80px rgba(31, 51, 86, .12), 0 0 24px rgba(176, 144, 245, 0.15); }
}
@keyframes stampIn { to { transform: rotate(9deg) scale(1); } }

/* ---------- sections ---------- */
.sec { width: var(--w); margin: 0 auto; padding: 96px 0 20px; }
.sec-tint {
  width: 100%;
  padding-left: calc((100% - min(1180px, calc(100% - 48px))) / 2);
  padding-right: calc((100% - min(1180px, calc(100% - 48px))) / 2);
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-top: 76px;
  padding-top: 96px;
  padding-bottom: 60px;
}
.sec-head { max-width: 640px; margin-bottom: 54px; }
.sec-no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 700;
}
.sec-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -1px;
  line-height: 1.06;
  margin: 10px 0 14px;
}
.sec-head h2 em { font-style: italic; font-weight: 300; }
.dot-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sec-head p { color: var(--ink-2); font-size: 17px; }
.sec-head p em { font-family: var(--serif); }

/* ---------- stability index ---------- */
.index-panel {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 10px 26px 18px;
  box-shadow: 0 24px 70px rgba(31, 51, 86, .08);
}
.index-row {
  display: grid;
  grid-template-columns: 150px 1fr 110px 110px;
  gap: 22px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--paper-2);
}
.index-row:last-of-type { border-bottom: none; }
.index-id b { font-size: 16px; display: block; letter-spacing: .3px; }
.index-id span { font-size: 12px; color: var(--ink-3); }
.spark { width: 100%; height: 44px; }
.spark path {
  fill: none;
  stroke: var(--ink-3);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.is-hedge .spark path {
  stroke: url(#hedgeGrad);
  stroke: var(--lav);
  stroke-width: 2.4;
}
.index-val { font-size: 15px; font-weight: 700; text-align: right; }
.is-hedge .index-val { color: var(--lav); }
.index-badge {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-align: center;
  border-radius: 8px;
  padding: 7px 0;
}
.index-badge.ok { background: rgba(78, 228, 152, .14); color: #0d9058; }
.index-badge.no { background: rgba(176, 144, 245, .16); color: #7d54d8; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .45; } }
.is-hedge { background: linear-gradient(90deg, rgba(176,144,245,.05), rgba(78,228,152,.05)); border-radius: 12px; padding-left: 12px; padding-right: 12px; margin: 0 -12px; }
.index-note { font-size: 11.5px; color: var(--ink-3); padding-top: 16px; }

/* ---------- exhibit ---------- */
.exhibit { max-width: 660px; margin: 0 auto; }
.exhibit-rail {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 1.2px;
  color: var(--ink-3);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 10px 2px;
  margin-bottom: 26px;
}
.tweet {
  display: block;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: 0 24px 70px rgba(31, 51, 86, .1);
  transition: transform .2s, box-shadow .2s;
}
.tweet:hover { transform: translateY(-3px); box-shadow: 0 34px 90px rgba(31,51,86,.16); }
.tweet-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tweet-ava {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--paper-2);
  padding: 5px;
}
.tweet-who { display: flex; flex-direction: column; line-height: 1.25; }
.tweet-name { font-weight: 800; font-size: 15.5px; display: flex; align-items: center; gap: 4px; }
.badge { width: 17px; height: 17px; }
.tweet-at { color: var(--ink-3); font-size: 13.5px; }
.tweet-logo { margin-left: auto; font-size: 20px; color: var(--ink-3); }
.tweet-body { font-size: 19.5px; line-height: 1.45; margin-bottom: 16px; }
.lnk { color: #1d9bf0; }
.tweet-gone {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  border: 1px solid var(--hairline);
  background: var(--paper);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--ink-3);
  font-size: 13.5px;
  margin-bottom: 14px;
}
.gone-ico { font-size: 15px; }
.gone-note { font-size: 11px; color: #7d54d8; }
.tweet-when { color: var(--ink-3); font-size: 13px; }
.exhibit-verdict {
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  margin-top: 44px;
  color: var(--ink);
}
.exhibit-verdict em {
  font-style: italic; font-weight: 300;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- quoted post (nested, X-style) ---------- */
.quote-nest {
  border: 1px solid var(--hairline);
  background: var(--paper);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.qn-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.qn-ava {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lav), var(--mint));
  display: grid; place-items: center;
  font-size: 13px;
}
.qn-name { font-weight: 800; font-size: 14px; }
.qn-at { color: var(--ink-3); font-size: 13px; }
.qn-body { font-size: 15px; line-height: 1.5; margin-bottom: 10px; }
.qn-note { font-size: 10.5px; color: #7d54d8; }

/* ---------- archival capture ---------- */
.capture-fig {
  max-width: 560px;
  margin: 30px auto 0;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 14px 14px 10px;
  box-shadow: 0 24px 70px rgba(31, 51, 86, .12);
  transform: rotate(-.6deg);
}
.capture-fig img { border-radius: 10px; width: 100%; }
.capture-fig figcaption {
  font-size: 9.5px;
  letter-spacing: 1.3px;
  color: var(--ink-3);
  padding: 10px 4px 2px;
  line-height: 1.7;
}

/* ---------- specimen dossier ---------- */
.dossier {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.dossier-video {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 14px 14px 10px;
  box-shadow: 0 24px 70px rgba(31, 51, 86, .1);
  transform: rotate(.6deg);
}
.yt-frame { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dossier-video figcaption {
  font-size: 10px; letter-spacing: 1.4px; color: var(--ink-3);
  padding: 10px 4px 2px;
}
.dossier-copy h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  margin-bottom: 16px;
}
.dossier-copy p { color: var(--ink-2); font-size: 16px; margin-bottom: 16px; }
.dossier-copy em { font-family: var(--serif); font-style: italic; color: var(--ink); }
.dossier-punch {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink) !important;
  border-left: 3px solid;
  border-image: linear-gradient(var(--lav), var(--mint)) 1;
  padding-left: 16px;
}
.press-rail {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: baseline;
  font-size: 11px;
  letter-spacing: 1.2px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 12px 0;
  margin-bottom: 18px;
}
.press-h { color: var(--ink-3); }
.press-rail a { font-weight: 700; color: var(--ink-2); transition: color .15s; }
.press-rail a:hover {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.memorial-line { font-size: 13.5px; color: var(--ink-3); font-style: italic; }

/* ---------- gallery video ---------- */
.g-item video { border-radius: 10px; width: 100%; aspect-ratio: 21/9; object-fit: cover; }

/* ---------- tracker ---------- */
.tracker { list-style: none; max-width: 720px; position: relative; padding-left: 30px; }
.tracker::before {
  content: "";
  position: absolute;
  left: 7px; top: 12px; bottom: 26px;
  width: 2px;
  background: linear-gradient(var(--lav), var(--sky), var(--cyan), var(--mint));
  opacity: .5;
}
.tracker-step { position: relative; padding-bottom: 42px; }
.tk-dot {
  position: absolute;
  left: -30px; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--sky);
}
.tracker-step.done .tk-dot { border-color: var(--mint); background: var(--mint); box-shadow: 0 0 0 4px rgba(78,228,152,.18); }
.tracker-step.fail .tk-dot { border-color: var(--danger); background: #fff; }
.tracker-step.now .tk-dot { border-color: var(--lav); background: var(--lav); box-shadow: 0 0 0 5px rgba(176,144,245,.25); animation: blink 1.6s steps(2) infinite; }
.tk-date { font-size: 10.5px; letter-spacing: 1.6px; color: var(--ink-3); }
.tk-body h3 { font-family: var(--serif); font-weight: 600; font-size: 21px; margin: 4px 0 6px; }
.tracker-step.fail .tk-body h3 { color: var(--danger); }
.tk-body p { color: var(--ink-2); font-size: 15.5px; max-width: 560px; }
.tk-body em { font-family: var(--serif); }

/* ---------- terms ---------- */
.terms {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(31,51,86,.08);
}
.term {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--paper-2);
  transition: background .15s;
}
.term:hover { background: var(--paper); }
.term:last-child { border-bottom: none; }
.t-k { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; color: var(--ink-3); align-self: center; }
.t-v { font-size: 16px; color: var(--ink-2); }
.t-v b { color: var(--ink); }

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.g-item {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 12px;
  transition: transform .22s, box-shadow .22s;
}
.g-item:hover { transform: translateY(-5px) rotate(-.3deg); box-shadow: 0 30px 70px rgba(31,51,86,.14); }
.g-wide { grid-column: span 3; }
.g-item img { border-radius: 10px; width: 100%; object-fit: cover; }
.g-wide img { aspect-ratio: 21/9; }
.g-item:not(.g-wide) img { aspect-ratio: 1/1; }
.g-item figcaption {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--ink-3);
  padding: 10px 4px 2px;
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 26px 24px;
  transition: transform .2s, border-color .2s;
}
.step:hover { transform: translateY(-4px); border-color: var(--sky); }
.step-no {
  font-size: 10px; font-weight: 700; letter-spacing: 1.8px;
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
}
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; margin: 12px 0 8px; }
.step p { color: var(--ink-2); font-size: 14.5px; }

/* ---------- faq ---------- */
.faq { max-width: 760px; }
.qa {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.qa[open] { border-color: var(--lav); }
.qa summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 16.5px;
  padding: 19px 52px 19px 24px;
  position: relative;
  user-select: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 20px;
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  transition: transform .2s;
}
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa p { padding: 0 24px 20px; color: var(--ink-2); font-size: 15px; }

/* ---------- closing ---------- */
.closing {
  text-align: center;
  padding: 130px 24px 120px;
  margin-top: 80px;
  position: relative;
  background:
    radial-gradient(ellipse 55% 65% at 50% 110%, rgba(176,144,245,.16), transparent 65%),
    radial-gradient(ellipse 40% 50% at 30% 110%, rgba(78,228,152,.14), transparent 65%),
    radial-gradient(ellipse 40% 50% at 70% 110%, rgba(95,191,255,.14), transparent 65%);
}
.closing-coin {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 28px;
  box-shadow: 0 18px 50px rgba(31,51,86,.25);
}
.closing h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 58px);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 36px;
}
.closing h2 em {
  font-style: italic; font-weight: 300;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.closing .hero-cta { justify-content: center; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #9daabf; padding: 64px 32px 40px; }
.foot-grid {
  width: var(--w);
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.foot-col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.foot-h { font-size: 10px; letter-spacing: 1.8px; color: #5d6b82; margin-bottom: 6px; }
.foot-col a:hover { color: #fff; }
.foot-legal {
  width: var(--w);
  margin: 0 auto;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.8;
  color: #5d6b82;
  border-top: 1px solid #1c2637;
  padding-top: 26px;
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translate(-50%, 90px);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: 999px;
  z-index: 300;
  opacity: 0;
  transition: transform .35s cubic-bezier(.2,.9,.3,1.3), opacity .3s;
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .dossier { grid-template-columns: 1fr; gap: 30px; }
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding-top: 56px; }
  .hero-right { max-width: 460px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .g-wide { grid-column: span 2; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .arcs { display: none; }
}
@media (max-width: 640px) {
  .steps, .gallery { grid-template-columns: 1fr; }
  .g-wide { grid-column: span 1; }
  .index-row { grid-template-columns: 90px 1fr 70px; }
  .index-badge { display: none; }
  .term { grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .nav { padding: 12px 18px; }
  .brand-sub { display: none; }
  .hero-left { text-align: center; }
  .hero-left .doc-ref { font-size: 9px; letter-spacing: 1px; }
  .hero-pre { font-size: clamp(24px, 7vw, 40px); }
  .hero-h1 { font-size: clamp(36px, 10vw, 56px); }
  .hero-sub { font-size: clamp(18px, 5vw, 30px); }
  .hero-lede { text-align: left; margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .ca-row { display: flex; justify-content: center; }
  .ca-field { font-size: 11px; padding: 10px 12px; }
  .hero-right { max-width: 85vw; overflow: visible; }
  .stamp { right: -8px; top: -14px; font-size: 12px; padding: 7px 10px; }
}

/* ==========================================================================
   V4 — REAL PHOTO IDENTITY · meme gallery · live hedgehog
   ========================================================================== */

/* ---- circular photo logo (nav + closing) ---- */
.brand-coin {
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hairline);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.9), 0 2px 8px rgba(31,51,86,.12);
  flex: 0 0 auto;
  display: block;
}
.brand-coin img { width: 118%; height: 118%; object-fit: cover; object-position: 50% 42%; margin: -9%; }

.closing-coin {
  width: 104px; height: 104px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 28px;
  display: block;
  background: #fff;
  box-shadow: 0 0 0 6px #fff, 0 18px 50px rgba(31,51,86,.22);
  border: 1px solid var(--hairline);
}
.closing-coin img { width: 120%; height: 120%; object-fit: cover; object-position: 50% 42%; margin: -10%; }

/* ---- hero real photo ---- */
.mascot-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  background: #fbfaf7;
}
.plate-quote {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -.2px;
}
.plate-since {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 3px;
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  margin-top: 4px;
}

/* ---- meme cards ---- */
.meme {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f4f1ec;
}
.g-wide .meme, .meme-wide { aspect-ratio: 21 / 9; }
.meme img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.meme[data-top]::before, .meme[data-bottom]::after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 94%;
  text-align: center;
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: .5px;
  line-height: 1.02;
  font-size: clamp(15px, 2.4vw, 26px);
  -webkit-text-stroke: 1.6px #0b1221;
  paint-order: stroke fill;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
  pointer-events: none;
}
.g-wide .meme[data-top]::before, .g-wide .meme[data-bottom]::after { font-size: clamp(20px, 3.2vw, 40px); }
.meme[data-top]::before { content: attr(data-top); top: 6%; }
.meme[data-bottom]::after { content: attr(data-bottom); bottom: 6%; }

/* ---- coin disc ---- */
.coin-disc {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, #ffffff, #eef2f8 62%, #e3e9f3 100%);
  border: 6px solid #fff;
  box-shadow: inset 0 0 0 2px rgba(176,144,245,.35), inset 0 0 40px rgba(95,191,255,.15), 0 14px 40px rgba(31,51,86,.12);
  display: grid; place-items: end center;
  overflow: hidden;
  position: relative;
}
.coin-disc::after {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 50%;
  border: 1.5px dashed rgba(95,191,255,.4);
  pointer-events: none;
}
.coin-disc img { width: 82%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 8px 16px rgba(31,51,86,.18)); }

/* ---- ID card ---- */
.idcard {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #fff, #f3f6fb);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 14px;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
}
.idcard-head { display: flex; align-items: center; justify-content: space-between; }
.idcard-head .mono { font-size: 8.5px; letter-spacing: 1px; color: var(--ink-3); max-width: 70%; }
.idcard-chip { width: 26px; height: 20px; border-radius: 4px; background: linear-gradient(135deg, #e7c65a, #f0d98a); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.idcard-body { display: flex; gap: 12px; align-items: center; flex: 1; }
.idcard-body img { width: 42%; aspect-ratio: 1/1; object-fit: cover; object-position: 50% 40%; border-radius: 8px; background: #fff; border: 1px solid var(--hairline); }
.idcard-fields { display: flex; flex-direction: column; gap: 7px; font-size: 10.5px; color: var(--ink-2); }
.idcard-fields b { color: var(--ink-3); font-weight: 700; display: block; font-size: 8px; letter-spacing: 1px; }

/* ---- mini capture ---- */
.capture-mini { position: relative; aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; border: 1px solid var(--hairline); background: #000; }
.capture-mini img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

.gallery-note { text-align: center; margin-top: 34px; font-size: 12.5px; color: var(--ink-3); }

/* ---- download overlay ---- */
.g-item { cursor: pointer; }
.dl-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(0,0,0,0.6);
  border-radius: 12px;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
  z-index: 2;
}
.g-item:hover .dl-overlay { opacity: 1; }
.coin-disc .dl-overlay { border-radius: 50%; }
.dl-icon { color: #fff; }
.dl-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #fff;
}

/* mobile download badge */
.dl-mobile-badge {
  display: none;
  position: absolute;
  right: 8px; bottom: 8px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  z-index: 3;
  place-items: center;
  pointer-events: none;
}
.dl-mobile-badge svg {
  width: 16px; height: 16px;
  stroke: #fff; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
@media (hover: none) and (pointer: coarse) {
  .dl-overlay { display: none !important; }
  .dl-mobile-badge { display: grid; }
}

/* download all button */
.dl-all-wrap {
  text-align: center;
  margin-top: 36px;
}
.dl-all-btn {
  font-family: var(--mono);
  letter-spacing: .6px;
  cursor: pointer;
}
.dl-all-btn:disabled {
  opacity: .5;
  pointer-events: none;
}

/* ==========================================================================
   TINY LIVE HEDGEHOG
   ========================================================================== */
.hog {
  position: fixed;
  left: 0; bottom: 8px;
  z-index: 60;
  width: 66px;
  transform: translateX(-120px);
  cursor: pointer;
  -webkit-user-select: none; user-select: none;
}
.hog-img {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: 50% 100%;
  transition: transform .25s ease;
  filter: drop-shadow(0 6px 6px rgba(31,51,86,.22));
}
.hog[data-dir="left"] .hog-img { transform: scaleX(-1); }
.hog.is-walk .hog-img { animation: hogwalk .42s ease-in-out infinite; }
.hog[data-dir="left"].is-walk .hog-img { animation: hogwalk-l .42s ease-in-out infinite; }
@keyframes hogwalk {
  0%,100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-4px) rotate(1.5deg); }
}
@keyframes hogwalk-l {
  0%,100% { transform: scaleX(-1) translateY(0) rotate(1.5deg); }
  50% { transform: scaleX(-1) translateY(-4px) rotate(-1.5deg); }
}
.hog.is-sleep .hog-img { transform: rotate(6deg) translateY(2px); }
.hog[data-dir="left"].is-sleep .hog-img { transform: scaleX(-1) rotate(6deg) translateY(2px); }
.hog.is-wave .hog-img { animation: hogwave .5s ease-in-out 3; }
@keyframes hogwave {
  0%,100% { transform: rotate(0); }
  25% { transform: rotate(-9deg) translateY(-3px); }
  75% { transform: rotate(9deg) translateY(-3px); }
}
.hog.is-tap .hog-img { animation: hogtap .5s ease-in-out infinite; }
@keyframes hogtap {
  0%,100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-2px) rotate(3deg); }
}
.hog-shadow {
  position: absolute;
  left: 50%; bottom: -3px;
  transform: translateX(-50%);
  width: 70%; height: 9px;
  background: radial-gradient(ellipse, rgba(31,51,86,.22), transparent 70%);
  z-index: -1;
  transition: width .3s;
}
.hog.is-walk .hog-shadow { animation: hogshadow .42s ease-in-out infinite; }
@keyframes hogshadow { 0%,100% { width: 70%; opacity: .8; } 50% { width: 56%; opacity: .5; } }

.hog-bubble {
  position: absolute;
  bottom: 108%; left: 50%;
  transform: translateX(-50%) scale(0);
  transform-origin: bottom center;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
  padding: 6px 11px;
  border-radius: 12px;
  transition: transform .25s cubic-bezier(.2,.9,.3,1.4);
  pointer-events: none;
}
.hog-bubble::after {
  content: "";
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--ink);
}
.hog-bubble.show { transform: translateX(-50%) scale(1); }

@media (max-width: 640px) { .hog { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hog.is-walk .hog-img, .hog.is-wave .hog-img, .hog.is-tap .hog-img, .hog.is-walk .hog-shadow { animation: none; }
  .mascot-frame { animation: none; transform: rotate(1.2deg); }
  .hero-card-tilt { transition: none; }
}

/* ---- stability index: smooth 3s cadence ---- */
.spark path { transition: d .9s cubic-bezier(.4,0,.2,1); }
.index-val { transition: color .3s; }
.index-row.is-hedge.just-ticked .index-val { animation: hedgeflash .9s ease; }
@keyframes hedgeflash {
  0% { color: var(--lav); text-shadow: 0 0 14px rgba(176,144,245,.7); }
  100% { color: var(--lav); text-shadow: none; }
}


