@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-latin-wght-normal.woff2?v=1") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-wght-normal.woff2?v=1") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0f0e0d;
  --bg-2: #161412;
  --surface: #1c1916;
  --surface-2: #24201c;
  --line: rgba(240, 225, 205, .09);
  --line-2: rgba(240, 225, 205, .16);
  --text: #f1e9de;
  --muted: #a99d8f;
  --dim: #93877a;
  --copper: #d08a52;
  --copper-2: #e9ab73;
  --copper-deep: #8c5129;
  --patina: #5fa596;
  --ok: #7cc39a;
  --warn: #e6b45c;
  --radius: 18px;
  --max: 1160px;
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-2); text-decoration: none; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--copper-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 650; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.22rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.eyebrow { font: 600 .78rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--copper); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.lede { font-size: clamp(1.06rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--copper); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(15, 14, 13, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 650 1.12rem/1 var(--display); letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--muted); font-size: .94rem; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav .btn { margin-left: 6px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #1a0f07; background: linear-gradient(180deg, var(--copper-2), var(--copper)); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .25s, opacity .25s; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 70px 0 auto; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; background: rgba(15, 14, 13, .97); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s; }
  .nav a { padding: 12px; font-size: 1rem; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .top.open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .top.open { background: rgba(15, 14, 13, .97); }
  .top.open .menu-btn span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .top.open .menu-btn span:nth-child(2) { opacity: 0; }
  .top.open .menu-btn span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font: 600 .97rem/1 var(--body); border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn-primary { background: linear-gradient(180deg, var(--copper-2), var(--copper)); color: #1a0f07; box-shadow: 0 8px 30px -10px rgba(208, 138, 82, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:hover { color: #1a0f07; transform: translateY(-1px); box-shadow: 0 12px 34px -10px rgba(208, 138, 82, .9), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--copper); color: var(--text); background: rgba(208, 138, 82, .08); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn svg { width: 17px; height: 17px; }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 110px 0 70px; isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px; background: radial-gradient(closest-side, rgba(208, 138, 82, .22), rgba(208, 138, 82, .06) 55%, transparent 72%); z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; 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 60% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 20%, transparent 75%); opacity: .55; z-index: -3; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 32px; }
.hero-grid > * { min-width: 0; }
.hero h1 .accent { background: linear-gradient(100deg, var(--copper-2) 10%, var(--copper) 55%, #9fb39a 130%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-bottom: 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.coin-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; justify-self: center; }
.coin-stage canvas { opacity: 0; transition: opacity .7s ease; }
.coin-stage.ready canvas { opacity: 1; }
.coin-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.coin-fallback { position: absolute; inset: 12.5%; border-radius: 50%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .6)); animation: float 6s ease-in-out infinite; }
.coin-stage.ready .coin-fallback { opacity: 0; visibility: hidden; transition: opacity .7s, visibility 0s .7s; animation-play-state: paused; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-3deg); } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; color: var(--dim); font-size: .88rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--patina); }
@media (max-width: 900px) {
  .hero { padding-top: 96px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .coin-stage { order: -1; max-width: 360px; margin-top: -10px; }
}

/* contract pill */
.ca { display: flex; align-items: center; gap: 10px; margin-top: 26px; padding: 8px 8px 8px 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025); border-radius: 14px; width: min(100%, 560px); }
.ca small { color: var(--dim); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; flex: none; }
.ca code { font: 500 .86rem/1.3 var(--mono); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.copy { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); cursor: pointer; transition: .2s; }
.copy:hover { color: var(--text); border-color: var(--copper); }
.copy svg { width: 16px; height: 16px; }
.copy.done { color: var(--ok); border-color: var(--ok); }

/* sections */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.band { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.stat { padding: 26px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 650 1.7rem/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s, background .35s; transform-style: preserve-3d; }
.step:hover { border-color: rgba(208, 138, 82, .45); background: var(--surface-2); }
.step .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(208, 138, 82, .12); color: var(--copper-2); margin-bottom: 20px; border: 1px solid rgba(208, 138, 82, .25); }
.step .ico svg { width: 22px; height: 22px; }
.step::after { counter-increment: step; content: "0" counter(step); position: absolute; top: 22px; right: 22px; font: 600 .82rem/1 var(--mono); color: var(--dim); }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--muted); }
.checks li b { color: var(--text); font-weight: 600; }
.checks svg { width: 22px; height: 22px; color: var(--patina); margin-top: 2px; }

/* flow diagram */
.flow { position: relative; padding: 28px; border-radius: 24px; background: radial-gradient(120% 90% at 50% 0%, rgba(208, 138, 82, .1), transparent 60%), var(--surface); border: 1px solid var(--line); }
.flow-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.flow-node { padding: 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-2); text-align: center; }
.flow-node b { display: block; font-family: var(--display); font-size: 1.02rem; }
.flow-node small { color: var(--dim); font-size: .8rem; }
.flow-arrow { display: grid; gap: 6px; justify-items: center; color: var(--dim); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.flow-arrow i { display: block; width: 64px; height: 2px; background: linear-gradient(90deg, transparent, var(--copper), transparent); background-size: 200% 100%; animation: flowline 2.2s linear infinite; border-radius: 2px; }
.flow-arrow i.rev { animation-direction: reverse; }
@keyframes flowline { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.flow-mid { display: grid; place-items: center; padding: 18px 0; }
.flow-mid span { width: 2px; height: 34px; background: linear-gradient(180deg, var(--copper), transparent); }
.flow .chain { margin-top: 0; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1px dashed rgba(95, 165, 150, .5); color: var(--patina); font-size: .9rem; }
.flow .chain svg { width: 18px; height: 18px; }
@media (max-width: 520px) { .flow-arrow { font-size: 0; gap: 0; } .flow-arrow i { width: 22px; } .flow { padding: 16px; } .flow-row { gap: 8px; } .flow-node { padding: 12px 8px; } .flow-node b { font-size: .92rem; } .flow-node small { font-size: .74rem; } }

/* tokenomics */
.tok { display: grid; grid-template-columns: 420px 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 920px) { .tok { grid-template-columns: 1fr; } }
.donut-wrap { position: relative; width: min(420px, 100%); aspect-ratio: 1; margin-inline: auto; perspective: 900px; }
.donut { width: 100%; height: 100%; transform: rotateX(28deg); transform-style: preserve-3d; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.donut circle { fill: none; stroke-width: 26; transition: stroke-width .25s, opacity .25s; cursor: pointer; }
.donut.dim circle { opacity: .35; }
.donut.dim circle.on { opacity: 1; stroke-width: 32; }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.donut-center b { font: 650 2.4rem/1 var(--display); letter-spacing: -.03em; }
.donut-center span { color: var(--muted); font-size: .88rem; margin-top: 6px; }
.alloc { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.alloc li { display: grid; grid-template-columns: 14px 1fr auto; gap: 14px; align-items: start; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); cursor: default; transition: border-color .2s, background .2s; }
.alloc li.on, .alloc li:hover { border-color: var(--line-2); background: var(--surface-2); }
.alloc i { width: 14px; height: 14px; border-radius: 4px; margin-top: 4px; }
.alloc b { font-weight: 600; }
.alloc small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.5; margin-top: 2px; }
.alloc em { font: 650 1.05rem/1.4 var(--display); font-style: normal; color: var(--text); }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; border: 1px solid rgba(230, 180, 92, .35); color: var(--warn); background: rgba(230, 180, 92, .07); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(230, 180, 92, .18); }
.status.live { color: var(--ok); border-color: rgba(124, 195, 154, .35); background: rgba(124, 195, 154, .07); }
.status.live::before { box-shadow: 0 0 0 4px rgba(124, 195, 154, .18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(124, 195, 154, 0); } }

/* trust cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card h3 { display: flex; align-items: center; gap: 12px; }
.card h3 svg { width: 22px; height: 22px; color: var(--copper-2); flex: none; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }

/* roadmap */
.road { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.road::before { content: ""; position: absolute; top: 15px; left: 16px; right: 16px; height: 2px; background: linear-gradient(90deg, var(--copper) 0 37%, var(--line-2) 37%); }
.phase { position: relative; padding-top: 44px; }
.phase::before { content: ""; position: absolute; top: 6px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); }
.phase.done::before { background: var(--copper); border-color: var(--copper); }
.phase.now::before { border-color: var(--copper); box-shadow: 0 0 0 6px rgba(208, 138, 82, .18); }
.phase small { font: 600 .74rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.phase.done small, .phase.now small { color: var(--copper); }
.phase h3 { margin: 10px 0 12px; }
.phase ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .94rem; }
.phase li { margin-bottom: 6px; }
@media (max-width: 900px) {
  .road { grid-template-columns: 1fr; gap: 6px; padding-left: 34px; }
  .road::before { top: 8px; bottom: 8px; left: 9px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--copper) 0 34%, var(--line-2) 34%); }
  .phase { padding: 0 0 26px; }
  .phase::before { left: -34px; top: 2px; }
  .phase h3 { margin-top: 6px; }
}

/* buy steps */
.buy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .buy { grid-template-columns: 1fr; } }
.buy .card b.n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(208, 138, 82, .14); color: var(--copper-2); font: 650 .95rem/1 var(--display); margin-bottom: 16px; }

/* faq */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font: 600 1.04rem/1.4 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .a { padding: 0 22px 20px; color: var(--muted); }
.faq .a p:last-child { margin: 0; }

/* cta band */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 7vw, 80px); text-align: center; border: 1px solid rgba(208, 138, 82, .3); background: radial-gradient(80% 120% at 50% 0%, rgba(208, 138, 82, .25), transparent 60%), var(--surface); }
.cta-band img { width: 96px; height: 96px; margin: 0 auto 22px; animation: spinY 7s linear infinite; }
@keyframes spinY { to { transform: rotateY(360deg); } }
.cta-band .lede { margin-inline: auto; margin-bottom: 28px; }
.cta-band .cta { justify-content: center; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--muted); font-size: .92rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h2 { margin: 0 0 14px; font: 600 .8rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--dim); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
html.no-js .reveal { opacity: 1; transform: none; }

/* doc pages (whitepaper, transparency) */
.page-hero { padding: 140px 0 40px; position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 420px; background: radial-gradient(60% 100% at 70% 0%, rgba(208, 138, 82, .14), transparent 70%); z-index: -1; }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-bottom: 100px; }
.toc { position: sticky; top: 96px; align-self: start; font-size: .9rem; }
.toc h4 { margin: 0 0 12px; font: 600 .76rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 6px 10px; border-left: 2px solid var(--line); color: var(--muted); }
.toc a:hover, .toc a.on { color: var(--text); border-color: var(--copper); }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; } .toc { position: static; } .toc ol { grid-template-columns: 1fr 1fr; } }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 64px; padding-top: 8px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 32px; }
.prose p, .prose li { color: #cfc4b6; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose code { font: .9em var(--mono); background: var(--surface-2); border: 1px solid var(--line); padding: 2px 6px; border-radius: 6px; word-break: break-all; color: var(--text); }
.table-wrap { overflow-x: auto; margin: 20px 0 28px; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 .78rem/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); background: var(--surface); }
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.note { padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(230, 180, 92, .3); background: rgba(230, 180, 92, .06); color: #e8d6b4; margin: 24px 0; font-size: .95rem; }
.note.info { border-color: rgba(95, 165, 150, .35); background: rgba(95, 165, 150, .07); color: #cfe5df; }

/* transparency */
.tx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
@media (max-width: 860px) { .tx-grid { grid-template-columns: 1fr; } }
.check-card { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.check-card small { color: var(--dim); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.check-card b { display: flex; align-items: center; gap: 10px; font: 650 1.25rem/1.3 var(--display); margin-top: 8px; }
.check-card b svg { width: 22px; height: 22px; }
.check-card.ok b svg { color: var(--ok); }
.check-card.bad b svg { color: #e07a6a; }
.check-card p { margin: 8px 0 0; color: var(--muted); font-size: .9rem; }
.bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; min-width: 80px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--copper), var(--copper-2)); border-radius: inherit; }
.addr { font: .86rem var(--mono); color: var(--text); }
.muted { color: var(--muted); }
.skeleton { display: inline-block; min-width: 90px; height: 1em; border-radius: 6px; background: linear-gradient(90deg, var(--surface-2), #2e2924, var(--surface-2)); background-size: 200% 100%; animation: sk 1.3s infinite; vertical-align: middle; }
@keyframes sk { to { background-position: -200% 0; } }

/* ── Live market ─────────────────────────────────────────── */
.market { --up: #7cc39a; --down: #e2795f; }
.mk-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 960px) { .mk-grid { grid-template-columns: 1fr; } }
.mk-ticker, .mk-side { position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: 24px; overflow: hidden; min-width: 0; }
.mk-ticker::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(208, 138, 82, .16), transparent); pointer-events: none; }
.mk-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mk-pair { display: flex; align-items: center; gap: 12px; }
.mk-pair img { border-radius: 50%; }
.mk-pair b { display: block; font: 650 1.05rem/1.2 var(--display); }
.mk-pair small { color: var(--dim); font-size: .8rem; }
.mk-range { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.mk-range button { font: 600 .78rem/1 var(--body); color: var(--muted); background: none; border: 0; padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.mk-range button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.mk-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.mk-price b { font: 650 clamp(2.4rem, 6vw, 3.6rem)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mk-pill { font: 600 .82rem/1 var(--body); padding: 6px 10px; border-radius: 999px; }
.mk-pill.pos { color: var(--up); background: rgba(124, 195, 154, .12); }
.mk-pill.neg { color: var(--down); background: rgba(226, 121, 95, .12); }
.mk-sub { color: var(--muted); font-size: .92rem; margin-top: 8px; font-variant-numeric: tabular-nums; }
.mk-sub b { color: var(--text); font-weight: 600; }
.mk-chart-wrap { position: relative; margin: 18px -6px -6px; color: var(--copper-2); }
.market.trend-down .mk-chart-wrap { color: var(--down); }
#mk-chart { display: block; width: 100%; height: 220px; touch-action: none; cursor: crosshair; }
.mk-line { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: mk-draw 1.6s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes mk-draw { to { stroke-dashoffset: 0; } }
.mk-dot { animation: mk-ping 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes mk-ping { 0% { opacity: 1; } 70% { opacity: .35; } 100% { opacity: 1; } }
.mk-tip { position: absolute; top: 6px; transform: translateX(-50%); padding: 8px 10px; border-radius: 10px; background: rgba(15, 14, 13, .92); border: 1px solid var(--line-2); font-size: .78rem; line-height: 1.35; white-space: nowrap; pointer-events: none; color: var(--text); }
.mk-tip b { display: block; font: 650 .95rem/1.2 var(--display); }
.mk-tip span, .mk-tip small { display: block; color: var(--muted); }
.mk-side { display: flex; flex-direction: column; gap: 18px; }
.mk-flow { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 4px 0; }
.mk-flow .tk { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font: 700 1.3rem/1 var(--display); box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .8); }
.mk-flow .tk img { border-radius: 50%; }
.mk-flow .sol { background: linear-gradient(135deg, #9945ff, #14f195); color: #0f0e0d; }
.mk-flow .usd { background: linear-gradient(135deg, #2f7d5b, #7cc39a); color: #0f0e0d; }
.mk-flow .lane { position: relative; flex: 1; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.mk-flow .lane i { position: absolute; top: -1px; left: -10%; width: 10%; height: 4px; border-radius: 4px; background: var(--copper-2); box-shadow: 0 0 10px var(--copper); animation: mk-run 2.4s linear infinite; }
.mk-flow .lane i:nth-child(2) { animation-delay: .8s; } .mk-flow .lane i:nth-child(3) { animation-delay: 1.6s; }
.mk-flow .lane + .tk + .lane i { animation-direction: reverse; background: var(--patina); box-shadow: 0 0 10px var(--patina); }
@keyframes mk-run { to { left: 110%; } }
.mk-rates { margin: 0; display: grid; gap: 10px; }
.mk-rates div { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mk-rates div:last-child { border-bottom: 0; }
.mk-rates dt { color: var(--muted); font-size: .9rem; }
.mk-rates dd { margin: 0; font: 650 1.12rem/1.2 var(--display); font-variant-numeric: tabular-nums; text-align: right; }
.mk-rates dd.unit { font: 500 .8rem/1 var(--body); color: var(--dim); }
.mk-rates div:first-child { grid-template-columns: 1fr auto; }
.mk-conv { display: grid; gap: 8px; }
.mk-conv label { display: flex; align-items: center; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.mk-conv label:focus-within { border-color: var(--copper); }
.mk-conv span { flex: none; width: 66px; padding: 0 12px; font: 600 .78rem/1 var(--body); color: var(--dim); letter-spacing: .04em; }
.mk-conv input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font: 600 1rem/1 var(--display); padding: 13px 14px 13px 0; text-align: right; font-variant-numeric: tabular-nums; outline: none; }
.mk-stats { margin-bottom: 14px; }
.mk-stats .stat b small { display: block; font: 500 .74rem/1.4 var(--body); color: var(--dim); letter-spacing: 0; margin-top: 4px; }
.mk-note { font-size: .86rem; display: flex; gap: 8px; align-items: flex-start; }
.mk-note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--copper-2); }
.flash.up { animation: mk-up 1.2s ease-out; } .flash.down { animation: mk-down 1.2s ease-out; }
@keyframes mk-up { 0% { color: var(--up); text-shadow: 0 0 18px rgba(124, 195, 154, .6); } 100% { color: inherit; text-shadow: none; } }
@keyframes mk-down { 0% { color: var(--down); text-shadow: 0 0 18px rgba(226, 121, 95, .6); } 100% { color: inherit; text-shadow: none; } }
.market.loading .mk-price b, .market.loading .mk-rates dd:not(.unit) { color: var(--dim); }
.market.error .mk-ticker::after { content: "Market data is temporarily unavailable."; position: absolute; inset: auto 24px 24px; color: var(--muted); font-size: .9rem; }
