/* ============================================================
   Kolibri — landing
   Deep-botanical register. Forest-green surface, bone text,
   one living emerald accent, mono for on-chain data.
   ============================================================ */

:root {
  /* surface — deep forest, tinted toward the brand hue */
  --bg:        oklch(0.185 0.028 168);
  --bg-2:      oklch(0.225 0.032 167);
  --bg-3:      oklch(0.275 0.036 165);
  --bg-glow:   oklch(0.40 0.09 162);

  /* paper — warm bone for the light break */
  --paper:     oklch(0.965 0.012 110);
  --paper-2:   oklch(0.992 0.006 110);
  --ink:       oklch(0.255 0.03 165);
  --ink-dim:   oklch(0.46 0.025 160);

  /* text on dark */
  --bone:      oklch(0.945 0.012 105);
  --bone-dim:  oklch(0.795 0.016 125);
  --bone-faint:oklch(0.62 0.018 140);

  /* living accent */
  --emerald:      oklch(0.78 0.155 162);
  --emerald-deep: oklch(0.66 0.155 163);
  --emerald-ink:  oklch(0.30 0.06 165);

  /* lines */
  --line:       oklch(0.42 0.03 165 / 0.55);
  --line-soft:  oklch(0.42 0.03 165 / 0.30);
  --line-paper: oklch(0.30 0.03 160 / 0.14);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--bone);
  line-height: 1.55;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--emerald); color: var(--emerald-ink); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--emerald);
}
.eyebrow.on-paper { color: var(--emerald-deep); }
.muted { color: var(--bone-dim); }

/* serif display */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; letter-spacing: -0.01em; line-height: 1.04; }
h2 { font-size: clamp(2rem, 1.3rem + 2.9vw, 3.4rem); }
.lead { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); color: var(--bone-dim); line-height: 1.5; max-width: 60ch; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; letter-spacing: -0.02em; }
.brand-tag {
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--bone-faint);
  border: 1px solid var(--line); border-radius: 4px; padding: 2px 5px; margin-left: 2px;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a.navlink {
  font-size: 0.9rem; color: var(--bone-dim);
  position: relative; transition: color 0.3s var(--ease);
}
.nav-links a.navlink::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1px; width: 0;
  background: var(--emerald); transition: width 0.4s var(--ease);
}
.nav-links a.navlink:hover { color: var(--bone); }
.nav-links a.navlink:hover::after { width: 100%; }
@media (max-width: 860px) { .nav-links .navlink { display: none; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.92rem;
  padding: 0.7rem 1.15rem; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary {
  background: var(--emerald); color: var(--emerald-ink);
  box-shadow: 0 1px 0 oklch(0.95 0.1 162 / 0.4) inset, 0 8px 24px -10px oklch(0.66 0.155 163 / 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 oklch(0.95 0.1 162 / 0.5) inset, 0 14px 34px -12px oklch(0.66 0.155 163 / 0.85); }
.btn-ghost { background: transparent; color: var(--bone); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--emerald); color: var(--bone); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--paper-2); }
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px oklch(0.255 0.03 165 / 0.6); }
.btn-sm { padding: 0.55rem 0.95rem; font-size: 0.85rem; border-radius: 9px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(8rem, 14vh, 12rem); padding-bottom: clamp(4rem, 8vh, 7rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: 0;
  top: -28%; right: -12%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle at center, var(--bg-glow) 0%, transparent 62%);
  opacity: 0.5; filter: blur(8px); pointer-events: none;
}
.hero::after { /* faint dot grid */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(var(--line-soft) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 75%);
  opacity: 0.5;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 3rem; } }

.hero h1 {
  font-size: clamp(2.6rem, 1.4rem + 4.6vw, 4.6rem);
  margin: 1.4rem 0 1.5rem;
  max-width: 14ch;
}
.hero h1 .accent { font-style: italic; color: var(--emerald); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.1rem; }
.hero-note { margin-top: 1.5rem; font-size: 0.85rem; color: var(--bone-faint); display: flex; align-items: center; gap: 0.5rem; }
.hero-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px oklch(0.78 0.155 162 / 0.18); animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .hero-note .dot { animation: none; } }

/* hero proof receipt */
.receipt {
  position: relative;
  background: linear-gradient(165deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line); border-radius: 18px;
  padding: 1.5rem 1.6rem; font-family: var(--mono); font-size: 0.82rem;
  box-shadow: 0 40px 80px -40px oklch(0.1 0.03 165 / 0.9);
}
.receipt::before { /* corner ticks */
  content: ""; position: absolute; inset: 10px; border-radius: 12px;
  border: 1px dashed var(--line-soft); pointer-events: none;
}
.receipt-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 0.9rem; margin-bottom: 0.9rem; border-bottom: 1px solid var(--line-soft); }
.receipt-title { letter-spacing: 0.16em; font-size: 0.66rem; text-transform: uppercase; color: var(--bone-dim); }
.chain-pill { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald); }
.chain-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); }
.receipt-row { display: grid; grid-template-columns: 5.5rem 1fr auto; gap: 0.4rem; padding: 0.42rem 0; align-items: center; }
.receipt-row .k { color: var(--bone-faint); font-size: 0.7rem; letter-spacing: 0.05em; }
.receipt-row .v { color: var(--bone); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.receipt-row .ok { color: var(--emerald); font-size: 0.92rem; }
.receipt-foot { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line-soft); font-size: 0.7rem; color: var(--bone-faint); line-height: 1.5; }

/* trust strip */
.trust { position: relative; z-index: 1; margin-top: clamp(3rem, 7vh, 5rem); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.trust-inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; padding: 1.4rem 0; }
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-item .t-k { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-faint); }
.trust-item .t-v { font-size: 0.95rem; color: var(--bone); }
.trust-item .t-v.mono { font-family: var(--mono); font-size: 0.85rem; }
.trust-item a.t-v:hover { color: var(--emerald); }

/* ============================================================
   SECTION shell
   ============================================================ */
section { position: relative; }
.section-pad { padding-block: clamp(5rem, 12vh, 9rem); }
.sec-head { max-width: 52ch; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.sec-head h2 { margin: 0.9rem 0 1.1rem; }

/* problem — editorial */
.problem .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .problem .wrap { grid-template-columns: 1fr; gap: 2.5rem; } }
.problem h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
.problem-body p { color: var(--bone-dim); margin-bottom: 1.1rem; max-width: 62ch; }
.problem-body p strong { color: var(--bone); font-weight: 600; }
.reg-list { margin-top: 1.8rem; display: flex; flex-direction: column; }
.reg-row { display: flex; align-items: baseline; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--line-soft); }
.reg-row:last-child { border-bottom: 1px solid var(--line-soft); }
.reg-row .r-code { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--emerald); min-width: 8.5rem; }
.reg-row .r-txt { color: var(--bone-dim); font-size: 0.95rem; }

/* ============================================================
   HOW — numbered editorial steps
   ============================================================ */
.how { background: linear-gradient(180deg, transparent, oklch(0.225 0.032 167 / 0.4), transparent); }
.steps { display: grid; gap: 0; margin-top: 1rem; }
.step {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2rem, 4vh, 2.8rem) 0; border-top: 1px solid var(--line-soft); align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line-soft); }
.step .s-num { font-family: var(--serif); font-size: 2.6rem; color: var(--emerald); line-height: 1; font-feature-settings: "ss01"; opacity: 0.9; }
.step .s-body { max-width: 60ch; }
.step h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); margin-bottom: 0.6rem; }
.step p { color: var(--bone-dim); }
.step .s-meta { margin-top: 0.9rem; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--bone-faint); display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.step .s-meta b { color: var(--emerald); font-weight: 400; }
@media (max-width: 700px) { .step { grid-template-columns: 1fr; gap: 0.7rem; } .step .s-num { font-size: 2rem; } }

/* ============================================================
   PASSPORT showcase — paper break
   ============================================================ */
.passport-sec { background: var(--paper); color: var(--ink); }
.passport-sec .eyebrow { color: var(--emerald-deep); }
.passport-sec h2 { color: var(--ink); }
.passport-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (max-width: 940px) { .passport-grid { grid-template-columns: 1fr; gap: 3rem; } }
.passport-copy h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); margin-bottom: 1.2rem; }
.passport-copy p { color: var(--ink-dim); max-width: 52ch; margin-bottom: 1.4rem; }
.pp-points { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.6rem; }
.pp-points li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--ink); font-size: 0.96rem; }
.pp-points .chk { flex: none; width: 22px; height: 22px; border-radius: 6px; background: oklch(0.66 0.155 163 / 0.14); color: var(--emerald-deep); display: grid; place-items: center; font-size: 0.8rem; margin-top: 1px; }

/* the DPP card (faithful to product) */
.dpp {
  background: var(--paper-2); border: 1px solid var(--line-paper); border-radius: 16px;
  box-shadow: 0 50px 90px -50px oklch(0.255 0.03 165 / 0.55), 0 2px 6px -2px oklch(0.255 0.03 165 / 0.12);
  overflow: hidden; font-size: 0.9rem;
}
.dpp-top { display: grid; grid-template-columns: 1fr auto auto; gap: 1.4rem; padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--line-paper); align-items: start; }
.dpp-field .f-k { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); }
.dpp-field .f-v { font-weight: 600; color: var(--ink); margin-top: 3px; }
.dpp-field .f-v.id { font-family: var(--mono); letter-spacing: 0.02em; }
.dpp-field .f-sub { font-size: 0.74rem; color: var(--ink-dim); margin-top: 2px; }
.dpp-pubbadge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.66rem; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald-deep); margin-bottom: 0.5rem; }
.dpp-pubbadge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald-deep); }
.qr { width: 76px; height: 76px; border-radius: 9px; background: var(--paper-2); border: 1px solid var(--line-paper); padding: 6px; }
.qr svg { width: 100%; height: 100%; }
.dpp-respon { text-align: right; }

.dpp-gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.4rem; border-bottom: 1px solid var(--line-paper); }
.gauge { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; }
.gauge svg { width: 72px; height: 72px; transform: rotate(-90deg); }
.gauge .track { fill: none; stroke: oklch(0.30 0.03 160 / 0.10); stroke-width: 7; }
.gauge .meter { fill: none; stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease); }
.gauge .g-val { font-family: var(--mono); font-weight: 600; font-size: 0.95rem; fill: var(--ink); transform: rotate(90deg); transform-origin: center; }
.gauge .g-lbl { font-size: 0.72rem; color: var(--ink-dim); line-height: 1.3; max-width: 12ch; }
.dpp-compliance { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 1.2rem 1.4rem; }
.cpill { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.76rem; padding: 0.35rem 0.7rem; border-radius: 999px; border: 1px solid var(--line-paper); color: var(--ink-dim); }
.cpill.on { color: var(--emerald-deep); border-color: oklch(0.66 0.155 163 / 0.35); background: oklch(0.66 0.155 163 / 0.07); }
.cpill .ring { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 0.6rem; }
.dpp-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; background: oklch(0.66 0.155 163 / 0.05); }
.dpp-foot .poe { font-size: 0.78rem; color: var(--ink-dim); max-width: 34ch; }

/* ============================================================
   PRIVACY — split, dark
   ============================================================ */
.privacy-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.privacy h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); margin-bottom: 1.2rem; }
.privacy p { color: var(--bone-dim); max-width: 54ch; margin-bottom: 1.1rem; }
/* on-chain vs off-chain ledger */
.ledger { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: linear-gradient(165deg, var(--bg-2), var(--bg)); }
.ledger-col { padding: 1.3rem 1.4rem; }
.ledger-col + .ledger-col { border-top: 1px solid var(--line-soft); }
.ledger-h { display: flex; align-items: center; gap: 0.6rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.9rem; }
.ledger-h.on { color: var(--emerald); }
.ledger-h.off { color: var(--bone-faint); }
.ledger-line { display: flex; align-items: center; gap: 0.6rem; font-family: var(--mono); font-size: 0.8rem; padding: 0.3rem 0; color: var(--bone-dim); }
.ledger-line .tag { font-size: 0.62rem; letter-spacing: 0.08em; padding: 1px 6px; border-radius: 4px; border: 1px solid var(--line-soft); color: var(--bone-faint); }
.ledger-line.hash .val { color: var(--emerald); }
.ledger-line.pii .val { color: var(--bone-dim); filter: blur(0.4px); }

/* ============================================================
   ECOSYSTEM / roadmap
   ============================================================ */
.eco .sec-head { max-width: 60ch; }
.eco-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: clamp(3rem, 7vh, 5rem); }
@media (max-width: 860px) { .eco-pillars { grid-template-columns: 1fr; } }
.pillar { border: 1px solid var(--line-soft); border-radius: 16px; padding: 1.6rem; background: oklch(0.225 0.032 167 / 0.4); transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.pillar:hover { border-color: var(--line); transform: translateY(-3px); }
.pillar .p-icn { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--emerald); margin-bottom: 1rem; }
.pillar h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.pillar p { color: var(--bone-dim); font-size: 0.9rem; }
.pillar .p-meta { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line-soft); font-family: var(--mono); font-size: 0.72rem; color: var(--bone-faint); }

.timeline { border-top: 1px solid var(--line-soft); }
.tl-row { display: grid; grid-template-columns: 8rem 1fr; gap: 1.5rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.tl-when { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--emerald); }
.tl-when.done { color: var(--bone-faint); }
.tl-what { color: var(--bone-dim); }
.tl-what b { color: var(--bone); font-weight: 600; font-family: var(--serif); font-size: 1.05rem; }
.tl-what .badge { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 1px 6px; border-radius: 4px; margin-left: 0.6rem; border: 1px solid var(--line-soft); color: var(--bone-faint); }
.tl-what .badge.live { color: var(--emerald); border-color: oklch(0.66 0.155 163 / 0.4); }
@media (max-width: 640px) { .tl-row { grid-template-columns: 1fr; gap: 0.4rem; } }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; overflow: hidden; }
.cta-card {
  position: relative; border-radius: 24px; padding: clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(150deg, var(--emerald-deep), oklch(0.5 0.13 165) 55%, var(--bg-3));
  text-align: center; isolation: isolate; overflow: hidden;
}
.cta-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(oklch(0.99 0.02 110 / 0.12) 1px, transparent 1px);
  background-size: 26px 26px; opacity: 0.5;
}
.cta-card h2 { color: oklch(0.16 0.04 165); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); max-width: 18ch; margin-inline: auto; }
.cta-card p { color: oklch(0.24 0.05 165); margin: 1rem auto 2rem; max-width: 48ch; }
.cta-card .btn-primary { background: var(--ink); color: var(--paper-2); box-shadow: 0 14px 34px -16px oklch(0.16 0.04 165 / 0.9); }
.cta-card .btn-primary:hover { background: oklch(0.2 0.04 165); }
.cta-card .cta-sub { margin-top: 1.3rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; color: oklch(0.28 0.05 165); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line-soft); padding-block: clamp(3.5rem, 8vh, 5rem) 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { color: var(--bone-faint); font-size: 0.88rem; max-width: 34ch; }
.footer-socials { display: flex; gap: 0.6rem; margin-top: 1.3rem; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-soft);
  display: grid; place-items: center; color: var(--bone-dim);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-socials a:hover { color: var(--emerald); border-color: var(--emerald); transform: translateY(-2px); }
.footer-socials svg { width: 17px; height: 17px; }
.footer-col h4 { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-faint); margin-bottom: 1.1rem; font-weight: 400; }
.footer-col a, .footer-col span { display: block; color: var(--bone-dim); font-size: 0.9rem; padding: 0.32rem 0; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--emerald); }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; align-items: center; justify-content: space-between; }
.footer-bottom .legal { font-size: 0.78rem; color: var(--bone-faint); }
.footer-bottom .pid { font-family: var(--mono); font-size: 0.72rem; color: var(--bone-faint); }
.footer-bottom .pid a:hover { color: var(--emerald); }

/* ============================================================
   reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .gauge .meter { transition: none; }
}
