/* SPDX-License-Identifier: GPL-3.0-or-later
   Kyro Wallet site. Dark, ice-blue accent, violet secondary. No external resources. */

/* ---------------------------------------------------------------- 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: #07080a;
  --bg-2: #0b0d10;
  --card: #0e1114;
  --card-2: #13171b;
  --line: #1b1f25;
  --line-2: #282e36;
  --text: #f1f4f7;
  --text2: #c2c8d0;
  --mute: #8a919c;
  --faint: #5b616b;
  --primary: #eef3f8;
  --on-primary: #07080a;
  --ice: #7cc4ff;
  --ice-soft: rgba(124, 196, 255, 0.14);
  --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;
  --radius: 24px;
}
@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;
}
body {
  position: relative;
  margin: 0;
  min-width: 320px;
  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;
}
/* Film grain over the whole page: one small SVG tile, no request elsewhere. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  background: url('/img/noise.svg');
  opacity: 0.045;
}
::selection {
  background: rgba(124, 196, 255, 0.35);
  color: #fff;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
picture {
  display: block;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  color: var(--text);
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
code,
pre {
  font-family: var(--font-mono);
}
code {
  font-size: 0.88em;
  color: var(--text2);
}
:not(pre) > code {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  overflow-wrap: anywhere;
}
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);
}
.wrap-narrow {
  max-width: 860px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 70;
  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);
}
.num {
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- type rhythm */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.head-center .eyebrow::after {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.h2,
.head-center h2,
.split-text h2,
.download-panel h2,
.feature-text h2,
.prose h2 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.lead {
  color: var(--text2);
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55;
}
.head-center {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.head-center p {
  margin-top: 18px;
  color: var(--mute);
  font-size: 18px;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.more::after {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--ice);
  -webkit-mask: url('/img/ic-arrow.svg') center / contain no-repeat;
  mask: url('/img/ic-arrow.svg') center / contain no-repeat;
  transition: transform 250ms var(--ease);
}
.more:hover::after {
  transform: translateX(4px);
}
.center {
  text-align: center;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative;
  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 250ms var(--ease), box-shadow 250ms ease;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: linear-gradient(180deg, #ffffff, #e4ebf3);
  color: var(--on-primary);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 12px 34px -10px rgba(124, 196, 255, 0.55);
}
.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 30px;
  font-size: 17px;
}
.btn.copied {
  border-color: rgba(61, 220, 151, 0.45);
  color: var(--up);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ---------------------------------------------------------------- header: floating pill */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px var(--gutter) 0;
}
.nav-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
  padding: 7px 7px 7px 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(13, 15, 18, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  transition: background-color 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}
.site-header.scrolled .nav-pill {
  background: rgba(13, 15, 18, 0.86);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 44px -18px rgba(0, 0, 0, 0.85);
}
/* Reading progress: a hairline under the pill, driven by --progress from motion.js. */
.nav-pill::after {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ice), var(--violet), transparent);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  opacity: 0.7;
  pointer-events: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
}
.brand img {
  transition: transform 500ms var(--ease);
}
.brand:hover img {
  transform: rotate(-90deg);
}
.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;
}
.nav a,
.menu-panel 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,
.nav a[aria-current='page'],
.menu-panel a:hover,
.menu-panel a[aria-current='page'] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.menu {
  display: none;
}
@media (max-width: 860px) {
  .nav {
    display: none;
  }
  .nav-pill {
    justify-content: space-between;
  }
  .header-cta {
    margin-left: auto;
  }
  .menu {
    display: block;
  }
}
.menu > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  cursor: pointer;
}
.menu > summary::-webkit-details-marker {
  display: none;
}
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 300ms var(--ease), opacity 200ms ease;
}
.menu-bars {
  position: relative;
}
.menu-bars::before,
.menu-bars::after {
  content: '';
  position: absolute;
  left: 0;
}
.menu-bars::before {
  top: -5px;
}
.menu-bars::after {
  top: 5px;
}
.menu[open] .menu-bars {
  background: transparent;
}
.menu[open] .menu-bars::before {
  transform: translateY(5px) rotate(45deg);
}
.menu[open] .menu-bars::after {
  transform: translateY(-5px) rotate(-45deg);
}
.menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: rgba(13, 15, 18, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
  animation: drop 350ms var(--ease);
}
@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.menu-panel ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu-panel a {
  display: flex;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 15px;
}

/* ---------------------------------------------------------------- breadcrumbs */
.crumbs {
  margin-bottom: 26px;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--faint);
}
.crumbs li + li::before {
  content: '/';
  margin-right: 6px;
  color: var(--line-2);
}
.crumbs a {
  color: var(--mute);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--text);
}

/* ---------------------------------------------------------------- aurora: slow animated light behind heroes */
.aurora {
  position: absolute;
  left: 50%;
  top: -180px;
  width: min(1200px, 140vw);
  height: 820px;
  transform: translateX(-50%);
  pointer-events: none;
  -webkit-mask: radial-gradient(ellipse 60% 55% at 50% 45%, #000 30%, transparent 75%);
  mask: radial-gradient(ellipse 60% 55% at 50% 45%, #000 30%, transparent 75%);
}
.aurora::before,
.aurora::after {
  content: '';
  position: absolute;
  inset: 0;
  will-change: transform;
}
.aurora::before {
  background:
    radial-gradient(ellipse 34% 30% at 36% 46%, rgba(124, 196, 255, 0.3), transparent 70%),
    radial-gradient(ellipse 30% 28% at 64% 52%, rgba(139, 124, 255, 0.24), transparent 70%);
  filter: blur(24px);
  animation: aurora-a 18s ease-in-out infinite alternate;
}
.aurora::after {
  background: conic-gradient(from 200deg at 50% 55%, transparent 0deg, rgba(124, 196, 255, 0.1) 60deg, transparent 120deg, rgba(139, 124, 255, 0.1) 220deg, transparent 300deg);
  filter: blur(40px);
  animation: aurora-b 40s linear infinite;
}
@keyframes aurora-a {
  from {
    transform: translate3d(-3%, 0, 0) scale(1);
  }
  to {
    transform: translate3d(3%, 26px, 0) scale(1.06);
  }
}
@keyframes aurora-b {
  to {
    transform: rotate(360deg);
  }
}
.aurora-sm {
  top: -300px;
  height: 640px;
  opacity: 0.75;
}

/* ---------------------------------------------------------------- home hero */
.hero {
  position: relative;
  padding: 64px 0 24px;
}
@media (min-width: 900px) {
  .hero {
    padding-top: 100px;
  }
}
.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(48px, 9.4vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 640;
}
.hero h1 .line {
  display: block;
}
.grad {
  background: linear-gradient(100deg, #d6edff 0%, var(--ice) 38%, var(--violet) 100%);
  background-size: 160% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-shift 9s ease-in-out infinite alternate;
}
@keyframes grad-shift {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}
.hero-lead {
  max-width: 580px;
  margin-top: 24px;
}
.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;
}
.horizon {
  position: absolute;
  left: 50%;
  top: 6%;
  width: 150%;
  aspect-ratio: 3 / 1;
  transform: translateX(-50%);
  border-radius: 50%;
  border-top: 1px solid rgba(124, 196, 255, 0.35);
  background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(124, 196, 255, 0.16), transparent 70%);
  box-shadow: 0 -30px 80px -40px rgba(124, 196, 255, 0.6);
  -webkit-mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  pointer-events: none;
}
.showcase-frame {
  position: relative;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.4);
  transform: rotateX(var(--tilt, 0deg)) scale(var(--zoom, 1));
  transform-origin: center top;
  will-change: transform;
}
.showcase-frame img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
/* Small cut-outs of the real app floating over the screenshot (wide screens only). */
.chip {
  display: none;
}
@media (min-width: 1000px) {
  .chip {
    position: absolute;
    display: block;
    z-index: 2;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--card);
    box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.95), 0 0 0 6px rgba(255, 255, 255, 0.025);
    overflow: hidden;
    transform: translate3d(0, var(--float, 0px), 0);
    will-change: transform;
  }
  .chip img {
    width: 100%;
  }
  .chip-vault {
    right: -34px;
    bottom: 9%;
    width: 21%;
  }
  .chip-fee {
    left: -40px;
    bottom: 24%;
    width: 36%;
  }
}

.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: 20px;
  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);
  transition: background-color 300ms ease;
}
.trust li:hover {
  background: var(--bg-2);
}
.trust strong {
  font-size: 15px;
  font-weight: 560;
}
.trust span {
  font-size: 13.5px;
  color: var(--mute);
}

/* ---------------------------------------------------------------- chain rail (marquee) */
.rail {
  position: relative;
  margin-top: 56px;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.rail-track {
  display: flex;
  width: max-content;
  gap: 10px;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  animation: rail 70s linear infinite;
}
.rail:hover .rail-track {
  animation-play-state: paused;
}
@keyframes rail {
  to {
    transform: translateX(-50%);
  }
}
.rail-track a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 200ms ease, color 200ms ease;
}
.rail-track a:hover {
  border-color: var(--c, var(--line-2));
  color: var(--text);
}
.rail-track .coin {
  width: 26px;
  height: 26px;
  font-size: 12px;
}

/* ---------------------------------------------------------------- sections and seams */
.section {
  position: relative;
  padding: 96px 0;
}
@media (min-width: 900px) {
  .section {
    padding: 136px 0;
  }
}
.section-tight {
  padding-top: 40px;
}
/* A lit seam between sections: a hairline that glows in the middle. */
.seam::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(880px, 90%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(124, 196, 255, 0.4), rgba(139, 124, 255, 0.3), transparent);
}
.seam::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(600px, 80%);
  height: 160px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(124, 196, 255, 0.08), transparent 70%);
  pointer-events: none;
}
.band {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%);
}

/* ---------------------------------------------------------------- cards + pointer spotlight */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  overflow: hidden;
  isolation: isolate;
  transition: border-color 300ms ease, transform 500ms var(--ease);
}
.card:hover {
  border-color: var(--line-2);
}
.spot::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 196, 255, 0.09), transparent 60%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}
.spot::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 196, 255, 0.55), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}
.spot:hover::before,
.spot:hover::after {
  opacity: 1;
}
.card-text {
  padding: 30px 28px 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;
}

/* ---------------------------------------------------------------- bento */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
@media (min-width: 700px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card-wide {
    grid-column: span 2;
  }
}
@media (min-width: 1000px) {
  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .card-wide {
    grid-column: span 4;
  }
  .card-half {
    grid-column: span 2;
  }
}
.card-swap {
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(124, 196, 255, 0.13), transparent 70%),
    linear-gradient(180deg, var(--card-2), var(--card));
}
/* Swap: the real swap form, framed, fading out at the bottom of the card. */
.peek {
  position: relative;
  margin: 28px 20px 0;
  max-height: 340px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: #0d0f12;
  box-shadow: 0 -20px 60px -30px rgba(124, 196, 255, 0.35);
  -webkit-mask: linear-gradient(180deg, #000 60%, transparent);
  mask: linear-gradient(180deg, #000 60%, transparent);
}
.peek img {
  width: 100%;
  transition: transform 900ms var(--ease);
}
.card:hover .peek img {
  transform: translateY(-14px);
}
@media (min-width: 560px) {
  .peek {
    max-height: 420px;
  }
}
@media (min-width: 1000px) {
  .card-wide {
    flex-direction: row;
    min-height: 470px;
  }
  .card-wide .card-text {
    flex: 0 0 38%;
    padding: 48px;
    align-self: center;
  }
  .card-wide .card-text h3 {
    font-size: 32px;
    letter-spacing: -0.035em;
  }
  .card-wide .peek {
    flex: 1;
    align-self: flex-end;
    margin: 48px 0 0;
    max-height: 430px;
    border-radius: 16px 0 0 0;
    border-right: 0;
  }
}
.card-stake {
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(61, 220, 151, 0.11), transparent 70%),
    linear-gradient(180deg, var(--card-2), var(--card));
}
/* Staking: the three real staking cards, dealt like a hand. Same shape at every width. */
.deck {
  position: relative;
  margin: 26px 20px 26px;
  aspect-ratio: 16 / 11;
}
.deck img {
  position: absolute;
  width: 74%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.9);
  transition: transform 700ms var(--ease);
}
.deck img:nth-child(1) {
  left: 0;
  top: 0;
  z-index: 3;
  transform: rotate(-3deg);
}
.deck img:nth-child(2) {
  left: 13%;
  top: 22%;
  z-index: 2;
  transform: rotate(1deg);
}
.deck img:nth-child(3) {
  left: 26%;
  top: 44%;
  z-index: 1;
  transform: rotate(4deg);
}
.card:hover .deck img:nth-child(1),
.deck-wrap:hover .deck img:nth-child(1) {
  transform: translate(-4%, -4%) rotate(-5deg);
}
.card:hover .deck img:nth-child(3),
.deck-wrap:hover .deck img:nth-child(3) {
  transform: translate(4%, 4%) rotate(6deg);
}
.card-sign {
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(139, 124, 255, 0.15), transparent 70%),
    linear-gradient(180deg, var(--card-2), var(--card));
}
.sign-mock {
  margin: 28px 20px 26px;
  padding: 6px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(7, 8, 10, 0.75);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9);
  transition: transform 700ms var(--ease);
}
@media (min-width: 560px) {
  .sign-mock,
  .deck {
    margin-left: 28px;
    margin-right: 28px;
  }
}
.card:hover .sign-mock {
  transform: translateY(-6px);
}
.sm-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0 8px;
  color: var(--mute);
  font-size: 12.5px;
  font-family: var(--font-mono);
}
.sm-title::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.15);
}
.sm-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.sm-row span {
  color: var(--mute);
}
.sm-row b {
  font-weight: 500;
  text-align: right;
}
.sm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}
.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;
}
.card-mini h3 {
  margin-top: 20px;
  font-size: 18px;
}
.card-mini p {
  font-size: 14.5px;
}
.card-mini:hover {
  transform: translateY(-4px);
}
.mini-icon {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(124, 196, 255, 0.08);
  border: 1px solid rgba(124, 196, 255, 0.22);
  transition: transform 500ms var(--ease), background-color 300ms ease;
}
.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;
}
.card-mini:hover .mini-icon {
  transform: rotate(-8deg) scale(1.06);
  background: rgba(124, 196, 255, 0.14);
}
.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'); }
.ic-swap { --icon: url('/img/ic-swap.svg'); }
.ic-send { --icon: url('/img/ic-send.svg'); }
.ic-stake { --icon: url('/img/ic-stake.svg'); }
.ic-eye { --icon: url('/img/ic-eye.svg'); }
.ic-lock { --icon: url('/img/ic-lock.svg'); }

/* ---------------------------------------------------------------- steps */
.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.steps li {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  counter-increment: step;
}
.steps li::before {
  content: '0' counter(step);
  display: block;
  margin-bottom: 30px;
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 13px;
}
.steps h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
}
.steps p {
  margin-top: 8px;
  color: var(--mute);
  font-size: 15px;
}

/* ---------------------------------------------------------------- chains */
.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;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}
.coin-lg {
  width: 84px;
  height: 84px;
  font-size: 38px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.3), inset 0 -6px 12px rgba(0, 0, 0, 0.25), 0 0 0 10px rgba(255, 255, 255, 0.03), 0 20px 80px -10px var(--c);
}
.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 a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 250ms ease, background-color 250ms ease, transform 400ms var(--ease);
}
.chain-grid a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120px circle at 30px 50%, var(--c), transparent 70%);
  opacity: 0;
  transition: opacity 300ms ease;
}
.chain-grid a:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.chain-grid a:hover::before {
  opacity: 0.16;
}
.chain-grid a > * {
  position: relative;
}
.chain-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.chain-name small {
  color: var(--mute);
  font-size: 12.5px;
  font-weight: 400;
  font-family: var(--font-mono);
}
.chain-group + .chain-group {
  margin-top: 56px;
}
.chain-group h2 {
  margin-bottom: 20px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.dots {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-2);
}
.dots i.on {
  background: var(--up);
}

/* feature matrix */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-2);
}
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 th:first-child,
.matrix td:first-child {
  padding-left: 18px;
}
.matrix th:last-child,
.matrix td:last-child {
  padding-right: 18px;
}
.matrix td {
  text-align: center;
  white-space: nowrap;
}
.matrix thead th:not(:first-child) {
  text-align: center;
}
.matrix tbody tr {
  transition: background-color 150ms ease;
}
.matrix tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}
.matrix tbody th a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.matrix tbody th a:hover {
  color: var(--ice);
}
.matrix .coin {
  width: 22px;
  height: 22px;
  font-size: 11px;
}
.yes,
.no {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.yes {
  --icon: url('/img/ic-check.svg');
  background: var(--up);
}
.no {
  --icon: url('/img/ic-dash.svg');
  background: var(--faint);
}
@media (max-width: 560px) {
  .matrix {
    font-size: 13px;
  }
  .matrix th,
  .matrix td {
    padding-right: 6px;
  }
  .matrix th:first-child,
  .matrix td:first-child {
    padding-left: 12px;
  }
  .matrix th:last-child,
  .matrix td:last-child {
    padding-right: 12px;
  }
  .matrix .coin {
    display: none;
  }
  .matrix thead th {
    font-size: 11.5px;
  }
}

/* ---------------------------------------------------------------- split / 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: 15px;
  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;
}
.checks.minus li::before {
  background: var(--warn);
  -webkit-mask-image: url('/img/ic-dash.svg');
  mask-image: url('/img/ic-dash.svg');
}
.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 {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.layers::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 30px;
  bottom: 30px;
  width: 1px;
  background: linear-gradient(180deg, var(--line-2), var(--ice));
}
.layer {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-2);
  transition: transform 500ms var(--ease), border-color 300ms ease;
}
@media (min-width: 560px) {
  .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 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mute);
}
.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.13), transparent 70%),
    var(--bg-2);
}
.layer-core .layer-n {
  border-color: var(--ice);
  color: var(--ice);
  box-shadow: 0 0 0 5px rgba(124, 196, 255, 0.1);
}

/* ---------------------------------------------------------------- fees */
.fee-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 760px) {
  .fee-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.fee-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 300ms ease, transform 500ms var(--ease), opacity 700ms ease;
}
.fee-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.fee-value {
  font-size: clamp(48px, 6vw, 60px);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.fee-name {
  margin-top: 12px;
  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.15), transparent 70%),
    var(--bg-2);
}
.fee-accent .fee-value {
  color: var(--ice);
}

/* ---------------------------------------------------------------- framed real-app crops */
.frame {
  position: relative;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.95);
}
.frame img {
  width: 100%;
  border-radius: 14px;
}
.frame-glow::before {
  content: '';
  position: absolute;
  inset: 10% 5% -6%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(124, 196, 255, 0.22), rgba(139, 124, 255, 0.1) 45%, transparent 70%);
  filter: blur(40px);
}
.frame-fade {
  -webkit-mask: linear-gradient(180deg, #000 70%, transparent);
  mask: linear-gradient(180deg, #000 70%, transparent);
}
.frame-narrow {
  max-width: 420px;
  margin: 0 auto;
}
figure {
  margin: 0;
}
figcaption {
  margin-top: 14px;
  color: var(--faint);
  font-size: 13px;
  text-align: center;
}

/* ---------------------------------------------------------------- feature rows (subpages) */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .feature-row {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 80px;
  }
  .feature-row.flip > :first-child {
    order: 2;
  }
}
.feature-text > p {
  margin-top: 18px;
  color: var(--text2);
  font-size: 17.5px;
}
.feature-text .checks {
  margin-bottom: 0;
}
.feature-visual {
  position: relative;
  isolation: isolate;
}

/* ---------------------------------------------------------------- subpage hero */
.page-hero {
  position: relative;
  padding: 56px 0 24px;
  text-align: center;
}
@media (min-width: 900px) {
  .page-hero {
    padding-top: 84px;
  }
}
.page-hero .wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-hero h1 {
  max-width: 900px;
  font-size: clamp(40px, 6.6vw, 78px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 630;
}
.page-hero .lead {
  max-width: 640px;
  margin-top: 22px;
}
.page-hero .actions {
  justify-content: center;
  margin-top: 32px;
}
.page-hero .coin-lg {
  margin-bottom: 30px;
}

/* capability tiles on chain pages */
.caps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 560px) {
  .caps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .caps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.cap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-2);
  overflow: hidden;
  isolation: isolate;
}
.cap .mini-icon {
  margin-bottom: 14px;
}
.cap h3 {
  font-size: 17px;
}
.cap p {
  color: var(--mute);
  font-size: 14.5px;
}
.cap .state {
  position: absolute;
  top: 24px;
  right: 22px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}
.cap-on .state {
  color: var(--up);
  background: rgba(61, 220, 151, 0.1);
  border: 1px solid rgba(61, 220, 151, 0.25);
}
.cap-off {
  background: transparent;
}
.cap-off .mini-icon {
  filter: grayscale(1);
  opacity: 0.5;
}
.cap-off .state {
  color: var(--mute);
  border: 1px solid var(--line-2);
}

/* ---------------------------------------------------------------- prose */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 {
  margin-top: 72px;
  font-size: clamp(28px, 4vw, 40px);
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin-top: 36px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.prose p,
.prose ul,
.prose ol {
  margin-top: 14px;
  color: var(--text2);
}
.prose ul,
.prose ol {
  padding-left: 22px;
}
.prose li + li {
  margin-top: 6px;
}
.prose pre {
  margin-top: 16px;
}
.prose .checks {
  padding-left: 0;
}
.note {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--ice);
  border-radius: 14px;
  background: var(--bg-2);
  color: var(--text2);
  font-size: 15px;
}
.note-warn {
  border-left-color: var(--warn);
}
.note b {
  color: var(--text);
  font-weight: 560;
}

/* ---------------------------------------------------------------- download */
.download-panel {
  position: relative;
  padding: 64px 20px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--bg-2);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 640px) {
  .download-panel {
    padding: 72px 32px;
  }
}
.download-panel > .aurora {
  z-index: -1;
}
.dl-sub {
  margin-top: 14px;
  color: var(--mute);
}
.os-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  max-width: 780px;
  margin: 40px auto 24px;
}
@media (min-width: 640px) {
  .os-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.os-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 16px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: rgba(7, 8, 10, 0.6);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 200ms ease, transform 400ms 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: linear-gradient(180deg, #ffffff, #e4ebf3);
  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;
}
.files td,
.files th {
  padding-left: 0;
}
.files td:last-child {
  color: var(--mute);
}
.files a {
  font-family: var(--font-mono);
  font-size: 13px;
  overflow-wrap: anywhere;
}

/* ---------------------------------------------------------------- FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq + .faq {
  margin-top: 64px;
}
.faq > h2 {
  margin-bottom: 14px;
  color: var(--mute);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-of-type {
  border-top: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  font-size: 17px;
  font-weight: 500;
  transition: color 150ms ease;
}
.faq summary:hover {
  color: var(--ice);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background:
    linear-gradient(var(--mute), var(--mute)) center / 9px 1.5px no-repeat,
    linear-gradient(var(--mute), var(--mute)) center / 1.5px 9px no-repeat;
  transition: transform 400ms var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(135deg);
}
.faq .answer {
  padding: 0 4px 22px;
  color: var(--text2);
  font-size: 15.5px;
  animation: drop 400ms var(--ease);
}
.faq .answer p + p,
.faq .answer p + pre,
.faq .answer pre + p {
  margin-top: 12px;
}
pre {
  margin: 0;
  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: var(--radius);
  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) {
  .donate {
    padding: 8px 20px;
  }
  .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 {
  position: relative;
  padding: 72px 0 32px;
  color: var(--mute);
  font-size: 14px;
  overflow: hidden;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 24px;
}
@media (min-width: 860px) {
  .footer-cols {
    grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  }
}
.footer-brand {
  grid-column: 1 / -1;
}
@media (min-width: 860px) {
  .footer-brand {
    grid-column: auto;
  }
}
.footer-brand p {
  max-width: 30ch;
  margin-top: 14px;
}
.footer-cols h2 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 560;
}
.footer-cols ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-cols li + li {
  margin-top: 8px;
}
.site-footer a {
  color: var(--mute);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--text);
}
.footer-word {
  margin: 56px 0 24px;
  font-size: clamp(96px, 25vw, 320px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.8;
  text-align: center;
  background: linear-gradient(180deg, #1d232b 0%, rgba(7, 8, 10, 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 {
  position: relative;
  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 {
  justify-content: center;
}

/* ---------------------------------------------------------------- scroll reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition: opacity 900ms ease, transform 1000ms var(--ease), filter 900ms ease;
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
  filter: none;
}
.js .card-mini[data-reveal].in:hover,
.js .fee-card[data-reveal].in:hover {
  transform: translateY(-4px);
}
.js .chain-grid li[data-reveal] {
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 1ms !important;
  }
  .showcase-frame,
  .chip {
    transform: none;
  }
  .rail {
    -webkit-mask: none;
    mask: none;
  }
  .rail-track {
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
  .rail-track [aria-hidden='true'] {
    display: none;
  }
}

/* ---------------------------------------------------------------- small additions */
.feature-visual > * + * {
  margin-top: 20px;
}
.files td,
.files thead th {
  text-align: left !important;
  white-space: normal;
}
.files th[scope='row'] {
  white-space: normal;
}
.checks b {
  color: var(--text);
  font-weight: 560;
}
@media (max-width: 639px) {
  .section {
    padding: 80px 0;
  }
  .section-tight {
    padding-top: 32px;
  }
  .os-cards {
    margin-top: 32px;
  }
  .os-card {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 0;
    align-items: center;
    justify-items: start;
    padding: 16px 20px;
    text-align: left;
  }
  .os-card .os-icon {
    grid-row: span 2;
    margin: 0;
    width: 26px;
    height: 26px;
  }
  .os-card[data-current='true']::after {
    grid-column: 2;
    margin-top: 2px;
  }
}
.hero-lead,
.page-hero .lead {
  text-wrap: balance;
}
/* receipt: the fee example as readable text, any width */
.receipt {
  padding: 8px 24px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(124, 196, 255, 0.1), transparent 70%),
    var(--bg-2);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.receipt dl {
  margin: 0;
}
.receipt dl > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.receipt dt {
  color: var(--mute);
}
.receipt dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
}
.receipt dd small {
  display: block;
  color: var(--faint);
  font-size: 13px;
  font-weight: 400;
}
.receipt .hl dt,
.receipt .hl dd {
  color: var(--ice);
}
.dl-files {
  margin-top: 64px;
}
@media (max-width: 639px) {
  .hide-sm {
    display: none;
  }
  .cap {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 4px;
    align-items: start;
    padding: 20px 20px 20px;
  }
  .cap .mini-icon {
    grid-row: span 2;
    margin: 0;
  }
  .cap h3 {
    padding-right: 52px;
    line-height: 1.35;
  }
  .cap .state {
    top: 18px;
    right: 18px;
  }
}
/* Decorative light never widens the page: clip it sideways at the section edge (vertical bleed is kept). */
.hero,
.page-hero,
.notfound,
.site-footer {
  overflow-x: clip;
}
.prose .table-wrap {
  margin-top: 22px;
}
.table-wrap + p {
  margin-top: 18px;
}
