:root {
  --bg: #fbfaf8; --surface: #ffffff; --surface-2: #f3f1ee; --line: #e7e3de;
  --ink: #14151a; --ink-2: #484c57; --muted: #858a96;
  --accent: #f26a0f; --accent-ink: #c2410c; --accent-soft: #fff1e3;
  --good: #108a52; --hero: #0e0f14; --hero-ink: #f3f2f7; --hero-muted: #9da2b2; --hero-line: rgba(255,255,255,.09);
  --shadow: 0 1px 2px rgba(16,20,30,.04), 0 8px 28px rgba(16,20,30,.06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0d12; --surface: #14161e; --surface-2: #191c26; --line: #252937;
    --ink: #eef0f5; --ink-2: #b4b9c7; --muted: #7d8495;
    --accent: #ff9a1f; --accent-ink: #ffb54d; --accent-soft: #3a2210; --good: #3ccf8a;
    --hero: #08090d; --shadow: none;
  }
}
:root[data-theme="dark"] {
  --bg: #0c0d12; --surface: #14161e; --surface-2: #191c26; --line: #252937;
  --ink: #eef0f5; --ink-2: #b4b9c7; --muted: #7d8495;
  --accent: #ff9a1f; --accent-ink: #ffb54d; --accent-soft: #3a2210; --good: #3ccf8a;
  --hero: #08090d; --shadow: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, system-ui, sans-serif; }
html[lang="ro"] [data-l="en"], html[lang="en"] [data-l="ro"] { display: none; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.muted { color: var(--muted); } .small { font-size: 13px; } .center { text-align: center; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--hero) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--hero-line); color: var(--hero-ink); }
.nav-in { height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.brand b { color: var(--accent); font-weight: 700; }
.logo { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.links { display: flex; gap: 4px; flex: 1; }
.links a { padding: 6px 10px; border-radius: 8px; color: var(--hero-muted); font-size: 14px; font-weight: 500; white-space: nowrap; }
.links a:hover { color: var(--hero-ink); background: rgba(255,255,255,.06); }
.nav-r { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.lang, .theme { height: 34px; min-width: 34px; border-radius: 8px; border: 1px solid var(--hero-line); background: none; color: var(--hero-ink); cursor: pointer; font: 600 12px Inter, sans-serif; }
@media (max-width: 960px) { .links { display: none; } }
@media (max-width: 480px) { .nav-r .btn { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 46px; padding: 0 22px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; border: 1px solid var(--accent); cursor: pointer; transition: transform .15s, box-shadow .15s; white-space: nowrap; font-family: inherit; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 9px; }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; border-color: color-mix(in srgb, currentColor 25%, transparent); }
.btn.ghost:hover { box-shadow: none; border-color: var(--accent); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn.full { width: 100%; }

/* hero */
.hero { position: relative; background: var(--hero); color: var(--hero-ink); padding: 84px 0 40px; overflow: hidden; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--hero-line) 1px, transparent 1px), linear-gradient(90deg, var(--hero-line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%); }
.hero::after { content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -220px; background: radial-gradient(circle, color-mix(in srgb, #f26a0f 40%, transparent), transparent 65%); filter: blur(20px); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-in { grid-template-columns: minmax(0, 1fr); } .hero-vis { display: none; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--hero-muted); border: 1px solid var(--hero-line); border-radius: 99px; padding: 5px 12px; margin-bottom: 22px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #3ccf8a; box-shadow: 0 0 0 4px rgba(60,207,138,.15); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(60,207,138,0); } }
h1 { font: 600 clamp(38px, 6vw, 66px)/1.04 Fraunces, Georgia, serif; letter-spacing: -.025em; margin: 0 0 22px; }
h1 em { font-style: italic; color: #ffa40d; }
.lead { color: var(--hero-muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 600px; margin: 0 0 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn.ghost { color: var(--hero-ink); }

.hero-vis { position: relative; height: 380px; }
.chain { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.blk { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--hero-line); border-radius: 12px; padding: 10px 14px; font: 12px "JetBrains Mono", monospace; color: var(--hero-muted); animation: slide .6s ease-out both; }
.blk b { color: var(--hero-ink); font-weight: 500; }
.blk .sq { width: 8px; height: 8px; border-radius: 2px; background: #ffa40d; flex: none; }
.blk .h { margin-left: auto; opacity: .7; }
@keyframes slide { from { opacity: 0; transform: translateY(-10px); } }
.ballot { position: absolute; right: -6px; bottom: 6px; width: 290px; background: #fff; color: #14151a; border-radius: 16px; padding: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.45); transform: rotate(-2deg); }
.b-h { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.pill { background: #fff1e3; color: #c2410c; font-weight: 700; padding: 2px 8px; border-radius: 99px; letter-spacing: .03em; }
.b-t { font-weight: 600; margin: 10px 0 12px; font-size: 15px; line-height: 1.3; }
.bar { height: 8px; background: #f0eef0; border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: #f26a0f; border-radius: 99px; }
.b-row { display: flex; justify-content: space-between; font-size: 12px; color: #6b6f7a; margin-top: 8px; }
.b-row b { color: #14151a; }

.stats { position: relative; z-index: 1; margin-top: 64px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--hero-line); border-radius: 16px; background: rgba(255,255,255,.025); }
.stats > div { padding: 18px 20px; display: grid; gap: 2px; border-right: 1px solid var(--hero-line); min-width: 0; }
.stats > div:last-child { border-right: 0; }
.stats .k { font-size: 12px; color: var(--hero-muted); text-transform: uppercase; letter-spacing: .06em; }
.stats .v { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stats .v small { font-size: 13px; color: var(--hero-muted); font-weight: 600; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats > div { border-bottom: 1px solid var(--hero-line); } .stats > div:nth-child(2n) { border-right: 0; } }

/* sections */
.sec { padding: 96px 0; }
.sec.alt { background: var(--surface-2); }
.sec-h { max-width: 720px; margin-bottom: 48px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent-ink); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
h2 { font: 600 clamp(30px, 4vw, 44px)/1.1 Fraunces, Georgia, serif; letter-spacing: -.02em; margin: 0 0 16px; }
.sec-h p, .muted-p { color: var(--ink-2); font-size: 17px; margin: 0; }
h3 { font-size: 18px; margin: 0 0 6px; letter-spacing: -.01em; }

.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .compare { grid-template-columns: minmax(0, 1fr); } }
.cmp { border: 1px solid var(--line); border-radius: 18px; padding: 26px; background: var(--surface); }
.cmp.hl { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.cmp-h { font-weight: 700; margin-bottom: 12px; font-size: 15px; }
.cmp ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--ink-2); }
.cmp li { padding-left: 24px; position: relative; }
.cmp li::before { content: "–"; position: absolute; left: 0; color: var(--muted); }
.cmp.hl li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
@media (max-width: 860px) { .pillars { grid-template-columns: minmax(0, 1fr); } }
.pillars > div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.pillars p { color: var(--ink-2); margin: 0; font-size: 15px; }
.ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); font-size: 20px; margin-bottom: 14px; }
.uses { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); font-size: 15px; }
.uses b { font-weight: 500; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: 14px; }

.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: f; }
@media (max-width: 860px) { .flow { grid-template-columns: minmax(0, 1fr); } }
.flow li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; position: relative; overflow: hidden; }
.flow .n { font: 600 14px "JetBrains Mono", monospace; color: var(--accent); display: block; margin-bottom: 14px; }
.flow p { color: var(--ink-2); margin: 0; font-size: 15px; }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
@media (max-width: 900px) { .two { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.facts { margin: 28px 0 0; display: grid; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); } .facts dd { margin: 0; font-weight: 600; text-align: right; }
.tag { font-size: 11px; background: var(--accent-soft); color: var(--accent-ink); padding: 2px 8px; border-radius: 99px; margin-left: 6px; vertical-align: middle; }
.supply { display: grid; justify-items: center; gap: 24px; }
.ring { position: relative; width: min(300px, 80vw); aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.r-bg { fill: none; stroke: var(--surface-2); stroke-width: 10; }
.r-fg { fill: none; stroke: var(--accent); stroke-width: 10; stroke-linecap: round; animation: draw 2s ease-out; }
@keyframes draw { from { stroke-dashoffset: 314; } }
.ring-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-c b { font: 600 52px Fraunces, serif; letter-spacing: -.02em; line-height: 1; } .ring-c span { color: var(--muted); font-weight: 600; }

.tech { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
@media (max-width: 860px) { .tech { grid-template-columns: minmax(0, 1fr); } }
.tech > div { background: var(--surface); padding: 26px; }
.tech p { color: var(--ink-2); margin: 0; font-size: 15px; }
.disclosure { color: var(--muted); font-size: 13px; margin: 20px 0 0; max-width: 820px; }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .products { grid-template-columns: minmax(0, 1fr); } }
.prod { display: grid; gap: 8px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.prod:hover { transform: translateY(-3px); border-color: var(--accent); }
.prod p { color: var(--ink-2); margin: 0 0 8px; font-size: 15px; }
.p-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--hero); color: #ffa40d; display: grid; place-items: center; font-size: 22px; margin-bottom: 8px; }
.go { color: var(--accent-ink); font-weight: 600; font-size: 15px; }

.wp { align-items: start; }
.wp-cover { position: sticky; top: 96px; display: grid; gap: 14px; }
.paper { aspect-ratio: 1 / 1.3; background: var(--hero); color: var(--hero-ink); border-radius: 10px 18px 18px 10px; padding: 36px 32px; display: flex; flex-direction: column; box-shadow: 0 30px 60px rgba(0,0,0,.25), inset 6px 0 0 rgba(255,255,255,.06); position: relative; overflow: hidden; }
.paper::after { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; bottom: -120px; background: radial-gradient(circle, rgba(240,5,0,.45), transparent 65%); }
.p-kick { font: 500 11px "JetBrains Mono", monospace; color: #ffa40d; text-transform: uppercase; letter-spacing: .08em; }
.paper h3 { font: 600 clamp(26px, 3vw, 34px)/1.1 Fraunces, serif; margin: 22px 0 12px; letter-spacing: -.02em; }
.p-sub { color: var(--hero-muted); font-style: italic; }
.p-foot { margin-top: auto; font-size: 13px; color: var(--hero-muted); position: relative; z-index: 1; }
.abstract { font-style: italic; border-left: 3px solid var(--accent); padding-left: 16px; margin: 0 0 28px !important; font-size: 16px !important; }
.toc details { border-bottom: 1px solid var(--line); }
.toc summary { cursor: pointer; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 20px; line-height: 1; }
.toc details[open] summary::after { content: "–"; }
.toc summary small { color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; display: block; }
.toc .ch { padding: 0 0 14px; }
.toc .ch h4 { margin: 10px 0 4px; font-size: 15px; }
.toc .ch h4 span { color: var(--accent-ink); font-family: "JetBrains Mono", monospace; font-size: 13px; margin-right: 6px; }
.toc .ch ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; columns: 2; column-gap: 24px; }
@media (max-width: 600px) { .toc .ch ul { columns: 1; } }

.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .road { grid-template-columns: minmax(0, 1fr); } }
.road li { border: 1px solid var(--line); background: var(--surface); border-radius: 18px; padding: 22px 22px 22px 52px; display: grid; gap: 4px; position: relative; }
.road li::before { content: ""; position: absolute; left: 22px; top: 26px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); }
.road li.done::before { background: var(--good); border-color: var(--good); }
.road li.now { border-color: var(--accent); } .road li.now::before { border-color: var(--accent); background: var(--accent-soft); }
.road li > span { color: var(--ink-2); font-size: 14px; }


/* governance */
.gov-sec { background: linear-gradient(180deg, var(--bg), var(--accent-soft) 160%); }
.gov-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.gov-list li { display: grid; gap: 2px; padding-left: 30px; position: relative; }
.gov-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 12px; display: grid; place-items: center; font-weight: 700; }
.gov-list li > span { color: var(--ink-2); font-size: 15px; }
.gov-demo { display: grid; gap: 16px; }
.gd-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.gd-h { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.gd-t { font: 600 22px/1.25 Fraunces, Georgia, serif; margin: 10px 0 18px; letter-spacing: -.01em; }
.gd-row { display: flex; justify-content: space-between; font-size: 14px; margin: 12px 0 6px; font-weight: 600; }
.gd-card .bar { height: 10px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.gd-card .bar span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.gd-q { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--good); font-weight: 600; }
.gd-q span:last-child { color: var(--muted); font-weight: 500; }
.gd-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gd-steps > span { text-align: center; font-size: 13px; font-weight: 600; padding: 10px 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }

.logo-img { width: 34px; height: 34px; display: block; filter: drop-shadow(0 2px 6px rgba(240,5,0,.25)); }

.hero-logo { position: absolute; left: 50%; top: 46%; width: 300px; height: 300px; transform: translate(-50%, -50%); opacity: .95; filter: drop-shadow(0 30px 60px rgba(245,122,18,.45)); animation: float 6s ease-in-out infinite; z-index: 0; }
@keyframes float { 50% { transform: translate(-50%, calc(-50% - 10px)); } }
.hero-vis .chain { left: auto; right: 0; width: 56%; z-index: 1; }
.hero-vis .chain .blk { backdrop-filter: blur(6px); background: rgba(14,15,20,.55); }
.hero-vis .ballot { z-index: 2; }
.paper-logo { width: 64px; height: 64px; margin-bottom: 18px; position: relative; z-index: 1; }
.nav .brand .logo-img { width: 42px; height: 42px; }
@media (max-width: 900px) { .hero-vis { display: block; height: 200px; order: -1; } .hero-vis .chain, .hero-vis .ballot { display: none; } .hero-logo { width: 180px; height: 180px; top: 50%; } }
/* hero emblem layout (desktop): emblem + ballot card, no block list */
.hero-vis .chain { display: none; }
@media (min-width: 901px) { .hero-logo { width: 340px; height: 340px; left: 44%; top: 44%; } .hero-vis .ballot { right: -10px; bottom: -6px; } }

/* logo palette */
.hero::after { background: radial-gradient(circle, rgba(240,5,0,.38), rgba(255,128,0,.18) 45%, transparent 68%); }
h1 em { background: linear-gradient(90deg, #ffa40d, #ff6a00 55%, #f01e00); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero-logo { filter: drop-shadow(0 26px 50px rgba(240,5,0,.35)) drop-shadow(0 0 30px rgba(255,164,13,.25)); }
.btn { background: linear-gradient(135deg, #ff8a00, #f0300a); border-color: transparent; }
.btn.ghost { background: transparent; border-color: color-mix(in srgb, currentColor 25%, transparent); }
.paper::after { background: radial-gradient(circle, rgba(240,5,0,.5), transparent 65%); }
.p-kick { color: #ffa40d; }
.logo-img { border-radius: 0; filter: drop-shadow(0 2px 8px rgba(255,120,0,.35)); object-fit: contain; }
@media (min-width: 901px) { .hero-logo { left: 40%; top: 42%; width: 330px; height: 330px; } .hero-vis .ballot { right: -24px; bottom: -44px; width: 270px; } }

.btn.outline { background: transparent; color: #ffa40d; border: 1.5px solid #ff8a00; }
.btn.outline:hover { background: rgba(255,138,0,.12); color: #ffb54d; box-shadow: none; }
@media (max-width: 480px) { .nav-r .btn.outline { display: inline-flex; } }

/* ---------- footer ---------- */
.foot { background: var(--hero); color: var(--hero-ink); padding: 72px 0 32px; border-top: 1px solid var(--hero-line); position: relative; overflow: hidden; }
.foot::before { content: ""; position: absolute; left: -200px; top: -260px; width: 620px; height: 620px; background: radial-gradient(circle, rgba(240,5,0,.16), rgba(255,138,0,.08) 45%, transparent 70%); pointer-events: none; }
.foot .wrap { position: relative; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--hero-line); }
@media (max-width: 860px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-top { grid-template-columns: minmax(0, 1fr); } }
.foot-brand p { color: var(--hero-muted); max-width: 360px; margin: 16px 0 18px; font-size: 15px; }
.foot-brand .brand .logo-img { width: 48px; height: 48px; }
.foot-net { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--hero-muted); border: 1px solid var(--hero-line); border-radius: 99px; padding: 6px 12px; }
.foot-net b { color: var(--hero-ink); font-weight: 500; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #ffa40d; font-weight: 700; }
.foot-col a { color: var(--hero-muted); font-size: 14.5px; transition: color .15s, transform .15s; width: fit-content; }
.foot-col a:hover { color: var(--hero-ink); transform: translateX(2px); }
.foot-legal { display: grid; gap: 16px; padding-top: 28px; font-size: 13px; color: var(--hero-muted); }
.foot-company b { color: var(--hero-ink); font-weight: 600; }
.foot-company a { color: #ffa40d; }
.foot-tm { font-size: 12.5px; }
.foot-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--hero-line); border-radius: 10px; padding: 8px 12px; font-size: 12px; color: var(--hero-muted); background: rgba(255,255,255,.02); }
.badge b { color: var(--hero-ink); font-size: 13px; letter-spacing: .04em; }
.badge:hover { border-color: rgba(255,138,0,.5); color: var(--hero-ink); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--hero-line); font-size: 12.5px; }
.foot-disc { max-width: 640px; }

/* trademarks */
.tm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .tm-grid { grid-template-columns: minmax(0, 1fr); } }
.tm-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.tm-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #ffa40d, #ff6a00, #f01e00); }
.tm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tm-office { font: 700 12px Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 5px 10px; border-radius: 99px; }
.tm-top img { border-radius: 50%; }
.tm-num { font-size: 20px; font-weight: 500; color: var(--ink); }
.tm-dl { margin: 14px 0 18px; display: grid; }
.tm-dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.tm-dl dt { color: var(--muted); white-space: nowrap; } .tm-dl dd { margin: 0; text-align: right; font-weight: 500; }
.tm-act { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.tm-card .btn.ghost { color: var(--ink); }

/* whitepaper */
.wp-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.wp-meta > div { display: grid; text-align: center; padding: 10px 4px; gap: 1px; }
.wp-meta > div + div { border-left: 1px solid var(--line); }
.wp-meta b { font: 600 18px Fraunces, Georgia, serif; }
.wp-meta span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.wp-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wp-btns .btn { justify-content: center; text-align: center; }
.wp-btns small { opacity: .65; font-weight: 500; margin-left: 4px; }
.wp-sub { color: var(--muted); font-style: italic; margin: -6px 0 22px; }
.wp-p { font-style: normal; font-size: 13px; font-weight: 600; color: var(--accent-ink); white-space: nowrap; margin-left: 6px; }
.toc-h { font-size: 18px; margin: 0 0 4px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.toc-h small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.toc .ch .ch-h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: baseline; margin: 12px 0 4px; padding: 6px 10px; margin-left: -10px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; transition: background .15s; }
.toc .ch .ch-h:hover { background: var(--accent-soft); }
.ch-n { color: var(--accent-ink); font: 500 13px "JetBrains Mono", monospace; }
.ch-pg { color: var(--muted); font: 500 12px "JetBrains Mono", monospace; }
.ch-h:hover .ch-pg { color: var(--accent-ink); }
.ch-h:hover .ch-pg::after { content: " ↗"; }
@media (max-width: 860px) { .wp-cover { position: static; max-width: 420px; } }

.wp.two { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; }
@media (max-width: 900px) { .wp.two { grid-template-columns: minmax(0, 1fr); } }
.wp-reader { display: grid; gap: 12px; outline: none; }
.wp-stage { position: relative; display: flex; justify-content: center; }
.wp-page { width: min(100%, calc((100vh - 250px) * 0.7071)); min-width: 280px; aspect-ratio: 953 / 1348; background: #fff; border-radius: 4px 10px 10px 4px; overflow: hidden; position: relative;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 28px 56px rgba(0,0,0,.20), 0 8px 18px rgba(0,0,0,.08); }
.wp-page::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 14px; background: linear-gradient(90deg, rgba(0,0,0,.10), transparent); pointer-events: none; z-index: 1; }
.wp-page img { display: block; width: 100%; height: 100%; object-fit: contain; cursor: pointer; transition: opacity .18s ease; }
.wp-page img.turn { opacity: .35; }
.wp-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; transition: .15s; }
.wp-nav.prev { left: 0; } .wp-nav.next { right: 0; }
.wp-nav:hover:not(:disabled) { border-color: var(--accent); color: var(--accent-ink); }
.wp-nav:disabled { opacity: .3; cursor: default; }
.wp-ctl { display: flex; align-items: center; gap: 12px; width: min(100%, calc((100vh - 250px) * 0.7071 + 100px)); min-width: 280px; margin: 0 auto; }
.wp-pg { font: 500 13px "JetBrains Mono", monospace; color: var(--muted); white-space: nowrap; }
.wp-pg input { width: 48px; height: 30px; text-align: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; -moz-appearance: textfield; }
.wp-pg input::-webkit-inner-spin-button { -webkit-appearance: none; }
#wpRange { flex: 1; accent-color: #ff8a00; }
.wp-x { color: var(--accent-ink); font-size: 15px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; }
.wp-x:hover { border-color: var(--accent); }
@media (max-width: 900px) { .wp-page { width: min(100%, 520px); } .wp-nav { width: 38px; height: 38px; } }

/* connect a wallet */
.cw { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .cw { grid-template-columns: minmax(0, 1fr); } }
.cw-params, .cw-guide { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.cw-params h3 { margin: 0 0 14px; font-size: 18px; }
.cw-params dl { margin: 0 0 8px; display: grid; }
.cw-params dl > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); align-items: baseline; }
.cw-params dt { color: var(--muted); font-size: 13px; }
.cw-params dd { margin: 0; font-weight: 600; font-size: 14.5px; overflow-wrap: anywhere; padding: 1px 4px; margin-left: -4px; }
.cw-params dd.mono, .cw-rpc { font-family: "JetBrains Mono", monospace; font-weight: 500; font-size: 13px; }
.cw-params dd.sm { font-size: 11.5px; }
.cw-hint { color: var(--muted); font-size: 12.5px; margin: 0 0 16px; }
[data-copy] { cursor: copy; border-radius: 6px; transition: background .15s; }
[data-copy]:hover { background: var(--accent-soft); }
[data-copy].copied { background: color-mix(in srgb, var(--good) 18%, transparent); }
dd[data-copy]::after { content: "⧉"; color: var(--muted); font-size: 12px; margin-left: 8px; font-family: Inter, sans-serif; opacity: 0; transition: .15s; }
dd[data-copy]:hover::after { opacity: 1; }
dd[data-copy].copied::after { content: "✓"; opacity: 1; color: var(--good); }
.cw-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 4px; background: var(--surface-2); border-radius: 12px; margin-bottom: 20px; }
.cw-tabs button { flex: 1; min-width: 100px; border: 0; background: transparent; color: var(--ink-2); font: 600 14px Inter, sans-serif; padding: 9px 12px; border-radius: 9px; cursor: pointer; }
.cw-tabs button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.cw-ph { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin-bottom: 14px; }
.cw-ph b { font-size: 18px; }
.cw-ph > span { color: var(--muted); font-size: 13px; }
.cw-ph a { margin-left: auto; color: var(--accent-ink); font-size: 13px; font-weight: 600; }
.cw-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.cw-steps li { counter-increment: s; position: relative; padding-left: 40px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.cw-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.cw-steps b { color: var(--ink); }
.cw-rpc { background: var(--surface-2); padding: 2px 7px; border-radius: 6px; color: var(--ink); white-space: nowrap; }
.cw-import { margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: var(--surface-2); }
.cw-import h4 { margin: 0 0 6px; font-size: 15px; }
.cw-import p { margin: 0; color: var(--ink-2); font-size: 14px; }
.cw-import .cw-warn { margin-top: 10px; padding-left: 26px; position: relative; color: var(--ink); font-size: 13.5px; }
.cw-warn::before { content: "!"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: #f0300a; color: #fff; font-weight: 700; font-size: 12px; display: grid; place-items: center; }
.cw-evm { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.cw-evm b { color: var(--ink-2); }

/* contact */
.ct { align-items: start; }
.ct-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; color: var(--ink-2); font-size: 15px; }
.ct-list li { padding-left: 26px; position: relative; }
.ct-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.ct-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .ct-form { grid-template-columns: minmax(0, 1fr); padding: 20px; } }
.ct-form .full { grid-column: 1 / -1; }
.ct-form label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); position: relative; }
.ct-form label > input:not([type=checkbox]), .ct-form label > select, .ct-form label > textarea { display: block; margin-top: 6px; }
.ct-form input:not([type=checkbox]), .ct-form select, .ct-form textarea { font: 15px Inter, sans-serif; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.ct-form textarea { resize: vertical; min-height: 130px; }
.ct-form input:focus, .ct-form select:focus, .ct-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ct-form label.bad input, .ct-form label.bad select, .ct-form label.bad textarea { border-color: #e5484d; }
.ct-form label.bad.ct-check { color: #e5484d; }
.ct-count { position: absolute; right: 10px; bottom: 8px; font: 500 11px "JetBrains Mono", monospace; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 500 !important; }
.ct-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: #ff8a00; flex: none; }
.ct-check a { color: var(--accent-ink); }
.ct-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ct-captcha { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); max-width: 360px; }
.ct-captcha i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.ct-captcha.run i { border-color: var(--accent); border-top-color: transparent; animation: ctspin .8s linear infinite; }
.ct-captcha.ok i { border-color: var(--good); background: var(--good); }
@keyframes ctspin { to { transform: rotate(360deg); } }
.ct-msg { font-size: 14px; min-height: 1px; }
.ct-msg.ok { color: var(--good); }
.ct-msg.err { color: #e5484d; }

/* e-mail addresses are images (not readable by spam bots) */
.mail-img { display: inline-block; height: 1.55em; width: auto; vertical-align: -0.45em; user-select: none; -webkit-user-drag: none; }
html[data-theme="dark"] .mail-img { filter: invert(1) brightness(.92); }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .mail-img { filter: invert(1) brightness(.92); } }
.foot .mail-img { filter: invert(1) brightness(.85); opacity: .9; }
