:root {
  --ink: #0b1117;
  --muted: #66737f;
  --soft: #f6f8f8;
  --softer: #fbfcfc;
  --line: #e4e9e8;
  --panel: #ffffff;
  --accent: #06b9aa;
  --accent-strong: #008e84;
  --accent-soft: #e8fbf8;
  --shadow: 0 30px 90px rgba(11, 17, 23, 0.08);
  --pointer-x: 50vw;
  --pointer-y: 20vh;
  --drift-x: 0px;
  --drift-y: 0px;
  --site-header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(540px circle at var(--pointer-x) var(--pointer-y), rgba(6, 185, 170, 0.085), transparent 48%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfc 44%, #ffffff 100%);
  color: var(--ink);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 229, 223, 0.72);
  display: flex;
  gap: 26px;
  min-height: 76px;
  padding: 0 42px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  white-space: nowrap;
}

.brand img {
  border-radius: 0;
  height: 44px;
  object-fit: contain;
  width: 112px;
}

.brand span {
  color: var(--accent-strong);
  font-size: 22px;
  font-weight: 780;
}

.site-menu-toggle,
.site-language-switch button {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dbe6e8;
  border-radius: 999px;
  color: #057d73;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-menu-toggle {
  display: none;
}

.site-menu-toggle:hover,
.site-language-switch button:hover {
  background: #ecf7f6;
  border-color: #c7dddf;
  transform: translateY(-1px);
}

.site-language-switch {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dbe6e8;
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 3px;
  padding: 3px;
}

.site-language-switch button {
  border: 0;
  min-height: 32px;
  padding: 6px 10px;
}

.site-language-switch button[aria-pressed="true"] {
  background: #ecf7f6;
  color: #057d73;
}

.main-nav {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 2px;
  justify-content: center;
}

.main-nav a,
.header-action,
.button {
  border-radius: 999px;
  font-weight: 650;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.main-nav a {
  color: #4b5563;
  padding: 8px 13px;
}

.main-nav a:hover {
  background: #f2f2ef;
  color: var(--ink);
  transform: translateY(-1px);
}

.main-nav a.active {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.header-action,
.button.primary {
  background: #0b1117;
  color: #ffffff;
}

.header-action {
  padding: 9px 15px;
}

.header-action:hover,
.button:hover,
.copy-button:hover {
  box-shadow: 0 12px 28px rgba(16, 19, 24, 0.13);
  transform: translateY(-2px);
}

.hero-section {
  margin: 0 auto;
  max-width: 1220px;
  min-height: calc(100vh - 118px);
  padding: 86px 24px 48px;
  position: relative;
  text-align: center;
}

.hero-visual {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

.hero-visual::before {
  background:
    linear-gradient(90deg, rgba(231, 229, 223, 0.42) 1px, transparent 1px),
    linear-gradient(180deg, rgba(231, 229, 223, 0.42) 1px, transparent 1px);
  background-size: 86px 86px;
  content: "";
  inset: -120px;
  opacity: 0.24;
  position: absolute;
  transform: translate(var(--drift-x), var(--drift-y));
  transition: transform 180ms ease-out;
}

.hash-grid {
  display: none;
}

.hero-content {
  margin: 0 auto;
  max-width: 1040px;
  padding: 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero-content h1,
.pool-hero h1 {
  font-size: clamp(54px, 7.2vw, 104px);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0 auto 26px;
  max-width: 1120px;
}

.hero-copy,
.pool-hero p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
  margin: 0 auto;
  max-width: 820px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}

.site-product-hero {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 390px;
  min-height: auto;
  padding: 86px 0 48px;
  text-align: left;
  width: calc(100% - 48px);
}

.site-product-hero .hero-content,
.network-snapshot {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: 0 1px 2px rgba(11, 17, 23, 0.035);
}

.site-product-hero .hero-content {
  margin: 0;
  max-width: none;
  min-height: 520px;
  padding: 54px;
}

.site-product-hero .hero-content h1,
.site-product-hero .hero-copy {
  margin-left: 0;
  text-align: left;
}

.site-product-hero .hero-actions {
  justify-content: flex-start;
}

.vexon-logo-lockup {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-bottom: 42px;
}

.vexon-logo-lockup img {
  height: 54px;
  object-fit: contain;
  width: 82px;
}

.vexon-logo-lockup span,
.vexon-panel-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

.network-snapshot {
  align-content: start;
  display: grid;
  gap: 24px;
  min-height: 520px;
  padding: 34px;
}

.snapshot-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.snapshot-grid.compact {
  grid-template-columns: 1fr;
}

.snapshot-grid div {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 112px;
  padding: 18px;
}

.snapshot-grid span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 760;
}

.snapshot-grid strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  margin-top: 8px;
}

.network-snapshot p {
  color: var(--muted);
  margin: 0;
}

.button {
  display: inline-flex;
  justify-content: center;
  min-width: 154px;
  overflow: hidden;
  padding: 12px 18px;
  position: relative;
}

.button.secondary {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-terminal {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  margin: 60px auto 0;
  max-width: 920px;
  overflow: hidden;
  position: relative;
  text-align: left;
}

.terminal-top {
  align-items: center;
  background: #fafaf8;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 8px;
  padding: 15px 18px;
}

.terminal-top span {
  background: #d0d5dd;
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.terminal-top span:first-child {
  background: #f97066;
}

.terminal-top span:nth-child(2) {
  background: #fdb022;
}

.terminal-top span:nth-child(3) {
  background: #12b76a;
}

.terminal-top strong {
  color: #667085;
  font-size: 13px;
  margin-left: auto;
}

.terminal-lines {
  color: #344054;
  display: grid;
  font: 14px/1.72 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  gap: 8px;
  padding: 26px;
}

.terminal-lines p {
  align-items: center;
  background: #fbfbfa;
  border: 1px solid #f0eee9;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 10px 12px;
}

.terminal-lines span {
  color: var(--accent);
}

.metrics-band,
.section,
.pool-hero,
.pool-status-grid,
.pool-layout,
.site-footer {
  margin: 0 auto;
  max-width: 1220px;
  width: calc(100% - 48px);
}

.metrics-band {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(11, 17, 23, 0.055);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.metrics-band div,
.pool-status-grid div {
  border-right: 1px solid var(--line);
  padding: 28px;
}

.metrics-band div:last-child,
.pool-status-grid div:last-child {
  border-right: 0;
}

.metrics-band span,
.pool-status-grid span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
}

.metrics-band strong,
.pool-status-grid strong {
  display: block;
  font-size: 26px;
  margin-top: 4px;
}

.section {
  padding: 124px 0 0;
}

.section-head {
  margin: 0 auto;
  max-width: 820px;
  text-align: center;
}

.section h2,
.pool-callout h2,
.network-copy h2 {
  font-size: clamp(36px, 5.4vw, 72px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0 0 18px;
}

.section-head > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 690px;
}

.mission-grid,
.download-grid,
.wallet-flow {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}

.mission-grid article,
.download-grid article,
.download-grid .release-card,
.wallet-flow article,
.panel,
.connect-card,
.stack-list div {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(11, 17, 23, 0.035);
}

.mission-grid article,
.download-grid article,
.download-grid .release-card,
.wallet-flow article {
  min-height: 212px;
  padding: 30px;
}

.mission-grid h3,
.wallet-flow h3 {
  font-size: 24px;
  margin: 0 0 10px;
}

.mission-grid p,
.wallet-flow p,
.network-copy p,
.download-grid p,
.pool-callout p,
.panel-copy,
.setup-list,
.side-panel li,
.stack-list p {
  color: var(--muted);
}

.wallet-flow span {
  color: var(--accent);
  display: block;
  font-size: 13px;
  font-weight: 780;
  margin-bottom: 18px;
}

.wallet-flow code,
.address-example code {
  background: var(--accent-soft);
  border-radius: 8px;
  color: #075d53;
  padding: 3px 7px;
}

.tokenomics-section {
  padding-top: 112px;
}

.supply-panel {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(6, 185, 170, 0.09), transparent 42%),
    #ffffff;
  border: 1px solid var(--line);
  border-radius: 32px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  margin-top: 42px;
  padding: 34px;
}

.supply-panel span,
.allocation-mini-card span {
  color: var(--accent);
  display: block;
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.supply-panel strong {
  display: block;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  margin: 12px 0;
}

.supply-panel p,
.allocation-mini-card p,
.policy-grid p {
  color: var(--muted);
}

.supply-rules {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  gap: 12px;
  padding: 24px;
}

.supply-rules p {
  margin: 0;
}

.supply-rules b {
  color: var(--ink);
}

.allocation-card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.allocation-mini-card,
.policy-grid article {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 1px 2px rgba(11, 17, 23, 0.035);
}

.allocation-mini-card {
  min-height: 168px;
  padding: 22px;
}

.allocation-mini-card span {
  font-size: 24px;
  line-height: 1;
}

.allocation-mini-card h3 {
  font-size: 20px;
  line-height: 1.15;
  margin: 14px 0 8px;
}

.allocation-mini-card strong {
  display: block;
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.allocation-mini-card p {
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}

.policy-grid article {
  padding: 28px;
}

.policy-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.policy-grid h3 {
  font-size: 22px;
  margin: 0 0 10px;
}

.network-section {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
}

.protocol-section {
  align-items: start;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1fr);
}

.network-copy {
  position: sticky;
  top: 112px;
}

.network-copy p {
  font-size: 19px;
  line-height: 1.62;
}

.stack-list {
  display: grid;
  gap: 14px;
}

.stack-list div {
  padding: 26px;
}

.stack-list span {
  color: var(--accent);
  font-weight: 760;
}

.stack-list strong {
  display: block;
  font-size: 24px;
  margin: 2px 0;
}

.stack-list p {
  margin: 0;
}

.pool-callout {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(6, 185, 170, 0.08), transparent 38%),
    #ffffff;
  border: 1px solid var(--line);
  border-radius: 32px;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  margin-top: 124px;
  padding: 52px;
}

.pool-callout p {
  max-width: 680px;
}

body.official-site {
  background:
    radial-gradient(540px circle at var(--pointer-x) var(--pointer-y), rgba(6, 185, 170, 0.075), transparent 48%),
    #f7f9fa;
  color: #121a20;
  font: 14px/1.5 Arial, Helvetica, sans-serif;
}

body.official-site a,
body.official-site a:visited {
  color: #008c82;
}

.official-site .site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e1e8ea;
  gap: 22px;
  min-height: 72px;
  padding: 0 30px;
}

.official-site .brand {
  color: #111820;
  gap: 14px;
}

.official-site .brand img {
  border-radius: 0;
  height: 50px;
  object-fit: contain;
  width: 76px;
}

.official-site .brand span {
  color: var(--accent-strong);
  font-size: 18px;
  font-weight: 800;
}

.official-site .main-nav {
  gap: 5px;
  justify-content: flex-start;
  overflow-x: auto;
}

.official-site .main-nav a {
  color: #51616a;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 13px;
  white-space: nowrap;
}

.official-site .main-nav a.active,
.official-site .main-nav a:hover {
  background: #ecf7f6;
  color: #057d73;
}

.official-site .header-action,
.official-site .button {
  font-size: 13px;
  font-weight: 700;
}

.official-site .header-action {
  padding: 9px 14px;
}

.official-site .site-product-hero {
  grid-template-columns: minmax(0, 1fr) 360px;
  padding-top: 58px;
}

.official-site .site-product-hero .hero-content {
  min-height: 460px;
  padding: 42px;
}

.official-site .network-snapshot {
  min-height: 460px;
  padding: 28px;
}

.official-site .vexon-logo-lockup {
  margin-bottom: 30px;
}

.official-site .site-product-hero .hero-content h1 {
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.03;
  max-width: 760px;
}

.official-site .site-product-hero .hero-copy,
.official-site .section-head > p:not(.eyebrow),
.official-site .network-copy p {
  font-size: 16px;
  line-height: 1.55;
}

.official-site .section {
  padding-top: 88px;
}

.official-site .section h2,
.official-site .pool-callout h2,
.official-site .network-copy h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
}

.official-site .supply-panel {
  border-radius: 24px;
  margin-top: 34px;
  padding: 28px;
}

.official-site .supply-panel strong {
  font-size: clamp(32px, 3.8vw, 48px);
}

.official-site .allocation-card-grid,
.official-site .policy-grid {
  gap: 16px;
}

.official-site .allocation-mini-card,
.official-site .policy-grid article,
.official-site .mission-grid article,
.official-site .download-grid article,
.official-site .download-grid .release-card,
.official-site .wallet-flow article,
.official-site .stack-list div {
  border-radius: 18px;
}

.official-site .allocation-mini-card {
  min-height: 150px;
  padding: 20px;
}

.official-site .allocation-mini-card span {
  font-size: 22px;
}

.official-site .allocation-mini-card h3,
.official-site .policy-grid h3 {
  font-size: 19px;
}

.official-site .mission-grid h3,
.official-site .wallet-flow h3,
.official-site .stack-list strong,
.official-site .download-grid article strong,
.official-site .download-grid .release-card strong {
  font-size: 21px;
}

.official-site .mission-grid article,
.official-site .download-grid article,
.official-site .download-grid .release-card,
.official-site .wallet-flow article {
  min-height: 188px;
  padding: 24px;
}

.official-site .pool-callout {
  border-radius: 24px;
  margin-top: 88px;
  padding: 38px;
}

.whitepaper-callout {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(6, 185, 170, 0.08), transparent 42%),
    #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: 18px;
  padding: 26px;
}

.whitepaper-callout h3 {
  font-size: 24px;
  margin: 6px 0 8px;
}

.whitepaper-callout p:not(.eyebrow) {
  margin: 0;
  max-width: 780px;
}

.whitepaper-main {
  padding-bottom: 90px;
}

.whitepaper-hero,
.whitepaper-meta-grid,
.whitepaper-layout {
  margin: 0 auto;
  max-width: 1180px;
  width: calc(100% - 56px);
}

.whitepaper-hero {
  background:
    linear-gradient(135deg, rgba(6, 185, 170, 0.08), transparent 45%),
    #ffffff;
  border: 1px solid var(--line);
  border-radius: 26px;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 340px;
  margin-top: 56px;
  padding: 42px;
}

.whitepaper-hero h1 {
  font-size: clamp(42px, 5vw, 72px);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 10px 0 18px;
}

.whitepaper-cover {
  align-content: end;
  background:
    radial-gradient(260px circle at 70% 18%, rgba(6, 185, 170, 0.13), transparent 58%),
    #f7fbfb;
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  min-height: 330px;
  padding: 26px;
}

.whitepaper-cover span,
.whitepaper-meta-grid span,
.formula-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.whitepaper-cover strong {
  color: var(--ink);
  font-size: 38px;
  line-height: 1;
}

.whitepaper-meta-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
}

.whitepaper-meta-grid article {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.whitepaper-meta-grid strong {
  display: block;
  font-size: 24px;
  margin-top: 10px;
}

.whitepaper-meta-grid p {
  color: var(--muted);
  margin: 8px 0 0;
}

.whitepaper-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(240px, 260px) minmax(0, 1fr);
  margin-top: 24px;
}

.whitepaper-toc {
  align-self: start;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  gap: 4px;
  margin: 0;
  max-height: calc(100vh - var(--site-header-height) - 56px);
  overflow-y: auto;
  padding: 18px;
  position: sticky;
  top: calc(var(--site-header-height) + 28px);
  transform: none !important;
  z-index: 8;
}

.whitepaper-toc.interactive-card,
.whitepaper-toc.interactive-card:hover {
  box-shadow: none;
  transform: none;
  will-change: auto;
}

.whitepaper-toc strong {
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.whitepaper-toc a {
  border-radius: 12px;
  color: #51616a;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 10px;
}

.whitepaper-toc a:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.whitepaper-pages {
  display: grid;
  gap: 20px;
  margin: 0;
  min-width: 0;
}

.whitepaper-pages > .paper-page:first-child {
  margin-top: 0;
}

@media (min-width: 901px) {
  .whitepaper-site .site-header {
    background: #ffffff;
    z-index: 100;
  }

  .whitepaper-toc {
    position: sticky;
    top: calc(var(--site-header-height) + 28px);
  }

  .whitepaper-pages {
    padding-right: 6px;
  }

  .whitepaper-pages::-webkit-scrollbar,
  .whitepaper-toc::-webkit-scrollbar {
    height: 8px;
    width: 8px;
  }

  .whitepaper-pages::-webkit-scrollbar-thumb,
  .whitepaper-toc::-webkit-scrollbar-thumb {
    background: rgba(6, 185, 170, 0.32);
    border-radius: 999px;
  }

  .paper-page {
    scroll-margin-top: 0;
  }
}

.paper-page {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 42px;
  scroll-margin-top: calc(var(--site-header-height) + 24px);
}

.paper-page-number {
  color: var(--muted);
  float: right;
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 10px 18px;
  text-transform: uppercase;
}

.paper-page h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  margin: 8px 0 18px;
  max-width: 840px;
}

.paper-page p {
  color: #42515c;
  font-size: 16px;
  margin: 14px 0;
  max-width: 920px;
}

.paper-page code {
  background: #f3f8f7;
  border-radius: 8px;
  color: #075f59;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.94em;
  padding: 2px 6px;
}

.paper-note,
.paper-disclaimer,
.formula-panel,
.utility-equation {
  background: #f8fbfb;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-top: 20px;
  padding: 20px;
}

.paper-note {
  display: grid;
  gap: 6px;
}

.paper-note strong,
.paper-disclaimer strong,
.formula-panel strong,
.utility-equation strong {
  color: var(--accent-strong);
  font-size: 14px;
  text-transform: uppercase;
}

.formula-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0;
}

.formula-card {
  background: #f8fbfb;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.formula-card code,
.formula-panel code,
.utility-equation code {
  display: block;
  overflow-wrap: anywhere;
}

.formula-panel {
  display: grid;
  gap: 10px;
}

.whitepaper-table {
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 22px;
  overflow: hidden;
  width: 100%;
}

.whitepaper-table th,
.whitepaper-table td {
  border-bottom: 1px solid var(--line);
  color: #31404b;
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.whitepaper-table th {
  background: #f1f7f6;
  color: #51616a;
  font-size: 13px;
  text-transform: uppercase;
}

.whitepaper-table tr:last-child td {
  border-bottom: 0;
}

.architecture-flow,
.paper-flow {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 24px 0;
}

.paper-flow {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.architecture-flow div,
.paper-flow div {
  background: #f7fbfb;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  font-weight: 800;
  min-height: 74px;
  padding: 18px;
}

.architecture-flow span,
.paper-flow span {
  display: none;
}

.whitepaper-site .whitepaper-doc-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 240px minmax(0, 1fr);
  margin: 24px auto 0;
  max-width: 1180px;
  overflow: visible;
  width: calc(100% - 56px);
}

.whitepaper-site .whitepaper-doc-toc {
  align-self: start;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(11, 17, 23, 0.04);
  display: grid;
  gap: 4px;
  max-height: calc(100vh - var(--site-header-height) - 44px);
  overflow-y: auto;
  padding: 18px;
  position: sticky;
  top: calc(var(--site-header-height) + 18px);
  transform: none !important;
  z-index: 12;
}

.whitepaper-site .whitepaper-doc-toc strong {
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.whitepaper-site .whitepaper-doc-toc a {
  border-radius: 12px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 10px;
  text-decoration: none;
}

.whitepaper-site .whitepaper-doc-toc a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.whitepaper-site .whitepaper-docs {
  display: grid;
  gap: 20px;
  min-width: 0;
  overflow: visible;
}

.whitepaper-site .whitepaper-docs .paper-page {
  box-shadow: 0 10px 30px rgba(11, 17, 23, 0.04);
  display: block;
  min-height: 0;
  overflow: visible;
  transform: none !important;
}

body.wallet-site {
  background:
    radial-gradient(540px circle at var(--pointer-x) var(--pointer-y), rgba(6, 185, 170, 0.075), transparent 48%),
    #f7f9fa;
  color: #121a20;
  font: 14px/1.5 Arial, Helvetica, sans-serif;
}

body.wallet-site a,
body.wallet-site a:visited {
  color: #008c82;
}

.wallet-site .site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e1e8ea;
  gap: 22px;
  min-height: 72px;
  padding: 0 30px;
}

.wallet-site .brand {
  color: #111820;
  gap: 14px;
}

.wallet-site .brand img {
  border-radius: 0;
  height: 50px;
  object-fit: contain;
  width: 76px;
}

.wallet-site .brand span {
  color: var(--accent-strong);
  font-size: 18px;
  font-weight: 800;
}

.wallet-site .main-nav {
  gap: 5px;
  justify-content: flex-start;
  overflow-x: auto;
}

.wallet-site .main-nav a {
  color: #51616a;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 13px;
  white-space: nowrap;
}

.wallet-site .main-nav a.active,
.wallet-site .main-nav a:hover {
  background: #ecf7f6;
  color: #057d73;
}

.wallet-site .header-action,
.wallet-site .button,
.wallet-site .copy-button,
.wallet-site .wallet-tabs button,
.wallet-site .wallet-language-switch button {
  font-size: 13px;
  font-weight: 700;
}

.wallet-site .header-action {
  padding: 9px 14px;
}

.wallet-site .wallet-language-switch {
  align-items: center;
  background: #f3f8f8;
  border: 1px solid #dfe9e8;
  border-radius: 999px;
  display: inline-flex;
  gap: 3px;
  padding: 4px;
}

.wallet-site .wallet-language-switch button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #65737b;
  cursor: pointer;
  line-height: 1;
  padding: 8px 10px;
}

.wallet-site .wallet-language-switch button.active,
.wallet-site .wallet-language-switch button[aria-pressed="true"] {
  background: #e5f8f5;
  color: #008d80;
}

.wallet-site .wallet-hero,
.wallet-site .wallet-app-shell {
  max-width: 1180px;
  width: calc(100% - 48px);
}

.wallet-site .wallet-hero {
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 360px;
  padding: 58px 0 24px;
}

.wallet-site .wallet-hero > div:first-child,
.wallet-site .wallet-hero-card,
.wallet-site .wallet-sidebar,
.wallet-site .wallet-panel {
  border-color: #dce8e6;
  border-radius: 24px;
}

.wallet-site .wallet-hero > div:first-child {
  min-height: 430px;
  padding: 42px;
}

.wallet-site .wallet-hero h1 {
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.03;
  max-width: 780px;
}

.wallet-site .wallet-hero > div:first-child > p:last-child,
.wallet-site .wallet-empty p,
.wallet-site .panel-copy,
.wallet-site .receive-box p {
  font-size: 16px;
  line-height: 1.55;
}

.wallet-site .wallet-hero-card {
  min-height: 430px;
  padding: 28px;
}

.wallet-site .wallet-hero-card strong {
  font-size: 24px;
}

.wallet-site .wallet-app-shell {
  align-items: stretch;
  gap: 18px;
  grid-template-columns: 320px minmax(0, 1fr);
}

.wallet-site .wallet-sidebar {
  gap: 16px;
  height: 100%;
  padding: 22px;
  position: static;
}

.wallet-site .wallet-hero .vexon-logo-lockup img {
  border-radius: 0;
  height: 54px;
  object-fit: contain;
  width: 82px;
}

.wallet-site .wallet-brand-row {
  gap: 14px;
}

.wallet-site .wallet-brand-row img {
  border-radius: 0;
  height: 46px;
  object-fit: contain;
  width: 70px;
}

.wallet-site .wallet-panel {
  min-height: 560px;
  padding: 28px;
}

.wallet-site .wallet-empty h2,
.wallet-site .mnemonic-panel h2,
.wallet-site .wallet-form h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
}

.wallet-site .wallet-choice-grid,
.wallet-site .wallet-stat-grid,
.wallet-site .wallet-action-grid,
.wallet-site .live-wallet-grid,
.wallet-site .history-grid,
.wallet-site .settings-grid {
  gap: 14px;
}

.wallet-site .wallet-choice,
.wallet-site .wallet-stat-grid div,
.wallet-site .activity-row,
.wallet-site .receive-box,
.wallet-site .wallet-action-grid > form,
.wallet-site .live-wallet-card,
.wallet-site .chain-activity,
.wallet-site .wallet-balance,
.wallet-site .wallet-address-box,
.wallet-site .live-wallet-grid div,
.wallet-site .settings-card {
  border-color: #dfe8e8;
  border-radius: 18px;
}

.wallet-site .wallet-choice {
  min-height: 150px;
  padding: 20px;
}

.wallet-site .wallet-choice strong {
  font-size: 21px;
}

.wallet-site .wallet-balance strong {
  font-size: 24px;
}

.wallet-site .wallet-address-box code,
.wallet-site .receive-box code {
  font-size: 13px;
}

.wallet-site .wallet-tabs {
  background: #f3f7f7;
  border-color: #dde8e8;
  margin-bottom: 22px;
  padding: 5px;
}

.wallet-site .wallet-tabs button {
  color: #5f6f78;
  padding: 9px 13px;
}

.wallet-site .wallet-tabs button.active {
  color: #101820;
}

.wallet-site .wallet-stat-grid strong {
  font-size: 19px;
}

.wallet-site .wallet-form input,
.wallet-site .wallet-form textarea,
.wallet-site .wallet-form select,
.wallet-site .chain-sync-row input,
.wallet-site .security-password input,
.wallet-site .mnemonic-grid span,
.wallet-site .mnemonic-input-grid input,
.wallet-site .mnemonic-challenge-grid input {
  border-color: #dfe8e8;
  border-radius: 13px;
}

.wallet-site .mnemonic-verify,
.wallet-site .mnemonic-secure-warning {
  border-radius: 18px;
}

.wallet-site .mnemonic-challenge-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wallet-site .mnemonic-challenge-grid input,
.wallet-site .mnemonic-input-grid input {
  min-width: 0;
}

.wallet-site .send-flow-card h2,
.wallet-site .broadcast-card h2 {
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.1;
}

.wallet-site .site-footer {
  border-radius: 24px 24px 0 0;
  font-size: 13px;
}

.download-grid article span,
.download-grid .release-card span {
  color: var(--accent);
  display: block;
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.download-grid article strong,
.download-grid .release-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.16;
  margin: 0;
}

.release-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.release-card p {
  line-height: 1.5;
  margin-bottom: 0;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.download-actions a {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 760;
  justify-content: center;
  line-height: 1;
  min-height: 40px;
  padding: 0 16px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.download-actions a + a {
  background: #fff;
  border-color: var(--line);
  color: var(--accent-strong);
}

.download-actions a:hover {
  box-shadow: 0 14px 28px rgba(13, 158, 145, 0.16);
  transform: translateY(-1px);
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-top: 124px;
  padding: 30px 0 42px;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer small {
  color: #8a949d;
  display: block;
  font-size: 13px;
  margin-top: 4px;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.pool-hero {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 440px;
  padding: 86px 0 28px;
}

.pool-hero > div:first-child {
  background:
    linear-gradient(135deg, rgba(6, 185, 170, 0.09), transparent 38%),
    #ffffff;
  border: 1px solid var(--line);
  border-radius: 32px;
  min-height: 390px;
  padding: 54px;
}

.pool-hero h1 {
  font-size: clamp(48px, 7vw, 84px);
}

.pool-hero h1,
.pool-hero p {
  margin-left: 0;
  text-align: left;
}

.connect-card {
  min-height: 390px;
  padding: 32px;
  position: relative;
}

.connect-card > span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 760;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.copy-button {
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  font-weight: 760;
  overflow: hidden;
  padding: 8px 12px;
  position: absolute;
  right: 24px;
  top: 24px;
}

.connect-card code,
.setup-list code {
  background: var(--accent-soft);
  border-radius: 8px;
  color: #075d53;
  padding: 3px 7px;
}

.connect-card code {
  display: block;
  margin: 18px 0 24px;
  overflow-x: auto;
  padding: 14px;
  white-space: nowrap;
}

.connect-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.connect-card dl div {
  display: grid;
  gap: 12px;
  grid-template-columns: 96px 1fr;
}

.connect-card dt {
  color: var(--muted);
}

.connect-card dd {
  font-weight: 760;
  margin: 0;
}

.pool-status-grid {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.wallet-ops-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin: 22px auto 0;
  max-width: 1220px;
  width: calc(100% - 48px);
}

.panel-copy {
  margin: 0;
}

.address-example {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 16px;
}

.address-example span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.address-example code {
  display: block;
  overflow-x: auto;
}

.pool-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 340px;
  padding-top: 22px;
}

.pool-main {
  display: grid;
  gap: 22px;
}

.panel {
  padding: 28px;
}

.panel-head {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.panel h2 {
  font-size: 24px;
  margin: 0;
}

.panel-head span {
  color: var(--muted);
  font-size: 13px;
}

.data-table {
  border-collapse: collapse;
  width: 100%;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  text-align: left;
}

.data-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.status {
  border-radius: 999px;
  display: inline-block;
  font-size: 12px;
  font-weight: 760;
  padding: 4px 8px;
}

.status.ok {
  background: #ddf4ed;
  color: #0b6b50;
}

.status.pending {
  background: #fbf0d6;
  color: #7b5a12;
}

.setup-list {
  margin-bottom: 0;
  padding-left: 22px;
}

.setup-list li {
  margin: 10px 0;
}

.side-panel ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.side-panel li {
  margin: 9px 0;
}

.wallet-hero,
.wallet-app-shell {
  margin: 0 auto;
  max-width: 1220px;
  width: calc(100% - 48px);
}

.wallet-hero {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 390px;
  padding: 86px 0 28px;
}

.wallet-hero > div:first-child,
.wallet-hero-card,
.wallet-sidebar,
.wallet-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 32px;
}

.wallet-hero > div:first-child {
  background:
    linear-gradient(135deg, rgba(6, 185, 170, 0.09), transparent 40%),
    #ffffff;
  min-height: 390px;
  padding: 54px;
}

.wallet-hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0 0 26px;
}

.wallet-hero p,
.wallet-hero-card p,
.wallet-empty p,
.wallet-form label,
.receive-box p {
  color: var(--muted);
}

.wallet-hero > div:first-child > p:last-child {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
  max-width: 780px;
}

.wallet-hero-card {
  align-content: end;
  display: grid;
  min-height: 390px;
  padding: 34px;
}

.wallet-hero-card span,
.wallet-choice span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.wallet-hero-card strong {
  display: block;
  font-size: 30px;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 12px 0;
}

.wallet-app-shell {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: 350px minmax(0, 1fr);
  padding-top: 22px;
}

.wallet-sidebar,
.wallet-panel {
  box-shadow: 0 1px 2px rgba(11, 17, 23, 0.035);
}

.wallet-sidebar {
  display: grid;
  gap: 22px;
  padding: 28px;
  position: sticky;
  top: 98px;
}

.wallet-brand-row {
  align-items: center;
  display: flex;
  gap: 12px;
}

.wallet-brand-row img {
  height: 34px;
  object-fit: contain;
  width: 86px;
}

.wallet-brand-row span,
.wallet-balance span,
.wallet-address-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.wallet-balance {
  background:
    linear-gradient(135deg, rgba(6, 185, 170, 0.1), transparent 48%),
    #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}

.wallet-balance strong {
  display: block;
  font-size: 28px;
  letter-spacing: 0;
  margin-top: 8px;
}

.wallet-address-box {
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 18px;
}

.wallet-address-box code,
.receive-box code {
  color: #075d53;
  display: block;
  overflow-wrap: anywhere;
}

.wallet-site .wallet-address-box > .inline-copy,
.inline-copy {
  align-items: center;
  aspect-ratio: auto;
  box-sizing: border-box;
  flex: 0 0 auto;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  justify-self: start;
  line-height: 1;
  max-width: max-content;
  min-width: 92px;
  min-height: 44px;
  overflow: hidden;
  padding: 0 22px;
  position: relative;
  right: auto;
  top: auto;
  white-space: nowrap;
  width: auto;
  writing-mode: horizontal-tb;
}

.wallet-site .wallet-address-box > .inline-copy {
  grid-column: 1;
  margin-top: 6px;
}

.wallet-site .wallet-address-box button.copy-button.inline-copy,
.wallet-native-app .wallet-address-box button.copy-button.inline-copy {
  align-self: start;
  display: inline-flex;
  height: 44px;
  inset: auto;
  max-height: 44px;
  max-width: 100%;
  min-height: 44px;
  min-width: 96px;
  padding: 0 22px;
  position: relative;
  text-orientation: mixed;
  white-space: nowrap;
  width: auto;
  writing-mode: horizontal-tb;
}

.wallet-site .wallet-address-box button.copy-button.inline-copy::before,
.wallet-native-app .wallet-address-box button.copy-button.inline-copy::before {
  border-radius: inherit;
}

.wallet-note {
  color: var(--muted);
  font-size: 14px;
}

.wallet-note strong {
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}

.wallet-note p {
  margin: 0;
}

.wallet-panel {
  min-height: 620px;
  padding: 34px;
}

.wallet-empty h2,
.mnemonic-panel h2,
.wallet-form h2 {
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0 0 14px;
}

.wallet-choice-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
}

.wallet-choice {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  cursor: pointer;
  font: inherit;
  min-height: 184px;
  padding: 24px;
  text-align: left;
}

.wallet-choice strong {
  display: block;
  font-size: 24px;
  margin: 12px 0 8px;
}

.wallet-choice p {
  margin: 0;
}

.wallet-form {
  display: grid;
  gap: 18px;
}

.wallet-form.compact {
  gap: 14px;
}

.wallet-form label {
  display: grid;
  font-size: 14px;
  font-weight: 650;
  gap: 8px;
}

.wallet-form input,
.wallet-form textarea,
.wallet-form select {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font: inherit;
  outline: 0;
  padding: 13px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.wallet-form input:focus,
.wallet-form textarea:focus,
.wallet-form select:focus {
  border-color: rgba(6, 185, 170, 0.45);
  box-shadow: 0 0 0 4px rgba(6, 185, 170, 0.12);
}

.password-rule {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
  margin: -4px 0 0;
  padding: 12px 14px;
}

.text-button {
  background: transparent;
  border: 0;
  color: var(--accent-strong);
  cursor: pointer;
  font: inherit;
  font-weight: 760;
  padding: 0;
}

.mnemonic-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  margin: 22px 0;
}

.mnemonic-sensitive {
  position: relative;
  -webkit-user-select: none;
  user-select: none;
}

.mnemonic-sensitive::after {
  align-items: center;
  color: rgba(166, 105, 0, 0.12);
  content: "DO NOT SCREENSHOT";
  display: flex;
  font-size: clamp(24px, 5vw, 62px);
  font-weight: 900;
  inset: 0;
  justify-content: center;
  letter-spacing: 0.08em;
  pointer-events: none;
  position: absolute;
  text-align: center;
  transform: rotate(-8deg);
  z-index: 2;
}

.mnemonic-panel.is-shielded .mnemonic-grid span {
  color: transparent;
  text-shadow: 0 0 14px rgba(12, 20, 26, 0.58);
}

.mnemonic-panel.is-shielded .mnemonic-sensitive::after {
  color: rgba(166, 105, 0, 0.34);
  content: "MNEMONIC HIDDEN";
}

.mnemonic-grid span,
.mnemonic-input-grid input {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 680;
  padding: 10px 12px;
}

.mnemonic-secure-warning,
.mnemonic-verify {
  background: rgba(255, 251, 242, 0.96);
  border: 1px solid rgba(166, 105, 0, 0.24);
  border-radius: 14px;
  color: #8a5500;
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px 16px;
}

.mnemonic-secure-warning {
  align-items: center;
  grid-template-columns: auto 1fr auto;
}

.mnemonic-secure-warning strong,
.mnemonic-verify strong {
  color: #121a21;
}

.mnemonic-secure-warning span,
.mnemonic-verify p {
  color: #8a5500;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.mnemonic-challenge-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.mnemonic-challenge-grid label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
  min-width: 0;
}

.mnemonic-challenge-grid input {
  background: #fff;
  border: 1px solid rgba(166, 105, 0, 0.24);
  border-radius: 12px;
  box-sizing: border-box;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  min-width: 0;
  outline: 0;
  padding: 10px 12px;
  width: 100%;
}

.mnemonic-challenge-grid input.is-valid-word {
  border-color: rgba(6, 185, 170, 0.55);
  background: rgba(6, 185, 170, 0.06);
}

.mnemonic-challenge-grid input.is-invalid-word {
  border-color: rgba(166, 105, 0, 0.5);
}

.mnemonic-import-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.mnemonic-import-head label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.mnemonic-input-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
}

.mnemonic-input-grid input {
  color: var(--ink);
  font: inherit;
  outline: 0;
  width: 100%;
}

.mnemonic-input-grid input:focus {
  border-color: rgba(6, 185, 170, 0.45);
  box-shadow: 0 0 0 4px rgba(6, 185, 170, 0.12);
}

.mnemonic-input-grid input.is-valid-word {
  border-color: rgba(6, 185, 170, 0.55);
  background: rgba(6, 185, 170, 0.06);
}

.mnemonic-suggestions {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(10, 16, 20, 0.16);
  display: grid;
  gap: 2px;
  max-height: 230px;
  overflow: auto;
  padding: 6px;
  position: absolute;
  z-index: 50;
}

.mnemonic-suggestions button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  padding: 8px 10px;
  text-align: left;
}

.mnemonic-suggestions button:hover {
  background: rgba(6, 185, 170, 0.08);
  color: var(--accent-strong);
}

.wallet-form .check-row,
.check-row {
  align-items: center;
  color: var(--muted);
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.wallet-form .check-row input[type="checkbox"],
.check-row input[type="checkbox"] {
  accent-color: var(--accent);
  box-shadow: none;
  flex: 0 0 auto;
  height: 18px;
  margin: 0;
  padding: 0;
  width: 18px;
}

.wallet-tabs {
  background: #f6f8f8;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding: 5px;
}

.wallet-tabs button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 720;
  padding: 10px 14px;
  white-space: nowrap;
}

.wallet-tabs button.active {
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(11, 17, 23, 0.08);
  color: var(--ink);
}

.wallet-stat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 28px;
}

.wallet-stat-grid div,
.activity-row,
.receive-box,
.wallet-action-grid > form,
.settings-card {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}

.wallet-stat-grid span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.wallet-stat-grid strong {
  display: block;
  font-size: 21px;
  margin-top: 6px;
}

.live-wallet-card,
.chain-activity {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin-bottom: 24px;
  padding: 20px;
}

.chain-sync-row {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 16px;
}

.chain-sync-row label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 760;
  gap: 8px;
  text-transform: uppercase;
}

.chain-sync-row input {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  text-transform: none;
  width: 100%;
}

.live-wallet-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}

.live-wallet-grid div {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  min-width: 0;
  padding: 14px;
}

.live-wallet-grid span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 760;
}

.live-wallet-grid strong {
  display: block;
  font-size: 18px;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.activity-list {
  display: grid;
  gap: 10px;
}

.history-grid,
.settings-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.settings-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 230px;
}

.settings-card h2 {
  font-size: 22px;
  line-height: 1.1;
  margin: 0;
}

.settings-card p {
  color: var(--muted);
  margin: 0;
}

.settings-card label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 760;
  gap: 8px;
  margin-top: auto;
  text-transform: uppercase;
}

.settings-card input {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  text-transform: none;
  width: 100%;
}

.settings-card .button {
  margin-top: auto;
}

.settings-card label + .button {
  margin-top: 0;
}

.update-status-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.update-status-grid span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.update-status-grid strong {
  color: var(--ink);
  display: block;
  font-size: 16px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.update-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.update-actions .button {
  margin-top: 0;
}

.activity-row {
  display: grid;
  gap: 4px;
  grid-template-columns: 1fr auto;
}

.activity-row small {
  color: var(--muted);
  grid-column: 1 / -1;
}

.receive-box {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 180px minmax(0, 1fr);
}

.qr-placeholder {
  aspect-ratio: 1;
  background:
    linear-gradient(90deg, #0b1117 10px, transparent 10px) 0 0 / 34px 34px,
    linear-gradient(#0b1117 10px, transparent 10px) 0 0 / 34px 34px,
    #ffffff;
  border: 14px solid #ffffff;
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px var(--line), 0 12px 34px rgba(11, 17, 23, 0.08);
}

.wallet-action-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.send-flow-card,
.broadcast-card {
  align-content: start;
  min-height: 100%;
}

.send-flow-card h2,
.broadcast-card h2 {
  font-size: clamp(28px, 3vw, 42px);
  margin-bottom: 0;
}

.send-flow-card .eyebrow,
.broadcast-card .eyebrow {
  margin-bottom: -4px;
}

.send-flow-card {
  background: #ffffff;
}

.broadcast-card {
  background:
    linear-gradient(180deg, rgba(232, 251, 248, 0.7), rgba(255, 255, 255, 0) 180px),
    #fbfcfc;
  border-color: rgba(6, 185, 170, 0.28);
}

.wallet-safety-note {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  margin: 2px 0 0;
  padding-top: 12px;
}

.security-password {
  display: grid;
  font-size: 14px;
  font-weight: 650;
  gap: 8px;
  margin-bottom: 16px;
}

.security-password input {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font: inherit;
  outline: 0;
  padding: 13px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.security-password input:focus {
  border-color: rgba(6, 185, 170, 0.45);
  box-shadow: 0 0 0 4px rgba(6, 185, 170, 0.12);
}

.security-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.button.danger {
  background: #fff1f1;
  border: 1px solid #ffd6d6;
  color: #9f1d1d;
}

.button:disabled,
.copy-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.wallet-message {
  color: var(--muted);
  margin: 18px 0 0;
  min-height: 24px;
}

.wallet-message[data-tone="success"] {
  color: var(--accent-strong);
}

.wallet-message[data-tone="warn"] {
  color: #9f5b00;
}

.hidden {
  display: none !important;
}

.interactive-card {
  overflow: hidden;
  position: relative;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(0);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  will-change: transform;
}

.interactive-card::before,
.button::before,
.header-action::before,
.copy-button::before {
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(11, 127, 114, 0.12), transparent 48%);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 180ms ease;
}

.interactive-card:hover {
  border-color: rgba(11, 127, 114, 0.28);
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-4px);
}

.interactive-card:hover::before,
.button:hover::before,
.header-action:hover::before,
.copy-button:hover::before {
  opacity: 1;
}

.click-ripple {
  animation: ripple 720ms ease-out forwards;
  background: rgba(11, 127, 114, 0.18);
  border-radius: 50%;
  height: 12px;
  pointer-events: none;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 12px;
}

@keyframes ripple {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

@media (max-width: 860px) {
  html,
  body.official-site.whitepaper-site {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px;
    position: static;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
  }

  .header-action {
    display: none;
  }

  .official-site .site-header {
    gap: 10px;
    min-height: 0;
    max-width: 100vw;
    overflow: hidden;
    padding: 14px 20px;
    width: 100%;
  }

  .official-site .brand img {
    height: 44px;
    width: 68px;
  }

  .official-site .brand span {
    font-size: 18px;
  }

  .official-site .main-nav {
    justify-content: flex-start;
    max-width: 100%;
    min-width: 0;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .official-site .main-nav::-webkit-scrollbar {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding: 58px 14px 42px;
  }

  .hero-content h1,
  .pool-hero h1,
  .wallet-hero h1 {
    font-size: clamp(44px, 13vw, 64px);
    line-height: 0.98;
  }

  .hero-terminal {
    margin-top: 34px;
  }

  .metrics-band,
  .mission-grid,
  .network-section,
  .protocol-section,
  .download-grid,
  .supply-panel,
  .allocation-card-grid,
  .policy-grid,
  .site-product-hero,
  .snapshot-grid,
  .wallet-flow,
  .wallet-hero,
  .wallet-app-shell,
  .wallet-choice-grid,
  .wallet-stat-grid,
  .live-wallet-grid,
  .history-grid,
  .settings-grid,
  .chain-sync-row,
  .wallet-action-grid,
  .receive-box,
  .pool-hero,
  .pool-status-grid,
  .wallet-ops-grid,
  .pool-layout {
    grid-template-columns: 1fr;
  }

  .metrics-band,
  .section,
  .site-product-hero,
  .pool-hero,
  .wallet-hero,
  .wallet-app-shell,
  .pool-status-grid,
  .wallet-ops-grid,
  .pool-layout,
  .site-footer {
    width: calc(100% - 28px);
  }

  .metrics-band div,
  .pool-status-grid div {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .network-copy {
    position: static;
  }

  .mission-grid article,
  .download-grid article,
  .download-grid .release-card,
  .wallet-flow article {
    min-height: auto;
  }

  .allocation-mini-card {
    min-height: auto;
  }

  .pool-callout,
  .site-footer,
  .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pool-callout {
    padding: 28px;
  }

  .brand img {
    width: 88px;
  }

  .brand span {
    font-size: 20px;
  }

  .site-product-hero {
    padding: 48px 0 34px;
  }

  .site-product-hero .hero-content,
  .network-snapshot {
    min-height: auto;
    padding: 30px;
  }

  .official-site .site-product-hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .official-site .supply-panel,
  .official-site .allocation-card-grid,
  .official-site .policy-grid,
  .official-site .mission-grid,
  .official-site .protocol-section,
  .official-site .download-grid,
  .official-site .wallet-flow {
    grid-template-columns: 1fr;
  }

  .official-site .site-product-hero .hero-content,
  .official-site .network-snapshot {
    padding: 24px;
  }

  .official-site .site-product-hero .hero-content h1 {
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.06;
  }

  .official-site .site-product-hero .hero-copy,
  .official-site .section-head > p:not(.eyebrow),
  .official-site .network-copy p {
    font-size: 16px;
  }

  .official-site .section {
    padding-top: 66px;
  }

  .official-site .section h2,
  .official-site .pool-callout h2,
  .official-site .network-copy h2 {
    font-size: clamp(26px, 7vw, 34px);
  }

  .official-site .supply-panel {
    padding: 22px;
  }

  .official-site .supply-panel strong {
    font-size: clamp(30px, 10vw, 44px);
  }

  .whitepaper-callout {
    align-items: stretch;
    flex-direction: column;
    padding: 22px;
  }

  .whitepaper-hero,
  .whitepaper-meta-grid,
  .whitepaper-layout {
    max-width: calc(100vw - 28px);
    width: calc(100vw - 28px);
  }

  .whitepaper-hero {
    grid-template-columns: 1fr;
    margin-top: 34px;
    padding: 24px;
  }

  .whitepaper-hero h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .whitepaper-cover {
    min-height: 220px;
  }

  .whitepaper-cover strong {
    font-size: clamp(28px, 10vw, 38px);
  }

  .whitepaper-meta-grid,
  .formula-grid,
  .architecture-flow,
  .paper-flow {
    grid-template-columns: 1fr;
  }

  .whitepaper-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .whitepaper-site .whitepaper-doc-layout {
    gap: 14px;
    grid-template-columns: 1fr;
    margin-left: auto;
    margin-right: auto;
    max-width: calc(100vw - 28px);
    min-width: 0;
    width: calc(100vw - 28px);
  }

  .whitepaper-site .whitepaper-doc-toc {
    display: flex;
    gap: 6px;
    max-height: none;
    max-width: 100%;
    min-width: 0;
    overscroll-behavior-x: contain;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px;
    position: static;
    top: auto;
    width: 100%;
    z-index: auto;
    -webkit-overflow-scrolling: touch;
  }

  .whitepaper-site .whitepaper-doc-toc::-webkit-scrollbar {
    display: none;
  }

  .whitepaper-site .whitepaper-doc-toc strong,
  .whitepaper-site .whitepaper-doc-toc a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .whitepaper-site .whitepaper-doc-toc strong {
    align-items: center;
    display: inline-flex;
    margin: 0 8px 0 0;
  }

  .whitepaper-site .whitepaper-docs {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .whitepaper-site .whitepaper-docs .paper-page {
    max-width: 100%;
    min-width: 0;
    padding: 22px 20px;
    width: 100%;
  }

  .whitepaper-site .whitepaper-docs .paper-page h2 {
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.12;
  }

  .whitepaper-site .whitepaper-docs .paper-page p {
    font-size: 15px;
    line-height: 1.58;
  }

  .whitepaper-toc {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(11, 17, 23, 0.06);
    display: flex;
    gap: 6px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px;
    position: sticky;
    top: calc(var(--site-header-height) + 8px);
    z-index: 18;
  }

  .whitepaper-toc strong {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    margin: 0 8px 0 0;
  }

  .whitepaper-toc a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .paper-page {
    border-radius: 18px;
    padding: 24px;
    scroll-margin-top: 18px;
  }

  .paper-page-number {
    float: none;
    margin: 0 0 8px;
  }

  .paper-page p {
    font-size: 15px;
  }

  .whitepaper-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .wallet-site .site-header {
    gap: 10px;
    min-height: 0;
    padding: 14px 20px;
  }

  .wallet-site .brand img {
    height: 44px;
    width: 68px;
  }

  .wallet-site .brand span {
    font-size: 18px;
  }

  .wallet-site .main-nav {
    justify-content: flex-start;
  }

  .wallet-site .wallet-language-switch {
    flex: 0 0 auto;
    order: 3;
  }

  .wallet-site .wallet-hero,
  .wallet-site .wallet-app-shell {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
  }

  .wallet-site .wallet-hero {
    padding-top: 34px;
  }

  .wallet-site .wallet-hero > div:first-child,
  .wallet-site .wallet-hero-card,
  .wallet-site .wallet-panel,
  .wallet-site .wallet-sidebar {
    padding: 24px;
  }

  .wallet-site .wallet-hero h1 {
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.06;
  }

  .wallet-site .wallet-empty h2,
  .wallet-site .mnemonic-panel h2,
  .wallet-site .wallet-form h2 {
    font-size: clamp(26px, 7vw, 34px);
  }

  .wallet-site .wallet-hero > div:first-child > p:last-child,
  .wallet-site .wallet-empty p,
  .wallet-site .panel-copy,
  .wallet-site .receive-box p {
    font-size: 16px;
  }

  .wallet-site .wallet-choice-grid,
  .wallet-site .wallet-stat-grid,
  .wallet-site .live-wallet-grid,
  .wallet-site .history-grid,
  .wallet-site .settings-grid,
  .wallet-site .chain-sync-row,
  .wallet-site .wallet-action-grid,
  .wallet-site .receive-box,
  .wallet-site .mnemonic-challenge-grid {
    grid-template-columns: 1fr;
  }

  .wallet-site .wallet-tabs {
    border-radius: 18px;
  }

  .wallet-site .wallet-stat-grid strong {
    font-size: 18px;
  }

  .vexon-logo-lockup {
    margin-bottom: 28px;
  }

  .pool-hero > div:first-child,
  .wallet-hero > div:first-child,
  .wallet-hero-card,
  .wallet-panel,
  .wallet-sidebar,
  .connect-card {
    min-height: auto;
    padding: 30px;
  }

  .wallet-sidebar {
    position: static;
  }

  .wallet-choice {
    min-height: auto;
  }

  .mnemonic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mnemonic-input-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mnemonic-secure-warning,
  .mnemonic-challenge-grid {
    grid-template-columns: 1fr;
  }

  .wallet-tabs {
    border-radius: 18px;
  }

  .wallet-stat-grid strong {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .interactive-card {
    transform: none !important;
  }
}

@media print {
  .whitepaper-site .site-header,
  .whitepaper-site .whitepaper-toc,
  .whitepaper-site .hero-actions,
  .whitepaper-site .site-footer {
    display: none !important;
  }

  .whitepaper-site {
    background: #ffffff !important;
  }

  .whitepaper-hero,
  .whitepaper-meta-grid,
  .whitepaper-layout {
    max-width: none;
    width: 100%;
  }

  .whitepaper-layout {
    display: block;
  }

  .paper-page {
    break-after: page;
    border: 0;
    box-shadow: none;
    min-height: 90vh;
    padding: 0;
  }

  .mnemonic-grid span {
    color: transparent !important;
    text-shadow: none !important;
  }

  .mnemonic-sensitive::after {
    color: #000 !important;
    content: "MNEMONIC HIDDEN - DO NOT PRINT OR SCREENSHOT" !important;
    transform: none !important;
  }
}

/* Standalone desktop/mobile wallet app shell. */
body.wallet-native-app {
  min-height: 100vh;
  overflow-x: hidden;
}

.wallet-native-app .native-wallet-main {
  align-content: start;
  display: grid;
  gap: 18px;
  min-height: 100vh;
  padding: 28px;
}

.wallet-native-app .native-wallet-topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dfe9e8;
  border-radius: 22px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 12px 16px;
  width: min(1180px, calc(100vw - 56px));
}

.wallet-native-app .native-wallet-topbar .wallet-brand-row {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  margin: 0;
}

.wallet-native-app .native-wallet-topbar .wallet-brand-row img {
  border-radius: 12px;
  height: 40px;
  width: 40px;
}

.wallet-native-app .native-wallet-topbar .wallet-brand-row span {
  color: #008d80;
  font-size: 18px;
  font-weight: 800;
}

.wallet-native-app .wallet-app-shell {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
  margin: 0 auto;
  max-width: 920px;
  min-height: calc(100vh - 132px);
  padding: 0;
  width: min(920px, calc(100vw - 56px));
}

.wallet-native-app .wallet-sidebar {
  display: none;
}

.wallet-native-app .wallet-panel {
  align-content: center;
  display: grid;
  min-height: calc(100vh - 132px);
  padding: 34px;
}

.wallet-native-app .wallet-empty,
.wallet-native-app .wallet-form {
  align-self: center;
}

.wallet-native-app .wallet-empty h2 {
  max-width: 760px;
}

.wallet-native-app .wallet-choice-grid {
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wallet-native-app .wallet-choice {
  height: 100%;
  min-height: 190px;
}

.wallet-native-app .native-wallet-footer {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  margin: 0 auto;
  max-width: 1180px;
  padding: 4px 12px 18px;
  text-align: center;
  width: min(1180px, calc(100vw - 56px));
}

.wallet-native-app[data-wallet-view="dashboard"] .wallet-app-shell,
.wallet-native-app[data-wallet-view="mnemonic"] .wallet-app-shell {
  grid-template-columns: 330px minmax(0, 1fr);
  max-width: 1180px;
  width: min(1180px, calc(100vw - 56px));
}

.wallet-native-app[data-wallet-view="dashboard"] .wallet-sidebar,
.wallet-native-app[data-wallet-view="mnemonic"] .wallet-sidebar {
  display: grid;
}

.wallet-native-app[data-wallet-view="dashboard"] .wallet-panel,
.wallet-native-app[data-wallet-view="mnemonic"] .wallet-panel {
  align-content: start;
}

@media (max-width: 900px) {
  .wallet-native-app .native-wallet-main {
    gap: 14px;
    padding: 14px;
  }

  .wallet-native-app .native-wallet-topbar,
  .wallet-native-app .native-wallet-footer,
  .wallet-native-app .wallet-app-shell,
  .wallet-native-app[data-wallet-view="dashboard"] .wallet-app-shell,
  .wallet-native-app[data-wallet-view="mnemonic"] .wallet-app-shell {
    width: calc(100vw - 28px);
  }

  .wallet-native-app .wallet-app-shell,
  .wallet-native-app[data-wallet-view="dashboard"] .wallet-app-shell,
  .wallet-native-app[data-wallet-view="mnemonic"] .wallet-app-shell {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 112px);
  }

  .wallet-native-app[data-wallet-view="dashboard"] .wallet-sidebar,
  .wallet-native-app[data-wallet-view="mnemonic"] .wallet-sidebar {
    display: grid;
  }

  .wallet-native-app .wallet-panel {
    min-height: calc(100vh - 112px);
    padding: 24px;
  }

  .wallet-native-app .wallet-choice-grid {
    grid-template-columns: 1fr;
  }

  .wallet-native-app .wallet-choice {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .wallet-native-app .native-wallet-topbar {
    border-radius: 18px;
    padding: 10px 12px;
  }

  .wallet-native-app .native-wallet-topbar .wallet-brand-row img {
    height: 34px;
    width: 34px;
  }

  .wallet-native-app .native-wallet-topbar .wallet-brand-row span {
    font-size: 16px;
  }

  .wallet-native-app .wallet-panel,
  .wallet-native-app .wallet-sidebar {
    border-radius: 20px;
    padding: 20px;
  }
}

@media (max-width: 860px) {
  .site-header,
  .official-site .site-header,
  .wallet-site .site-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    overflow: visible;
    padding: 14px 16px;
  }

  .site-menu-toggle {
    display: inline-flex;
    margin-left: auto;
    order: 2;
  }

  .site-language-switch,
  .wallet-site .wallet-language-switch {
    order: 3;
  }

  .main-nav,
  .official-site .main-nav,
  .wallet-site .main-nav {
    background: #ffffff;
    border: 1px solid #dbe6e8;
    border-radius: 18px;
    display: none;
    flex: 0 0 100%;
    flex-direction: column;
    gap: 4px;
    justify-content: flex-start;
    margin: 4px 0 0;
    max-width: 100%;
    min-width: 0;
    order: 4;
    overflow: visible;
    padding: 8px;
    width: 100%;
  }

  .site-header.is-menu-open .main-nav {
    display: flex;
  }

  .main-nav a,
  .official-site .main-nav a,
  .wallet-site .main-nav a {
    align-items: center;
    display: flex;
    justify-content: flex-start;
    padding: 11px 14px;
    width: 100%;
  }

  .header-action,
  .official-site .header-action,
  .wallet-site .header-action {
    display: none;
  }
}
