/* Grain — grainbygrain.xyz · verification layer for agentic creative commerce.
   Design tokens inherited from the Grain brand system (Fraunces titles + Inter UI,
   grain-orange accent, wire-blue secondary). Dark, technical, agent-native. */

:root {
  --bg:            #0A0B0D;
  --surface:       #131519;
  --surface-2:     #1A1D23;
  --surface-3:     #21252C;
  --hairline:      #262A31;
  --hairline-soft: #1C2026;

  --text:          #ECEEF1;
  --text-soft:     #9BA1AC;
  --text-faint:    #5C636E;

  --grain:         #E8893B;
  --grain-bright:  #FFA85C;
  --grain-deep:    #B5611F;
  --grain-glow:    rgba(232,137,59,0.22);

  --wire:          #5BA8D4;
  --wire-soft:     rgba(91,168,212,0.4);

  --pass:          #5FD08A;
  --pass-soft:     rgba(95,208,138,0.14);
  --fail:          #F0686A;
  --fail-soft:     rgba(240,104,106,0.14);

  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 26px;
  --shadow:    0 12px 40px rgba(0,0,0,0.45);
  --shadow-lg: 0 32px 90px rgba(0,0,0,0.6);

  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease:   cubic-bezier(0.2, 0.8, 0.2, 1);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-ui:      "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  --maxw: 1320px;
  --maxw-text: 66ch;
  --section-y: 128px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--grain-glow); color: var(--grain-bright); }

/* ambient background field */
.bg-field {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(232,137,59,0.10), transparent 60%),
    radial-gradient(800px 700px at 8% 18%, rgba(91,168,212,0.06), transparent 55%);
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.section { padding: var(--section-y) 0; position: relative; z-index: 1; }
.rule { height: 1px; background: var(--hairline); width: 100%; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: 18px;
  display: flex; align-items: center; gap: 0.6em;
}
.eyebrow .idx { color: var(--grain); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; }
h1 { font-size: clamp(38px, 5.4vw, 64px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: clamp(19px, 1.7vw, 23px); }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--text-soft); line-height: 1.6; max-width: var(--maxw-text); text-wrap: pretty; }
.muted { color: var(--text-soft); }
.faint { color: var(--text-faint); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.grain-text { color: var(--grain-bright); }
strong { color: var(--text); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-ui); font-size: 15px; font-weight: 500;
  padding: 12px 20px; border-radius: 11px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.4s var(--spring), background 0.25s var(--ease), box-shadow 0.35s var(--ease), border-color 0.25s, color 0.2s;
}
.btn-grain {
  color: #1a1205; border: none;
  background: linear-gradient(180deg, var(--grain-bright) 0%, var(--grain) 48%, var(--grain-deep) 130%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 24px -8px var(--grain-glow);
  font-weight: 600;
}
.btn-grain:hover { transform: translateY(-1.5px); box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 14px 36px -8px var(--grain-glow); }
.btn-ghost { color: var(--text); border-color: var(--hairline); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: #343a45; background: rgba(255,255,255,0.05); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(14px); background: rgba(10,11,13,0.72);
  border-bottom: 1px solid var(--hairline-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand svg { width: 28px; height: 28px; }
.brand .word { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--text-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero { padding-top: 150px; padding-bottom: 80px; position: relative; z-index: 1; background: #000; }  /* pure black so the black-bg mascot blends seamlessly (above the bg-field layer) */
.hero-grid { display: grid; grid-template-columns: 1.05fr 1.1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .em { font-style: italic; color: var(--grain-bright); }
.hero .lead { margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--text-faint); }
.hero-meta b { color: var(--text-soft); font-weight: 600; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 38px; } }

/* ---------- terminal ---------- */
.terminal {
  background: linear-gradient(180deg, #0d0f13, #0b0c0f);
  border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.7;
}
.term-bar { display: flex; align-items: center; gap: 8px; padding: 11px 15px; border-bottom: 1px solid var(--hairline-soft); background: rgba(255,255,255,0.015); }
.term-dot { width: 11px; height: 11px; border-radius: 50%; background: #2c313a; }
.term-dot.r { background: #d35b56; } .term-dot.y { background: #d8a23f; } .term-dot.g { background: #4fae6e; }
.term-title { margin-left: 8px; font-size: 12px; color: var(--text-faint); letter-spacing: 0.04em; }
.term-body { padding: 18px 20px; min-height: 430px; white-space: pre-wrap; }
.term-line { display: block; opacity: 0; transform: translateY(3px); animation: termIn 0.32s var(--ease) forwards; }
@keyframes termIn { to { opacity: 1; transform: none; } }
.t-actor { color: var(--wire); } .t-dim { color: var(--text-faint); }
.t-pass { color: var(--pass); } .t-fail { color: var(--fail); }
.t-pass-row, .t-fail-row { display: inline-block; padding: 0 6px; border-radius: 5px; }
.t-pass-row { background: var(--pass-soft); } .t-fail-row { background: var(--fail-soft); }
.t-verdict-pass { color: var(--pass); font-weight: 700; }
.t-verdict-fail { color: var(--fail); font-weight: 700; }
.t-grain { color: var(--grain-bright); }
.term-cursor { display: inline-block; width: 8px; height: 15px; background: var(--grain); vertical-align: text-bottom; animation: blink 1s steps(2) infinite; }
@keyframes blink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }
.term-replay { font-family: var(--font-ui); }

/* ---------- pain strip ---------- */
.pain { background: linear-gradient(180deg, transparent, rgba(240,104,106,0.03), transparent); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.pain-stat { border-left: 2px solid var(--fail); padding-left: 18px; }
.pain-stat .n { font-family: var(--font-display); font-size: 34px; color: var(--text); line-height: 1; margin-bottom: 8px; }
.pain-stat .d { font-size: 14px; color: var(--text-soft); }
@media (max-width: 760px) { .pain-grid { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- pillars ---------- */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 28px 26px; transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.card:hover { border-color: #343a45; transform: translateY(-3px); box-shadow: var(--shadow); }
.card .pill-ix { font-family: var(--font-mono); font-size: 12px; color: var(--grain); letter-spacing: 0.1em; }
.card h3 { margin: 14px 0 10px; }
.card p { font-size: 14.5px; color: var(--text-soft); }
.card .tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.tag { font-family: var(--font-mono); font-size: 11px; color: var(--text-soft); border: 1px solid var(--hairline); border-radius: 6px; padding: 3px 8px; }
@media (max-width: 880px) { .pillars-grid { grid-template-columns: 1fr; } }

/* ---------- how it works ---------- */
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 46px; position: relative; }
.step { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 22px 20px; }
.step .s-n { font-family: var(--font-mono); font-size: 12px; color: var(--grain); }
.step h3 { font-size: 18px; margin: 10px 0 8px; }
.step p { font-size: 13.5px; color: var(--text-soft); }
.how-loop { margin-top: 22px; font-size: 14px; color: var(--text-soft); text-align: center; }
.how-loop b { color: var(--grain-bright); }
@media (max-width: 880px) { .how-steps { grid-template-columns: 1fr 1fr; } }

/* ---------- white space table ---------- */
.ws-table { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ws-col { border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 24px 22px; background: var(--surface); }
.ws-col.grain { border-color: var(--grain-deep); background: linear-gradient(180deg, rgba(232,137,59,0.06), transparent); box-shadow: 0 16px 50px -24px var(--grain-glow); }
.ws-col h3 { font-size: 17px; margin-bottom: 6px; }
.ws-col .who { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); margin-bottom: 16px; }
.ws-row { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text-soft); padding: 5px 0; }
.ws-row .mk { flex: none; font-weight: 700; }
.ws-row .yes { color: var(--pass); } .ws-row .no { color: var(--fail); }
@media (max-width: 880px) { .ws-table { grid-template-columns: 1fr; } }

/* ---------- custody ---------- */
.custody-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.custody-box { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 26px; font-family: var(--font-mono); font-size: 13px; }
.custody-box .can { color: var(--pass); } .custody-box .cannot { color: var(--fail); }
.custody-box .lbl { color: var(--text-faint); display: block; margin: 14px 0 6px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.pull { font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); line-height: 1.35; color: var(--text); }
@media (max-width: 880px) { .custody-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- skill / agent-native ---------- */
.skill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
.skill-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 26px; }
.skill-card .cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wire); }
.skill-card h3 { margin: 10px 0; }
.skill-card pre { margin-top: 16px; background: #0c0e11; border: 1px solid var(--hairline-soft); border-radius: var(--r-sm); padding: 14px 16px; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-soft); overflow-x: auto; }
.skill-card pre .k { color: var(--grain-bright); }
@media (max-width: 760px) { .skill-grid { grid-template-columns: 1fr; } }

/* ---------- proof ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.proof-stat { text-align: center; padding: 22px 14px; border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--surface); }
.proof-stat .n { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); color: var(--grain-bright); line-height: 1; }
.proof-stat .d { font-size: 12.5px; color: var(--text-soft); margin-top: 9px; }
.proof-note { margin-top: 22px; font-size: 12.5px; color: var(--text-faint); text-align: center; }
@media (max-width: 760px) { .proof-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 38px; border-top: 1px solid var(--hairline); }
details.faq { border-bottom: 1px solid var(--hairline); padding: 4px 0; }
details.faq summary { cursor: pointer; list-style: none; padding: 20px 4px; font-family: var(--font-display); font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .pm { color: var(--grain); font-family: var(--font-mono); font-size: 20px; transition: transform 0.25s; flex: none; }
details.faq[open] summary .pm { transform: rotate(45deg); }
details.faq p { padding: 0 4px 22px; color: var(--text-soft); font-size: 15px; max-width: var(--maxw-text); }

/* ---------- final CTA + footer ---------- */
.final { text-align: center; }
.final h2 { max-width: 18ch; margin: 0 auto 20px; }
.final .lead { margin: 0 auto 30px; }
.final-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
footer { border-top: 1px solid var(--hairline); padding: 40px 0 56px; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; font-size: 13px; color: var(--text-soft); }
.foot-links a:hover { color: var(--text); }
.foot-note { font-size: 12px; color: var(--text-faint); margin-top: 6px; }

.disclaimer { margin-top: 26px; padding: 16px 18px; border: 1px solid var(--hairline-soft); border-radius: var(--r-md); background: rgba(255,255,255,0.015); font-size: 12.5px; color: var(--text-faint); }
.disclaimer b { color: var(--text-soft); }

/* =========================================================================
   REDESIGN LAYER — dual light/dark sections, 3D viewport, Bazaar tiles,
   count-up metrics, scroll-reveal, CTA band. (Animoca-vibe overhaul.)
   ========================================================================= */

/* ---------- light sections (remap tokens locally; components adapt) ---------- */
.section.light {
  --bg: #F6F3ED; --surface: #FFFFFF; --surface-2: #F1EBE1; --surface-3: #E9E2D5;
  --hairline: #E6DFD1; --hairline-soft: #EFE9DE;
  --text: #14171C; --text-soft: #545A63; --text-faint: #8A8F98;
  --pass: #1F9D57; --pass-soft: rgba(31,157,87,0.12);
  --fail: #D8413F; --fail-soft: rgba(216,65,63,0.10);
  --shadow: 0 16px 44px rgba(60,42,18,0.10); --shadow-lg: 0 28px 70px rgba(60,42,18,0.14);
  background: var(--bg); color: var(--text);
}
.section.light .lead, .section.light .muted { color: var(--text-soft); }
.section.light .eyebrow { color: var(--text-faint); }
.section-head { max-width: 42ch; }
.section-head.center { margin: 0 auto; text-align: center; }
.section .eyebrow.center { justify-content: center; }

/* ---------- hero: 3D viewport variant ---------- */
.hero .lead { max-width: 52ch; }
.viewport-wrap {
  position: relative; border: 1px solid var(--hairline); border-radius: var(--r-lg);
  overflow: hidden; background: radial-gradient(130% 110% at 50% 0%, #0c0d10, #030304);
  box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1; touch-action: none;
}
#grain-canvas { display: block; width: 100%; height: 100%; cursor: grab; }
#grain-canvas:active { cursor: grabbing; }
.vp-toolbar { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 3; }
.vp-pill {
  font: 500 12px var(--font-ui); padding: 6px 13px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(10,11,13,0.55); color: var(--text-soft);
  cursor: pointer; backdrop-filter: blur(8px); transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.vp-pill:hover { color: var(--text); }
.vp-pill.active { background: linear-gradient(180deg, var(--grain-bright), var(--grain-deep)); color: #1a1205; border-color: transparent; font-weight: 600; }
.vp-badge {
  position: absolute; top: 16px; right: 16px; z-index: 3; font-family: var(--font-mono); font-size: 12px;
  padding: 6px 11px; border-radius: 8px; border: 1px solid; background: rgba(10,11,13,0.6); backdrop-filter: blur(8px);
}
.vp-badge.bad { color: var(--fail); border-color: rgba(240,104,106,0.5); }
.vp-badge.good { color: var(--pass); border-color: rgba(95,208,138,0.5); }
.vp-verdict {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3;
  background: rgba(10,11,13,0.66); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md); padding: 12px 14px; font-family: var(--font-mono); font-size: 12px;
  opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s; pointer-events: none;
}
.vp-verdict.show { opacity: 1; transform: none; }
.vp-row { display: flex; align-items: center; gap: 8px; padding: 2px 0; color: var(--text-soft); }
.vp-row .mk { font-weight: 700; }
.vp-row .mk.ok { color: var(--pass); } .vp-row .mk.no { color: var(--fail); }
.vp-row .val { margin-left: auto; color: var(--text-faint); }
.vp-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--text-faint); font: 12px var(--font-mono); z-index: 1; }
.vp-caption { margin-top: 12px; font-size: 12.5px; color: var(--text-faint); text-align: center; }
.viewport-wrap.state-good { border-color: rgba(95,208,138,0.35); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(95,208,138,0.12); }
.viewport-wrap.state-bad { border-color: rgba(240,104,106,0.4); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(240,104,106,0.14); }
.vp-switch { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.vp-switch .vp-caption { margin: 0 0 0 auto; text-align: right; }

/* ---------- count-up metrics ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 44px; }
.metric .n { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 4.4vw, 52px); line-height: 1; letter-spacing: -0.035em; color: var(--text); font-variant-numeric: tabular-nums; }
.metric .n .unit { color: var(--grain); }
.metric .d { margin-top: 12px; font-size: 14px; color: var(--text-soft); max-width: 28ch; }
.metric .src { margin-top: 6px; font-size: 11px; color: var(--text-faint); }
@media (max-width: 760px) { .metrics { grid-template-columns: 1fr 1fr; gap: 22px; } }

/* ---------- Bazaar / marketplace tiles + pill filters ---------- */
.bazaar-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 40px 0 24px; }
.filter-pill {
  font: 500 13px var(--font-ui); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--hairline);
  background: transparent; color: var(--text-soft); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-pill:hover { border-color: #3a4049; color: var(--text); }
.filter-pill.active { background: linear-gradient(180deg, var(--grain-bright), var(--grain-deep)); color: #1a1205; border-color: transparent; font-weight: 600; }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  position: relative; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 24px; overflow: hidden; transition: transform 0.3s var(--ease), border-color 0.25s, box-shadow 0.3s;
}
.tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 100% 0%, var(--grain-glow), transparent 55%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.tile:hover { transform: translateY(-4px); border-color: #343a45; box-shadow: var(--shadow); }
.tile:hover::after { opacity: 1; }
.tile-ico { width: 50px; height: 50px; object-fit: contain; display: block; margin: -4px 0 10px; mix-blend-mode: screen; }
.tile-type { font: 600 10px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--wire); }
.tile h3 { font-size: 18px; margin: 6px 0 8px; }
.tile p { font-size: 13.5px; color: var(--text-soft); }
.tile-foot { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; }
.tile-foot .verified { color: var(--grain); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; }
.tile-foot .equip { color: var(--text-soft); display: inline-flex; align-items: center; gap: 4px; transition: color 0.2s, gap 0.2s; }
.tile:hover .tile-foot .equip { color: var(--text); gap: 7px; }
@media (max-width: 880px) { .tile-grid { grid-template-columns: 1fr; } }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.07s; } .reveal.d2 { transition-delay: 0.14s; } .reveal.d3 { transition-delay: 0.21s; } .reveal.d4 { transition-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; border-radius: var(--r-xl); overflow: hidden; padding: 72px 40px; text-align: center;
  border: 1px solid var(--hairline);
  background: radial-gradient(120% 150% at 50% -30%, rgba(232,137,59,0.20), transparent 58%), linear-gradient(180deg, #121318, #0a0b0e);
}
.cta-band h2 { max-width: 20ch; margin: 0 auto 18px; }
.cta-band .lead { margin: 0 auto 30px; color: var(--text-soft); }
.cta-band .final-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* nav: subtle adaptive contrast already dark-glass; keep on top of light sections */
.nav { border-bottom: 1px solid rgba(255,255,255,0.06); }

/* ---------- glass figures ---------- */
/* figures are black-bg renders blended onto dark sections — screen makes the black vanish + glass glows */
.hero-mascot {
  width: clamp(118px, 12vw, 172px); height: auto; display: block; margin: -8px 0 8px -18px;
  animation: floatY 7s var(--ease) infinite; will-change: transform;
}
@keyframes floatY { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-13px) rotate(1.5deg); } }
.step { position: relative; }
.step-fig { width: 86px; height: 86px; object-fit: contain; display: block; margin: -6px 0 10px; mix-blend-mode: screen; }
@media (prefers-reduced-motion: reduce) { .hero-mascot { animation: none; } }

