/* ===== Kinfold — "Ember Grid" design system ===== */
:root {
  --bg: #07070A;
  --bg-2: #0C0C10;
  --card: #111116;
  --card-2: #17171D;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .13);
  --text: #F4F4F6;
  --text-2: #B4B4BE;
  --muted: #7D7D88;
  --orange: #FF5A1F;
  --orange-2: #FF8A3D;
  --orange-glow: rgba(255, 90, 31, .45);
  --light: #F7F6F3;
  --light-card: #FFFFFF;
  --light-ink: #121214;
  --light-muted: #6B6B74;
  --pos: #3DD68C;
  --wait: #F5B544;
  --radius: 22px;
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.mono { font-family: var(--mono); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
h2 { font-size: clamp(32px, 4.6vw, 54px); }
h3 { font-size: 19px; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0; }
.center { text-align: center; }
.sub { color: var(--muted); font-size: 15px; }

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 6px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-2);
  font-size: 12.5px; font-weight: 500; color: var(--text-2);
}
.badge i { width: 18px; height: 18px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; font-style: normal; font-size: 10px; color: #fff; box-shadow: 0 0 12px var(--orange-glow); }
.light .badge { background: var(--light-ink); color: #fff; border-color: var(--light-ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 14.5px; white-space: nowrap;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset; }
.btn-orange:hover { box-shadow: 0 8px 32px -6px var(--orange-glow), 0 0 0 1px rgba(255,255,255,.2) inset; }
.btn-white { background: #fff; color: #0A0A0C; }
.btn-dark { background: var(--card-2); border-color: var(--line-2); }
.btn-dark:hover { border-color: rgba(255,255,255,.25); }
.btn-text { padding: 0 8px; color: var(--text-2); }
.btn-text:hover { color: var(--text); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ===== Announcement + Nav ===== */
.announce {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 9px 24px; font-size: 12.5px; color: var(--text-2); border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.announce a { display: inline-flex; align-items: center; gap: 8px; }
.announce a:hover { color: var(--text); }
.announce .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.announce .right { display: flex; gap: 20px; }
.nav { position: sticky; top: 12px; z-index: 60; display: flex; justify-content: center; padding: 0 16px; margin-top: 14px; pointer-events: none; }
.nav-pill {
  pointer-events: auto; display: flex; align-items: center; gap: 6px;
  padding: 6px; border-radius: 999px;
  background: rgba(16,16,20,.72); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 40px -12px rgba(0,0,0,.7);
}
.nav-logo { display: flex; align-items: center; gap: 9px; padding: 0 12px 0 4px; font-weight: 700; font-size: 16px; letter-spacing: -.02em; }
.nav-logo svg { width: 30px; height: 30px; }
.nav-links { display: flex; }
.nav-links a { padding: 8px 13px; border-radius: 999px; font-size: 13.5px; color: var(--text-2); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-pill .btn { height: 36px; padding: 0 16px; font-size: 13.5px; margin-left: 4px; }
.burger { display: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; }
.burger span { display: block; width: 14px; height: 1.5px; background: var(--text); margin: 3.5px auto; transition: transform .25s, opacity .25s; }
.nav.open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; padding: 90px 0 40px; overflow: hidden; margin-top: -62px; padding-top: 150px; }
.hero::before { /* diagonal light beam */
  content: ""; position: absolute; top: -140px; right: 4%; width: 140px; height: 640px;
  background: linear-gradient(180deg, rgba(255,138,61,0) 0%, rgba(255,120,50,.85) 45%, rgba(255,90,31,0) 100%);
  filter: blur(28px); transform: rotate(52deg); opacity: .75; pointer-events: none;
  animation: beam 7s ease-in-out infinite alternate;
}
.hero::after { /* grid floor */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 70%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 70%, #000 10%, transparent 70%);
  opacity: .5;
}
@keyframes beam { from { opacity: .45; translate: 0 0; } to { opacity: .85; translate: -30px 20px; } }
.hero-copy { position: relative; z-index: 2; text-align: center; max-width: 820px; margin: 0 auto; }
.hero h1 { font-size: clamp(42px, 7vw, 82px); margin: 22px 0 18px; font-weight: 600;
  background: linear-gradient(180deg, #fff 30%, #9C9CA6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--text-2); font-size: clamp(16px, 1.5vw, 18px); max-width: 600px; margin: 0 auto; }
.hero-cta { display: flex; justify-content: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.circuit { position: relative; z-index: 1; margin-top: 30px; }
.circuit svg { width: 100%; height: auto; overflow: visible; }
.trace { fill: none; stroke: rgba(255,255,255,.09); stroke-width: 1.5; }
.pulse { fill: none; stroke: url(#pulseGrad); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 70 930; stroke-dashoffset: 1000; animation: run 3.6s linear infinite; filter: drop-shadow(0 0 6px var(--orange)); }
@keyframes run { to { stroke-dashoffset: 0; } }
.node rect { fill: #141419; stroke: rgba(255,255,255,.1); }
.node text { fill: #D6D6DD; font: 600 18px var(--sans); text-anchor: middle; dominant-baseline: central; }
.node .nl { fill: var(--muted); font: 500 10px var(--mono); letter-spacing: .08em; }
.chip-body { fill: #121217; stroke: rgba(255,255,255,.14); }
.chip-pin { fill: #2A2A32; }
.chip-glow { fill: var(--orange); opacity: .18; filter: blur(30px); animation: breathe 3.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .38; } }
.hero-stats { position: relative; z-index: 2; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.hero-stats span { font-size: 12.5px; color: var(--text-2); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.02); }
.hero-stats b { color: var(--orange-2); font-weight: 600; }

/* ===== Section scaffolding ===== */
section { padding: 120px 0; position: relative; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-head h2 { margin-top: 16px; }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: 16.5px; }
.light { background: var(--light); color: var(--light-ink); }
.light .sec-head p, .light .sub { color: var(--light-muted); }
.light-warm { background: linear-gradient(180deg, #FFF4EA 0%, var(--light) 260px); }

/* Glass card (dark) */
.card {
  position: relative; border-radius: var(--radius); background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
}
.card::before { /* top highlight */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 60% at 50% 0%, rgba(255,255,255,.05), transparent 60%);
}
.card-glow::after { content: ""; position: absolute; width: 60%; height: 60%; left: 20%; bottom: -30%; background: var(--orange); filter: blur(80px); opacity: .14; z-index: -1; }

/* ===== Problem (light) ===== */
.problem-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; align-items: stretch; }
.ember-card {
  border-radius: var(--radius); padding: 28px; color: #fff; position: relative; overflow: hidden; min-height: 440px;
  background: radial-gradient(90% 70% at 20% 0%, #FF6A2B 0%, #9B2A0B 35%, #1A0A06 70%, #0D0606 100%);
  display: flex; flex-direction: column;
}
.ember-card::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1px); background-size: 22px 22px; opacity: .08; pointer-events: none; }
.ember-card .tag { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin-bottom: 20px; }
.bubble { max-width: 84%; padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,.1); backdrop-filter: blur(6px); margin-bottom: 9px; font-size: 14px; width: fit-content; border: 1px solid rgba(255,255,255,.12); }
.bubble.r { margin-left: auto; background: rgba(255,255,255,.92); color: #1A0A06; }
.bubble small { display: block; font: 500 10px/1 var(--mono); opacity: .6; margin-bottom: 4px; }
.bubble.fade { opacity: .55; font-style: italic; background: transparent; border-style: dashed; margin-top: auto; }
.problem-right { background: var(--light-card); border-radius: var(--radius); padding: 36px; border: 1px solid rgba(0,0,0,.06); display: flex; flex-direction: column; }
.problem-right h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 600; max-width: 30ch; }
.problem-right > p { color: var(--light-muted); margin-top: 12px; font-size: 15px; max-width: 52ch; }
.exec-list { margin-top: auto; padding-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.exec { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--light); font-size: 13.5px; }
.exec .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #fff; border: 1px solid rgba(0,0,0,.06); color: var(--orange); font-weight: 700; flex: none; }
.exec b { display: block; font-weight: 600; font-size: 13.5px; }
.exec span { color: var(--light-muted); font-size: 12px; }
.exec.done .ic { background: var(--orange); color: #fff; border: 0; box-shadow: 0 4px 14px -4px var(--orange-glow); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.pillar { background: var(--light-card); border: 1px solid rgba(0,0,0,.06); border-radius: var(--radius); padding: 26px; }
.pillar .n { font: 600 12px/1 var(--mono); color: var(--orange); }
.pillar h3 { margin: 18px 0 8px; }
.pillar p { color: var(--light-muted); font-size: 14.5px; }

/* ===== Bento (how it works) ===== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento .card { padding: 26px; min-height: 300px; display: flex; flex-direction: column; }
.b-4 { grid-column: span 4; } .b-3 { grid-column: span 3; } .b-2 { grid-column: span 2; }
.bento .card p { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 46ch; }
.step-k { font: 500 11px/1 var(--mono); color: var(--orange-2); letter-spacing: .1em; margin-bottom: 14px; }
.vis { margin-top: auto; padding-top: 22px; position: relative; }
/* pool visual */
.pool { display: flex; align-items: center; gap: 0; }
.pool-av { display: grid; gap: 10px; }
.pool-av span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: #1D1D24; border: 1px solid var(--line-2); }
.pool svg { flex: 1; height: 150px; }
.pool-box { width: 120px; height: 84px; border-radius: 16px; border: 1px solid rgba(255,138,61,.4); background: linear-gradient(180deg, #24140E, #130B08); display: grid; place-items: center; text-align: center; box-shadow: 0 0 40px -8px var(--orange-glow); flex: none; }
.pool-box b { font-size: 18px; display: block; }
.pool-box small { font: 500 10px/1 var(--mono); color: var(--orange-2); letter-spacing: .08em; }
/* motion visual */
.prompt { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 10px 10px 14px; font-size: 13.5px; background: #0D0D11; }
.prompt .typed { flex: 1; color: var(--text); min-height: 1.4em; }
.prompt .typed::after { content: "▍"; color: var(--orange); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.prompt button { width: 30px; height: 30px; border-radius: 9px; border: 0; background: var(--orange); color: #fff; flex: none; }
.code { margin-top: 10px; font: 500 12px/1.75 var(--mono); color: var(--muted); background: #0A0A0D; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; white-space: pre; overflow: hidden; }
.code .k { color: var(--orange-2); } .code .s { color: #E8E8EE; }
/* cosign ring */
.ring-wrap { display: flex; align-items: center; justify-content: center; gap: 20px; }
.ring { width: 130px; height: 130px; }
.ring circle { fill: none; stroke-width: 10; }
.ring .bg { stroke: #1E1E25; }
.ring .fg { stroke: var(--orange); stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; transition: stroke-dashoffset .6s cubic-bezier(.4,0,.2,1); filter: drop-shadow(0 0 6px var(--orange-glow)); }
.ring text { fill: var(--text); font: 600 22px var(--sans); text-anchor: middle; dominant-baseline: central; }
.ring-legend { display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); }
.ring-legend b { color: var(--text); font-weight: 600; }
/* cool-off */
.timeline { position: relative; height: 64px; }
.timeline .bar { position: absolute; left: 0; right: 0; top: 28px; height: 6px; border-radius: 99px; background: #1E1E25; overflow: hidden; }
.timeline .bar i { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--orange), var(--orange-2)); border-radius: 99px; animation: fill 6s ease-in-out infinite; box-shadow: 0 0 16px var(--orange-glow); }
@keyframes fill { 0% { width: 0; } 80%, 100% { width: 100%; } }
.timeline .ticks { position: absolute; left: 0; right: 0; top: 44px; display: flex; justify-content: space-between; font: 500 10.5px var(--mono); color: var(--muted); }
.timeline .lbl { position: absolute; top: 0; font: 500 11px var(--mono); color: var(--text-2); }
.timeline .lbl.r { right: 0; color: var(--orange-2); }
/* exit pie */
.pie-wrap { display: flex; justify-content: center; }
.pie { width: 150px; height: 150px; overflow: visible; }
.pie .slice { animation: slide 4s ease-in-out infinite; transform-origin: 75px 75px; }
@keyframes slide { 0%, 20% { transform: translate(0,0); } 50%, 80% { transform: translate(16px,-10px); } 100% { transform: translate(0,0); } }
/* no keys orb */
.orb { width: 140px; height: 140px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 50% 35%, #2A2A33, #0D0D10 70%); border: 1px solid var(--line-2); box-shadow: inset 0 -20px 40px rgba(255,90,31,.12), 0 0 60px -20px var(--orange-glow); }
.orb svg { width: 46px; height: 46px; color: var(--text); }
.orb::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px dashed rgba(255,138,61,.3); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Calculator ===== */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc .card { padding: 28px; }
.member-row { display: grid; grid-template-columns: 38px 1fr 76px; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.member-row:last-child { border-bottom: 0; }
.member-row .av { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #0A0A0C; }
.member-row label { font-weight: 500; font-size: 14px; display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--text-2); }
.member-row label span { font: 500 12.5px/1 var(--mono); color: var(--text); }
.member-row .pct { text-align: right; font-weight: 600; font-size: 19px; }
.growth { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 99px; background: #24242C; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--orange); box-shadow: 0 0 12px var(--orange-glow); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 4px solid var(--orange); cursor: grab; }
.calc-out { display: flex; flex-direction: column; }
.calc-out .lbl { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.donut-wrap { display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: center; margin: 22px 0; }
.donut { width: 200px; height: 200px; }
.donut text { fill: var(--text); font-family: var(--sans); }
.out-list { display: grid; gap: 12px; }
.out-list div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--text-2); }
.out-list b { font: 500 13px var(--mono); color: var(--text); }
.out-list span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--c); margin-right: 8px; }
.calc-note { margin-top: auto; padding: 16px; border-radius: 14px; background: rgba(255,90,31,.07); border: 1px solid rgba(255,90,31,.2); color: var(--text-2); font-size: 13.5px; }
.calc-note b { color: var(--orange-2); }

/* ===== Globe ===== */
.globe-sec { padding: 60px 0 120px; overflow: hidden; }
.globe-stage { position: relative; display: grid; place-items: center; margin-top: 10px; }
.globe-halo { position: absolute; width: min(620px, 92vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, transparent 54%, rgba(255,110,40,.9) 63%, rgba(255,90,31,.35) 68%, transparent 75%); filter: blur(14px); }
#globe { width: min(560px, 86vw); aspect-ratio: 1; position: relative; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #1B1020 0%, #0A0710 70%); }
.globe-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.globe-stats .card { padding: 22px; text-align: center; }
.globe-stats b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.03em; color: #fff; }
.globe-stats span { font-size: 13px; color: var(--muted); }

/* ===== Plans (circle types) ===== */
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line-2); margin-top: 22px; }
.toggle button { border: 0; background: transparent; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.toggle button.on { background: #fff; color: #0A0A0C; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { padding: 26px; display: flex; flex-direction: column; }
.plan .k { font: 500 11.5px/1 var(--mono); color: var(--muted); text-align: center; letter-spacing: .06em; }
.plan .price { text-align: center; font-size: 34px; font-weight: 600; letter-spacing: -.03em; margin: 14px 0 4px; }
.plan .price small { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan .desc { text-align: center; color: var(--muted); font-size: 13.5px; min-height: 42px; }
.plan ul { list-style: none; padding: 20px 0 0; margin: 20px 0 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 13.5px; color: var(--text-2); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none; margin-top: 2px; border: 1.5px solid var(--muted);
  background: radial-gradient(circle, var(--muted) 30%, transparent 34%); }
.plan .btn { margin-top: auto; width: 100%; }
.plan.hot { border-color: rgba(255,138,61,.35); box-shadow: 0 0 0 1px rgba(255,90,31,.15), 0 30px 60px -30px var(--orange-glow); }
.plan.hot li::before { border-color: var(--orange); background: radial-gradient(circle, var(--orange) 30%, transparent 34%); }
.plan .flag { position: absolute; top: 14px; right: 14px; font: 600 10px/1 var(--mono); background: var(--orange); color: #fff; padding: 5px 8px; border-radius: 99px; letter-spacing: .06em; }

/* ===== Markets (light) ===== */
.logo-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.logo-row span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; box-shadow: 0 6px 16px -8px rgba(0,0,0,.35); transition: transform .25s; }
.logo-row span:hover { transform: translateY(-4px) rotate(-4deg); }
.markets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mkt { background: var(--light-card); border: 1px solid rgba(0,0,0,.06); border-radius: 20px; padding: 20px; transition: transform .25s, box-shadow .25s; }
.mkt:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(0,0,0,.3); }
.mkt-top { display: flex; justify-content: space-between; align-items: center; }
.mkt .logo { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; }
.mkt .t { font: 600 12px/1 var(--mono); color: var(--light-muted); padding: 6px 9px; border-radius: 99px; background: var(--light); }
.mkt h3 { margin: 20px 0 4px; font-size: 17px; }
.mkt p { font-size: 13px; color: var(--light-muted); }
.mkt svg { width: 100%; height: 40px; margin-top: 14px; }
.mkt.more { background: var(--light-ink); color: #fff; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.mkt.more::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: var(--orange); filter: blur(60px); opacity: .5; right: -50px; bottom: -60px; }
.mkt.more h3 { font-size: 22px; margin: 0; position: relative; z-index: 1; }

/* ===== Trust ===== */
.trust-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-item { padding: 24px; display: flex; flex-direction: column; }
.trust-item .big { font-size: 36px; font-weight: 600; letter-spacing: -.04em; color: #fff; }
.trust-item .big em { font-style: normal; color: var(--orange); }
.trust-item h3 { margin: 14px 0 6px; font-size: 16px; }
.trust-item p { color: var(--muted); font-size: 13.5px; }
.trust-item a { margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.trust-item a:hover { color: var(--orange-2); }
.rules { padding: 26px; }
.rules > p { color: var(--muted); font-size: 13.5px; margin: 6px 0 16px; }
.rule { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.rule span { color: var(--muted); }
.rule b { font: 500 13px var(--mono); text-align: right; }
.risk { margin-top: 16px; padding: 22px 26px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.risk .ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(245,181,68,.12); color: var(--wait); display: grid; place-items: center; font-weight: 700; }
.risk p { color: var(--muted); font-size: 13.5px; }
.risk p b { color: var(--text-2); font-weight: 600; }

/* ===== Token ===== */
.token { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.token-card { padding: 34px; min-height: 380px; display: flex; flex-direction: column; }
.token-card::after { content: ""; position: absolute; width: 120px; height: 520px; right: 10%; top: -160px; background: linear-gradient(180deg, transparent, rgba(255,120,50,.8), transparent); filter: blur(30px); transform: rotate(40deg); z-index: -1; }
.token-card .sym { font-size: clamp(60px, 8vw, 104px); font-weight: 700; letter-spacing: -.05em; line-height: 1; margin: 18px 0 16px;
  background: linear-gradient(180deg, #fff, #8D8D97); -webkit-background-clip: text; background-clip: text; color: transparent; }
.token-card > p { color: var(--text-2); max-width: 46ch; font-size: 15px; }
.addr { margin-top: auto; display: flex; align-items: center; gap: 10px; background: #0A0A0D; border: 1px solid var(--line-2); border-radius: 14px; padding: 8px 8px 8px 14px; font: 500 13px var(--mono); }
.addr button { margin-left: auto; height: 32px; padding: 0 14px; border-radius: 10px; border: 0; background: #fff; color: #0A0A0C; font: 600 12px var(--mono); }
.token-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.isnt { display: grid; gap: 16px; }
.isnt .card { padding: 26px; }
.isnt ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.isnt li { display: flex; gap: 10px; color: var(--text-2); font-size: 14px; }
.isnt li::before { content: "✕"; color: #FF6B6B; font-weight: 700; flex: none; }
.isnt .yes li::before { content: "✓"; color: var(--pos); }

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--card); margin-bottom: 10px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(255,138,61,.3); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-weight: 400; transition: transform .3s, background .3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--orange); border-color: var(--orange); }
.faq details p { padding: 0 22px 22px; color: var(--muted); font-size: 15px; }

/* ===== CTA ===== */
.cta { padding: 40px 0 120px; }
.cta-box { position: relative; border-radius: 30px; overflow: hidden; padding: 110px 24px 200px; text-align: center; border: 1px solid var(--line); background: #08080B; }
.cta-box::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -55%; height: 100%; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 30%, #FFE3CF 0%, #FF9A4D 18%, #FF5A1F 38%, rgba(160,40,8,.6) 58%, transparent 72%); filter: blur(6px); }
.cta-box::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(255,90,31,.5), transparent 70%); filter: blur(30px); }
.cta-box > * { position: relative; z-index: 2; }
.cta-box h2 { font-size: clamp(36px, 5.6vw, 64px); background: linear-gradient(180deg, #fff 40%, #A5A5AF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-box p { color: var(--text-2); margin: 16px auto 30px; max-width: 520px; }

/* ===== Footer ===== */
footer { border-top: 1px solid var(--line); padding: 70px 0 34px; position: relative; overflow: hidden; }
footer::before { content: ""; position: absolute; right: -10%; top: -40%; width: 50%; height: 80%; background: radial-gradient(circle, rgba(120,60,200,.12), transparent 60%); pointer-events: none; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; position: relative; }
.foot-brand p { color: var(--muted); font-size: 14px; margin: 16px 0 20px; max-width: 34ch; }
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--text-2); transition: all .2s; }
.socials a:hover { border-color: var(--orange); color: var(--orange-2); }
footer h4 { margin: 0 0 16px; font-size: 13.5px; font-weight: 600; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13.5px; color: var(--muted); }
footer ul a:hover { color: var(--text); }
.newsletter { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.newsletter b { font-weight: 600; font-size: 15px; }
.newsletter form { display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); width: min(380px, 100%); }
.newsletter input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 14px; }
.newsletter button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: #0A0A0C; font-weight: 700; flex: none; }
.legal { margin-top: 28px; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.legal p { max-width: 80ch; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
.hero-copy, .sec-head, .problem-grid > *, .bento > *, .calc > *, .plans > *, .trust-grid > *, .token > *, .markets > * { min-width: 0; }
@media (max-width: 1040px) {
  .nav-links a { padding: 8px 9px; }
  .problem-grid, .calc, .trust-grid, .token { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-4, .b-3, .b-2 { grid-column: span 1; }
  .b-4:first-child { grid-column: span 2; }
  .markets { grid-template-columns: repeat(2, 1fr); }
  .globe-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav-pill .btn-text { display: none; }
  .burger { display: block; }
  .nav-pill { width: 100%; justify-content: space-between; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 56px; left: 16px; right: 16px;
    background: rgba(16,16,20,.96); border: 1px solid var(--line-2); border-radius: 20px; padding: 10px; pointer-events: auto;
  }
  .nav.open .nav-links a { padding: 13px 14px; font-size: 15px; }
  .announce .right { display: none; }
  .plans, .pillars { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  section { padding: 84px 0; }
  .hero { padding-top: 120px; }
  .hero::before { right: -30%; }
  .bento, .markets, .trust-list, .exec-list { grid-template-columns: 1fr; }
  .b-4:first-child { grid-column: span 1; }
  .donut-wrap { grid-template-columns: 1fr; justify-items: center; }
  .out-list { width: 100%; }
  .problem-right, .ember-card { padding: 22px; }
  .ember-card { min-height: 0; }
  .pool svg { height: 110px; }
  .pool-box { width: 96px; }
  .cta-box { padding: 80px 20px 160px; }
  .nav-pill .btn-orange { padding: 0 12px; }
}

[hidden] { display: none !important; }
