/* SPDX-License-Identifier: GPL-3.0-or-later
   Kyro Wallet site. Dark, one accent (ice blue). */

/* ---------------------------------------------------------------- fonts (bundled, OFL) */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/geist-latin-wght-normal.woff2') format('woff2-variations'), url('/fonts/geist-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/geist-latin-ext-wght-normal.woff2') format('woff2-variations'), url('/fonts/geist-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/geist-mono-latin-wght-normal.woff2') format('woff2-variations'), url('/fonts/geist-mono-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/geist-mono-latin-ext-wght-normal.woff2') format('woff2-variations'), url('/fonts/geist-mono-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* ---------------------------------------------------------------- tokens */
:root {
  color-scheme: dark;
  --bg: #08090b;
  --bg-2: #0c0e11;
  --card: #0f1215;
  --card-2: #14181c;
  --line: #1d2127;
  --line-2: #2a3038;
  --text: #f1f4f7;
  --text2: #c2c8d0;
  --mute: #868d98;
  --faint: #5a606a;
  --primary: #eef3f8;
  --on-primary: #08090b;
  --ice: #7cc4ff;
  --violet: #8b7cff;
  --up: #3ddc97;
  --warn: #f5b74f;

  --font-sans: 'Geist Variable', 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Geist Mono Variable', 'Geist Mono', ui-monospace, 'Cascadia Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: 16px;
  --max: 1180px;
}
@media (min-width: 640px) {
  :root {
    --gutter: 28px;
  }
}

/* ---------------------------------------------------------------- base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  overflow-wrap: break-word;
}
::selection {
  background: rgba(124, 196, 255, 0.35);
  color: #fff;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}
p {
  margin: 0;
}
code,
pre {
  font-family: var(--font-mono);
}
code {
  font-size: 0.88em;
  color: var(--text2);
}
a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}
a:hover {
  text-decoration-color: var(--ice);
}
:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
  border-radius: 4px;
}
[id] {
  scroll-margin-top: 96px;
}
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 50;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.mute {
  color: var(--mute);
}
.small {
  font-size: 14px;
  line-height: 1.6;
}
.mono {
  font-family: var(--font-mono);
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 200ms var(--ease), box-shadow 200ms ease;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}
.btn-primary:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(238, 243, 248, 0.45);
}
.btn-ghost {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: #3a414b;
  background: rgba(255, 255, 255, 0.06);
}
.btn-sm {
  min-height: 36px;
  padding: 0 16px;
  font-size: 14px;
}
.btn-xl {
  min-height: 58px;
  padding: 0 32px;
  font-size: 17px;
}
.btn.copied {
  border-color: rgba(61, 220, 151, 0.45);
  color: var(--up);
}

/* ---------------------------------------------------------------- header: floating pill */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px var(--gutter) 0;
}
.nav-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
  padding: 7px 7px 7px 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(14, 16, 19, 0.6);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition: background-color 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}
.site-header.scrolled .nav-pill {
  background: rgba(14, 16, 19, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px -16px rgba(0, 0, 0, 0.8);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
}
.brand-name {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.04em;
}
.nav {
  flex: 1;
  min-width: 0;
}
.nav ul {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav ul::-webkit-scrollbar {
  display: none;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--mute);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease;
}
.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
@media (max-width: 700px) {
  .nav {
    display: none;
  }
  .nav-pill {
    justify-content: space-between;
  }
}

/* ---------------------------------------------------------------- hero */
.hero {
  overflow-x: clip;
  position: relative;
  padding: 72px 0 40px;
}
@media (min-width: 900px) {
  .hero {
    padding-top: 104px;
  }
}
.hero-glow {
  position: absolute;
  left: 50%;
  top: -120px;
  width: min(1100px, 100%);
  height: 760px;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 45% at 35% 45%, rgba(124, 196, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 40% at 68% 55%, rgba(139, 124, 255, 0.18), transparent 70%);
  filter: blur(20px);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translateX(-52%) translateY(0); }
  to { transform: translateX(-48%) translateY(30px); }
}
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text2);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.badge:hover {
  border-color: rgba(124, 196, 255, 0.4);
  background: rgba(124, 196, 255, 0.06);
}
.badge-tag {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--ice);
  color: #04121f;
  font-size: 12.5px;
  font-weight: 600;
}
.badge-arrow {
  transition: transform 200ms var(--ease);
}
.badge:hover .badge-arrow {
  transform: translateX(3px);
}
.hero h1 {
  margin-top: 26px;
  font-size: clamp(46px, 9vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 640;
}
.grad {
  background: linear-gradient(100deg, #cfe9ff 0%, var(--ice) 40%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 560px;
  margin-top: 24px;
  color: var(--text2);
  font-size: 18px;
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}
.link-muted {
  color: var(--mute);
  font-size: 14px;
}
.os-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.os-icon:not(.os-windows):not(.os-apple):not(.os-linux) {
  display: none;
}
.os-windows {
  --icon: url('/img/os-windows.svg');
}
.os-apple {
  --icon: url('/img/os-apple.svg');
}
.os-linux {
  --icon: url('/img/os-linux.svg');
}

/* App screenshot in a window frame, tilted until it scrolls into place. */
.showcase {
  position: relative;
  margin-top: 64px;
  perspective: 1600px;
}
.showcase::before {
  content: '';
  position: absolute;
  inset: 8% 6% -4%;
  background: radial-gradient(ellipse at center, rgba(124, 196, 255, 0.25), rgba(139, 124, 255, 0.12) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.showcase-frame {
  position: relative;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9);
  transform: rotateX(var(--tilt, 0deg)) scale(var(--zoom, 1));
  transform-origin: center top;
  will-change: transform;
}
.showcase-frame img {
  width: 100%;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  overflow: hidden;
}
@media (min-width: 820px) {
  .trust {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.trust li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 22px;
  background: var(--bg);
}
.trust strong {
  font-size: 15px;
  font-weight: 560;
}
.trust span {
  font-size: 13.5px;
  color: var(--mute);
}

/* ---------------------------------------------------------------- sections */
.section {
  padding: 96px 0;
}
@media (min-width: 900px) {
  .section {
    padding: 128px 0;
  }
}
.head-center {
  max-width: 780px;
  margin: 0 auto 52px;
  text-align: center;
}
.head-center h2,
.split-text h2,
.download-panel h2 {
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.head-center p {
  margin-top: 16px;
  color: var(--mute);
  font-size: 18px;
}

/* ---------------------------------------------------------------- bento */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
@media (min-width: 900px) {
  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .card-wide {
    grid-column: span 4;
  }
  .card-sign,
  .card-stake {
    grid-column: span 2;
  }
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  overflow: hidden;
  transition: border-color 300ms ease, transform 400ms var(--ease);
}
.card:hover {
  border-color: var(--line-2);
}
.card-text {
  padding: 30px 30px 0;
}
.card h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
}
.card p {
  margin-top: 8px;
  color: var(--mute);
  font-size: 15.5px;
  max-width: 46ch;
}
.card-shot {
  position: relative;
  margin-top: 28px;
  overflow: hidden;
  flex: 1;
  min-height: 240px;
}
.card-shot img {
  position: absolute;
  max-width: none;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  transition: transform 600ms var(--ease);
}
.card:hover .card-shot img {
  transform: translateY(-6px);
}
@media (min-width: 900px) {
  .card-wide {
    flex-direction: row;
    min-height: 440px;
  }
  .card-wide .card-text {
    width: 38%;
    padding: 44px;
    align-self: center;
  }
  .card-wide .card-text h3 {
    font-size: 30px;
  }
  .card-wide .card-shot {
    margin-top: 44px;
  }
}
.card-swap {
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(124, 196, 255, 0.14), transparent 70%),
    linear-gradient(180deg, var(--card-2), var(--card));
}
.shot-swap img {
  width: 1020px;
  left: 28px;
  top: 0;
}
@media (min-width: 900px) {
  .shot-swap img {
    width: 1150px;
    left: 0;
    top: 0;
  }
}
.card-stake {
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(61, 220, 151, 0.12), transparent 70%),
    linear-gradient(180deg, var(--card-2), var(--card));
}
.shot-stake {
  min-height: 280px;
}
.shot-stake img {
  width: 980px;
  left: 28px;
  top: 0;
}
.card-sign {
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(139, 124, 255, 0.16), transparent 70%),
    linear-gradient(180deg, var(--card-2), var(--card));
}
.sign-mock {
  margin: 28px 30px 30px;
  padding: 8px 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(8, 9, 11, 0.7);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9);
  transition: transform 600ms var(--ease);
}
.card-sign:hover .sign-mock {
  transform: translateY(-6px);
}
.sm-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.sm-row span {
  color: var(--mute);
}
.sm-row b {
  font-weight: 500;
}
.sm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}
.sm-actions i {
  padding: 7px 16px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-size: 13px;
  font-style: normal;
  color: var(--text2);
}
.sm-actions i.on {
  border-color: transparent;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 500;
}
.card-mini {
  padding: 28px;
  gap: 0;
}
.card-mini h3 {
  margin-top: 18px;
  font-size: 18px;
}
.card-mini p {
  font-size: 14.5px;
}
.mini-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(124, 196, 255, 0.1);
  border: 1px solid rgba(124, 196, 255, 0.22);
  position: relative;
}
.mini-icon::after {
  content: '';
  position: absolute;
  inset: 11px;
  background: var(--ice);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.ic-accounts {
  --icon: url('/img/ic-accounts.svg');
}
.ic-hw {
  --icon: url('/img/ic-hw.svg');
}
.ic-shield {
  --icon: url('/img/ic-shield.svg');
}
.ic-tor {
  --icon: url('/img/ic-tor.svg');
}
.card-mini:hover {
  transform: translateY(-4px);
}

/* ---------------------------------------------------------------- chains */
.chain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .chain-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .chain-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.chain-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 200ms ease, background-color 200ms ease, transform 300ms var(--ease);
}
.chain-grid li:hover {
  border-color: var(--line-2);
  background: var(--card-2);
}
.coin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--c, #2a2f36);
  color: var(--fg, #fff);
  font-size: 15px;
  font-weight: 650;
}
.c-btc { --c: #f7931a; }
.c-eth { --c: #627eea; }
.c-sol { --c: #14c8a6; }
.c-bnb { --c: #f0b90b; --fg: #1a1a1a; }
.c-trx { --c: #e50914; }
.c-xrp { --c: #e8edf2; --fg: #111; }
.c-ada { --c: #2a5ada; }
.c-doge { --c: #c2a633; }
.c-ltc { --c: #345d9d; }
.c-bch { --c: #0ac18e; }
.c-dash { --c: #008de4; }
.c-xlm { --c: #d8dde3; --fg: #111; }
.c-near { --c: #00ec97; --fg: #111; }
.c-sui { --c: #4da2ff; }
.c-pol { --c: #8247e5; }
.c-arb { --c: #28a0f0; }
.c-op { --c: #ff0420; }
.c-base { --c: #0052ff; }
.c-avax { --c: #e84142; }
.c-cro { --c: #103f68; }
.c-mnt { --c: #2a2a2a; }
.c-gno { --c: #3e6957; }
.c-hype { --c: #97fce4; --fg: #0b2b26; }
.c-more { --c: #20252b; --fg: var(--text2); font-size: 12px; }

.chain-details {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
}
.chain-details > summary,
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.chain-details > summary::-webkit-details-marker,
.faq summary::-webkit-details-marker {
  display: none;
}
.chain-details > summary::after,
.faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--mute);
  transition: transform 300ms var(--ease);
}
.chain-details[open] > summary::after,
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.chain-details .table-wrap {
  padding: 0 22px 18px;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  padding: 12px 12px 12px 0;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
thead th {
  border-top: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mute);
}
tbody th {
  font-weight: 500;
}
.matrix td {
  text-align: center;
  white-space: nowrap;
}
.matrix .y {
  color: var(--up);
}
.matrix .n {
  color: var(--faint);
}

/* ---------------------------------------------------------------- security */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 72px;
  }
}
.split-text > p {
  margin-top: 18px;
  color: var(--mute);
  font-size: 18px;
}
.split-text > p.small {
  font-size: 14px;
}
.checks {
  margin: 28px 0 24px;
  padding: 0;
  list-style: none;
}
.checks li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-top: 1px solid var(--line);
  color: var(--text2);
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 20px;
  height: 20px;
  background: var(--up);
  -webkit-mask: url('/img/ic-check.svg') center / contain no-repeat;
  mask: url('/img/ic-check.svg') center / contain no-repeat;
}
.doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.doc-links a {
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  color: var(--text2);
  transition: border-color 150ms ease, color 150ms ease;
}
.doc-links a:hover {
  border-color: var(--ice);
  color: var(--text);
}
.layers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.layer {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-2);
  transition: transform 400ms var(--ease), border-color 300ms ease;
}
.layer:nth-child(2) {
  margin-left: 24px;
}
.layer:nth-child(3) {
  margin-left: 48px;
}
.layer:hover {
  transform: translateX(-6px);
  border-color: var(--line-2);
}
.layer-n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--faint);
}
.layer b {
  display: block;
  font-weight: 560;
}
.layer span:not(.layer-n) {
  display: block;
  color: var(--mute);
  font-size: 14.5px;
}
.layer-core {
  border-color: rgba(124, 196, 255, 0.35);
  background:
    radial-gradient(ellipse 80% 120% at 0% 50%, rgba(124, 196, 255, 0.12), transparent 70%),
    var(--bg-2);
}
.layer-core .layer-n {
  color: var(--ice);
}

/* ---------------------------------------------------------------- fees */
.fee-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 760px) {
  .fee-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.fee-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-2);
  transition: border-color 300ms ease, transform 400ms var(--ease), opacity 700ms ease;
}
.fee-card:hover,
.js .fee-card.in:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.fee-value {
  font-size: 52px;
  font-weight: 620;
  letter-spacing: -0.05em;
  line-height: 1.1;
}
.fee-name {
  margin-top: 10px;
  font-weight: 560;
}
.fee-desc {
  color: var(--mute);
  font-size: 14.5px;
}
.fee-accent {
  border-color: rgba(124, 196, 255, 0.3);
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(124, 196, 255, 0.14), transparent 70%),
    var(--bg-2);
}
.fee-accent .fee-value {
  color: var(--ice);
}

/* ---------------------------------------------------------------- download */
.download-panel {
  position: relative;
  padding: 64px 24px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--bg-2);
  text-align: center;
  overflow: hidden;
}
.glow-small {
  top: -260px;
  height: 600px;
  opacity: 0.8;
}
.download-panel > :not(.hero-glow) {
  position: relative;
}
.dl-sub {
  margin-top: 14px;
  color: var(--mute);
}
.os-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  max-width: 760px;
  margin: 40px auto 24px;
}
@media (min-width: 640px) {
  .os-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.os-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 16px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: rgba(8, 9, 11, 0.6);
  color: var(--text);
  text-decoration: none;
  transition: border-color 200ms ease, transform 300ms var(--ease), background-color 200ms ease;
}
.os-card:hover {
  transform: translateY(-4px);
  border-color: #3a414b;
}
.os-card .os-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 6px;
}
.os-name {
  font-size: 17px;
  font-weight: 560;
}
.os-file {
  font-size: 13.5px;
  color: var(--mute);
}
.os-card[data-current='true'] {
  border-color: transparent;
  background: var(--primary);
  color: var(--on-primary);
}
.os-card[data-current='true'] .os-file {
  color: #4a5059;
}
.os-card[data-current='true']::after {
  content: 'Recommended for you';
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #1c4f7a;
}

.faq {
  max-width: 820px;
  margin: 40px auto 0;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-child {
  border-top: 1px solid var(--line);
}
.faq summary {
  padding: 20px 4px;
}
.faq details > p,
.faq details > pre {
  margin: 0 4px 20px;
  color: var(--text2);
  font-size: 15px;
}
pre {
  padding: 14px 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-size: 13px;
  line-height: 1.7;
}
pre code {
  font-size: inherit;
}

/* ---------------------------------------------------------------- support */
.donate {
  max-width: 900px;
  margin: 0 auto;
  padding: 8px 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-2);
}
.donate thead th {
  padding-top: 16px;
}
.address {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  word-break: break-all;
}
.copy-cell {
  width: 1%;
  white-space: nowrap;
  text-align: right;
  padding-right: 0;
}
.copy-status {
  min-height: 22px;
  padding-bottom: 6px;
  font-size: 13px;
  color: var(--up);
}
@media (max-width: 759px) {
  .stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .stack,
  .stack tbody,
  .stack tr,
  .stack th,
  .stack td {
    display: block;
    width: 100%;
  }
  .stack tr {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }
  .stack tr:first-child {
    border-top: 0;
  }
  .stack th,
  .stack td {
    padding: 2px 0;
    border: 0;
    text-align: left;
  }
  .copy-cell .btn {
    margin-top: 8px;
  }
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 14px;
  overflow: hidden;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-top ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer a {
  color: var(--mute);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--text);
}
.footer-word {
  margin: 40px 0 24px;
  font-size: clamp(96px, 24vw, 300px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.8;
  text-align: center;
  background: linear-gradient(180deg, #1b2027 0%, rgba(8, 9, 11, 0) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 13px;
  color: var(--faint);
}
.footer-bottom a {
  text-decoration: underline;
}

/* ---------------------------------------------------------------- 404 */
.notfound {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.notfound .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.notfound h1 {
  font-size: clamp(40px, 7vw, 72px);
  letter-spacing: -0.05em;
}
.notfound p {
  color: var(--mute);
}
.notfound .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------------------------------------------------------------- scroll reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms ease, transform 900ms var(--ease);
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
}
.js .card[data-reveal].in:hover {
  transform: translateY(-4px);
}
.js .card-wide[data-reveal].in:hover,
.js .card-sign[data-reveal].in:hover,
.js .card-stake[data-reveal].in:hover {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 1ms !important;
  }
  .showcase-frame {
    transform: none;
  }
}
