/* ==========================================================================
   Pimu Wallet — wallet.pimu.org
   Design: cool paper, engraved security lines, warm app surfaces.
   No build step. Tokens live at the top only.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("assets/fonts/inter-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #fbfafe;
  --paper-2: #f5f1fc;
  --paper-3: #f0ebfa;
  --surface: #ffffff;
  --ink: #17141f;
  --ink-2: #3b3648;
  --muted: #615c6d;
  --faint: #8b8597;
  --line: rgba(23, 20, 31, 0.11);
  --line-soft: rgba(23, 20, 31, 0.065);
  --violet: #6c57e6;
  --violet-ink: #5840cf;
  --violet-deep: #4430b2;
  --violet-soft: #eee8ff;
  --violet-mist: #f5f1ff;
  --seal: #ff8a1e;
  --gain: #0a7c48;
  --gain-soft: #e8f6ee;
  --warn: #8a5a00;
  --warn-soft: #fbf2df;

  --font-display: "Inter Tight", "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-app: 0 2px 3px rgba(23, 20, 31, 0.05), 0 50px 100px -44px rgba(23, 20, 31, 0.4), 0 0 0 1px rgba(23, 20, 31, 0.07);
  --shadow-card: 0 1px 2px rgba(23, 20, 31, 0.04), 0 24px 54px -38px rgba(23, 20, 31, 0.36);
  --shadow-pop: 0 24px 60px -26px rgba(23, 20, 31, 0.32), 0 2px 5px rgba(23, 20, 31, 0.05);

  --app-bg: #f1f1ef;
  --app-side: #f7f7f5;
  --app-surface: #ffffff;
  --app-ink: #16171a;
  --app-muted: #676c73;
  --app-line: rgba(17, 18, 20, 0.09);
  --app-line-soft: rgba(17, 18, 20, 0.06);
  --app-accent: #e8eefc;
  --app-grad: radial-gradient(120% 90% at 92% 96%, rgba(255, 214, 170, 0.92) 0%, rgba(255, 214, 170, 0) 55%), radial-gradient(90% 80% at 100% 8%, rgba(120, 170, 255, 0.5) 0%, rgba(120, 170, 255, 0) 60%), linear-gradient(148deg, #12203c 0%, #1e3a66 44%, #6f7f96 72%, #d9c3a6 100%);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.7 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--violet); color: #fff; }

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--gain);
  box-shadow: 0 0 0 3px rgba(10, 124, 72, 0.12);
}

/* ---------- type ---------- */
.kicker {
  color: var(--violet-ink);
  font: 600 11px/1.2 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kicker--light { color: #c9bcff; }
.lead {
  margin-top: 22px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.85;
}

.sec-head {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}
.sec-head h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -0.028em;
}
.sec-head > p:last-child:not(.kicker) {
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.8;
  text-wrap: balance;
}
.sec-head--left {
  max-width: 700px;
  margin-left: 0;
  text-align: left;
}
.sec-head--left > p:last-child:not(.kicker) { margin-left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 10px 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 500 14px/1 var(--font-sans);
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.28s var(--ease), background 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease), color 0.28s var(--ease);
}
.btn .icon { width: 16px; height: 16px; }
.btn__bubble {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  transition: transform 0.28s var(--ease), background 0.28s var(--ease);
}
.btn:hover .btn__bubble { transform: translateX(2px); }

.btn--dark { background: var(--ink); color: #fff; padding-right: 8px; }
.btn--dark:hover {
  transform: translateY(-2px);
  background: #2a2536;
  box-shadow: 0 14px 30px -12px rgba(23, 20, 31, 0.5);
}
.btn--ghost {
  padding: 0 22px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 20, 31, 0.28);
  background: #fff;
}
.btn--light {
  padding-right: 8px;
  background: #fff;
  color: var(--ink);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.45); }
.btn--light .btn__bubble { background: rgba(23, 20, 31, 0.08); }
.btn--lg { height: 52px; padding-left: 25px; font-size: 14.5px; }
.btn--lg.btn--dark { padding-right: 9px; }
.btn--lg .btn__bubble { width: 34px; height: 34px; }
.btn--small { height: 38px; padding: 0 12px 0 15px; gap: 8px; font-size: 12.5px; }
.btn--small .icon { width: 14px; height: 14px; }
.btn--nav { height: 40px; padding: 0 6px 0 17px; gap: 9px; font-size: 13px; }
.btn--nav .btn__bubble { width: 28px; height: 28px; }
.btn--nav .btn__bubble .icon { width: 14px; height: 14px; }
.btn--wide { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line-soft);
  background: rgba(251, 250, 254, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: min(1240px, calc(100% - 48px));
  height: 72px;
  margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.brand img { border-radius: 7px; }
.brand__word {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}
.brand__tag {
  padding-left: 8px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 0.08em;
}
.nav__links {
  display: flex;
  gap: 30px;
  margin-inline: auto;
}
.nav__links a {
  color: var(--muted);
  font-size: 13.5px;
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink-2);
  font: 500 12px/1 var(--font-sans);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang .icon { width: 14px; height: 14px; color: var(--muted); }
.lang:hover { border-color: rgba(23, 20, 31, 0.28); background: #fff; color: var(--ink); }
.menu-btn {
  display: none;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}
.menu-btn .icon { width: 18px; height: 18px; }
.mobile-menu {
  position: absolute;
  top: 72px;
  left: 0; right: 0;
  padding: 12px 24px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 254, 0.98);
  box-shadow: 0 24px 40px -30px rgba(23, 20, 31, 0.4);
  backdrop-filter: blur(18px);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; margin-bottom: 16px; }
.mobile-menu nav a {
  padding: 14px 2px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 16px;
}
.mobile-menu nav a:last-child { border-bottom: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 156px 0 0;
  overflow: clip;
  text-align: center;
}
.hero__inner { position: relative; z-index: 3; }
.hero__lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: repeating-linear-gradient(90deg, rgba(108, 87, 230, 0.13) 0 1px, transparent 1px 10px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 72%, transparent 96%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 72%, transparent 96%);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 540px at 50% 18%, rgba(108, 87, 230, 0.1), transparent 65%),
    radial-gradient(680px 460px at 84% 52%, rgba(255, 138, 30, 0.055), transparent 70%);
  pointer-events: none;
}
.hero__seal {
  position: absolute;
  top: 140px;
  right: -120px;
  z-index: 0;
  width: 780px;
  height: 780px;
  opacity: 0.62;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 16%, rgba(0, 0, 0, 0.7) 42%, transparent 68%);
  mask-image: radial-gradient(circle at 50% 50%, #000 16%, rgba(0, 0, 0, 0.7) 42%, transparent 68%);
}
.hero__seal canvas { width: 100%; height: 100%; animation: sealTurn 180s linear infinite; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink-2);
  font-size: 12px;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero__eyebrow .live-dot { animation: dotPulse 2.6s ease-out infinite; }
.hero__title {
  max-width: 1040px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(46px, 6.4vw, 86px);
  font-weight: 620;
  line-height: 1.07;
  letter-spacing: -0.035em;
}
.hero__serif {
  display: inline-block;
  padding-right: 0.04em;
  color: var(--violet-ink);
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero__underline {
  width: min(330px, 54%);
  height: 12px;
  margin: -4px auto 0;
  color: var(--violet);
  opacity: 0.5;
}
.hero__underline path {
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  animation: drawLine 1.25s 0.45s var(--ease) forwards;
}
.hero__sub {
  max-width: 640px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
  text-wrap: balance;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.hero__meta i { font-style: normal; opacity: 0.55; }
.hero__stage {
  position: relative;
  z-index: 3;
  width: min(1160px, calc(100% - 24px));
  margin: 64px auto 0;
}

/* ---------- demo tabs ---------- */
.demo { position: relative; }
.demo__bar {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}
.demo__tabs {
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 8px 24px -20px rgba(23, 20, 31, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.demo__tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 500 13px/1 var(--font-sans);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.demo__tab .icon { width: 15px; height: 15px; }
.demo__tab:hover { color: var(--ink); }
.demo__tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(23, 20, 31, 0.08), 0 8px 18px -12px rgba(23, 20, 31, 0.3);
}
.demo__version {
  position: absolute;
  right: 2px;
  color: var(--faint);
  font: 500 10.5px/1.4 var(--font-mono);
  letter-spacing: 0.02em;
}
.demo__hint {
  margin-left: 6px;
  padding: 3px 6px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--faint);
}
.demo__stage { position: relative; padding: 0 34px; }

/* ---------- app window ---------- */
.app-frame { position: relative; z-index: 2; }
.app-frame::before {
  content: "";
  position: absolute;
  inset: -46px -70px -76px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(58% 62% at 50% 38%, rgba(108, 87, 230, 0.19), rgba(108, 87, 230, 0.05) 52%, transparent 74%);
  filter: blur(26px);
  pointer-events: none;
}
.app {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  height: 620px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--app-bg);
  box-shadow: var(--shadow-app);
  color: var(--app-ink);
  font: 400 11px/1.45 var(--font-sans);
  text-align: left;
}
.app .icon { width: 12px; height: 12px; stroke-width: 1.7; }

.app__side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px 12px;
  border-right: 1px solid var(--app-line-soft);
  background: var(--app-side);
}
.app__brand { display: flex; align-items: center; gap: 8px; padding: 0 4px; margin-bottom: 16px; }
.app__brand img { width: 26px; height: 26px; border-radius: 7px; }
.app__brand b { display: block; font-size: 11.5px; font-weight: 600; line-height: 1.2; }
.app__brand span { display: block; margin-top: 1px; color: var(--app-muted); font-size: 8.5px; }
.app__group {
  margin: 13px 8px 5px;
  color: var(--app-muted);
  font-size: 8.5px;
  letter-spacing: 0.02em;
}
.app__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 9px;
  border-radius: 8px;
  color: #24262b;
  font-size: 10px;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.app__nav.is-active { background: #16171a; color: #fff; }
.app__chev { margin-left: auto; color: var(--app-muted); font-size: 12px; }
.app__nav.is-active .app__chev { color: rgba(255, 255, 255, 0.6); }
.app__sub {
  display: none;
  margin: 2px 0 4px 18px;
  padding-left: 10px;
  border-left: 1px solid var(--app-line);
}
.app__sub span { display: block; padding: 4px 0; color: var(--app-muted); font-size: 9px; }
.app__sub span.is-on { color: var(--app-ink); font-weight: 560; }
.app[data-screen="wallet"] .app__sub--wallet,
.app[data-screen="data"] .app__sub--data { display: block; }
.app__node {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding: 8px 9px;
  border: 1px solid var(--app-line-soft);
  border-radius: 9px;
  background: #fff;
  color: var(--app-muted);
  font-size: 8px;
}
.app__node-top { display: flex; align-items: center; gap: 5px; }
.app__node b { color: var(--app-ink); font-size: 8.5px; font-weight: 560; }
.app__node small { font-family: var(--font-mono); font-size: 7px; }
.app__node .live-dot { width: 5px; height: 5px; box-shadow: none; }

.app__main { min-width: 0; padding: 18px 22px 20px; overflow: hidden; }
.screen { display: none; height: 100%; }
.screen.is-active { display: block; animation: screenIn 0.38s var(--ease); }
.app__crumb { margin-bottom: 3px; color: var(--app-muted); font-size: 8.5px; }
.app__crumb i { margin: 0 4px; font-style: normal; opacity: 0.55; }
.app__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.app__head h3 {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.03em;
}
.app__head p { margin-top: 5px; color: var(--app-muted); font-size: 9px; }
.app__actions { display: flex; align-items: center; gap: 6px; padding-top: 3px; }
.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  border: 1px solid var(--app-line);
  border-radius: 999px;
  background: #fff;
  color: #24262b;
  font-size: 8.5px;
  white-space: nowrap;
}
.app-chip--dark { border-color: #16171a; background: #16171a; color: #fff; }
.app-chip--mono { font-family: var(--font-mono); font-size: 8px; }
.app-chip--icon { width: 24px; padding: 0; justify-content: center; }
.app-chip .live-dot { width: 5px; height: 5px; box-shadow: none; }
.app__notice {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 8px 10px;
  border: 1px solid var(--app-line-soft);
  border-radius: 9px;
  background: #fff;
  color: #3b3d43;
  font-size: 8.5px;
}
.app__notice .live-dot { width: 6px; height: 6px; }
.app__notice b { margin-left: auto; color: var(--app-muted); font-weight: 400; font-size: 10px; }

.app__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.app-kpi {
  min-width: 0;
  min-height: 74px;
  padding: 10px 12px;
  border: 1px solid var(--app-line-soft);
  border-radius: 11px;
  background: #fff;
}
.app-kpi__label { display: flex; align-items: center; gap: 5px; color: var(--app-muted); font-size: 8.5px; }
.app-kpi__value {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.app__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.app-card {
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--app-line-soft);
  border-radius: 11px;
  background: #fff;
}
.app-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
  font-size: 9px;
}
.app-card__head b { font-size: 10px; font-weight: 600; }
.app-card__head span { color: var(--app-muted); font-size: 8px; }
.app-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6.5px 0;
  border-top: 1px solid var(--app-line-soft);
}
.app-row:first-of-type { border-top: 0; }
.app-file {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  flex: none;
  border-radius: 6px;
  background: #f0f0ee;
  color: var(--app-muted);
  font: 600 6.5px/1 var(--font-mono);
}
.app-file--lg { width: 32px; height: 32px; border-radius: 8px; font-size: 7.5px; }
.app-row__txt { min-width: 0; flex: 1; }
.app-row b, .data-row b { display: block; overflow: hidden; max-width: 220px; font-size: 8.5px; font-weight: 560; white-space: nowrap; text-overflow: ellipsis; }
.app-row small, .data-row small { display: block; margin-top: 1px; color: var(--app-muted); font-size: 7.5px; }
.app-tag {
  margin-left: auto;
  padding: 3px 6px;
  border-radius: 999px;
  background: #f0f0ee;
  color: var(--app-muted);
  font-size: 7.5px;
  white-space: nowrap;
}
.app-flow { display: flex; gap: 7px; padding: 6px 0; border-top: 1px solid var(--app-line-soft); }
.app-flow:first-of-type { border-top: 0; }
.app-ico {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  flex: none;
  border-radius: 6px;
  background: #f0f0ee;
}
.app-flow b { display: block; font-size: 8.5px; font-weight: 560; }
.app-flow small { display: block; color: var(--app-muted); font-size: 7.5px; line-height: 1.35; }
.app-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 96px;
  overflow: hidden;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--app-grad);
  color: #fff;
}
.app-hero::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -70px;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.05), 0 0 0 60px rgba(255, 255, 255, 0.03);
  pointer-events: none;
}
.app-hero small { display: block; color: rgba(255, 255, 255, 0.68); font-size: 8px; }
.app-hero b { display: block; margin: 4px 0; font-size: 15px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.app-hero p { max-width: 440px; color: rgba(255, 255, 255, 0.7); font-size: 8px; line-height: 1.45; }
.app-chip--light { height: 26px; border-color: #fff; background: #fff; color: #16171a; }

/* wallet screen */
.wallet-grid { display: grid; grid-template-columns: 1.03fr 0.97fr; gap: 10px; }
.wallet-grid .app-card { padding: 14px 16px; }
.wallet-label { margin: 8px 0 4px; color: var(--app-muted); font-size: 8.5px; }
.wallet-line { display: flex; gap: 6px; }
.wallet-field {
  flex: 1;
  display: block;
  height: 28px;
  line-height: 26px;
  min-width: 0;
  padding: 0 9px;
  overflow: hidden;
  border: 1px solid var(--app-line);
  border-radius: 7px;
  background: #fff;
  color: #24262b;
  font-size: 8.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.wallet-field--muted { color: var(--app-muted); }
.wallet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  gap: 4px;
  height: 28px;
  padding: 0 14px;
  border-radius: 7px;
  background: #16171a;
  color: #fff;
  font-size: 8.5px;
  font-weight: 560;
}
.wallet-import {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 30px;
  margin-top: 12px;
  border: 1px solid var(--app-line);
  border-radius: 7px;
  background: #fff;
  color: var(--app-muted);
  font-size: 8.5px;
}
.wallet-list-title { margin: 14px 0 6px; font-size: 10px; font-weight: 600; }
.wallet-item {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
}
.wallet-item.is-on { border-color: rgba(37, 101, 230, 0.26); background: var(--app-accent); }
.wallet-item > div { min-width: 0; }
.wallet-item b { display: flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 560; }
.wallet-item b em {
  padding: 1px 4px;
  border-radius: 999px;
  background: var(--gain-soft);
  color: var(--gain);
  font-size: 6.5px;
  font-style: normal;
}
.wallet-item small { display: block; overflow: hidden; margin-top: 2px; color: var(--app-muted); font-family: var(--font-mono); font-size: 7px; white-space: nowrap; text-overflow: ellipsis; }
.wallet-dots { margin-left: auto; color: var(--app-muted); font-size: 11px; letter-spacing: 1px; }
.asset-card { display: flex; flex-direction: column; }
.asset-label { margin-top: 6px; color: var(--app-muted); font-size: 8.5px; }
.asset-balance {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.asset-balance .frac { font-size: 23px; color: var(--app-muted); letter-spacing: -0.02em; }
.asset-balance .unit { margin-left: 6px; color: var(--app-muted); font-size: 16px; font-weight: 500; letter-spacing: 0; }
.asset-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 10px;
  margin-top: 18px;
  color: var(--app-muted);
  font-size: 8px;
}
.asset-meta b { display: block; margin-top: 2px; color: var(--app-ink); font-size: 9.5px; font-weight: 560; }
.asset-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 20px;
  padding: 9px 10px;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  font-size: 8px;
  text-align: center;
}
.asset-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--violet-mist);
  color: #4b3aa8;
  font-size: 7.5px;
}
.asset-txs { margin-top: auto; padding-top: 16px; }
.asset-txs__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
  font-size: 9px;
}
.asset-txs__head b { font-size: 9px; font-weight: 600; }
.asset-txs__head span { color: var(--app-muted); font-size: 7.5px; }
.asset-tx {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
  border-top: 1px solid var(--app-line-soft);
}
.asset-tx__ico {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  flex: none;
  border-radius: 50%;
  background: #f0f0ee;
  color: #5b5e66;
}
.asset-tx__ico .icon { width: 10px; height: 10px; }
.asset-tx__ico.is-in { background: var(--gain-soft); color: var(--gain); }
.asset-tx > div { min-width: 0; flex: 1; }
.asset-tx b { display: block; font-size: 8.5px; font-weight: 560; }
.asset-tx small { display: block; overflow: hidden; margin-top: 1px; color: var(--app-muted); font-family: var(--font-mono); font-size: 7px; white-space: nowrap; text-overflow: ellipsis; }
.asset-tx__amt { font: 600 8.5px/1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.asset-tx__amt.is-in { color: var(--gain); }

/* data screen */
.data-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 10px; }
.data-grid .app-card { padding: 14px 16px; }
.data-assets { display: flex; flex-direction: column; }
.app-search {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  margin: 4px 0 8px;
  padding: 0 9px;
  border: 1px solid var(--app-line);
  border-radius: 7px;
  color: var(--app-muted);
  font-size: 8px;
}
.data-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 7px;
  border: 1px solid transparent;
  border-radius: 8px;
}
.data-row + .data-row { border-top: 1px solid var(--app-line-soft); border-radius: 0; }
.data-row.is-on { border-color: rgba(37, 101, 230, 0.26); background: var(--app-accent); border-radius: 8px; }
.data-file-head { display: flex; align-items: flex-start; gap: 9px; padding-bottom: 11px; border-bottom: 1px solid var(--app-line-soft); }
.data-file-head b { display: block; font-size: 9.5px; font-weight: 560; line-height: 1.3; }
.data-file-head small { display: block; margin-top: 2px; color: var(--app-muted); font-family: var(--font-mono); font-size: 6.5px; }
.data-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--app-line-soft); color: var(--app-muted); font-size: 7.5px; }
.data-meta b { display: block; margin-top: 2px; color: var(--app-ink); font-size: 8.5px; font-weight: 560; }
.data-key { margin-top: 10px; padding: 10px; border: 1px solid rgba(37, 101, 230, 0.2); border-radius: 9px; background: #f4f7fe; }
.data-key > div { display: flex; justify-content: space-between; color: #2565e6; font-size: 8px; }
.data-key b { font-weight: 600; }
.data-key code { display: block; margin-top: 5px; color: #24262b; font-family: var(--font-mono); font-size: 7.5px; }
.data-key small { display: block; margin-top: 5px; color: var(--app-muted); font-size: 7px; line-height: 1.4; }
.data-side { margin-top: auto; padding-top: 12px; }
.data-storage {
  padding: 9px 10px;
  border: 1px solid var(--app-line-soft);
  border-radius: 9px;
  background: #fafafa;
}
.data-storage__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--app-muted); font-size: 7.5px; }
.data-storage__head b { color: var(--app-ink); font-size: 8.5px; font-weight: 600; }
.data-storage__bar { display: flex; height: 4px; margin: 7px 0 5px; overflow: hidden; border-radius: 999px; background: #e9e8ee; }
.data-storage__bar i { display: block; height: 100%; }
.data-storage__bar i:first-child { width: 70%; background: var(--violet); }
.data-storage__bar i:last-child { width: 30%; border-left: 2px solid #fafafa; background: #9fb0f7; }
.data-storage__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--app-muted); font-size: 6.8px; }
.data-share-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 11px 0 3px; font-size: 9px; font-weight: 600; }
.data-share-head span { color: var(--app-muted); font-size: 7px; font-weight: 400; }
.data-share {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  border-top: 1px solid var(--app-line-soft);
}
.data-share > div { min-width: 0; flex: 1; }
.data-share b { display: block; overflow: hidden; font-size: 8px; font-weight: 560; white-space: nowrap; text-overflow: ellipsis; }
.data-share small { display: block; margin-top: 1px; color: var(--app-muted); font-family: var(--font-mono); font-size: 6.8px; }
.data-share .app-tag { padding: 2px 5px; font-size: 6.8px; }
.shard-health {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--app-line-soft);
}
.shard-health__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--app-muted); font-size: 7.5px; }
.shard-health__head b { color: var(--app-ink); font-size: 8.5px; font-weight: 600; }
.shard-health__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; margin-top: 7px; }
.shard-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 30px;
  border: 1px solid rgba(108, 87, 230, 0.16);
  border-radius: 6px;
  background: var(--violet-mist);
  color: var(--violet);
  font: 600 7px/1 var(--font-mono);
}
.shard-tile small { color: #8a7fc4; font: 500 5px/1 var(--font-sans); letter-spacing: 0.04em; }
.shard-tile--p { border-color: rgba(255, 138, 30, 0.22); background: #fff6ec; color: #b46a1a; }
.shard-tile--p small { color: #c08b57; }
.shard-health__note { display: block; margin-top: 6px; color: var(--app-muted); font-size: 6.8px; line-height: 1.4; }
.data-btns { display: flex; gap: 6px; margin-top: 10px; }
.data-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--app-line);
  border-radius: 7px;
  background: #fff;
  font-size: 8px;
}
.data-btn--dark { flex: 1; border-color: #16171a; background: #16171a; color: #fff; }

/* floating demo cards & cube */
.float {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-pop);
  font-size: 12px;
  text-align: left;
}
.float b { display: block; font-size: 12px; font-weight: 600; letter-spacing: -0.01em; }
.float small { display: block; margin-top: 1px; color: var(--muted); font-size: 10.5px; }
.float__ico {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 9px;
  background: var(--gain-soft);
  color: var(--gain);
}
.float__ico .icon { width: 15px; height: 15px; }
.float--sign { left: -96px; bottom: 86px; }
.float--shards { top: 112px; right: -96px; }
.shards-mini { display: flex; gap: 3px; }
.shards-mini i { width: 8px; height: 16px; border-radius: 2px; background: var(--violet); opacity: 0.78; }
.shards-mini i.is-off { border: 1px dashed rgba(108, 87, 230, 0.45); background: var(--violet-soft); opacity: 1; }

.cube-scene {
  position: absolute;
  left: 28px;
  top: -64px;
  z-index: 7;
  width: 82px;
  height: 82px;
  perspective: 600px;
  pointer-events: none;
  filter: drop-shadow(0 20px 22px rgba(23, 20, 31, 0.24));
  animation: cubeFloat 7s ease-in-out infinite;
}
.cube {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 9px;
  transform: rotateX(-18deg) rotateY(28deg);
  transform-style: preserve-3d;
}
.cube__face {
  position: absolute;
  width: 64px; height: 64px;
  border: 1px solid rgba(20, 18, 26, 0.7);
  background: linear-gradient(145deg, #fdfdfd 0%, #d9d9de 100%);
}
.cube__face--front { transform: translateZ(32px); }
.cube__face--back { transform: rotateY(180deg) translateZ(32px); }
.cube__face--right { transform: rotateY(90deg) translateZ(32px); background: linear-gradient(145deg, #e9e9ed, #bfbfc8); }
.cube__face--left { transform: rotateY(-90deg) translateZ(32px); background: linear-gradient(145deg, #f6f6f7, #d2d2d8); }
.cube__face--top { transform: rotateX(90deg) translateZ(32px); background: linear-gradient(145deg, #ffffff, #ececf0); }
.cube__face--bottom { transform: rotateX(-90deg) translateZ(32px); background: #c4c4cc; }
.cube__face--front span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #16171a;
  font: 700 15px/1 var(--font-mono);
  letter-spacing: -1px;
}

/* ---------- proof strip ---------- */
.proof-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 54px;
  padding: 17px 6px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font: 500 11.5px/1 var(--font-mono);
  letter-spacing: 0.06em;
}
.proof-strip li { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.proof-strip li + li::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--faint); opacity: 0.6; }

/* ---------- section shell ---------- */
.section { position: relative; padding: 112px 0; }
.section--tint {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(108, 87, 230, 0.07), transparent 70%),
    var(--paper-2);
}
.figure-note { margin-top: 26px; color: var(--faint); font-size: 11.5px; text-align: center; }

/* ---------- workbench ---------- */
.workbench__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.work-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, #fff 0%, #fdfcff 100%);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 87, 230, 0.22);
  box-shadow: 0 2px 3px rgba(23, 20, 31, 0.04), 0 32px 64px -34px rgba(23, 20, 31, 0.4);
}
.work-card__media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 264px;
  overflow: hidden;
  padding: 22px;
  border-radius: 19px;
  background:
    repeating-linear-gradient(90deg, rgba(108, 87, 230, 0.055) 0 1px, transparent 1px 9px),
    radial-gradient(120% 100% at 50% 0%, #f8f5ff, #eee8fb);
}
.work-card__body { padding: 22px 7px 8px; }
.work-card__body .kicker { font-size: 10px; }
.work-card__body h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 620;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.work-card__body > p:not(.kicker) { margin-top: 9px; color: var(--muted); font-size: 13.5px; line-height: 1.72; }
.feature-list { display: grid; gap: 8px; margin-top: 18px; }
.feature-list li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 13px; line-height: 1.55; }
.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 2px;
  width: 10px; height: 6px;
  border-left: 1.5px solid var(--violet);
  border-bottom: 1.5px solid var(--violet);
  transform: rotate(-45deg);
}

/* mini wallet */
.mini-wallet {
  width: 100%;
  max-width: 264px;
  padding: 15px 16px;
  border: 1px solid rgba(23, 20, 31, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px -26px rgba(23, 20, 31, 0.4);
}
.mini-wallet__top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; }
.mini-chip { padding: 2px 6px; border-radius: 999px; background: var(--gain-soft); color: var(--gain); font-size: 8px; }
.mini-wallet__label { margin-top: 16px; color: var(--faint); font-size: 9px; }
.mini-wallet__balance {
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mini-wallet__balance span { color: var(--faint); font-size: 16px; }
.mini-wallet__balance em { margin-left: 4px; color: var(--faint); font-size: 10px; font-style: normal; font-weight: 500; }
.mini-wallet__accounts { display: flex; gap: 5px; margin-top: 16px; font-size: 9px; color: var(--muted); }
.mini-wallet__accounts span { padding: 4px 8px; border: 1px solid var(--line-soft); border-radius: 999px; }
.mini-wallet__accounts .is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.mini-wallet__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; }
.mini-wallet__actions span { display: grid; place-items: center; height: 28px; border: 1px solid var(--line); border-radius: 8px; font-size: 9px; }
.mini-wallet__actions span:last-child { border-color: var(--ink); background: var(--ink); color: #fff; }
.mini-float {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 26px -16px rgba(23, 20, 31, 0.4);
  color: var(--gain);
  font-size: 9.5px;
  font-weight: 560;
}
.mini-float .icon { width: 11px; height: 11px; }

/* mini storage */
.mini-file {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 276px;
  padding: 11px 12px;
  border: 1px solid rgba(23, 20, 31, 0.08);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 16px 40px -28px rgba(23, 20, 31, 0.4);
}
.mini-file__ico { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--violet-soft); color: var(--violet-ink); }
.mini-file__ico .icon { width: 14px; height: 14px; }
.mini-file b { display: block; font-size: 10px; font-weight: 600; }
.mini-file small { display: block; margin-top: 2px; color: var(--faint); font-size: 8px; }
.mini-file__lock { margin-left: auto; color: var(--violet-ink); }
.mini-file__lock .icon { width: 13px; height: 13px; }
.mini-shards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; width: 100%; max-width: 276px; margin-top: 10px; }
.mini-shards i {
  display: grid;
  place-items: center;
  height: 30px;
  border: 1px solid rgba(108, 87, 230, 0.2);
  border-radius: 6px;
  background: #eae4ff;
  color: var(--violet-ink);
  font: 500 8px/1 var(--font-mono);
  font-style: normal;
}
.mini-shards i.off { border-style: dashed; background: #f8f6ff; color: var(--faint); }
.mini-note { display: flex; align-items: center; gap: 5px; margin-top: 11px; color: var(--violet-ink); font-size: 9px; }
.mini-note .icon { width: 11px; height: 11px; }

/* mini miner */
.mini-miner {
  width: 100%;
  max-width: 270px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background:
    radial-gradient(120% 100% at 100% 100%, rgba(255, 214, 170, 0.25), transparent 55%),
    linear-gradient(150deg, #101b30, #1b3050 60%, #253a58);
  color: #fff;
  box-shadow: 0 20px 44px -26px rgba(16, 27, 48, 0.7);
}
.mini-miner__head { display: flex; align-items: center; justify-content: space-between; font-size: 9px; color: rgba(255, 255, 255, 0.72); }
.mini-live { display: inline-flex; align-items: center; gap: 5px; padding: 3px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #e9fff2; font-size: 8px; }
.mini-live .live-dot { width: 5px; height: 5px; background: #3fd68c; box-shadow: none; }
.mini-miner__num { margin-top: 18px; font-family: var(--font-display); font-size: 32px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.mini-miner__num em { color: rgba(255, 255, 255, 0.55); font-size: 12px; font-style: normal; font-weight: 500; }
.mini-miner__sub { margin-top: 5px; color: rgba(255, 255, 255, 0.5); font-size: 8px; }
.mini-meter { height: 5px; margin-top: 14px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.14); }
.mini-meter i { display: block; width: 41.2%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9b87ff, #d7ccff); }
.mini-miner__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.mini-miner__stats div { padding: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.5); font-size: 7.5px; }
.mini-miner__stats b { display: block; margin-top: 2px; color: #fff; font-size: 9.5px; font-weight: 560; font-variant-numeric: tabular-nums; }

/* ---------- security ---------- */
.security__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
}
.security__copy h2 { margin-top: 16px; font-family: var(--font-display); font-size: clamp(34px, 4.2vw, 52px); font-weight: 620; line-height: 1.1; letter-spacing: -0.03em; }
.promise-list { margin-top: 34px; }
.promise-list li { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.promise-list li:first-child { border-top: 0; padding-top: 0; }
.promise-list__ico {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--violet-ink);
}
.promise-list__ico .icon { width: 17px; height: 17px; }
.promise-list b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.promise-list p { margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }

.sign-demo {
  width: 100%;
  max-width: 560px;
  justify-self: end;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.sign-demo__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sign-demo__title { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.sign-demo__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--violet-soft); color: var(--violet-ink); }
.sign-demo__mark .icon { width: 16px; height: 16px; }
.demo-pill {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--faint);
  font: 500 9px/1.2 var(--font-mono);
  letter-spacing: 0.06em;
}
.sign-tx { margin-top: 16px; padding: 4px 14px; border: 1px solid var(--line-soft); border-radius: 14px; background: #fbfafe; }
.sign-tx__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 12.5px; }
.sign-tx__row:first-child { border-top: 0; }
.sign-tx__row span { color: var(--muted); }
.sign-tx__row b { font-weight: 560; font-variant-numeric: tabular-nums; }
.sign-tx__row code { color: var(--ink-2); font: 500 11.5px/1 var(--font-mono); }
.sign-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
}
.sign-boundary {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 14px;
  border: 1.5px dashed rgba(108, 87, 230, 0.42);
  border-radius: 16px;
  background: rgba(108, 87, 230, 0.035);
}
.sign-boundary__tag {
  position: absolute;
  top: -9px;
  left: 14px;
  padding: 0 6px;
  background: #fff;
  color: var(--violet-ink);
  font: 500 9.5px/1.4 var(--font-mono);
  letter-spacing: 0.04em;
}
.sign-node { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 54px; }
.sign-node__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--violet-soft); color: var(--violet-ink); }
.sign-node--out .sign-node__ico { border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.sign-node b { font-size: 11px; font-weight: 600; }
.sign-node small { color: var(--faint); font-size: 9px; }
.sign-track {
  position: relative;
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(108, 87, 230, 0.38) 0 5px, transparent 5px 10px);
}
.sign-packet {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--violet);
  opacity: 0;
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(108, 87, 230, 0.14);
}
.sign-demo.is-live .sign-packet { animation: packetFlow 0.9s 0.15s var(--ease) forwards; }
.sign-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; padding: 0; list-style: none; }
.sign-steps li { display: flex; flex-direction: column; gap: 6px; }
.sign-steps li span {
  width: 9px; height: 9px;
  border: 1.5px solid rgba(23, 20, 31, 0.18);
  border-radius: 50%;
  background: #fff;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.sign-steps b { color: var(--faint); font-size: 10.5px; font-weight: 500; line-height: 1.3; transition: color 0.25s var(--ease); }
.sign-steps li.is-now span { border-color: var(--violet); background: var(--violet); box-shadow: 0 0 0 4px rgba(108, 87, 230, 0.13); }
.sign-steps li.is-now b { color: var(--ink); }
.sign-steps li.is-done span { border-color: var(--gain); background: var(--gain); box-shadow: none; }
.sign-steps li.is-done b { color: var(--ink-2); }
.sign-result { display: flex; align-items: center; gap: 6px; min-height: 20px; margin-top: 12px; color: var(--gain); font-size: 12px; line-height: 1.5; }
.sign-result code { color: var(--ink-2); font: 500 11px/1 var(--font-mono); }
.sign-note { margin-top: 8px; color: var(--faint); font-size: 10.5px; text-align: center; }

/* ---------- storage ---------- */
.storage__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
.storage__copy h2 { margin-top: 16px; font-family: var(--font-display); font-size: clamp(34px, 4.2vw, 52px); font-weight: 620; line-height: 1.1; letter-spacing: -0.03em; }
.check-list { margin-top: 30px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.check-list li:first-child { border-top: 0; padding-top: 0; }
.check-list > li > .icon { width: 17px; height: 17px; margin-top: 3px; color: var(--violet-ink); }
.check-list b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.check-list span { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.check-list--light li { border-top-color: rgba(255, 255, 255, 0.12); }
.check-list--light > li > .icon { color: #c9bcff; }
.check-list--light span { color: rgba(255, 255, 255, 0.7); font-size: 13px; }

.shard-board {
  width: 100%;
  max-width: 580px;
  justify-self: end;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(108, 87, 230, 0.06), transparent 55%),
    #fff;
  box-shadow: var(--shadow-card);
}
.shard-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background: #fbfafe;
}
.shard-file__ico { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--violet-soft); color: var(--violet-ink); }
.shard-file b { display: block; font-size: 13px; font-weight: 600; }
.shard-file small { display: block; margin-top: 2px; color: var(--faint); font-size: 10.5px; }
.shard-file__lock { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 4px 8px; border-radius: 999px; background: var(--violet-soft); color: var(--violet-ink); font-size: 9.5px; white-space: nowrap; }
.shard-file__lock .icon { width: 11px; height: 11px; }
.shard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.shard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 88px;
  padding: 12px 13px;
  border: 1px solid rgba(108, 87, 230, 0.2);
  border-radius: 14px;
  background: linear-gradient(145deg, #f2edff, #e9e2ff);
  color: var(--violet-ink);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.shard span { font: 500 9px/1 var(--font-mono); opacity: 0.65; }
.shard small { font: 500 10px/1 var(--font-mono); letter-spacing: 0.02em; }
.shard--parity {
  border-style: dashed;
  background: repeating-linear-gradient(135deg, rgba(108, 87, 230, 0.055) 0 2px, transparent 2px 6px), #faf8ff;
}
.shard.is-lost {
  opacity: 0.32;
  border-style: dashed;
  border-color: var(--line);
  background: #fbfafe;
  color: var(--faint);
  transform: scale(0.96);
}
.shard-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--gain-soft);
  color: var(--gain);
  font-size: 11.5px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.shard-status__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.shard-status.is-lost { background: var(--violet-soft); color: var(--violet-ink); }
.shard-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  margin-top: 14px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.shard-btn .icon { width: 13px; height: 13px; }
.shard-btn:hover { border-color: var(--violet); color: var(--violet-ink); background: var(--violet-mist); }
.shard-board .figure-note { margin-top: 14px; text-align: left; font-size: 10.5px; }

/* ---------- mining ---------- */
.mining { padding: 0 0 112px; }
.mining__card {
  position: relative;
  overflow: hidden;
  padding: 58px;
  border-radius: 32px;
  background:
    radial-gradient(120% 90% at 92% 96%, rgba(255, 214, 170, 0.92) 0%, rgba(255, 214, 170, 0) 55%),
    radial-gradient(90% 80% at 100% 8%, rgba(120, 170, 255, 0.5) 0%, rgba(120, 170, 255, 0) 60%),
    linear-gradient(148deg, #12203c 0%, #1e3a66 44%, #6f7f96 72%, #d9c3a6 100%);
  color: #fff;
  box-shadow: 0 40px 90px -50px rgba(18, 32, 60, 0.7);
}
.mining__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 12px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 70%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 70%);
  pointer-events: none;
}
.mining__glow {
  position: absolute;
  top: -140px; right: -80px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: rgba(108, 87, 230, 0.28);
  filter: blur(90px);
  pointer-events: none;
}
.mining__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.mining__copy h2 { margin-top: 16px; font-family: var(--font-display); font-size: clamp(34px, 4.2vw, 50px); font-weight: 620; line-height: 1.12; letter-spacing: -0.03em; }
.mining__copy .lead { color: rgba(255, 255, 255, 0.7); }
.mining__copy .check-list { margin-bottom: 30px; }
.miner-console {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(9, 17, 32, 0.96), rgba(13, 24, 43, 0.92));
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.6);
  font-size: 10px;
}
.miner-console__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.miner-console__head > div { display: flex; align-items: center; gap: 8px; }
.miner-console__title { font-size: 12px; font-weight: 600; }
.miner-console__live { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #d9ffe9; font-size: 9px; }
.miner-console__live .live-dot { width: 5px; height: 5px; background: #3fd68c; box-shadow: none; }
.miner-console__tag { color: rgba(255, 255, 255, 0.3); font: 500 8px/1 var(--font-mono); letter-spacing: 0.1em; }
.miner-console__main { margin: 24px 0 18px; }
.miner-console__label { color: rgba(255, 255, 255, 0.5); font-size: 9px; }
.miner-console__value { margin-top: 4px; font-family: var(--font-display); font-size: 52px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.miner-console__value span { margin-left: 4px; color: rgba(255, 255, 255, 0.5); font-size: 17px; font-weight: 500; letter-spacing: 0; }
.miner-console__meter { height: 6px; margin-top: 14px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.13); }
.miner-console__meter i { display: block; width: 41.2%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #a995ff, #e1d8ff); }
.miner-console__meter-labels { display: flex; justify-content: space-between; margin-top: 6px; color: rgba(255, 255, 255, 0.4); font-size: 8px; }
.miner-console__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.miner-console__stats div { padding: 10px; border-radius: 11px; background: rgba(255, 255, 255, 0.055); }
.miner-console__stats span { display: block; color: rgba(255, 255, 255, 0.45); font-size: 8px; }
.miner-console__stats b { display: block; margin-top: 3px; font-size: 11px; font-weight: 560; font-variant-numeric: tabular-nums; }
.miner-console__log {
  margin-top: 14px;
  padding: 12px;
  border-radius: 11px;
  background: rgba(3, 8, 16, 0.55);
  color: rgba(255, 255, 255, 0.48);
  font: 400 9px/1.85 var(--font-mono);
}
.log-time { margin-right: 8px; color: rgba(255, 255, 255, 0.28); }
.log-tag { display: inline-block; min-width: 34px; margin-right: 6px; color: #c9bcff; }
.miner-console__foot { margin-top: 12px; color: rgba(255, 255, 255, 0.28); font-size: 8px; text-align: right; }

/* ---------- steps ---------- */
.steps__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step-card {
  min-height: 300px;
  padding: 28px 26px 26px;
  border-top: 1px solid var(--ink);
  background: transparent;
}
.step-card__num { color: var(--violet-ink); font: 600 10.5px/1 var(--font-mono); letter-spacing: 0.14em; }
.step-card__ico {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin: 24px 0 18px;
  border-radius: 13px;
  background: var(--violet-soft);
  color: var(--violet-ink);
}
.step-card__ico .icon { width: 19px; height: 19px; }
.step-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 620; letter-spacing: -0.02em; }
.step-card p { margin-top: 9px; color: var(--muted); font-size: 13.5px; line-height: 1.72; }
.step-card__warn {
  margin-top: 16px !important;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--warn-soft);
  color: var(--warn) !important;
  font-size: 11.5px !important;
  line-height: 1.55 !important;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.text-link:hover { border-color: var(--violet); color: var(--violet-ink); }

/* ---------- principles ---------- */
.principles__list { max-width: 1040px; margin: 0 auto; border-bottom: 1px solid var(--line); }
.principle {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.principle__title { display: flex; align-items: center; gap: 16px; }
.principle__ico {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--violet-ink);
}
.principle__ico .icon { width: 19px; height: 19px; }
.principle h3 { font-family: var(--font-display); font-size: 28px; font-weight: 620; letter-spacing: -0.025em; }
.principle p { padding-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.8; }

/* ---------- download ---------- */
.download__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.platform-card {
  display: flex;
  flex-direction: column;
  min-height: 258px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #fcfbff);
  box-shadow: var(--shadow-card);
}
.platform-card__head { display: flex; align-items: center; gap: 12px; }
.platform-card__ico {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--violet-soft);
  color: var(--violet-ink);
}
.platform-card__ico .icon { width: 21px; height: 21px; }
.platform-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 620; letter-spacing: -0.02em; }
.platform-card__head p { margin-top: 2px; color: var(--faint); font-size: 11px; }
.version-chip {
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font: 500 9.5px/1.2 var(--font-mono);
  white-space: nowrap;
}
.platform-card__desc { margin: 18px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.platform-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.platform-card--android .platform-card__actions .btn { align-self: flex-start; }
.download__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.download__foot > p { max-width: 600px; color: var(--faint); font-size: 11.5px; line-height: 1.65; }
.download__links { display: flex; flex-wrap: wrap; gap: 18px; }
.download__links a { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; transition: color 0.2s var(--ease); }
.download__links a .icon { width: 12px; height: 12px; }
.download__links a:hover { color: var(--violet-ink); }

/* ---------- faq ---------- */
.faq .wrap { max-width: 1040px; }
.faq__list { max-width: 900px; border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 2px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  list-style: none;
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--violet-ink); }
.faq-icon { width: 16px; height: 16px; color: var(--muted); transition: transform 0.28s var(--ease), color 0.2s var(--ease); }
.faq-item[open] .faq-icon { transform: rotate(45deg); color: var(--violet-ink); }
.faq-item p { max-width: 780px; padding: 0 24px 24px 2px; color: var(--muted); font-size: 14.5px; line-height: 1.85; }

/* ---------- cta ---------- */
.cta-band { padding: 20px 0 112px; }
.cta-band__inner {
  position: relative;
  overflow: hidden;
  padding: 76px 24px 72px;
  border: 1px solid rgba(108, 87, 230, 0.18);
  border-radius: 32px;
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(255, 255, 255, 0.9), transparent 60%),
    linear-gradient(180deg, #f4f0ff, #eae3ff);
  text-align: center;
}
.cta-band__seal {
  position: absolute;
  top: 50%; left: 50%;
  width: 760px; height: 760px;
  transform: translate(-50%, -50%);
  background: repeating-radial-gradient(circle at 50% 50%, rgba(108, 87, 230, 0.09) 0 1px, transparent 1px 14px);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, rgba(0, 0, 0, 0.5) 35%, transparent 68%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, rgba(0, 0, 0, 0.5) 35%, transparent 68%);
  pointer-events: none;
}
.cta-band__logo { position: relative; width: 56px; height: 56px; margin: 0 auto 22px; filter: drop-shadow(0 14px 20px rgba(23, 20, 31, 0.18)); }
.cta-band h2 {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.cta-band p { position: relative; margin-top: 16px; color: var(--muted); font-size: 16px; }
.cta-band__actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ---------- footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  padding: 72px 0 32px;
  background: #121019;
  color: rgba(255, 255, 255, 0.68);
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 12px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 60%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 60%);
  pointer-events: none;
}
.footer .wrap { position: relative; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 64px; }
.brand--footer .brand__word { color: #fff; font-size: 20px; }
.brand--footer .brand__tag { border-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.5); }
.footer__brand p { max-width: 320px; margin-top: 18px; color: rgba(255, 255, 255, 0.5); font-size: 13px; line-height: 1.75; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer__col h4 { color: rgba(255, 255, 255, 0.4); font: 500 10px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.footer__col a { display: block; padding: 6px 0; color: rgba(255, 255, 255, 0.68); font-size: 13px; transition: color 0.2s var(--ease); }
.footer__col a:first-of-type { margin-top: 12px; }
.footer__col a:hover { color: #fff; }
.footer__watermark {
  margin: 54px -10px 0;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(58px, 13.4vw, 196px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.045em;
  white-space: nowrap;
  text-align: center;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.13);
  user-select: none;
}
.footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 11.5px;
  line-height: 1.7;
}
.footer__bottom p:last-child { max-width: 640px; text-align: right; }

/* ---------- reveal ---------- */
.reveal { transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-waiting { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */
@keyframes sealTurn { to { transform: rotate(360deg); } }
@keyframes cubeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(10, 124, 72, 0.3); }
  70% { box-shadow: 0 0 0 7px rgba(10, 124, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(10, 124, 72, 0); }
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes screenIn { from { opacity: 0.35; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes packetFlow {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .float { display: none; }
  .hero__seal { right: -240px; }
  .work-card__media { height: 242px; }
  .mini-wallet__balance { font-size: 23px; }
}
@media (max-width: 1080px) {
  .nav__links { gap: 22px; }
  .hero { padding-top: 142px; }
  .app { grid-template-columns: 180px minmax(0, 1fr); height: 590px; }
  .app__main { padding: 16px 18px 18px; }
  .app__head h3 { font-size: 24px; }
  .asset-balance { font-size: 32px; }
  .asset-balance .frac { font-size: 19px; }
  .security__grid, .storage__grid { gap: 40px; }
  .mining__card { padding: 44px; }
  .mining__grid { gap: 36px; }
}
@media (max-width: 960px) {
  .app { height: auto; min-height: 430px; }
  .wallet-grid, .data-grid { grid-template-columns: 1fr; }
  .wallet-grid > .app-card:first-child, .data-detail { display: none; }
  .asset-balance { font-size: clamp(44px, 5.6vw, 54px); }
  .asset-balance .frac { font-size: 0.6em; }
  .asset-balance .unit { font-size: 0.42em; }
  .cube-scene { display: none; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta, .nav__actions > .btn { display: none; }
  .menu-btn { display: grid; }
  .nav__inner { gap: 16px; }
  .nav__actions { margin-left: auto; }
  .nav__links + .nav__actions { margin-left: auto; }
  .hero { padding-top: 128px; }
  .hero__seal { top: 200px; right: -320px; width: 660px; height: 660px; opacity: 0.5; }
  .hero__sub { max-width: 580px; }
  .section { padding: 88px 0; }
  .mining { padding-bottom: 88px; }
  .workbench__grid { grid-template-columns: 1fr; }
  .work-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
  .work-card__media { height: 300px; }
  .work-card__body { padding: 10px 14px 10px 24px; }
  .security__grid, .storage__grid { grid-template-columns: 1fr; gap: 42px; }
  .sign-demo, .shard-board { max-width: 640px; justify-self: start; }
  .mining__card { padding: 38px 32px; border-radius: 26px; }
  .mining__grid { grid-template-columns: 1fr; gap: 36px; }
  .miner-console { max-width: 560px; }
  .steps__grid { grid-template-columns: 1fr; gap: 0; }
  .step-card { min-height: 0; padding: 26px 4px 30px; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 20px; }
  .step-card__num { grid-column: 1; grid-row: 1; }
  .step-card__ico { grid-column: 1; grid-row: 2; margin: 14px 0 0; }
  .step-card h3 { grid-column: 2; grid-row: 1; align-self: center; }
  .step-card p, .step-card__warn, .step-card .text-link { grid-column: 2; }
  .step-card p { margin-top: 6px; }
  .step-card__warn { margin-top: 14px !important; }
  .text-link { margin-top: 14px; justify-self: start; }
  .principle { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .principle p { padding-top: 0; max-width: 620px; }
  .download__grid { grid-template-columns: 1fr; }
  .platform-card { min-height: 0; }
  .download__foot { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; gap: 44px; }
  .footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__bottom { flex-direction: column; gap: 12px; }
  .footer__bottom p:last-child { text-align: left; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .nav__inner { width: calc(100% - 36px); height: 64px; }
  .mobile-menu { top: 64px; padding-inline: 18px; }
  .hero { padding-top: 116px; }
  .hero__eyebrow { margin-bottom: 22px; font-size: 11.5px; }
  .hero__title { font-size: clamp(34px, 10.2vw, 56px); letter-spacing: -0.03em; }
  .hero__sub { margin-top: 18px; font-size: 15.5px; line-height: 1.8; }
  .hero__cta { margin-top: 28px; }
  .btn--lg { height: 48px; font-size: 14px; padding-left: 20px; }
  .btn--lg .btn__bubble { width: 30px; height: 30px; }
  .hero__meta { font-size: 11px; gap: 6px; }
  .hero__stage { width: calc(100% - 18px); margin-top: 46px; }
  .demo__bar { margin-bottom: 10px; }
  .demo__version { display: none; }
  .demo__tabs { width: 100%; justify-content: space-between; }
  .demo__tab { flex: 1; justify-content: center; height: 34px; padding: 0 8px; font-size: 12px; }
  .demo__tab .icon { width: 14px; height: 14px; }
  .demo__stage { padding: 0; }
  .app { grid-template-columns: 1fr; border-radius: 18px; }
  .app__side { display: none; }
  .app__main { padding: 14px 14px 16px; }
  .app__head h3 { font-size: 23px; }
  .app__actions { display: none; }
  .app__kpis { grid-template-columns: 1fr 1fr; }
  .app-kpi { min-height: 68px; }
  .app-kpi__value { font-size: 23px; }
  .app__grid { grid-template-columns: 1fr; }
  .app__grid .app-card:nth-child(2) { display: none; }
  .app-hero { min-height: 92px; }
  .app-hero p { display: none; }
  .app-hero b { font-size: 14px; }
  .asset-balance { font-size: 38px; }
  .cube { width: 56px; height: 56px; margin: 9px; }
  .cube__face { width: 56px; height: 56px; }
  .cube__face--front { transform: translateZ(28px); }
  .cube__face--back { transform: rotateY(180deg) translateZ(28px); }
  .cube__face--right { transform: rotateY(90deg) translateZ(28px); }
  .cube__face--left { transform: rotateY(-90deg) translateZ(28px); }
  .cube__face--top { transform: rotateX(90deg) translateZ(28px); }
  .cube__face--bottom { transform: rotateX(-90deg) translateZ(28px); }
  .cube__face--front span { font-size: 13px; }
  .proof-strip { margin-top: 38px; overflow-x: auto; justify-content: flex-start; gap: 18px; padding: 14px 2px; scrollbar-width: none; }
  .proof-strip::-webkit-scrollbar { display: none; }
  .section { padding: 76px 0; }
  .mining { padding-bottom: 76px; }
  .sec-head { margin-bottom: 38px; }
  .sec-head h2 { font-size: clamp(30px, 8vw, 40px); }
  .sec-head > p:last-child:not(.kicker) { font-size: 15px; }
  .work-card { display: flex; padding: 12px; }
  .work-card__media { height: 240px; }
  .work-card__body { padding: 20px 8px 10px; }
  .work-card__body h3 { font-size: 21px; }
  .security__copy h2, .storage__copy h2 { font-size: clamp(30px, 8vw, 40px); }
  .security__grid, .storage__grid { gap: 32px; }
  .sign-demo { padding: 18px; border-radius: 22px; }
  .sign-boundary { padding: 22px 18px 10px; }
  .sign-node { min-width: 48px; }
  .sign-node small { font-size: 8px; }
  .sign-steps b { font-size: 9.5px; }
  .shard-board { padding: 18px; border-radius: 22px; }
  .shard { height: 74px; padding: 10px; }
  .mining__card { padding: 30px 22px; border-radius: 24px; }
  .mining__copy h2 { font-size: clamp(30px, 8vw, 40px); }
  .miner-console { padding: 18px; border-radius: 18px; }
  .miner-console__value { font-size: 44px; }
  .miner-console__stats { grid-template-columns: 1fr 1fr; }
  .miner-console__stats div:last-child { grid-column: span 2; }
  .principles__list { margin-top: 4px; }
  .principle h3 { font-size: 24px; }
  .footer { padding-top: 56px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 20px 28px; }
  .footer__watermark { margin-top: 42px; font-size: clamp(44px, 13.6vw, 90px); }
  .cta-band { padding-bottom: 76px; }
  .cta-band__inner { padding: 56px 20px 52px; border-radius: 26px; }
  .cta-band h2 { font-size: clamp(30px, 8vw, 42px); }
  .cta-band__actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  .brand__tag { display: none; }
  .lang { padding: 0 10px; }
  .nav__actions > .lang { display: inline-flex; }
  .hero__underline { width: 62%; }
  .hero__sub { font-size: 15px; }
  .hero__meta { max-width: 300px; margin-inline: auto; }
  .btn--lg { width: 100%; }
  .demo__tab { font-size: 11.5px; gap: 5px; }
  .demo__tab .icon { display: none; }
  .app__kpis { gap: 6px; }
  .app-kpi { padding: 9px 10px; }
  .app-kpi__value { font-size: 21px; }
  .app__notice { font-size: 8px; }
  .app-hero { flex-direction: column; align-items: flex-start; gap: 8px; }
  .app-hero .app-chip--light { display: none; }
  .asset-balance { font-size: 31px; }
  .asset-balance .frac { font-size: 17px; }
  .asset-balance .unit { font-size: 13px; }
  .sign-tx__row { font-size: 12px; }
  .sign-tx__row code { font-size: 10.5px; }
  .sign-steps { grid-template-columns: 1fr 1fr; gap: 10px 8px; }
  .sign-steps li { flex-direction: row; align-items: center; gap: 7px; }
  .shard-grid { gap: 7px; }
  .shard { height: 66px; padding: 8px; }
  .shard small { font-size: 9px; }
  .shard-file { gap: 9px; padding: 11px; }
  .shard-file__lock { padding: 3px 6px; font-size: 8.5px; }
  .shard-board .figure-note { font-size: 9.5px; }
  .platform-card { padding: 18px; }
  .download__links { gap: 14px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__watermark { font-size: 12.5vw; }
  .footer__bottom { font-size: 10.5px; }
}

/* ---------- english typography ---------- */
html[data-lang="en"] body, html[data-lang="en"] button, html[data-lang="en"] input {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
html[data-lang="en"] .hero__serif {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.025em;
}
html[data-lang="en"] .hero__underline { display: none; }
html[data-lang="en"] .hero__title { max-width: 1100px; }
html[data-lang="en"] .hero__sub { max-width: 660px; }
html[data-lang="en"] .sec-head > p:last-child:not(.kicker) { max-width: 680px; }
html[data-lang="en"] .app { font-family: "Inter", "PingFang SC", sans-serif; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal.is-waiting { opacity: 1; transform: none; }
  .hero__seal canvas { animation: none; }
  .cube-scene { animation: none; }
  .hero__underline path { stroke-dashoffset: 0; animation: none; }
  .sign-demo.is-live .sign-packet { display: none; }
}
