/* BrainStocks: site styles. Dark only, one accent gradient (green to amber), Inter. */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-var-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains-mono.woff2') format('woff2');
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --bg: #000;
  --bg-1: #070707;
  --bg-2: #0e0e0e;
  --card: #0b0b0b;
  --card-2: #121212;
  --line: #1e1e1e;
  --line-2: #2a2a2a;
  --line-3: #3a3a3a;
  --ink: #fff;
  --ink-2: #d6d6d6;
  --muted: #a1a1a1;
  --dim: #6f6f6f;
  --g1: #56dd8f;
  --g2: #d8d55c;
  --g3: #f29b3e;
  --up: #56dd8f;
  --down: #f2685a;
  --warn: #f2c14e;
  --grad: linear-gradient(90deg, var(--g1) 0%, var(--g2) 55%, var(--g3) 100%);
  --grad-soft: linear-gradient(90deg, rgba(86, 221, 143, .9), rgba(216, 213, 92, .9) 55%, rgba(242, 155, 62, .9));
  --r: 12px;
  --r-lg: 18px;
  --wrap: 1240px;
  --hdr: 64px;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
code, pre, .mono { font-family: var(--mono); }
::selection { background: rgba(86, 221, 143, .35); }
:focus-visible { outline: 2px solid var(--g1); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.up { color: var(--up); }
.down { color: var(--down); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 8px; font-weight: 500; font-size: 16px;
  transition: background .2s, color .2s, border-color .2s, transform .2s, opacity .2s;
  white-space: nowrap;
}
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: #e9e9e9; }
.btn-dark { background: #050505; color: #fff; border: 1px solid var(--line-2); }
.btn-dark:hover { border-color: var(--line-3); background: #111; }
.btn-grad { background: var(--grad); color: #000; font-weight: 600; }
.btn-grad:hover { filter: brightness(1.06); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 999px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-off { opacity: .45; pointer-events: none; }
.pill-grad {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff;
  background: #000; isolation: isolate;
}
.pill-grad::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px;
  background: var(--grad); z-index: -1;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.pill-grad:hover { background: #0d0d0d; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.link-arrow::after { content: '\203A'; font-size: 1.25em; line-height: 1; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ------------------------------------------------------------------ promo bar */
.promo {
  position: relative; z-index: 60; display: flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 6px 44px; background: var(--grad); color: #072012; font-size: 14px; font-weight: 500; text-align: center;
}
.promo a:hover { text-decoration: underline; }
.promo-x { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; display: grid; place-items: center; color: #072012; }
.promo-x svg { width: 14px; height: 14px; }
.promo[hidden] { display: none; }

/* ------------------------------------------------------------------ header */
.hdr {
  position: sticky; top: 0; z-index: 50; height: var(--hdr);
  background: rgba(0, 0, 0, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 24px; max-width: 1360px; }
.logo { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.logo img { width: 30px; height: 30px; }
.logo-word { font-weight: 800; font-size: 19px; letter-spacing: .01em; display: inline-flex; align-items: center; gap: 5px; }
.logo-tag {
  display: inline-grid; place-items: center; height: 19px; padding: 0 6px; border-radius: 5px;
  background: var(--grad); color: #000; font-size: 12px; font-weight: 800; letter-spacing: .04em;
}
.nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: 8px;
  font-size: 14.5px; color: var(--ink-2); transition: color .2s;
}
.nav-link:hover, .nav-item:focus-within .nav-link, .nav-link[aria-current='page'] { color: #fff; }
.nav-link .chev { width: 10px; height: 10px; opacity: .7; transition: transform .2s; }
.nav-item:hover .chev { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, 6px);
  min-width: 340px; padding: 10px; border-radius: 14px; background: #0c0c0c; border: 1px solid var(--line-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
  display: grid; gap: 2px;
}
.mega.cols-2 { grid-template-columns: 1fr 1fr; min-width: 620px; }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-h { grid-column: 1 / -1; padding: 8px 12px 4px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.mega a { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 10px 12px; border-radius: 10px; transition: background .15s; }
.mega a:hover { background: #161616; }
.mega .mi { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #141414; border: 1px solid var(--line-2); }
.mega .mi svg { width: 18px; height: 18px; }
.mega b { display: block; font-weight: 600; font-size: 14.5px; }
.mega span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.hdr-act { display: flex; align-items: center; gap: 12px; flex: none; }
.hdr-act .btn-white { height: 36px; padding: 0 18px; font-size: 14px; border-radius: 999px; font-weight: 600; }
.burger { display: none; width: 40px; height: 40px; place-items: center; border-radius: 8px; }
.burger svg { width: 22px; height: 22px; }
.drawer {
  position: fixed; inset: var(--hdr) 0 0; z-index: 49; background: #000; overflow-y: auto; padding: 12px 20px 40px;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.drawer.is-open { transform: none; opacity: 1; visibility: visible; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font-size: 17px; font-weight: 500; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: '+'; color: var(--muted); font-size: 22px; font-weight: 300; }
.drawer details[open] summary::after { content: '\2212'; }
.drawer details a, .drawer > a { display: block; padding: 10px 8px; color: var(--ink-2); }
.drawer > a { padding: 16px 4px; font-size: 17px; font-weight: 500; color: #fff; border-bottom: 1px solid var(--line); }
.drawer .drawer-cta { display: grid; gap: 10px; margin-top: 24px; }

/* wallet chip in the header */
.wallet-chip { display: none; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: #111; border: 1px solid var(--line-2); font-size: 13.5px; font-family: var(--mono); }
.wallet-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--g1); box-shadow: 0 0 10px var(--g1); }
.is-connected .wallet-chip { display: inline-flex; }
.is-connected [data-connect] { display: none; }

/* ------------------------------------------------------------------ side dock */
.dock {
  position: fixed; right: 20px; top: 55%; z-index: 40; display: grid; gap: 4px; padding: 6px;
  border-radius: 14px; background: rgba(18, 18, 18, .9); border: 1px solid var(--line-2); backdrop-filter: blur(10px);
}
.dock a, .dock button { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--ink-2); position: relative; }
.dock a:hover, .dock button:hover { background: #1f1f1f; color: #fff; }
.dock svg { width: 17px; height: 17px; }
.dock [data-tip]:hover::after {
  content: attr(data-tip); position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  background: #fff; color: #000; font-size: 12.5px; font-weight: 500; padding: 5px 9px; border-radius: 6px; white-space: nowrap;
}

/* ------------------------------------------------------------------ particle spheres */
.orb { position: absolute; pointer-events: none; }
.orb canvas { width: 100%; height: 100%; }
.orb-label { position: absolute; z-index: 3; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.06; font-weight: 400; letter-spacing: -.02em; color: #fff; pointer-events: none; text-align: center; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding-bottom: 40px; }
.hero-stage { position: relative; height: min(1000px, calc(100vh - 36px)); min-height: 720px; }
.hero .orb-a { width: 860px; height: 860px; left: -380px; top: 170px; }
.hero .orb-b { width: 860px; height: 860px; right: -320px; top: -330px; }
.hero .label-a { left: clamp(24px, 9vw, 130px); top: 520px; text-align: left; }
.hero .label-b { right: clamp(24px, 4vw, 80px); top: 90px; }
.hero-card {
  position: relative; z-index: 2; margin: 0 auto; top: 190px; max-width: 760px; padding: 40px 48px 48px; text-align: center;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .9) 40%, rgba(0, 0, 0, .55) 80%, transparent 100%);
  border-radius: 24px;
}
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: 999px;
  font-size: 13.5px; color: #fff; isolation: isolate; background: #000;
}
.chip::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); z-index: -1;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--g1); box-shadow: 0 0 8px var(--g1); animation: pulse 2s infinite; }
.chip b { font-weight: 600; font-variant-numeric: tabular-nums; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 { margin-top: 22px; font-size: clamp(44px, 6.4vw, 84px); line-height: 1.05; font-weight: 500; letter-spacing: -.03em; }
.hero h1 span { display: block; }
.hero-sub { margin: 22px auto 0; max-width: 560px; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); line-height: 1.5; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.feat3 { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -40px; }
.card {
  background: linear-gradient(180deg, #0e0e0e, #070707); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.feat3 .card { padding: 34px 30px 36px; min-height: 220px; }
.feat3 h3 { font-size: 24px; font-weight: 500; letter-spacing: -.01em; }
.feat3 p { margin-top: 18px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* ------------------------------------------------------------------ banner carousel */
.section { padding: 100px 0; position: relative; }
.section-sm { padding: 64px 0; }
.banner { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #050505; }
.slides { display: grid; }
.slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; min-height: 300px; padding: 44px 76px;
  opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s;
}
.slide.is-on { opacity: 1; visibility: visible; }
.slide-1 { background: radial-gradient(90% 140% at 82% 50%, rgba(86, 221, 143, .28), transparent 60%), linear-gradient(90deg, #04140c, #06231a 60%, #0b3324); }
.slide-2 { background: radial-gradient(80% 140% at 85% 50%, rgba(216, 213, 92, .2), transparent 60%), linear-gradient(90deg, #0b0b05, #19190a); }
.slide-3 { background: radial-gradient(80% 140% at 85% 50%, rgba(242, 155, 62, .22), transparent 60%), linear-gradient(90deg, #120a03, #24140a); }
.slide .tagline {
  display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: #dff7e7; border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .25);
}
.slide h3 { margin-top: 14px; font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.slide p { margin-top: 10px; color: var(--ink-2); max-width: 520px; }
.slide .btn { margin-top: 24px; height: 42px; }
.slide-art { position: relative; height: 230px; }
.coin {
  position: absolute; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .5), rgba(255, 255, 255, .06) 45%, rgba(0, 0, 0, .2) 70%),
    linear-gradient(145deg, rgba(160, 255, 200, .55), rgba(20, 90, 60, .7));
  box-shadow: inset 0 0 0 5px rgba(190, 255, 220, .35), inset 0 -12px 24px rgba(0, 0, 0, .45), 0 18px 40px rgba(0, 0, 0, .5), 0 0 60px rgba(86, 221, 143, .25);
  animation: floaty 6s ease-in-out infinite;
}
.coin img { width: 58%; height: 58%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); }
.coin:nth-child(1) { left: 6%; top: 52px; }
.coin:nth-child(2) { left: 37%; top: 10px; width: 150px; height: 150px; animation-delay: -2s; }
.coin:nth-child(3) { left: 70%; top: 60px; animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-14px) rotate(-4deg); } }
.big-word { font-size: clamp(56px, 8vw, 120px); font-weight: 700; letter-spacing: -.04em; line-height: .9; text-align: right; opacity: .95; }
.banner-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: rgba(255, 255, 255, .7); z-index: 2; }
.banner-nav:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.banner-nav.prev { left: 16px; }
.banner-nav.next { right: 16px; }
.banner-nav svg { width: 18px; height: 18px; }
.dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.dots button { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .35); transition: width .3s, background .3s; }
.dots button.is-on { width: 24px; background: #fff; }

/* ------------------------------------------------------------------ API section */
.api { display: grid; grid-template-columns: 400px 1fr; gap: 56px; align-items: center; }
.api h2, .h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.12; font-weight: 500; letter-spacing: -.025em; }
.api-copy p { margin-top: 22px; color: var(--muted); }
.api-copy .btn { margin-top: 34px; }
.api-panel {
  display: grid; grid-template-columns: 186px minmax(0, 1fr) 232px; height: 470px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-2); background: #0a0a0a;
}
.api-list { position: relative; overflow: hidden; border-right: 1px solid var(--line); padding: 0 12px; }
.api-list::before, .api-list::after { content: ''; position: absolute; left: 0; right: 0; height: 60px; z-index: 2; pointer-events: none; }
.api-list::before { top: 0; background: linear-gradient(#0a0a0a, transparent); }
.api-list::after { bottom: 0; background: linear-gradient(transparent, #0a0a0a); }
.api-track { display: grid; gap: 10px; padding: 12px 0; animation: scrollY 40s linear infinite; }
.api-list:hover .api-track { animation-play-state: paused; }
@keyframes scrollY { to { transform: translateY(-50%); } }
.mcard { display: grid; grid-template-columns: 30px 1fr; gap: 9px; align-items: center; padding: 10px; border-radius: 10px; background: #111; border: 1px solid var(--line); text-align: left; width: 100%; }
.mcard:hover { border-color: var(--line-3); }
.mcard.is-on { border-color: rgba(86, 221, 143, .6); background: #0d1a12; }
.mcard img { width: 30px; height: 30px; border-radius: 8px; background: #fff; }
.mcard small { display: block; font-size: 10.5px; color: var(--dim); line-height: 1.2; }
.mcard b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard em { grid-column: 1 / -1; justify-self: start; font-style: normal; font-size: 10.5px; padding: 2px 7px; border-radius: 5px; background: #1b1b1b; color: var(--muted); }
.mcard.is-on em { background: rgba(86, 221, 143, .15); color: var(--g1); }
.api-code { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line); }
.tabs-row { display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tab { height: 30px; padding: 0 12px; border-radius: 7px; font-size: 13px; color: var(--muted); }
.tab.is-on { background: #1a1a1a; color: #fff; }
.tabs-row .spacer { flex: 1; }
.tabs-row .key { height: 30px; padding: 0 12px; border-radius: 7px; font-size: 12.5px; border: 1px solid var(--line-2); color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.code {
  flex: 1; margin: 0; padding: 16px 18px; overflow: auto; font-size: 12.5px; line-height: 1.7; color: #cfcfcf; white-space: pre;
  scrollbar-width: thin;
}
.code .s { color: #b6e3a1; }
.code .hl { background: rgba(86, 221, 143, .14); color: #d6ffe4; border-radius: 3px; }
.code .k { color: #f2a65a; }
.code .c { color: #6b6b6b; }
.api-out { display: flex; flex-direction: column; min-width: 0; padding: 12px; gap: 10px; }
.out-card { flex: 1; border-radius: 12px; overflow: hidden; position: relative; border: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, #10241a, #070707 65%); padding: 16px; display: flex; flex-direction: column; }
.out-card .o-head { display: flex; align-items: center; gap: 10px; }
.out-card .o-head img { width: 36px; height: 36px; border-radius: 9px; background: #fff; }
.out-card .o-head b { display: block; font-size: 15px; }
.out-card .o-head small { color: var(--muted); font-size: 12px; }
.out-price { margin-top: 18px; font-size: 30px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.out-read { margin-top: 6px; display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; background: rgba(86, 221, 143, .14); color: var(--g1); }
.read-falling, .read-split { background: rgba(242, 104, 90, .14) !important; color: var(--down) !important; }
.read-thin, .read-offline { background: rgba(242, 193, 78, .14) !important; color: var(--warn) !important; }
.out-grid { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; padding-top: 16px; }
.out-grid div { font-size: 11.5px; color: var(--dim); }
.out-grid b { display: block; color: #fff; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.out-why { font-size: 12px; color: var(--muted); line-height: 1.45; padding: 10px 12px; border-radius: 10px; background: #111; border: 1px solid var(--line); }
.skeleton { color: transparent !important; background: linear-gradient(90deg, #151515, #222, #151515) !important; background-size: 200% 100% !important; animation: shimmer 1.4s infinite; border-radius: 6px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ------------------------------------------------------------------ architecture */
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: #121212; border: 1px solid var(--line-2); }
.seg button { height: 38px; padding: 0 22px; border-radius: 999px; font-size: 14.5px; color: var(--muted); transition: background .2s, color .2s; }
.seg button.is-on { background: var(--grad); color: #000; font-weight: 600; }
.arch-head { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; margin-top: 56px; }
.arch-head h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.08; font-weight: 500; letter-spacing: -.03em; }
.arch-head p { color: var(--muted); font-size: 17px; line-height: 1.65; padding-top: 10px; }
.arch-pane { margin-top: 64px; }
.arch-pane[hidden] { display: none; }
.layers { display: grid; gap: 12px; padding: 14px; border-radius: 18px; background: #070707; border: 1px solid var(--line); }
.layer { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 12px; border-radius: 14px; background: #0c0c0c; border: 1px solid var(--line); align-items: stretch; }
.layer-name { display: flex; align-items: center; padding-left: 14px; font-size: 18px; font-weight: 500; }
.layer-row { display: grid; gap: 12px; }
.blk { border-radius: 12px; background: #131313; border: 1px solid var(--line-2); padding: 14px; text-align: center; }
.blk h4 { font-size: 15.5px; font-weight: 500; }
.blk p { font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.chips span { font-size: 12px; color: var(--ink-2); padding: 7px 12px; border-radius: 8px; background: #0b0b0b; border: 1px solid var(--line); flex: 1 1 auto; min-width: 90px; }
.logos-row { display: flex; justify-content: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.logos-row figure { margin: 0; display: grid; justify-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.logos-row img { width: 34px; height: 34px; border-radius: 9px; background: #fff; }
.foot-note { margin-top: 14px; text-align: center; font-size: 12px; color: var(--dim); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { padding: 22px; border-radius: 14px; background: #0c0c0c; border: 1px solid var(--line); }
.stat small { display: block; font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.stat b { display: block; margin-top: 10px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; font-size: 13px; color: var(--dim); }

/* ------------------------------------------------------------------ split sections with a sphere */
.split { position: relative; overflow: hidden; }
.split .wrap { position: relative; z-index: 2; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; min-height: 900px; align-items: center; }
.split .orb { width: 1000px; height: 1000px; }
.split-right .orb { right: -430px; top: -40px; }
.split-left .orb { left: -470px; top: 60px; }
.split .orb-label { top: 380px; }
.split-right .orb-label { right: clamp(24px, 6vw, 110px); }
.split-left .orb-label { left: clamp(24px, 4vw, 70px); top: 520px; text-align: left; }
.split-copy .eyebrow { display: block; margin-bottom: 18px; }
.split-copy h2 { font-size: clamp(34px, 3.9vw, 54px); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; }
.split-copy > p { margin-top: 22px; color: var(--muted); font-size: 16.5px; line-height: 1.65; max-width: 600px; }
.acc { margin-top: 36px; border-top: 1px solid var(--line-2); }
.acc-item { border-bottom: 1px solid var(--line-2); }
.acc-item button { width: 100%; display: grid; grid-template-columns: 200px 1fr 18px; gap: 24px; align-items: center; padding: 26px 0; text-align: left; }
.acc-item button > b { font-weight: 500; font-size: 16.5px; }
.acc-item button > span { color: var(--muted); font-size: 15px; line-height: 1.6; }
.acc-item button > i { width: 18px; height: 18px; color: var(--muted); transition: transform .25s; }
.acc-item.is-open button > i { transform: rotate(90deg); color: #fff; }
.acc-item .acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.acc-item.is-open .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; }
.acc-body .inner { padding: 0 0 24px 224px; color: var(--ink-2); font-size: 14.5px; }
.acc-body .inner a { color: var(--g1); }
.acc-item:not(.is-open) button > span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.split-left .split-grid > :first-child { grid-column: 2; }

/* ------------------------------------------------------------------ pricing carousel */
.center { text-align: center; }
.price-head h2 { margin-top: 12px; }
.rail-wrap { position: relative; margin-top: 44px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; }
.rail::-webkit-scrollbar { display: none; }
.pcard { scroll-snap-align: start; display: flex; flex-direction: column; padding: 18px; border-radius: 14px; background: #0c0c0c; border: 1px solid var(--line); min-height: 380px; }
.pcard h3 { font-size: 17px; font-weight: 600; line-height: 1.3; }
.pcard p { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.pcard .ptile { margin: 16px 0; height: 140px; border-radius: 10px; display: grid; place-items: center; position: relative; overflow: hidden; background: radial-gradient(70% 90% at 50% 100%, rgba(86, 221, 143, .25), transparent 70%), linear-gradient(#0f2a35, #0a1820); }
.pcard .ptile img { width: 74px; height: 74px; border-radius: 18px; background: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .15); position: relative; z-index: 1; }
.pcard .ptile::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: 18px; height: 24px; background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); }
.pcard dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; margin: 0 0 16px; font-size: 13px; }
.pcard dt { color: var(--dim); }
.pcard dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; color: #fff; }
.pcard .btn { margin-top: auto; height: 38px; font-size: 14px; background: #050505; border: 1px solid var(--line-3); color: #fff; }
.pcard .btn:hover { background: var(--grad); color: #000; border-color: transparent; }
.rail-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: #000; border: 1px solid var(--line-3); display: grid; place-items: center; z-index: 2; }
.rail-btn svg { width: 16px; height: 16px; }
.rail-btn.prev { left: -19px; }
.rail-btn.next { right: -19px; }
.terms-note { margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--muted); }
.terms-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ experience */
.exp h2 { text-align: center; }
.exp-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.exp-card { padding: 30px 26px 26px; display: flex; flex-direction: column; }
.exp-card .eyebrow { font-size: 12px; color: var(--ink-2); }
.exp-card h3 { margin-top: 16px; font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.exp-card p { margin-top: 20px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.exp-art { margin-top: 24px; border-radius: 12px; overflow: hidden; background: #071410; border: 1px solid #10241c; aspect-ratio: 16 / 10; }
.exp-art svg { width: 100%; height: 100%; }
.partner { margin-top: 24px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 56px 64px; border-radius: 22px; background: linear-gradient(180deg, #0f0f0f, #080808); border: 1px solid var(--line); }
.partner h3 { font-size: clamp(28px, 2.8vw, 38px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.partner p { margin-top: 20px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.badge-box { justify-self: center; display: grid; grid-template-columns: auto 1px auto; align-items: center; gap: 20px; padding: 24px 30px; background: #fff; color: #000; border-radius: 4px; }
.badge-box .bb-l { display: grid; justify-items: center; gap: 4px; }
.badge-box .bb-l svg { width: 64px; height: 44px; }
.badge-box .bb-l b { font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.badge-box hr { width: 1px; height: 70px; margin: 0; border: 0; background: #000; }
.badge-box .bb-r { font-size: 24px; font-weight: 500; line-height: 1.15; }

/* ------------------------------------------------------------------ cta */
.cta { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 64px; align-items: center; }
.cta .vr { height: 120px; background: var(--line-3); }
.cta h2 { font-size: clamp(32px, 3.5vw, 48px); font-weight: 500; line-height: 1.12; letter-spacing: -.025em; }
.cta .row { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.cta .links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 30px; font-size: 16px; }

/* ------------------------------------------------------------------ footer */
.ftr { padding: 72px 0 36px; border-top: 1px solid var(--line); margin-top: 40px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 32px; }
.ftr-about p { margin-top: 18px; font-size: 13px; color: var(--ink-2); line-height: 1.6; max-width: 300px; }
.ftr-about .live { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); font-family: var(--mono); }
.ftr-about .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--g1); box-shadow: 0 0 8px var(--g1); }
.ftr h5 { margin: 0 0 16px; font-size: 13.5px; font-weight: 600; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ftr li a { font-size: 13.5px; color: var(--muted); transition: color .15s; }
.ftr li a:hover { color: #fff; }
.ftr-col + .ftr-col h5.mt { margin-top: 28px; }
.ftr-bottom { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.socials { display: flex; gap: 18px; align-items: center; }
.socials a, .socials span { color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.socials svg { width: 16px; height: 16px; }
.legal { display: flex; gap: 16px; align-items: center; }
.legal a:hover { color: #fff; }
.soon { font-size: 11px; color: var(--dim); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 5px; }

/* ------------------------------------------------------------------ inner pages */
.page-hero { position: relative; overflow: hidden; padding: 120px 0 80px; border-bottom: 1px solid var(--line); }
.page-hero .orb { width: 760px; height: 760px; right: -260px; top: -260px; opacity: .85; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(40px, 5.2vw, 68px); font-weight: 500; letter-spacing: -.03em; line-height: 1.06; max-width: 820px; }
.page-hero p { margin-top: 22px; font-size: 18px; color: var(--ink-2); max-width: 640px; line-height: 1.6; }
.page-hero .hero-cta { justify-content: flex-start; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
.search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 10px; background: #0c0c0c; border: 1px solid var(--line-2); }
.search svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; font-size: 15px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-2); }
.filters button.is-on { background: #fff; color: #000; border-color: #fff; }
.filters button i { font-style: normal; color: var(--dim); margin-left: 4px; }
.filters button.is-on i { color: #555; }
.grid-brains { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.bcard { display: flex; flex-direction: column; padding: 18px; border-radius: 14px; background: #0b0b0b; border: 1px solid var(--line); transition: border-color .2s, transform .2s; text-align: left; }
.bcard:hover { border-color: var(--line-3); transform: translateY(-2px); }
.bcard-top { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; }
.bcard-top img { width: 40px; height: 40px; border-radius: 10px; background: #fff; }
.bcard-top small { display: block; font-size: 12px; color: var(--dim); }
.bcard-top b { display: block; font-size: 15.5px; font-weight: 600; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; background: rgba(86, 221, 143, .14); color: var(--g1); }
.bcard .price { margin-top: 18px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bcard .meta { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: 11.5px; color: var(--dim); border-top: 1px solid var(--line); padding-top: 14px; }
.bcard .meta b { display: block; font-size: 13.5px; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.bcard .why { margin-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 14px; }
.note { padding: 14px 16px; border-radius: 12px; background: #0d0d0d; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); line-height: 1.55; overflow-wrap: anywhere; }
.note.warn { border-color: rgba(242, 193, 78, .35); background: rgba(242, 193, 78, .06); }
.note.ok { border-color: rgba(86, 221, 143, .35); background: rgba(86, 221, 143, .06); }
.note.bad { border-color: rgba(242, 104, 90, .4); background: rgba(242, 104, 90, .07); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .72); backdrop-filter: blur(6px); }
.modal[hidden] { display: none; }
.modal-box { width: 100%; max-width: 760px; max-height: calc(100vh - 40px); overflow: auto; border-radius: 18px; background: #0b0b0b; border: 1px solid var(--line-2); padding: 28px; position: relative; }
.modal-x { position: absolute; right: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); }
.modal-x svg { width: 14px; height: 14px; }

/* tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12.5px; letter-spacing: .04em; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #090909; white-space: nowrap; }
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; }
.tbl .tk { display: flex; align-items: center; gap: 10px; }
.tbl .tk img { width: 26px; height: 26px; border-radius: 7px; background: #fff; }
.tbl a.addr { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.tbl a.addr:hover { color: #fff; }

/* console */
.console { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 40px 0 80px; }
.side-nav { position: sticky; top: calc(var(--hdr) + 20px); align-self: start; display: grid; gap: 4px; }
.side-nav button { white-space: nowrap; text-align: left; padding: 11px 14px; border-radius: 10px; color: var(--ink-2); font-size: 14.5px; display: flex; align-items: center; gap: 10px; }
.side-nav button svg { width: 17px; height: 17px; opacity: .8; }
.side-nav button:hover { background: #111; }
.side-nav button.is-on { background: #151515; color: #fff; box-shadow: inset 2px 0 0 var(--g1); }
.panel { border: 1px solid var(--line); border-radius: 16px; background: #090909; padding: 26px; }
.panel + .panel { margin-top: 18px; }
.panel h2 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.panel > p.lead { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.form { display: grid; gap: 16px; margin-top: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.field small { font-size: 12px; color: var(--dim); }
.inp { height: 44px; padding: 0 14px; border-radius: 10px; background: #0f0f0f; border: 1px solid var(--line-2); outline: 0; font-size: 15px; width: 100%; }
.inp:focus { border-color: rgba(86, 221, 143, .6); }
select.inp { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.legs { display: grid; gap: 8px; }
.leg { display: grid; grid-template-columns: 1fr 120px 36px; gap: 8px; align-items: center; }
.leg .x { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); }
.leg .x:hover { color: #fff; border-color: var(--line-3); }
.sum-row { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--muted); }
.sum-row b { color: #fff; font-variant-numeric: tabular-nums; }
.sum-row b.bad { color: var(--down); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.inst { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: #0c0c0c; }
.inst + .inst { margin-top: 10px; }
.inst h3 { font-size: 16.5px; font-weight: 600; }
.inst .stack { display: flex; margin-top: 10px; }
.inst .stack img { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid #0c0c0c; margin-left: -6px; }
.inst .stack img:first-child { margin-left: 0; }
.inst .st { display: grid; justify-items: end; gap: 6px; font-size: 13px; color: var(--muted); }
.inst .st b { font-size: 20px; color: #fff; font-variant-numeric: tabular-nums; }
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.status-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--g1); box-shadow: 0 0 8px var(--g1); }
.status-dot.off::before { background: var(--dim); box-shadow: none; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 90; max-width: min(560px, calc(100vw - 32px)); padding: 12px 16px; border-radius: 12px; background: #fff; color: #000; font-size: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.toast[hidden] { display: none; }
.toast a { text-decoration: underline; }

/* wallet picker */
.wl { display: grid; gap: 8px; margin-top: 18px; }
.wl button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #0f0f0f; text-align: left; font-weight: 500; }
.wl button:hover { border-color: var(--line-3); background: #141414; }
.wl img { width: 28px; height: 28px; border-radius: 7px; }

/* docs */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding: 48px 0 100px; }
.docs nav { position: sticky; top: calc(var(--hdr) + 24px); align-self: start; display: grid; gap: 2px; font-size: 14px; }
.docs nav a { padding: 7px 12px; border-radius: 8px; color: var(--muted); }
.docs nav a:hover { color: #fff; background: #111; }
.docs nav b { padding: 14px 12px 6px; font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .12em; font-weight: 500; }
.prose h2 { font-size: 30px; font-weight: 600; letter-spacing: -.02em; margin: 56px 0 14px; scroll-margin-top: calc(var(--hdr) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; font-weight: 600; margin: 32px 0 10px; scroll-margin-top: calc(var(--hdr) + 20px); }
.prose p, .prose li { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; margin: 10px 0; }
.prose a { color: var(--g1); }
.prose code { font-size: .88em; padding: 2px 6px; border-radius: 5px; background: #151515; border: 1px solid var(--line); }
.prose pre { margin: 14px 0; padding: 16px 18px; border-radius: 12px; background: #0b0b0b; border: 1px solid var(--line-2); overflow-x: auto; font-size: 13px; line-height: 1.65; color: #d4d4d4; }
.prose pre code { padding: 0; border: 0; background: none; font-size: inherit; }
.prose .tbl-wrap { margin: 14px 0; }
.method { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 5px; font-size: 11.5px; font-weight: 700; background: rgba(86, 221, 143, .15); color: var(--g1); font-family: var(--mono); margin-right: 8px; }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.rv.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hdr-act .pill-grad { display: none; }
  .hdr-act { margin-left: auto; }
  .api { grid-template-columns: 1fr; gap: 36px; }
  .rail { grid-auto-columns: calc((100% - 3 * 16px) / 3.4); }
  .ftr-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ftr-about { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero-stage { height: auto; min-height: 0; padding: 120px 0 80px; }
  .hero-card { top: 0; padding: 28px 8px 36px; }
  .hero .orb-a { width: 560px; height: 560px; left: -300px; top: auto; bottom: -160px; }
  .hero .orb-b { width: 560px; height: 560px; right: -260px; top: -260px; }
  .hero .label-a { top: auto; bottom: 30px; left: 20px; font-size: 26px; }
  .hero .label-b { top: 24px; right: 20px; font-size: 26px; }
  .feat3 { grid-template-columns: 1fr; margin-top: 0; }
  .slide { grid-template-columns: 1fr; padding: 36px 28px 56px; }
  .slide-art { height: 170px; margin-top: 20px; }
  .coin { width: 96px; height: 96px; }
  .coin:nth-child(2) { width: 110px; height: 110px; }
  .big-word { text-align: left; }
  .api-panel { grid-template-columns: 1fr; height: auto; }
  .api-list { height: 140px; border-right: 0; border-bottom: 1px solid var(--line); }
  .api-track { grid-auto-flow: column; grid-auto-columns: 170px; animation: scrollX 40s linear infinite; padding: 12px 0; }
  .api-list::before, .api-list::after { display: none; }
  @keyframes scrollX { to { transform: translateX(-50%); } }
  .api-code { border-right: 0; border-bottom: 1px solid var(--line); }
  .code { max-height: 300px; }
  .arch-head { grid-template-columns: 1fr; gap: 20px; }
  .layer { grid-template-columns: 1fr; }
  .layer-name { padding: 4px 4px 0; }
  .layer-row { grid-template-columns: 1fr !important; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .split-grid { grid-template-columns: 1fr; min-height: 0; padding: 380px 0 40px; }
  .split .orb { width: 640px; height: 640px; top: -120px; }
  .split-right .orb { right: -240px; }
  .split-left .orb { left: -260px; }
  .split .orb-label { top: 150px !important; }
  .split-left .split-grid > :first-child { grid-column: auto; }
  .acc-item button { grid-template-columns: 1fr 18px; }
  .acc-item button > span { display: none !important; }
  .acc-body .inner { padding: 0 0 22px; }
  .acc-body .inner .lead-copy { display: block; color: var(--muted); margin-bottom: 10px; }
  .exp-grid { grid-template-columns: 1fr; }
  .partner { grid-template-columns: 1fr; padding: 36px 28px; }
  .cta { grid-template-columns: 1fr; gap: 40px; }
  .cta .vr { display: none; }
  .console, .docs { grid-template-columns: minmax(0, 1fr); }
  .console > *, .docs > * { min-width: 0; }
  .side-nav { position: static; grid-auto-flow: column; overflow-x: auto; }
  .docs nav { position: static; grid-auto-flow: column; overflow-x: auto; }
  .docs nav b { display: none; }
  .two { grid-template-columns: 1fr; }
  .dock { display: none; }
}
@media (min-width: 961px) { .acc-body .inner .lead-copy { display: none; } }
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hdr-act .btn-white { padding: 0 14px; }
  .logo-word { font-size: 17px; }
  .rail { grid-auto-columns: 78%; }
  .rail-btn { display: none; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .badge-box { grid-template-columns: 1fr; text-align: center; }
  .badge-box hr { width: 70px; height: 1px; justify-self: center; }
  .leg { grid-template-columns: 1fr 90px 36px; }
  .page-hero { padding: 80px 0 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
@media (max-width: 960px) { .plans { grid-template-columns: 1fr !important; } .exp-grid[style*="repeat(4"] { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 640px) { .exp-grid[style*="repeat(4"] { grid-template-columns: 1fr !important; } }
@media (max-width: 480px) {
  .hdr-act .btn-white { display: none; }
  .hdr .wrap { gap: 12px; }
  .promo { font-size: 13px; padding: 6px 40px 6px 14px; }
}
