:root {
  --font: Inter, "Segoe UI Variable Text", "Segoe UI", Roboto, system-ui, sans-serif;
  --display: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --page: #f3f7f6;
  --surface: #ffffff;
  --sunken: #e7f1ee;
  --hair: #d3e4de;
  --border: #b7cdc4;
  --ink: #10211c;
  --ink-2: #3c564c;
  --ink-3: #6d857b;
  --accent: #0f766e;
  --accent-ink: #f4fffb;
  --accent-soft: rgba(15, 118, 110, .12);
  --accent-text: #0f5c56;
  --chart: #e07a5f;
  --focus: #0f766e;
  --ok: #0f7a45;
  --ok-bg: rgba(15, 122, 69, .12);
  --warn: #9a5416;
  --warn-bg: rgba(224, 122, 95, .16);
  --danger: #b4232c;
  --danger-bg: rgba(180, 35, 44, .1);
  --shadow-1: 0 1px 2px rgba(16, 33, 28, .06), 0 0 0 1px rgba(16, 33, 28, .04);
  --shadow-2: 0 16px 40px rgba(16, 33, 28, .12);
  --map-dot: #c5d9d2;
  --map-hot: #e07a5f;
  --gutter: clamp(16px, 4vw, 32px);
  --wrap: 1120px;
  color-scheme: light;
  --header-h: 65px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #07110f;
    --surface: #12211c;
    --sunken: #0c1916;
    --hair: #243832;
    --border: #345048;
    --ink: #e7f4ef;
    --ink-2: #b7cdc4;
    --ink-3: #7f998f;
    --accent: #3dbea8;
    --accent-text: #7ee0d0;
    --accent-ink: #06221c;
    --accent-soft: rgba(61, 190, 168, .16);
    --chart: #ff8f70;
    --focus: #3dbea8;
    --ok: #3dbea8;
    --ok-bg: rgba(61, 190, 168, .14);
    --warn: #ffb089;
    --warn-bg: rgba(224, 122, 95, .16);
    --danger: #ff8d95;
    --danger-bg: rgba(255, 141, 149, .14);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .45);
    --shadow-2: 0 18px 40px rgba(0, 0, 0, .45);
    --map-dot: #2c403a;
    --map-hot: #ff8f70;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #07110f;
  --surface: #12211c;
  --sunken: #0c1916;
  --hair: #243832;
  --border: #345048;
  --ink: #e7f4ef;
  --ink-2: #b7cdc4;
  --ink-3: #7f998f;
  --accent: #3dbea8;
  --accent-text: #7ee0d0;
  --accent-ink: #06221c;
  --accent-soft: rgba(61, 190, 168, .16);
  --chart: #ff8f70;
  --focus: #3dbea8;
  --ok: #3dbea8;
  --ok-bg: rgba(61, 190, 168, .14);
  --warn: #ffb089;
  --warn-bg: rgba(224, 122, 95, .16);
  --danger: #ff8d95;
  --danger-bg: rgba(255, 141, 149, .14);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .45);
  --shadow-2: 0 18px 40px rgba(0, 0, 0, .45);
  --map-dot: #2c403a;
  --map-hot: #ff8f70;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--page);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
}
body.page { display: flex; flex-direction: column; }
body.page main { flex: 1; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; font-weight: 560; line-height: 1.08; }
.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin: 0 auto; }
.skip {
  position: absolute; left: 12px; top: -40px; z-index: 80;
  background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px;
}
.skip:focus { top: 8px; }
.icon { width: 18px; height: 18px; flex: none; }
.mark { width: 22px; height: 22px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.7; }
.mono { font-family: var(--mono); }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.ok { color: var(--ok); }
.danger { color: var(--danger); }
.num { font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }

.kicker {
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 14px; border: 1px solid transparent; padding: 10px 16px;
  font-weight: 650; text-decoration: none; cursor: pointer; background: transparent;
  transition: transform .15s var(--ease, ease), filter .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { background: var(--sunken); }
.btn-lg { min-height: 52px; padding: 14px 22px; font-size: 16px; }
.btn-block { width: 100%; }
.icon-btn {
  width: 38px; height: 38px; border: 0; border-radius: 999px; background: transparent;
  display: inline-grid; place-items: center; cursor: pointer; color: var(--ink);
}
.icon-btn:hover { background: var(--sunken); }

.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: color-mix(in srgb, var(--page) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hair);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 8px; }
.logo { font-family: var(--display);
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 760; letter-spacing: -0.03em; font-size: 18px; margin-right: 8px;
}
.desk-nav { display: flex; align-items: center; gap: 2px; }
.desk-nav a {
  text-decoration: none; color: var(--ink-2); font-size: 14.5px;
  padding: 8px 10px; border-radius: 8px;
}
.desk-nav a:hover, .desk-nav a.active { color: var(--ink); }
.header-spacer { flex: 1; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.burger { display: none; }
.drawer {
  display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--surface); border-bottom: 1px solid var(--hair);
  padding: 8px; box-shadow: var(--shadow-2);
}
.drawer.open { display: grid; }
.drawer a { text-decoration: none; padding: 12px 14px; border-radius: 10px; }
.drawer a:hover, .drawer a.active { background: var(--sunken); }

.lp-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 36px; }
.lp-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--hair) 85%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--hair) 85%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(#000 30%, transparent 92%);
}
.lp-hero-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  gap: 24px; align-items: center;
}
.lp-hero h1 { font-size: clamp(46px, 5.4vw, 68px); max-width: 11ch; margin: 18px 0 16px; }
.lp-hero h1 em { font-family: var(--display); font-style: italic; font-weight: 560; color: var(--accent-text); }
.lp-lead { font-size: 20px; color: var(--ink-2); max-width: 34ch; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lp-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 26px 0 0; color: var(--ink-2); font-size: 14.5px; }
.lp-proof li { display: flex; align-items: center; gap: 6px; }
.lp-proof svg { color: var(--ok); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  border: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 80%, transparent);
  border-radius: 999px; padding: 5px 10px 5px 6px; font-size: 14px;
}
.eyebrow b { font-weight: 600; }
.pill {
  display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 8px;
  background: var(--accent-soft); color: var(--accent-text); font-size: 12px; font-weight: 700;
}
.lp-visual { display: flex; justify-content: center; }
.lp-phone {
  width: min(320px, 100%); height: 590px; background: #0c0c0c; color: #f4f1ea;
  border-radius: 38px; padding: 12px; border: 1px solid #2a2a28; position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .18); margin-bottom: -70px;
}
.lp-notch { position: absolute; top: 18px; left: 50%; width: 92px; height: 18px; transform: translateX(-50%); background: #0c0c0c; border-radius: 0 0 12px 12px; z-index: 2; }
.lp-screen { height: 100%; background: #111110; border-radius: 28px; padding: 32px 16px 16px; overflow: hidden; display: flex; flex-direction: column; gap: 14px; }
.m-head, .m-row, .m-tabs { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.m-acct { display: flex; gap: 8px; align-items: center; background: #1b1b19; border-radius: 14px; padding: 6px 10px 6px 6px; }
.m-idn { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(145deg, #9ff3e4, #0f766e 58%, #e07a5f); }
.m-acct b, .m-acct small { display: block; line-height: 1.2; }
.m-acct b { font-size: 13px; }
.m-acct small { color: #a19e95; font-size: 11px; }
.m-pill { background: #12332f; color: #2fbfa8; border-radius: 999px; font-size: 11px; font-weight: 700; padding: 4px 8px; }
.m-bal small, .m-bal em { display: block; color: #a19e95; font-style: normal; font-size: 12px; }
.m-bal strong { display: block; font-size: 40px; letter-spacing: -0.04em; line-height: 1; margin: 4px 0; }
.m-bal strong span { font-size: 16px; color: #a19e95; margin-left: 4px; font-weight: 600; }
.m-acts { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; font-size: 11px; color: #d9d6cc; }
.m-acts i { width: 36px; height: 36px; margin: 0 auto 4px; border-radius: 12px; background: #1c1c1a; display: grid; place-items: center; color: #2fbfa8; }
.m-tabs { color: #a19e95; font-size: 13px; border-bottom: 1px solid #2a2a28; padding-bottom: 6px; }
.m-tabs .on { color: #fff; font-weight: 700; }
.m-token { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; font-size: 13px; }
.m-token b { font-size: 14px; }
.m-token small { display: block; color: #a19e95; }
.dot-ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #1a1200; }
.dot-ico.g { background: #2fbfa8; }
.dot-ico.n { background: #f0b7a4; }
.dot-ico.s { background: #d9d4c5; }
.m-toast { margin-top: auto; background: #1c1c1a; border-radius: 14px; padding: 10px 12px; display: flex; justify-content: space-between; font-size: 13px; }
.m-toast b { color: #f0b7a4; }

.lp-stats { background: var(--surface); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-grid article { padding: 22px 18px; }
.stat-grid article + article { border-left: 1px solid var(--hair); }
.stat-k { font-size: 11px; letter-spacing: .12em; color: var(--ink-3); font-weight: 700; }
.stat-v { font-size: clamp(26px, 3vw, 32px); font-weight: 720; margin-top: 4px; letter-spacing: -0.04em; }
.stat-v span { font-size: .45em; color: var(--ink-3); font-weight: 650; margin-left: 4px; }

.lp-sec { padding: clamp(56px, 8vw, 96px) 0; }
.lp-band { background: var(--sunken); }
.sec-head { margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(34px, 4vw, 48px); margin-top: 8px; }

.map-card, .step, .coin, .panel {
  background: var(--surface); border: 1px solid var(--hair); border-radius: 18px;
}
.map-card { padding: 8px 8px 18px; }
.map-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 16px 18px 6px; }
.map-stats span { display: block; color: var(--ink-3); font-size: 14px; }
.map-stats strong { font-size: 32px; letter-spacing: -0.04em; }
.map-view { position: relative; height: 420px; overflow: hidden; border-radius: 12px; touch-action: none; }
.map-view svg { width: 100%; height: 100%; }
.map-tools { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; }
.map-tools button {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); cursor: pointer;
}
.map-tip {
  position: absolute; left: 12px; top: 12px; background: var(--ink); color: var(--page);
  border-radius: 999px; padding: 6px 10px; font-size: 12px; opacity: 0; pointer-events: none;
}
.country-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; padding: 8px 18px 0; }
.country-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; font-size: 14px; }
.bar { grid-column: 1 / -1; height: 5px; background: var(--sunken); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 22px; min-height: 230px; }
.step .num { color: var(--ink-3); font-size: 13px; }
.step-ico {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-text); margin: 18px 0 16px;
}
.step h3, .why h3, .coin h3 { font-size: 20px; letter-spacing: -0.03em; margin-bottom: 6px; }
.step p, .why p, .coin p { color: var(--ink-2); }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); }
.why { padding: 26px 28px 28px 0; border-bottom: 1px solid var(--hair); }
.why:nth-child(3n+2),
.why:nth-child(3n) { box-shadow: inset 1px 0 0 var(--hair); padding-left: 28px; }
.balance { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.balance .unit { font-size: 22px; color: var(--ink-3); font-weight: 650; }
.why-ico { color: var(--accent-text); margin-bottom: 16px; }
.why-ico .icon { width: 22px; height: 22px; }

.coin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.coin { padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 230px; }
.coin-top { display: flex; gap: 12px; align-items: center; }
.coin-top p { color: var(--ink-3); font-size: 14px; }
.coin-foot {
  margin-top: auto; border-top: 1px solid var(--hair); padding-top: 12px;
  display: flex; justify-content: space-between; gap: 12px; font-size: 14px;
}
.coin-foot b { font-weight: 650; }

.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.spec-row { padding: 16px 0; border-top: 1px solid var(--hair); }
.spec-row span { display: block; color: var(--ink-2); font-size: 14px; }
.spec-row b { display: block; margin-top: 2px; font-size: 18px; font-weight: 680; letter-spacing: -0.02em; }
.link-arrow { color: var(--accent-text); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; margin: 14px 0 8px; }

.lp-final { text-align: center; padding: clamp(64px, 8vw, 100px) 0; }
.lp-final h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 8px; }
.lp-final .lp-cta { justify-content: center; }

.lp-footer { border-top: 1px solid var(--hair); padding: 48px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.foot-grid h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .12em; color: var(--ink-3); }
.foot-grid a { display: block; text-decoration: none; color: var(--ink-2); padding: 4px 0; font-size: 14.5px; }
.foot-grid a:hover { color: var(--ink); }
.foot-lead { color: var(--ink-2); margin-top: 12px; max-width: 28ch; }
.foot-bottom {
  margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--hair);
  color: var(--ink-3); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

.page-hero { padding: 36px 0 8px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 52px); margin: 8px 0; }
.page-hero p { color: var(--ink-2); max-width: 62ch; }

.searchbar {
  display: flex; gap: 8px; align-items: center; margin: 18px 0 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 6px 6px 16px;
}
.searchbar input { flex: 1; border: 0; background: transparent; outline: none; min-width: 0; padding: 8px 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--hair); border-radius: 16px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--hair); white-space: nowrap; }
th { font-size: 11px; letter-spacing: .08em; color: var(--ink-3); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
tbody tr { cursor: pointer; }
tbody tr:hover { background: var(--sunken); }
.tag {
  display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 8px;
  background: var(--sunken); color: var(--ink-2); font-size: 12px; font-weight: 700;
}
.tag.mine { background: var(--ok-bg); color: var(--ok); }
.tag.swap { background: var(--accent-soft); color: var(--accent-text); }
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--ink-3); font-size: 14px; margin-bottom: 12px; }
.crumbs a { color: var(--accent-text); text-decoration: none; }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 8px 12px; }
.kv span { color: var(--ink-3); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: start; }
.stack { display: grid; gap: 12px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field span, .label { font-size: 13px; color: var(--ink-2); }
input, select, textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px; outline: none;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.choice { display: flex; gap: 8px; }
.choice button, .seg button {
  flex: 1; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; padding: 10px; cursor: pointer;
}
.choice button.on, .seg button.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); font-weight: 700; }
.quote {
  display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px solid var(--hair); font-size: 14px;
}
.history-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.switch { width: 44px; height: 26px; border-radius: 99px; border: 0; background: var(--border); position: relative; cursor: pointer; }
.switch.on { background: var(--accent); }
.switch i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: white; transition: left .15s ease; }
.switch.on i { left: 21px; }
.set-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--hair); }

.docs-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; padding: 28px 0 72px; }
.docs-side { position: sticky; top: 84px; align-self: start; display: grid; gap: 4px; }
.docs-side a { text-decoration: none; color: var(--ink-2); padding: 8px 10px; border-radius: 8px; font-size: 14.5px; }
.docs-side a.active, .docs-side a:hover { background: var(--accent-soft); color: var(--accent-text); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(30px, 4vw, 40px); margin: 8px 0 12px; }
.prose h3 { font-size: 22px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 18px; }
.prose li + li { margin-top: 6px; }
.prose section { padding-top: 18px; scroll-margin-top: 84px; }
.callout { background: var(--accent-soft); border-radius: 14px; padding: 14px 16px; color: var(--ink); }
.faq { border-bottom: 1px solid var(--hair); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin-top: 8px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; }
.timeline li::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--border); margin-top: 6px;
  box-shadow: 0 18px 0 0 var(--hair), 0 36px 0 0 var(--hair);
}
.timeline li.done::before { background: var(--accent); }
.timeline li + li { margin-top: 16px; }
.timeline b { display: block; }
.timeline span { color: var(--accent-text); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 232px minmax(0, 1fr); }
.app-side {
  position: sticky; top: 0; height: 100vh; padding: 18px 12px;
  border-right: 1px solid var(--hair); background: var(--surface);
  display: flex; flex-direction: column; gap: 16px;
}
.app-nav { display: grid; gap: 4px; }
.app-nav button, .side-link {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  border: 0; background: transparent; border-radius: 12px; padding: 10px 12px; cursor: pointer; color: var(--ink-2); text-decoration: none;
}
.app-nav button.active, .app-nav button:hover { background: var(--sunken); color: var(--ink); }
.side-foot { margin-top: auto; padding: 8px 12px; font-size: 12px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); display: inline-block; }
.app-main { padding: 28px 32px 48px; max-width: 920px; }
.demo-banner { background: var(--warn-bg); color: var(--warn); border-radius: 12px; padding: 8px 12px; font-size: 13px; margin-bottom: 16px; }
.balance strong { font-size: clamp(42px, 6vw, 60px); letter-spacing: -0.045em; line-height: .95; display: block; }
.balance strong span { font-size: .38em; margin-left: 6px; color: var(--ink-3); }
.actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0; }
.actions button { border: 0; background: transparent; cursor: pointer; display: grid; justify-items: center; gap: 6px; font-size: 13px; }
.actions i { width: 48px; height: 48px; border-radius: 16px; background: var(--sunken); color: var(--accent-text); display: grid; place-items: center; }
.token-list { display: grid; }
.token-row, .act-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--hair); background: transparent; width: 100%; text-align: left; border-left: 0; border-right: 0; border-bottom: 0;
}
.token-ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #1a1200; font-size: 11px; font-weight: 800; }
.token-ico.HBR { background: #2fbfa8; }
.token-ico.wHBR { background: #d5d0c4; }
.token-ico.dHBR { background: #f0b7a4; }
.mine-hero { display: flex; justify-content: space-between; gap: 18px; align-items: end; }
.mine-hero .rate { font-size: clamp(40px, 6vw, 64px); font-weight: 760; letter-spacing: -0.045em; line-height: .9; }
.spark { width: 100%; height: 84px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-stats div, .panel { padding: 14px; }
.mini-stats { }
.mini-stats div { background: var(--surface); border: 1px solid var(--hair); border-radius: 14px; }
.mini-stats span, .panel .faint { font-size: 12px; }
.words { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.word { background: var(--sunken); border-radius: 10px; padding: 8px 10px; font-size: 14px; }
.word b { color: var(--ink-3); font-weight: 600; margin-right: 6px; font-size: 12px; }
.gate {
  min-height: 100vh; display: grid; place-items: center; padding: 32px 16px;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--hair) 70%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--hair) 70%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
}
.gate-card { width: min(480px, 100%); background: var(--surface); border: 1px solid var(--hair); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-2); }
.checks { display: flex; gap: 6px; margin-bottom: 16px; }
.checks i { width: 28px; height: 4px; border-radius: 99px; background: var(--hair); }
.checks i.on { background: var(--accent); }
.qr { width: 180px; height: 180px; background: white; color: #111; padding: 8px; border-radius: 12px; }
.center { display: grid; justify-items: center; }

.modal-back { position: fixed; inset: 0; z-index: 60; background: rgba(8, 8, 8, .48); display: grid; place-items: center; padding: 18px; }
.modal { width: min(460px, 100%); background: var(--surface); border-radius: 18px; border: 1px solid var(--hair); box-shadow: var(--shadow-2); padding: 20px; max-height: min(88vh, 760px); overflow: auto; }
.toaster { position: fixed; z-index: 70; left: 50%; bottom: 20px; transform: translateX(-50%); display: grid; gap: 8px; }
.toast { background: var(--ink); color: var(--page); border-radius: 999px; padding: 10px 14px; font-size: 14px; box-shadow: var(--shadow-2); }
.toast.out { opacity: 0; transition: opacity .2s ease; }
.empty { padding: 28px 8px; text-align: center; color: var(--ink-2); }

@media (max-width: 980px) {
  .desk-nav { display: none; }
  .burger { display: inline-grid; }
  .lp-hero-grid, .steps, .why-grid, .coin-grid, .spec-list, .foot-grid, .split, .docs-layout, .app-shell { grid-template-columns: 1fr; }
  .why:nth-child(3n+2),
  .why:nth-child(3n) { box-shadow: none; padding-left: 0; }
  .docs-side { position: static; grid-auto-flow: column; overflow-x: auto; }
  .docs-side a { white-space: nowrap; }
  .app-side {
    position: fixed; top: auto; bottom: 0; height: auto; width: 100%; z-index: 30;
    flex-direction: row; border-right: 0; border-top: 1px solid var(--hair); padding: 6px;
  }
  .side-brand, .side-foot { display: none; }
  .app-nav { grid-auto-flow: column; width: 100%; }
  .app-nav button { flex-direction: column; justify-content: center; gap: 2px; font-size: 11px; padding: 8px 4px; }
  .app-main { padding: 18px 16px 108px; }
  .lp-phone { height: 520px; margin-bottom: 0; }
  body[data-chrome="app"] .toaster { bottom: 84px; }
}
@media (max-width: 720px) {
  .stat-grid, .map-stats, .mini-stats, .country-list, .words { grid-template-columns: 1fr 1fr; }
  .stat-grid article:nth-child(odd) { border-left: 0; }
  .stat-grid article:nth-child(3), .stat-grid article:nth-child(4) { border-top: 1px solid var(--hair); }
  .hide-sm { display: none; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv span { margin-top: 8px; }
  .mine-hero { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
