/* ============================================================
   KHEPRI — Built to Evolve. | Approved design system v1
   Obsidian #0b0c10 · Solar Gold #d9a937 · Sunrise Amber #ff9a35
   Sand #ead9c8 · Deep Teal #00d0c1 · Century Gothic-style geometry
   ============================================================ */
:root {
  --bg: #0b0c10;
  --bg-rise: #101218;
  --surface: #12141b;
  --surface-2: #161923;
  --line: #262a36;
  --line-gold: rgba(217, 169, 55, .32);
  --gold: #d9a937;
  --gold-2: #f0c96a;
  --amber: #ff9a35;
  --sand: #ead9c8;
  --ink: #f2ede2;
  --muted: #a8a795;
  --teal: #00d0c1;
  --burn: #c47b2a;
  --radius: 12px;
  --radius-lg: 20px;
  --max: 1280px;
  --pad: 5vw;
  --font-display: var(--font-head, "Century Gothic", "Questrial", "Futura", "Avenir Next", system-ui, sans-serif);
  --font-body: "Century Gothic", "Questrial", "Futura", "Avenir Next", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-2); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--amber); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- type ---------- */
.kicker {
  font-size: .78rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.kicker::after { content: ""; display: block; width: 56px; height: 1px; margin-top: 12px;
  background: linear-gradient(90deg, var(--gold), transparent); }
h1 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; }
h1.display {
  font-size: clamp(2.6rem, 6.5vw, 4.9rem); letter-spacing: .01em;
}
h1.wordmark {
  font-size: clamp(3.4rem, 10vw, 7.6rem);
  letter-spacing: .16em;
  background: linear-gradient(180deg, #f7e7b8 0%, var(--gold-2) 34%, var(--burn) 78%, #8f5c1c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 28px rgba(217,169,55,.22));
}
h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.15; }
h3 { font-family: var(--font-display); font-size: 1.08rem; letter-spacing: .02em; }
.lede { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 62ch; }
.gold-txt { color: var(--gold-2); }
.amber-txt { color: var(--amber); }
.muted { color: var(--muted); }

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section { position: relative; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.grid, .g-2, .g-3, .g-4, .g-5 { display: grid; gap: 1.1rem; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11,12,16,.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 1.4rem; min-height: 68px; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.brand { display: flex; align-items: center; gap: .65rem; margin-right: .4rem; }
.brand svg { width: 34px; height: 34px; }
.brand .word { font-family: var(--font-display); font-weight: 700; letter-spacing: .3em; font-size: 1.02rem; color: var(--gold-2); }
.nav-links { display: flex; align-items: center; gap: 1.2rem; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: .84rem; letter-spacing: .03em; padding: .45rem 0; position: relative; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--gold-2); }
.nav-links a[aria-current="page"]::after { content:""; position:absolute; left:0; right:0; bottom:2px; height:1px; background: var(--gold); }
.nav .cta { margin-left: 1.2rem; }
.burger { display: none; margin-left: auto; background: none; border: 0; color: var(--gold-2); width: 44px; height: 44px; cursor: pointer; }
.burger svg { width: 26px; height: 26px; margin: auto; }

/* mobile menu */
.mnav { display: none; position: fixed; inset: 68px 0 auto 0; z-index: 59;
  background: rgba(13,14,19,.97); border-bottom: 1px solid var(--line);
  padding: .8rem var(--pad) 1.4rem; }
.mnav.open { display: block; }
.mnav a { display: block; padding: .8rem .2rem; border-bottom: 1px solid var(--line); color: var(--ink); }
.mnav a:last-child { border-bottom: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-size: .86rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .92rem 1.55rem; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s, box-shadow .18s, background .2s, border-color .2s;
}
.btn-primary {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--burn));
  color: #100d05; font-weight: 700;
  box-shadow: 0 10px 26px rgba(217,169,55,.22), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(217,169,55,.32); color:#100d05; }
.btn-ghost { border-color: var(--line-gold); color: var(--gold-2); background: rgba(217,169,55,.05); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(217,169,55,.1); transform: translateY(-1px); }
.btn-sm { padding: .6rem 1rem; font-size: .74rem; }

/* ---------- cards ---------- */
.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem 1.5rem;
  position: relative;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-gold); box-shadow: 0 16px 34px rgba(0,0,0,.4); }
.card .icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(217,169,55,.09); border: 1px solid var(--line-gold); margin-bottom: 1.05rem; color: var(--gold-2); }
.card .icon svg { width: 22px; height: 22px; }
.card p { color: var(--mtime, var(--muted)); font-size: .95rem; margin-top: .5rem; }
.card .thumb { margin: -1.55rem -1.5rem 1.2rem; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16/9; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { color: var(--ink); }

.pill { display:inline-block; font-size: .72rem; letter-spacing:.14em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; }
.pill.gold { color: var(--gold-2); border-color: var(--line-gold); background: rgba(217,169,55,.07); }
.pill.teal { color: var(--teal); border-color: rgba(0,208,193,.35); background: rgba(0,208,193,.06); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100svh - 68px); display: flex; align-items: center; }
.hero .art { position: absolute; inset: 0; z-index: -2; }
.hero .art img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 42%; opacity: .92; }
.hero .art::after { content:""; position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(90deg, rgba(11,12,16,.96) 0%, rgba(11,12,16,.72) 34%, rgba(11,12,16,.25) 62%, rgba(11,12,16,.55) 100%),
    linear-gradient(0deg, var(--bg) 2%, transparent 34%),
    radial-gradient(120% 90% at 78% 50%, transparent 40%, rgba(11,12,16,.55) 78%, var(--bg) 100%); }
.hero-inner { padding: clamp(3rem, 8vw, 6rem) 0; max-width: 760px; }
.hero .badge { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; letter-spacing: .32em;
  text-transform: uppercase; color: var(--sand); margin-bottom: 1.4rem; }
.hero .badge b { color: var(--gold); font-weight: 600; }
.hero .badge .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero .sub { color: var(--mtime, #cfc9ba); font-size: clamp(1rem, 1.6vw, 1.22rem); max-width: 46ch; margin-top: 1.3rem; }
.hero .actions { display: flex; gap: .9rem; margin-top: 2.1rem; flex-wrap: wrap; }
.hero .side { position: absolute; right: clamp(1.5rem, 4vw, 4rem); top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; text-orientation: mixed; letter-spacing: .5em; font-size: .8rem;
  text-transform: uppercase; color: rgba(234,217,200,.5); border-right: 1px solid rgba(234,217,200,.25); padding-right: 1rem; }
.scroll-cue { position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%); color: var(--muted); }
.scroll-cue svg { width: 22px; height: 22px; animation: bob 2.2s infinite ease-in-out; }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(6px);} }

/* ---------- strip (4 value items) ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-rise); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { display: flex; align-items: center; gap: .95rem; padding: 1.35rem 1.5rem; border-right: 1px solid var(--line); }
.strip-item:last-child { border-right: 0; }
.strip-item svg { width: 26px; height: 26px; color: var(--gold-2); flex-shrink: 0; }
.strip-item .t { font-weight: 700; font-size: .92rem; }
.strip-item .d { font-size: .82rem; color: var(--muted); line-height: 1.45; }

/* ---------- page hero (interior) ---------- */
.ph { position: relative; overflow: hidden; padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(2.4rem, 5vw, 3.6rem); }
.ph::before { content:""; position:absolute; inset:0; z-index:-1;
  background: radial-gradient(58% 90% at 82% 0%, rgba(217,169,55,.13), transparent 60%),
              radial-gradient(40% 70% at 20% 10%, rgba(0,208,193,.05), transparent 60%); }
.ph p.lede { margin-top: 1.1rem; }

/* ---------- tokenomics ---------- */
.token-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.2rem; align-items: stretch; }
.donut-wrap { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.donut { width: 240px; height: 240px; border-radius: 50%; flex-shrink: 0; position: relative;
  background: conic-gradient(#f0c96a 0 40%, #d9a937 0 55%, #b07d22 0 75%, #7a5a17 0 90%, #ead9c8 0 100%);
  box-shadow: 0 0 60px rgba(217,169,55,.14), inset 0 0 0 1px rgba(255,255,255,.06); }
.donut::after { content:""; position:absolute; inset: 22%; border-radius:50%; background: var(--bg); }
.donut .center { position: absolute; inset: 22%; display: grid; place-items: center; text-align: center; z-index: 2; }
.donut .center .big { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; color: var(--ink); line-height: 1.2; }
.donut .center .sm { font-size: .8rem; color: var(--muted); letter-spacing: .1em; }
.legend { display: grid; gap: .75rem; min-width: 240px; }
.legend .row { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: .7rem; font-size: .92rem; }
.legend .sw { width: 12px; height: 12px; border-radius: 4px; }
.legend .pc { color: var(--gold-2); font-weight: 700; min-width: 3.2ch; }
.legend .amt { color: var(--muted); font-variant-numeric: tabular-nums; justify-self: end; }
.legend .row.total { border-top: 1px solid var(--line); padding-top: .75rem; margin-top: .3rem; font-weight: 700; }

.fee-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.fee-table th, .fee-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.fee-table th { color: var(--muted); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.fee-table td b { color: var(--gold-2); font-variant-numeric: tabular-nums; }

/* ---------- cycle ---------- */
.cycle-row { display:grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.cycle-step { text-align:center; padding: 1.3rem .6rem; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), transparent); border: 1px solid var(--line); position:relative; }
.cycle-step .orb { width: 54px; height: 54px; margin: 0 auto .9rem; border-radius: 50%;
  display:grid; place-items:center; font-family: var(--font-display); font-weight:700; color:#140e03;
  background: radial-gradient(circle at 32% 30%, #ffe9b0, var(--gold) 45%, #7a5410 100%);
  box-shadow: 0 8px 26px rgba(217,169,55,.3), 0 0 0 1px rgba(255,255,255,.06) inset; }
.cycle-step:nth-child(3) .orb, .cycle-step:nth-child(5) .orb {
  background: radial-gradient(circle at 32% 30%, #d8fffb, var(--teal) 45%, #045d57 100%);
  box-shadow: 0 8px 26px rgba(0,208,193,.25), 0 0 0 1px rgba(255,255,255,.06) inset; }
.cycle-step .n { position:absolute; top: .8rem; left: 1rem; font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cycle-step h4 { font-family: var(--font-display); font-size: .98rem; }
.cycle-step p { font-size: .78rem; color: var(--muted); margin-top: .35rem; line-height: 1.5; }

/* ---------- transparency ---------- */
.pending-card { border-style: dashed; border-color: rgba(217,169,55,.28); }
.pending-card .pending { display:inline-flex; align-items:center; gap:.5rem; font-size:.76rem;
  letter-spacing:.16em; text-transform:uppercase; color:var(--amber); margin-top:.9rem; }
.pending-card .pending::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--amber);
  box-shadow:0 0 10px var(--amber); animation:pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.mono { font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace; font-size:.86rem; color: var(--sand); }

/* ---------- docs ---------- */
.doc-card .glyph { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 1.5rem; }

/* ---------- steps (get khepri) ---------- */
.steps { counter-reset: step; display: grid; gap: 1rem; }
.step-card { display:flex; gap:1.2rem; align-items:flex-start; }
.step-card .num { counter-increment: step; width: 46px; height: 46px; flex-shrink:0; border-radius: 12px;
  display:grid; place-items:center; font-family:var(--font-display); font-weight:700; color:#140e03;
  background: linear-gradient(180deg, var(--gold-2), var(--burn)); box-shadow: 0 8px 22px rgba(217,169,55,.25); }
.step-card .num::before { content: counter(step, decimal-leading-zero); }
.step-card h3 { margin-bottom: .3rem; }
.step-card p { color: var(--muted); font-size:.94rem; }
.step-connector { height:1px; background: linear-gradient(90deg, var(--line-gold), transparent); margin-left: calc(46px*.5); }

/* ---------- faq ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq-item + .faq-item { margin-top: .8rem; }
.faq-item summary {
  list-style: none; cursor: pointer; display:flex; align-items:center; justify-content:space-between;
  gap: 1rem; padding: 1.15rem 1.4rem; font-family: var(--font-display); font-size: .99rem; letter-spacing:.02em;
}
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary .chev { width: 20px; height: 20px; color: var(--gold-2); transition: transform .25s; flex-shrink:0; }
.faq-item[open] summary .chev { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.4rem 1.35rem; color: var(--muted); font-size: .95rem; }
.faq-item[open] { border-color: var(--line-gold); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); background: #08090d; }
.foot-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.4rem; padding: 3.6rem 0 2.6rem; }
.foot-brand { display:flex; align-items:center; gap:.6rem; }
.foot-brand svg { width:30px; height:30px; }
.foot-brand .word { font-family:var(--font-display); font-weight:700; letter-spacing:.28em; color:var(--gold-2); font-size:1rem; }
.foot-tag { color: var(--muted); font-size: .88rem; margin-top: .9rem; max-width: 34ch; }
.foot-col h4 { font-size:.78rem; letter-spacing:.22em; text-transform:uppercase; color:var(--gold-2); margin-bottom:1rem; }
.foot-col a { display:block; color:var(--muted); font-size:.9rem; padding:.28rem 0; }
.foot-col a:hover { color:var(--ink); }
.foot-bottom { display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding: 1.2rem 0; border-top:1px solid var(--line); color:#7d7c6d; font-size:.8rem; flex-wrap:wrap; }
.foot-social { display:flex; gap:.8rem; }
.foot-social a { width:36px; height:36px; border:1px solid var(--line); border-radius:10px; display:grid; place-items:center; color:var(--muted); }
.foot-social a:hover { color:var(--gold-2); border-color:var(--line-gold); }
.foot-social svg { width:16px; height:16px; }

/* ---------- risk banner ---------- */
.riskline { background: rgba(255,154,53,.06); border-top: 1px solid rgba(255,154,53,.22); }
.riskline .wrap { display:flex; align-items:center; gap:.7rem; padding-top:.7rem; padding-bottom:.7rem; font-size:.8rem; color:var(--sand); }
.riskline svg { width:16px; height:16px; color:var(--amber); flex-shrink:0; }

/* ---------- misc ---------- */
.section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:1.4rem; margin-bottom:2.2rem; flex-wrap:wrap; }
.backdrop { position:absolute; inset:0; z-index:-2; overflow:hidden; }
.backdrop img { width:100%; height:100%; object-fit:cover; opacity:.5; object-position:center 35%; }
.backdrop::after { content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(11,12,16,.62) 40%, var(--bg) 100%); }
.divider { height:1px; background:linear-gradient(90deg, transparent, var(--line-gold), transparent); border:0; }
.tagrow { display:flex; gap:.55rem; flex-wrap:wrap; }
.warnbox { border:1px solid rgba(255,154,53,.3); background:rgba(255,154,53,.05);
  border-radius:var(--radius); padding:1.1rem 1.3rem; color:var(--sand); font-size:.9rem; }
.okbox { border:1px solid rgba(0,208,193,.3); background:rgba(0,208,193,.05);
  border-radius:var(--radius); padding:1.1rem 1.3rem; color:var(--sand); font-size:.9rem; }

/* 404 */
.nf { min-height:72svh; display:grid; place-items:center; text-align:center; }
.nf .big { font-family:var(--font-display); font-weight:700; font-size:clamp(5rem,14vw,9rem);
  letter-spacing:.12em; color:transparent; background:linear-gradient(180deg,var(--gold-2),var(--burn));
  -webkit-background-clip:text; background-clip:text; }
.nf .sun { width:130px; height:130px; margin:0 auto 1.6rem; border-radius:50%;
  background: radial-gradient(circle at 50% 42%, #ffeebe, var(--gold) 48%, #6e4d0f 100%);
  box-shadow: 0 0 80px rgba(217,169,55,.35); animation:rise 6s infinite ease-in-out; }
@keyframes rise { 0%,100% { transform: translate(-50%,-50%); position:absolute; left:50%; top:42%; }
  50% { top:40%; } }
.nf-wrap { position:relative; }

/* ---------- component supplement (mini grids, cards inner) ---------- */
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.15rem; }
.mini-grid.twocol { grid-template-columns: 1fr; }
.card .mini h3 { font-size: .98rem; }
.card .mini p { font-size: .87rem; color: var(--muted); margin-top: .25rem; line-height: 1.55; }
.card .mini a { display: inline-block; margin-top: .5rem; font-size: .84rem; }
.mini .icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(217,169,55,.09); border: 1px solid var(--line-gold); color: var(--gold-2); margin-bottom: .7rem; }
.mini .icon svg { width: 20px; height: 20px; }
.sec-title { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.sec-title .kicker::after { margin-top: 10px; }
.doc-mini h3 { color: var(--gold-2); }
.card h2 { margin-top: .2rem; }
.mono-box { font-family: ui-monospace, Menlo, monospace; }
.ok { display:inline-block; font-size:.76rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--teal); border:1px solid rgba(0,208,193,.35); border-radius:999px; padding:.32rem .8rem;
  background:rgba(0,208,193,.06); margin-top:.9rem; }

/* crumbs + top band */
.crumbbar { position: relative; }
.crumb { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  padding-top: .9rem; }
.bphold { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bphold img { width: 100%; height: 100%; object-fit: cover; opacity: .34; object-position: center 30%;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 75%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 75%); }
.bandline { position: relative; height: clamp(180px, 30vw, 320px); overflow: hidden; }
.bandline img { width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }

/* card thumbs for docs page hover */
.doc-card { padding-top: 1.7rem; }

/* steps connector */
.stepconn { height: 20px; width: 1px; background: linear-gradient(180deg, var(--line-gold), transparent);
  margin-left: calc(23px + 1.55rem); }

/* riskbar */
.riskbar { background: rgba(255,154,53,.06); border-top: 1px solid rgba(255,154,53,.22); }
.riskbar .wrap { display: flex; align-items: center; gap: .7rem; padding-top: .7rem; padding-bottom: .7rem;
  font-size: .8rem; color: var(--sand); }
.riskbar svg { width: 16px; height: 16px; color: var(--amber); flex-shrink: 0; }

/* legend label sizes inside donut center */
.donut .lbl { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* readable legal column */
.readable p { color: var(--muted); }
.readable .card { padding: 1.6rem 1.7rem; }
.readable .card:first-child { margin-top: 0 !important; }

/* pill word in nav hides on narrow */
.pillword { display: none; }   /* hero badge carries the wordmark line; nav stays clean */
.nav .cta { white-space: nowrap; flex-shrink: 0; }

/* faq bare (home) */
.faq-item.bare { background: transparent; border: 1px solid var(--line); }
.faq-item.bare summary { padding: .9rem 1.1rem; font-size: .93rem; }
.faq-item.bare .faq-body { padding: 0 1.1rem 1rem; font-size: .88rem; }
.faq-item.bare .chev { font-family: var(--font-display); color: var(--gold-2); }
.faq-item .chev svg { width: 18px; height: 18px; }

/* nf (404) */
.nfwrap { padding: clamp(4rem, 10vw, 8rem) 0; }
.nf { position: relative; padding: 2rem 0 3rem; }
.nf .sun { position: static; margin: 0 auto 1.4rem; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #ffeebe, var(--gold) 50%, #6e4d0f 100%);
  box-shadow: 0 0 90px rgba(217,169,55,.35); animation: glow 5s ease-in-out infinite; }
@keyframes glow { 0%,100% { box-shadow: 0 0 70px rgba(217,169,55,.3); } 50% { box-shadow: 0 0 110px rgba(217,169,55,.5); } }
.nf .actions { display: flex; justify-content: center; align-items: center; gap: .9rem; }
.nf .lede { margin-left: auto; margin-right: auto; text-align: center; }

/* strip first/last paddings */
.strip .strip-item:first-child { padding-left: var(--pad); }
.strip .wrap { padding-left: 0; padding-right: 0; }
.strip { margin: 0; }
.wrap > .strip-grid { max-width: 100%; }

/* hero art darkening for legibility on mobile */
@media (max-width: 560px) {
  .hero .art img { opacity: .8; }
}

@media (max-width: 1100px) {
  .mini-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .mini-grid.twocol { grid-template-columns: 1fr; }
}

/* ---------- motion ---------- */
/* Content-first reveal: content is NEVER hidden by default. Only a subtle
   rise is applied and it completes even without JS (no opacity:0 trap). */
.reveal { transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { transform: none; }
.reveal { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .g-5 { grid-template-columns: repeat(3, 1fr); }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .cycle-row { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1120px) {
  .nav-links a:not(.cta) { font-size: .78rem; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .token-hero, .g-3 { grid-template-columns: 1fr; }
  .hero .side { display: none; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(2) { border-right: 0; }
  .strip-item:nth-child(1), .strip-item:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .g-2, .g-4, .g-5 { grid-template-columns: 1fr; }
  .cycle-row { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .strip-item:last-child { border-bottom: 0; }
  .hero { min-height: auto; }
  .hero .art img { object-position: 78% 30%; }
  .hero .art::after {
    background:
      linear-gradient(90deg, rgba(11,12,16,.9) 0%, rgba(11,12,16,.5) 55%, rgba(11,12,16,.35) 100%),
      linear-gradient(0deg, var(--bg) 6%, transparent 42%); }
  section { padding: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}
/* ---------- final copy components (v3 marketing/tokenomics) ---------- */
.hero-tagline { color: var(--sand); font-size: .92rem; letter-spacing: .04em; margin-top: .9rem; }
.hero-tagline::before { content: "◈"; color: var(--gold); margin-right: .5rem; }

/* fair-start band */
.fairstart { border-top: 1px solid var(--line-gold); border-bottom: 1px solid var(--line-gold);
  background: radial-gradient(70% 140% at 20% 0%, rgba(217,169,55,.10), transparent 60%), var(--bg-rise);
  padding: clamp(2rem, 4.5vw, 3.2rem) 0; }
.fs-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; }
.fs-main h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; }
.fs-main p { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--gold-2); margin-top: .35rem; }
.fs-points { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.4rem; }
.fs-points div { color: var(--ink); font-size: .95rem; padding-left: 1.25rem; position: relative; }
.fs-points div::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.fs-line { margin-top: 1.6rem; color: var(--muted); font-size: .9rem; letter-spacing: .06em; }
@media (max-width: 760px) { .fs-grid { grid-template-columns: 1fr; } .fs-points { grid-template-columns: 1fr 1fr; } }

/* tokenomics preview (home) */
.tok-preview .tp-head { font-size: 1.3rem; margin-top: .4rem; }
.tp-rows { margin-top: 1rem; display: grid; gap: .55rem; }
.tp-row { display: flex; align-items: baseline; gap: .8rem; }
.tp-row b { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-2); min-width: 3.4ch;
  background: linear-gradient(180deg, var(--gold-2), var(--burn)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tp-row span { font-size: .95rem; color: var(--ink); }

/* big numeric blocks */
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.4rem);
  letter-spacing: .02em; margin-top: .8rem; line-height: 1.1;
  background: linear-gradient(180deg, #f7e7b8, var(--gold-2) 45%, var(--burn));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-num.sm { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.stat-lbl { color: var(--muted); font-size: .92rem; margin-top: .25rem; }
.launchline { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-top: .8rem; color: var(--ink); }
.launchline em { font-style: normal; color: var(--gold-2); }

/* allocation cards */
.sec-head { margin-bottom: 1.3rem; }
.card.allo { padding-top: 1.7rem; }
.pc-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1;
  background: linear-gradient(180deg, #f7e7b8, var(--gold-2) 45%, var(--burn));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.pc-num.sm { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.pc-t { font-family: var(--font-display); font-size: 1.06rem; margin-top: .45rem; }
.pc-t.sm { font-size: .95rem; }
.pc-amt { color: var(--gold-2); font-size: .88rem; letter-spacing: .04em; margin-top: .15rem; }
.card.allo p { font-size: .88rem; margin-top: .8rem; }
.card.allo.big { border-color: var(--line-gold);
  background: linear-gradient(180deg, rgba(217,169,55,.07), var(--surface-2)); }

/* treasury card */
.treasury-card { border-color: var(--line-gold); }
.tr-grid .tr-item { background: rgba(217,169,55,.04); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.tr-strong { margin-top: 1.4rem; font-family: var(--font-display); font-size: 1.06rem; color: var(--gold-2);
  border-top: 1px dashed var(--line-gold); padding-top: 1.1rem; }

/* fairlaunch card + highlights */
.fairlaunch { border-color: var(--line-gold); }
.hi-grid { display: flex; flex-wrap: wrap; gap: .7rem; }
.hi { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--line-gold);
  border-radius: 999px; padding: .5rem 1rem; font-size: .85rem; color: var(--ink); background: rgba(217,169,55,.05); }
.hi svg { width: 15px; height: 15px; color: var(--gold-2); }

/* launch facts grid */
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 1.2rem;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--surface); padding: .9rem 1.1rem; display: flex; flex-direction: column; gap: .2rem; }
.fact .fk { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fact .fv { font-family: var(--font-display); font-weight: 700; font-size: .98rem; color: var(--ink); }
.fact .fv.none { color: var(--teal); }
.fact .fv.goldy { color: var(--gold-2); }
@media (max-width: 760px) { .facts-grid { grid-template-columns: 1fr 1fr; } }

/* ecosystem status badges */
.status-badge { display: inline-block; margin-top: 1rem; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .25rem .7rem; }
.status-badge.dev { color: var(--teal); border-color: rgba(0,208,193,.35); background: rgba(0,208,193,.06); }

/* ---------- pending tokenomics medallion (content-safety state) ---------- */
.tok-pending { display: grid; place-items: center; text-align: center; padding: 1.3rem .4rem .5rem; }
.tok-medal { width: 190px; height: 190px; border-radius: 50%; display: grid; place-items: center;
  border: 1px dashed var(--line-gold); position: relative; margin-bottom: 1.1rem;
  background: radial-gradient(circle at 50% 36%, rgba(217,169,55,.16), rgba(217,169,55,.04) 58%, transparent 78%);
  box-shadow: inset 0 0 46px rgba(217,169,55,.10); }
.tok-medal::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; border: 1px solid rgba(217,169,55,.20); }
.tok-medal.sm { width: 150px; height: 150px; }
.tok-medal.sm::after { inset: 10px; }
.tok-pending h3 { font-size: 1.14rem; letter-spacing: .02em; }
.tok-pending .pending { margin-top: .5rem; }
