/* =====================================================================
   $SIS CTO · siscto.si
   Layout: full-bleed mission-control bands on a 1240px inner track;
   every grid fills its rows (no orphan columns, no dead space).
   Palette pulled from the $SIS logo: true black, brushed chrome, and the
   logo's blue and amber light streaks.
   Deliberately single-theme (night sky), so every color is set here.
   ===================================================================== */
:root {
  --void: #020203;
  --deep: #08090b;
  --panel: #0e0f12;
  --panel-2: #16181c;
  --line: rgba(214, 222, 235, .12);
  --line-2: rgba(214, 222, 235, .26);
  --ice: #f3f5f8;
  --mute: #b8bec8;
  --dim: #8a919c;
  --ion: #4fa3ff;
  --nebula: #cfd6e0;
  --rose: #ffb45e;
  --flare: #ff9a3c;
  --ok: #5fe3a6;
  --bad: #ff7a8f;
  --ink: #050506;
  --chrome: linear-gradient(180deg, #ffffff 0%, #e4e8ee 30%, #aab1bc 47%, #5d646f 51%, #c3c9d2 66%, #f6f8fa 100%);
  --chrome-x: linear-gradient(100deg, #ffffff 0%, #d9dee6 22%, #8e96a3 44%, #f2f4f7 58%, #a7afba 78%, #ffffff 100%);

  --f-display: "Michroma", "Eurostile", "Microgramma", "Arial Black", sans-serif;
  --f-body: "Exo 2", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --track: 1240px;
  --r: 16px;
  --sec: clamp(72px, 9vw, 128px);
  --hdr: 72px;
  --tick: 40px;
  --btn: #eef1f5;
  --btn-hi: #ffffff;
  --ctl: #191c21;
  --ctl-hi: #23272e;
  --ctl-line: #343943;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--void); }
body {
  margin: 0;
  background: var(--void);
  color: var(--ice);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol, dl, dd { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ion); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(79, 163, 255, .45); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ice); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--track) + 2 * clamp(16px, 4vw, 56px));
  margin-inline: auto;
  padding-left: max(clamp(16px, 4vw, 56px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 4vw, 56px), env(safe-area-inset-right, 0px));
}
.band { position: relative; padding-block: var(--sec); }
.band-alt {
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(79, 163, 255, .10), transparent 70%),
    radial-gradient(700px 380px at 0% 100%, rgba(79, 163, 255, .07), transparent 70%),
    linear-gradient(180deg, var(--deep), var(--void));
  border-block: 1px solid var(--line);
}
.stack { display: grid; gap: clamp(20px, 2.4vw, 28px); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ion);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; flex: none;
  background: var(--ion); box-shadow: 0 0 12px var(--ion);
  animation: blink 1.8s steps(2, jump-none) infinite;
}
.h1 {
  font-family: var(--f-display);
  font-size: clamp(29px, 5.3vw, 76px);
  line-height: 1.1; letter-spacing: .01em;
  text-wrap: balance;
  text-shadow: 0 0 40px rgba(79, 163, 255, .25);
}
.h1 .glow {
  background: var(--chrome);
  filter: drop-shadow(0 0 18px rgba(79, 163, 255, .35));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h2 {
  font-family: var(--f-display);
  font-size: clamp(23px, 2.9vw, 40px);
  line-height: 1.2; letter-spacing: .005em;
  text-wrap: balance;
}
.h3 { font-family: var(--f-body); font-weight: 700; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.3; letter-spacing: .01em; }
.lead { font-size: clamp(17px, 1.45vw, 20px); color: var(--mute); line-height: 1.7; text-wrap: pretty; }
.body-copy { color: var(--mute); text-wrap: pretty; }
.body-copy strong, .lead strong { color: var(--ice); font-weight: 600; }
.mono { font-family: var(--f-mono); }
.k {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--mute);
}
.up { color: var(--ok); }
.down { color: var(--bad); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ion); text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform .3s; }
.link-arrow:hover::after { transform: translateX(5px); }
.prose { display: grid; gap: 18px; color: var(--mute); font-size: 18px; }
.prose strong { color: var(--ice); }
.prose a { color: var(--ion); }

/* ---------- section heads ---------- */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec-head > div { display: grid; gap: 16px; align-content: end; }
.sec-head .side { display: grid; gap: 18px; }
@media (max-width: 900px) { .sec-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- header (full width) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.menu-open {
  background: rgba(5, 6, 8, .82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.hdr-in {
  height: var(--hdr);
  display: flex; align-items: center; gap: clamp(14px, 2vw, 32px);
  padding-left: max(clamp(16px, 3vw, 48px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 3vw, 48px), env(safe-area-inset-right, 0px));
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-2), 0 0 24px rgba(79, 163, 255, .35); }
.brand-txt { display: grid; line-height: 1.1; }
.brand-name { font-family: var(--f-display); font-size: 15px; letter-spacing: .06em; }
.brand-tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; color: var(--ion); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: clamp(4px, 1vw, 10px); margin-left: auto; }
.nav a {
  position: relative; text-decoration: none; padding: 10px 10px;
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mute); transition: color .25s; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 1px;
  background: linear-gradient(90deg, var(--ion), var(--nebula));
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ice); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; flex: none; cursor: pointer;
  border: 1px solid var(--ctl-line); border-radius: 12px; background: var(--ctl);
  color: var(--ice); text-decoration: none; transition: border-color .25s, background .25s, transform .25s;
}
.icon-btn:hover { border-color: var(--ion); background: var(--ctl-hi); }
.icon-btn svg, .icon-btn img { width: 18px; height: 18px; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--ctl-line); border-radius: 12px; background: var(--ctl); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ice); transition: transform .3s, top .3s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.menu-open .burger span:first-child { top: 20px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 20px; transform: rotate(-45deg); }

@media (max-width: 1240px) {
  .burger { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px max(clamp(16px, 3vw, 48px), env(safe-area-inset-left, 0px)) 20px;
    background: rgba(5, 6, 8, .97); border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--hdr) - var(--tick)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s, visibility 0s .3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s; }
  .nav a { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 13px; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--ion); }
}
@media (max-width: 560px) {
  .hdr-cta .icon-btn { display: none; }
  .brand-txt { display: none; }
  .hdr-cta .btn { padding-inline: 16px; }
}

/* ---------- buttons (solid, high contrast) ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  font-family: var(--f-body); font-size: 16px; font-weight: 700; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  color: var(--ice); background: var(--ctl);
  border: 1px solid var(--ctl-line); border-radius: 12px;
  transition: border-color .2s, background .2s, box-shadow .25s, transform .2s, color .2s;
}
.btn img { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { background: var(--ctl-hi); border-color: var(--ion); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { color: #050506; background: var(--btn); border-color: var(--btn); box-shadow: 0 10px 30px -12px rgba(79, 163, 255, .6); }
.btn-primary:hover { color: #050506; background: var(--btn-hi); border-color: var(--btn-hi); box-shadow: 0 14px 40px -12px rgba(79, 163, 255, .85), 0 0 0 3px rgba(79, 163, 255, .25); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- contract bar (address always on one line) ---------- */
.ca {
  container-type: inline-size; width: 100%; max-width: 100%;
  border: 1px solid var(--ctl-line); border-radius: 14px; background: #0b0c0f;
}
.ca-in {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k copy" "v v";
  align-items: center; gap: 10px 14px; padding: 12px 12px 14px 18px;
}
.ca .k { grid-area: k; color: var(--dim); }
.ca-v {
  grid-area: v; min-width: 0; display: block; white-space: nowrap; overflow: hidden;
  font-family: var(--f-mono); font-weight: 500; letter-spacing: 0; color: var(--ice);
  font-size: clamp(9.5px, calc((100cqi - 40px) / 26.8), 17px);
}
@container (min-width: 760px) {
  .ca-in { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "k v copy"; padding: 10px 10px 10px 20px; gap: 18px; }
  .ca-v { font-size: clamp(12px, calc((100cqi - 470px) / 26.8), 17px); }
}
.ca-copy {
  grid-area: copy; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; white-space: nowrap;
  min-height: 40px; padding: 8px 16px; border-radius: 10px; border: 1px solid var(--btn);
  background: var(--btn); color: #050506;
  font-family: var(--f-body); font-size: 15px; font-weight: 700;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.ca-copy:hover { background: var(--btn-hi); box-shadow: 0 0 0 3px rgba(79, 163, 255, .25); }
.ca-copy.ok { background: var(--ok); border-color: var(--ok); }
.fit { display: block; container-type: inline-size; width: 100%; min-width: 0; }
.fit-v { display: block; white-space: nowrap; overflow: hidden; font-family: var(--f-mono); font-weight: 500; letter-spacing: 0; color: var(--ice); font-size: clamp(9px, calc(100cqi / 26.8), 16px); }

/* ---------- live ticker bar (every page, under the header) ---------- */
.tickbar { display: flex; align-items: stretch; height: var(--tick); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #050506; }
.tick-live {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  padding-left: max(clamp(16px, 3vw, 48px), env(safe-area-inset-left, 0px)); padding-right: 16px;
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mute);
  border-right: 1px solid var(--line); background: #050506; position: relative; z-index: 1;
}
.tick-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--flare); flex: none; }
.tickbar.live .tick-live { color: var(--ice); }
.tickbar.live .tick-live .dot { background: var(--ok); animation: ping-ok 1.8s infinite; }
.tickbar .ticker { flex: 1; min-width: 0; border: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.tickbar .ticker span { padding: 0 22px; line-height: calc(var(--tick) - 2px); }
.tickbar .ticker span i { margin-right: 22px; color: var(--dim); }
.tickbar .ticker-track.flash b { animation: flash 1s ease-out; }
@keyframes flash { 0% { color: var(--ion); text-shadow: 0 0 12px var(--ion); } 100% { text-shadow: none; } }

/* ---------- live swap panel ---------- */
.swap-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center;
  margin-bottom: clamp(24px, 3vw, 40px); padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--line-2); border-radius: 22px;
  background: radial-gradient(520px 320px at 50% 50%, rgba(79, 163, 255, .14), transparent 70%), radial-gradient(400px 260px at 100% 0%, rgba(255, 169, 77, .08), transparent 70%), #08090b;
}
.swap-side { display: grid; gap: 16px; align-content: center; min-width: 0; }
.swap-steps { list-style: none; counter-reset: sw; display: grid; gap: 14px; }
.swap-steps li { counter-increment: sw; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; color: var(--mute); font-size: 15.5px; line-height: 1.55; }
.swap-steps li::before { content: counter(sw); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ctl); border: 1px solid var(--ctl-line); color: var(--ice); font-family: var(--f-mono); font-size: 13px; font-weight: 600; }
.swap-steps b { color: var(--ice); }
.swap-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-block: 4px; }
.swap-stats > div { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .02); min-width: 0; }
.swap-stats dd { font-family: var(--f-body); font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.swap-side .stat-v { font-size: clamp(18px, 1.7vw, 26px); white-space: nowrap; }
[data-f="price"] { white-space: nowrap; }
.swap-stage { display: grid; place-items: center; min-width: 0; }
.jup-frame {
  position: relative; width: 100%; max-width: 440px; min-height: 400px;
  display: grid; place-items: center;
  border-radius: 20px; border: 1px solid var(--ctl-line); background: #000;
  box-shadow: 0 30px 80px -30px rgba(79, 163, 255, .45), 0 0 0 1px rgba(255, 255, 255, .03) inset;
  overflow: hidden;
}
.jup-target { position: relative; z-index: 1; width: 100%; padding: 8px; }
.swap-card:not(.jup-on) .jup-target { position: absolute; inset: 0; padding: 0; }
.jup-fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 28px; text-align: center; }
.jup-fallback img { width: 64px; height: 64px; border-radius: 16px; }
.swap-card.jup-on .jup-fallback { display: none; }
@media (max-width: 1100px) {
  .swap-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .swap-stage { grid-column: 1 / -1; grid-row: 1; }
}
@media (max-width: 700px) {
  .swap-card { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .jup-frame { max-width: 100%; }
}

/* ---------- cards & tiles ---------- */
.card {
  position: relative; min-width: 0;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid var(--line); border-radius: var(--r);
  background:
    radial-gradient(460px circle at var(--mx, 50%) var(--my, -20%), rgba(79, 163, 255, .085), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, .038), rgba(255, 255, 255, .01));
  transition: border-color .35s, transform .35s;
}
.card:hover { border-color: var(--line-2); }
.card > * + * { margin-top: 10px; }
.stat-v {
  font-family: var(--f-display); font-size: clamp(21px, 2.3vw, 31px); line-height: 1.15;
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere; color: var(--ice);
}
.stat-v .unit { font-family: var(--f-mono); font-size: .45em; letter-spacing: .08em; color: var(--mute); margin-left: .35em; }
.sym { font-family: var(--f-body); font-weight: 600; letter-spacing: 0; }
.stat-s { font-size: 14.5px; color: var(--mute); line-height: 1.5; }
.stat-s b { font-weight: 600; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(12px, 1.6vw, 20px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3.keep-2 { }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .grid-3.pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .grid-4, .grid-3.pairs { grid-template-columns: minmax(0, 1fr); }
  .grid-4.keep-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) { .grid-4.keep-2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-top: calc(var(--hdr) + var(--tick) + env(safe-area-inset-top, 0px) + clamp(28px, 4vw, 56px)); }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.hero-inner { display: grid; justify-items: center; text-align: center; gap: clamp(18px, 2.2vw, 26px); padding-bottom: clamp(120px, 15vw, 200px); }
.sat { width: min(980px, 100%); margin-block: clamp(4px, 1vw, 12px); animation: float 8s ease-in-out infinite; }
.sat-rig { position: relative; width: 100%; aspect-ratio: 1192 / 372; }
.sat-rig img { position: absolute; top: 0; height: 100%; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.sat-rig .wing { filter: drop-shadow(0 0 28px rgba(79, 163, 255, .16)); animation: unfold 1.7s cubic-bezier(.22, 1, .36, 1) .25s both; }
.sat-rig .wing-l { left: 0; width: 46.98%; transform-origin: 100% 50%; }
.sat-rig .mast { left: 46.98%; width: 8.72%; filter: drop-shadow(0 0 14px rgba(79, 163, 255, .35)); }
.sat-rig .wing-r { left: 55.7%; width: 44.3%; transform-origin: 0 50%; }
.lens {
  position: absolute; left: 50.76%; top: 55.6%; width: 3.4%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(222, 236, 255, .95) 0%, rgba(79, 163, 255, .55) 30%, rgba(79, 163, 255, 0) 70%);
  mix-blend-mode: screen; animation: lens 2.6s ease-in-out infinite;
}
.hero-sub { max-width: 62ch; font-size: clamp(17px, 1.5vw, 20px); color: var(--mute); text-wrap: balance; }
.hero-sub strong { color: var(--ice); font-weight: 600; }
.hero .cta-row { justify-content: center; }
.hero .ca { width: min(880px, 100%); text-align: left; }
.hero-stats {
  width: min(980px, 100%);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--r);
  background: rgba(7, 8, 10, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  margin-top: 6px;
}
.hero-stats > div { padding: 18px 16px; display: grid; gap: 6px; text-align: left; min-width: 0; }
.hero-stats > div + div { border-left: 1px solid var(--line); }
.hero-stats dd { font-family: var(--f-display); font-size: clamp(16px, 1.6vw, 21px); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 560px) { .hero .cta-row, .cta-band .cta-row { width: 100%; } .hero .cta-row .btn { flex: 1 1 100%; } }
@media (max-width: 760px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats > div:nth-child(3) { border-left: 0; }
  .hero-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- ticker ---------- */
.ticker {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--line); background: rgba(4, 5, 7, .82);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: tick 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span {
  padding: 15px 26px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.ticker span b { color: var(--ice); font-weight: 600; margin-left: 8px; }
.ticker span i { font-style: normal; color: var(--nebula); margin-right: 26px; }

/* ---------- sub page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-top: calc(var(--hdr) + var(--tick) + env(safe-area-inset-top, 0px) + clamp(44px, 6vw, 90px));
  padding-bottom: clamp(110px, 12vw, 170px);
}
.page-hero .wrap { display: grid; gap: clamp(18px, 2vw, 24px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); list-style: none; }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--ion); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.page-hero .h1 { font-size: clamp(28px, 4.6vw, 64px); max-width: 20ch; }
.page-hero .lead { max-width: 68ch; }
.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--r);
  background: rgba(7, 8, 10, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  margin-top: 8px;
}
.facts > div { padding: 18px 20px; display: grid; gap: 6px; min-width: 0; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dd { font-family: var(--f-display); font-size: clamp(15px, 1.5vw, 20px); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- mission log timeline ---------- */
.log { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); position: relative; padding-top: 30px; }
.log::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--line); border-radius: 2px; }
.log::after { content: ""; position: absolute; left: 0; top: 8px; height: 2px; width: 0; background: linear-gradient(90deg, var(--ion), var(--nebula), var(--flare)); border-radius: 2px; transition: width 2.2s cubic-bezier(.2, .7, .2, 1); box-shadow: 0 0 14px rgba(79, 163, 255, .8); }
.log.on::after { width: 100%; }
.log li { position: relative; display: grid; gap: 10px; align-content: start; }
.log li::before {
  content: ""; position: absolute; top: -30px; left: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--void); border: 2px solid var(--nebula); box-shadow: 0 0 0 5px rgba(79, 163, 255, .12);
}
.log li.cto::before { border-color: var(--flare); box-shadow: 0 0 0 5px rgba(255, 169, 77, .16), 0 0 22px var(--flare); }
.log li.lost::before { border-color: var(--bad); }
.log time { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ion); }
.log li.cto time { color: var(--flare); }
.log li.lost time { color: var(--bad); }
.log p { color: var(--mute); font-size: 15.5px; }
@media (max-width: 900px) { .log { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } .log::before, .log::after { display: none; } }
@media (max-width: 560px) {
  .log { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-left: 34px; row-gap: 30px; }
  .log::before { display: block; left: 8px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .log li::before { top: 2px; left: -34px; }
}

/* ---------- feature icons ---------- */
.ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, .10), rgba(79, 163, 255, .10));
  border: 1px solid var(--line-2); color: var(--ion);
}
.ico svg { width: 22px; height: 22px; }

/* ---------- explore cards ---------- */
.explore a.card { display: grid; gap: 14px; align-content: start; text-decoration: none; min-height: 100%; }
.explore a.card:hover { transform: translateY(-4px); border-color: rgba(79, 163, 255, .45); }
.explore .peek { font-family: var(--f-display); font-size: clamp(19px, 1.8vw, 24px); color: var(--ice); font-variant-numeric: tabular-nums; }
.explore .peek small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--dim); margin-left: 8px; text-transform: uppercase; }
.explore .body-copy { font-size: 15.5px; }
.explore .link-arrow { margin-top: 4px; }

/* ---------- telemetry ---------- */
.feed-status {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute);
}
.feed-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--flare); flex: none; }
.feed-status.live { border-color: rgba(95, 227, 166, .5); color: var(--ice); }
.feed-status.live .dot { background: var(--ok); animation: ping-ok 1.8s infinite; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; gap: 8px; align-items: baseline;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--mute); background: rgba(255, 255, 255, .02);
}
.chip b { font-weight: 600; }
.chart-card { margin-top: clamp(12px, 1.6vw, 20px); display: grid; gap: 18px; }
.chart-card > * + * { margin-top: 0; }
.chart-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.chart-top .stat-v { margin-top: 6px; }
.chart-box { position: relative; height: clamp(260px, 32vw, 420px); }
.chart-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.chart-tip {
  position: absolute; pointer-events: none; z-index: 2; min-width: 168px;
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(6, 7, 9, .94);
  font-family: var(--f-mono); font-size: 12px; line-height: 1.6; color: var(--mute);
}
.chart-tip b { color: var(--ice); font-weight: 600; }
.chart-foot { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--dim); }
.chart-foot .links { display: flex; flex-wrap: wrap; gap: 18px; }
.ds-embed::before { content: "Loading the DexScreener pro chart"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.ds-embed { position: relative; background: var(--panel); width: 100%; height: clamp(420px, 50vw, 620px); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.ds-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bar { position: relative; height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; display: flex; }
.bar > i { display: block; height: 100%; width: 0; transition: width 1.6s cubic-bezier(.2, .7, .2, 1); }
.bar.on > i { width: var(--w); }
.bar .b-buy { background: linear-gradient(90deg, #2fbf86, var(--ok)); }
.bar .b-sell { background: linear-gradient(90deg, #ff9aa9, var(--bad)); }
.bar .seg1 { background: var(--flare); }
.bar .seg2 { background: var(--rose); }
.bar .seg3 { background: var(--nebula); }
.bar .seg4 { background: var(--ion); }
.legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; font-size: 14.5px; color: var(--mute); }
.legend span { display: flex; align-items: center; gap: 10px; min-width: 0; }
.legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.legend b { color: var(--ice); font-weight: 600; margin-left: auto; font-variant-numeric: tabular-nums; }
.meter-card { display: grid; gap: 16px; align-content: start; }
.meter-card > * + * { margin-top: 0; }
.big-split { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

table.data { width: 100%; border-collapse: collapse; font-size: 15.5px; }
table.data th, table.data td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
table.data td { color: var(--mute); }
table.data td:first-child { color: var(--ice); font-weight: 600; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, .015); }

/* ---------- intelligence ---------- */
.intel { overflow: hidden; isolation: isolate; }
.neural { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; opacity: .9; }
.intel .card { background: radial-gradient(460px circle at var(--mx, 50%) var(--my, -20%), rgba(79, 163, 255, .10), transparent 45%), rgba(10, 11, 13, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tile .stat-v { font-size: clamp(26px, 2.8vw, 38px); background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile .stat-v .unit { -webkit-text-fill-color: var(--mute); }
.tile .body-copy { font-size: 15px; }
.tile sup { font-size: .55em; }

.kard-card, .ladder-card { margin-top: clamp(12px, 1.6vw, 20px); display: grid; gap: 26px; }
.kard-card > * + *, .ladder-card > * + * { margin-top: 0; }
.card-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 40px; align-items: end; }
.card-head .body-copy { font-size: 15.5px; }
@media (max-width: 800px) { .card-head { grid-template-columns: minmax(0, 1fr); } }
.kard { position: relative; padding: 46px 0 52px; }
.kard-track { position: relative; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.kard-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--ion), var(--nebula), var(--rose)); box-shadow: 0 0 20px rgba(79, 163, 255, .7); transition: width 2.4s cubic-bezier(.2, .7, .2, 1); }
.kard.on .kard-fill { width: var(--to); }
.kard-mark { position: absolute; top: 46px; left: var(--p); transform: translateX(-50%); display: grid; justify-items: center; }
.kard-mark::before { content: ""; width: 2px; height: 22px; margin-top: -6px; background: var(--line-2); }
.kard-mark span { position: absolute; white-space: nowrap; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--mute); text-align: center; line-height: 1.4; }
.kard-mark span b { display: block; color: var(--ice); font-weight: 600; font-size: 13px; }
.kard-mark.below span { top: 22px; }
.kard-mark.above span { bottom: 26px; }
.kard-mark.end { transform: translateX(-100%); justify-items: end; }
.kard-mark.end span { right: 0; text-align: right; }
.kard-mark.start { transform: none; justify-items: start; }
.kard-mark.start span { left: 0; text-align: left; }
.kard-mark.hot::before { background: var(--rose); box-shadow: 0 0 10px var(--rose); }
.kard-mark.hot span b { color: var(--rose); }
@media (max-width: 640px) { .kard-mark span { font-size: 10px; } .kard-mark span b { font-size: 11.5px; } }

.ladder { list-style: none; position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding-top: 34px; }
.ladder::before { content: ""; position: absolute; top: 42px; left: calc(100% / 12); right: calc(100% / 12); height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .07); }
.ladder::after { content: ""; position: absolute; top: 42px; left: calc(100% / 12); height: 4px; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--flare), var(--nebula), var(--ion)); box-shadow: 0 0 16px rgba(255, 180, 94, .8); transition: width 2.2s cubic-bezier(.2, .7, .2, 1); }
.ladder.on::after { width: calc((100% - 100% / 6) * var(--prog, 0)); }
.ladder li { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 0 6px; }
.ladder li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--void); border: 2px solid var(--line-2); margin-bottom: 12px; position: relative; z-index: 1; transition: border-color .4s, box-shadow .4s; }
.ladder li.done::before { border-color: var(--nebula); background: var(--nebula); }
.ladder li.now::before { border-color: var(--flare); box-shadow: 0 0 0 6px rgba(255, 169, 77, .18), 0 0 22px var(--flare); animation: pulse-node 2s ease-in-out infinite; }
.ladder .lv { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--dim); text-transform: uppercase; }
.ladder .nm { font-weight: 700; font-size: 16px; line-height: 1.25; }
.ladder .mc { font-family: var(--f-display); font-size: 14px; color: var(--ion); }
.ladder li.now .nm { color: var(--flare); }
.ladder-now { font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; color: var(--mute); text-transform: uppercase; }
.ladder-now b { color: var(--flare); font-weight: 600; }
@media (max-width: 760px) {
  .ladder { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-left: 40px; gap: 22px; }
  .ladder::before { top: 10px; bottom: 10px; left: 9px; right: auto; width: 4px; height: auto; }
  .ladder::after { top: 10px; left: 9px; width: 4px !important; height: 0; transition: height 2.2s cubic-bezier(.2, .7, .2, 1); }
  .ladder.on::after { height: calc((100% - 20px) * var(--prog, 0)); }
  .ladder li { justify-items: start; text-align: left; grid-template-columns: auto 1fr; column-gap: 12px; padding: 0; }
  .ladder li::before { position: absolute; left: -40px; top: 0; margin: 0; }
  .ladder li > * { grid-column: 1 / -1; }
}

/* ---------- orbit ---------- */
.orbit-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.globe-card { margin: 0; display: grid; gap: 16px; align-content: start; }
.globe-card > * + * { margin-top: 0; }
.globe-box { position: relative; width: 100%; aspect-ratio: 1; max-width: 100%; }
.globe-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.globe-cap { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--dim); }
.warp { display: inline-flex; border: 1px solid var(--ctl-line); border-radius: 10px; overflow: hidden; flex: none; background: var(--ctl); }
.warp button { border: 0; background: var(--ctl); padding: 9px 16px; cursor: pointer; font-family: var(--f-body); font-size: 14px; font-weight: 700; color: var(--mute); }
.warp button + button { border-left: 1px solid var(--ctl-line); }
.warp button.on { background: var(--btn); color: #050506; }
.readouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: clamp(10px, 1.4vw, 16px); }
.readouts .card { display: grid; gap: 8px; align-content: center; }
.readouts .card > * + * { margin-top: 0; }
.readouts dd { font-family: var(--f-display); font-size: clamp(18px, 1.9vw, 25px); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.sim-tag { display: none; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--flare); margin-left: 8px; }
.sim .sim-tag { display: inline; }
@media (max-width: 960px) { .orbit-grid { grid-template-columns: minmax(0, 1fr); } .readouts { grid-auto-rows: auto; } }
@media (max-width: 480px) { .readouts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- memes ---------- */
.memes { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 18px); }
.meme {
  position: relative; display: flex; flex-direction: column; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; background: var(--panel); cursor: zoom-in; text-align: left;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .35s, box-shadow .45s;
}
.meme-img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.meme-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.meme-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(79, 163, 255, .07) 0 1px, transparent 1px 4px);
  opacity: 0; transition: opacity .4s;
}
.meme:hover { transform: translateY(-4px); border-color: rgba(79, 163, 255, .5); box-shadow: 0 24px 60px -24px rgba(79, 163, 255, .45); }
.meme:hover .meme-img img { transform: scale(1.05); }
.meme:hover .meme-img::after { opacity: 1; }
.meme-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-top: 1px solid var(--line); background: rgba(6, 7, 9, .9); min-width: 0; }
.meme .pkt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--ion); flex: none; }
.meme .cap { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ice); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.meme .scan { position: absolute; left: 0; right: 0; height: 30%; top: -30%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(79, 163, 255, .35), transparent); }
.meme.decode .scan { animation: scan 1.3s cubic-bezier(.4, 0, .2, 1) forwards; }
.meme.decode .meme-img img { animation: decode 1.3s steps(6, end) both; }
@media (max-width: 760px) { .meme .cap { display: none; } .meme-bar { padding: 8px 10px; justify-content: center; } .meme .pkt { font-size: 10px; } }

.lb {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  padding: max(20px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(20px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(2, 3, 4, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lb-in { display: grid; gap: 14px; justify-items: center; width: min(720px, 100%); }
.lb img { width: 100%; max-height: 74vh; object-fit: contain; border-radius: 14px; border: 1px solid var(--line-2); background: var(--panel); }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.lb-bar p { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); text-align: center; flex: 1; }
.lb-x { position: absolute; top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }

/* ---------- steps ---------- */
.steps { list-style: none; counter-reset: s; }
.step { display: grid; gap: 12px; align-content: start; }
.step > * + * { margin-top: 0; }
.step-n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em; color: var(--ion); text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
.step-n::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.step .body-copy { font-size: 15.5px; }
.step .ico { margin-bottom: 4px; }
.buy-panel { margin-top: clamp(24px, 3vw, 40px); display: grid; gap: 16px; justify-items: stretch; }
.buy-panel .ca { width: 100%; }
.buy-panel .cta-row .btn { flex: 1 1 200px; }

/* ---------- ecosystem ---------- */
.eco a.card { text-decoration: none; display: grid; gap: 14px; align-content: start; }
.eco a.card > * + * { margin-top: 0; }
.eco a.card:hover { transform: translateY(-4px); border-color: rgba(79, 163, 255, .55); }
.eco .dom { font-family: var(--f-display); font-size: clamp(20px, 2vw, 27px); }
.eco .dom span { color: var(--ion); }
.eco .here { justify-self: start; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255, 169, 77, .45); color: #ffd2a6; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; }
.eco .role { justify-self: start; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--mute); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; }
.links-grid a.card { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.links-grid a.card > * + * { margin-top: 0; }
.links-grid a.card:hover { border-color: rgba(79, 163, 255, .45); transform: translateY(-3px); }
.links-grid .lg-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); flex: none; }
.links-grid .lg-ico img, .links-grid .lg-ico svg { width: 22px; height: 22px; border-radius: 4px; }
.links-grid .lg-t { display: grid; min-width: 0; line-height: 1.35; }
.links-grid .lg-t b { font-weight: 700; }
.links-grid .lg-t small { color: var(--dim); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; overflow-wrap: anywhere; }

/* ---------- signal band ---------- */
.signal { position: relative; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(255, 169, 77, .08), rgba(255, 255, 255, .03) 50%, rgba(79, 163, 255, .08)); }
.signal-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: clamp(36px, 5vw, 56px); }
.signal-in > div { display: grid; gap: 10px; flex: 1 1 520px; min-width: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.qa { border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, .02); transition: border-color .3s, background .3s; }
.qa[open] { border-color: var(--line-2); background: rgba(79, 163, 255, .035); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px clamp(18px, 2.4vw, 28px); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-weight: 600; font-size: clamp(17px, 1.4vw, 19px); }
.qa .pm { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; flex: none; transition: transform .35s, border-color .3s; }
.qa .pm::before, .qa .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ice); transform: translate(-50%, -50%); }
.qa .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s; }
.qa[open] .pm { border-color: var(--ion); transform: rotate(180deg); }
.qa[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa-a { padding: 0 clamp(18px, 2.4vw, 28px) 24px; color: var(--mute); display: grid; gap: 12px; max-width: 90ch; }
.qa-a a { color: var(--ion); }
.qa-a code { font-family: var(--f-mono); font-size: .92em; color: var(--ice); overflow-wrap: anywhere; word-break: break-all; }
.faq-group { display: grid; gap: 16px; }
.faq-group + .faq-group { margin-top: clamp(32px, 4vw, 48px); }

/* ---------- token facts ---------- */
.facts-table { display: grid; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: rgba(255, 255, 255, .015); }
.facts-table > div { display: grid; grid-template-columns: minmax(150px, .38fr) minmax(0, 1fr); gap: 8px 24px; padding: 18px clamp(18px, 2.4vw, 28px); border-bottom: 1px solid var(--line); align-items: baseline; }
.facts-table > div:last-child { border-bottom: 0; }
.facts-table > div:nth-child(even) { background: rgba(79, 163, 255, .025); }
.facts-table dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.facts-table dd { color: var(--ice); overflow-wrap: anywhere; min-width: 0; }
.facts-table dd .mono { font-size: 14.5px; }
.facts-table dd a { color: var(--ion); }
@media (max-width: 600px) { .facts-table > div { grid-template-columns: minmax(0, 1fr); } }

/* ---------- source notes ---------- */
.sources { display: grid; gap: 8px; font-size: 14px; color: var(--dim); }
.sources a { color: var(--mute); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: 22px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 48px; align-items: center;
  background: radial-gradient(600px 300px at 0% 0%, rgba(79, 163, 255, .2), transparent 70%), radial-gradient(600px 300px at 100% 100%, rgba(79, 163, 255, .14), transparent 70%), var(--panel);
}
.cta-band > div { display: grid; gap: 14px; }
.cta-band .cta-row .btn { flex: 1 1 180px; }
.cf-band { grid-template-columns: minmax(0, auto) minmax(0, 1fr); }
.cf-band > img { width: clamp(140px, 18vw, 220px); height: auto; border-radius: 20px; border: 1px solid var(--line-2); }
@media (max-width: 900px) { .cta-band, .cf-band { grid-template-columns: minmax(0, 1fr); } .cf-band > img { width: 140px; } }

/* ---------- footer (full width) ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--deep), #000000); }
.ftr-in {
  padding-left: max(clamp(16px, 3vw, 48px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 3vw, 48px), env(safe-area-inset-right, 0px));
  padding-block: clamp(56px, 7vw, 88px) calc(28px + env(safe-area-inset-bottom, 0px));
  display: grid; gap: clamp(32px, 4vw, 48px);
}
.ftr-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 36px clamp(24px, 3vw, 48px); }
.ftr-brand { display: grid; gap: 16px; align-content: start; }
.ftr-brand .row { display: flex; gap: 14px; align-items: center; }
.ftr-brand img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line-2); }
.ftr-name { font-family: var(--f-display); font-size: 15px; line-height: 1.35; }
.ftr-brand .body-copy { font-size: 15px; max-width: 46ch; }
.ftr-col { display: grid; gap: 12px; align-content: start; }
.ftr-col h2 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ion); margin-bottom: 4px; }
.ftr-col a { color: var(--mute); text-decoration: none; font-size: 15px; width: fit-content; transition: color .25s; }
.ftr-col a:hover { color: var(--ice); }
.ftr-ca { display: flex; }
.ftr-ca .ca { width: 100%; }
.disclaimer { font-size: 13.5px; color: var(--dim); line-height: 1.7; max-width: none; }
.ftr-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 1100px) { .ftr-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ftr-brand { grid-column: 1 / -1; } }
@media (max-width: 680px) { .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 95;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 13px 20px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(9, 10, 12, .95);
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ice);
  transition: opacity .3s, transform .3s; max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal ---------- */
.rv { transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.rv.pre { opacity: 0; transform: translateY(26px); }

/* ---------- 404 ---------- */
.page-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.page-404 .wrap { display: grid; gap: 20px; justify-items: center; }

/* ---------- keyframes ---------- */
@keyframes blink { 50% { opacity: .2; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 169, 77, .7); } 80%, 100% { box-shadow: 0 0 0 12px rgba(255, 169, 77, 0); } }
@keyframes ping-ok { 0% { box-shadow: 0 0 0 0 rgba(95, 227, 166, .7); } 80%, 100% { box-shadow: 0 0 0 12px rgba(95, 227, 166, 0); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-.4deg); } 50% { transform: translateY(-12px) rotate(.4deg); } }
@keyframes unfold { from { transform: scaleX(.04); opacity: .35; } 60% { opacity: 1; } to { transform: scaleX(1); opacity: 1; } }
@keyframes lens { 0%, 100% { opacity: .65; transform: translate(-50%, -50%) scale(.9); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.25); } }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes pulse-node { 50% { box-shadow: 0 0 0 10px rgba(255, 169, 77, .08), 0 0 30px var(--flare); } }
@keyframes scan { from { top: -30%; } to { top: 110%; } }
@keyframes decode { from { filter: saturate(0) brightness(1.6) contrast(1.4); clip-path: inset(0 0 100% 0); } to { filter: none; clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv.pre { opacity: 1; transform: none; }
}
