/* ═══════════════════════════════════════════════════════════════════
   Strike — bubble-glass register.
   Near-black ground washed with deep blue, translucent panels with a
   specular top edge, hairline borders, generous radii, Inter Tight.
   The slash is the brand: it appears as the hero object, the logo mark
   and the separator between a token's terms. Colour only where a
   number moves, or where the product wants you to click.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* ground */
  --bg: #05070d;
  --bg-2: #070a12;
  --panel: rgba(255, 255, 255, 0.028);
  --panel-2: rgba(255, 255, 255, 0.05);
  --hair: rgba(255, 255, 255, 0.075);
  --hair-2: rgba(255, 255, 255, 0.14);

  /* type */
  --text: #f2f5fa;
  --text-70: #9aa7bd;
  --text-50: #64708a;
  --text-30: #454f66;

  /* accent */
  --blue: #3b7bff;
  --blue-bright: #5b93ff;
  --blue-deep: #1b47c4;
  --ice: #a9c7ff;
  --violet: #7c5cff;
  --up: #2fd39a;
  --down: #ff5f7e;

  --font: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --r: 6px;
  --r-lg: 8px;
  --r-sm: 4px;
  --cut: 9px;          /* the chamfer on a solid button, cut on the / diagonal */
  --bracket: rgba(169, 199, 255, 0.42);
  --nav-h: 62px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* the ambient field: two deep washes and a film of grain, fixed behind
   everything so the glass has something to refract */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 78% -12%, rgba(59, 123, 255, 0.09), transparent 64%),
    radial-gradient(900px 700px at 6% 2%, rgba(124, 92, 255, 0.035), transparent 62%),
    radial-gradient(1200px 900px at 50% 118%, rgba(27, 71, 196, 0.055), transparent 66%);
}
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font-family: inherit; color: inherit; background: none; border: none; outline: none; }
img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: rgba(59, 123, 255, 0.32); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 99px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.18); background-clip: content-box; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.up { color: var(--up); }
.down { color: var(--down); }
.muted { color: var(--text-70); }
.dim { color: var(--text-50); }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; letter-spacing: -0.038em; line-height: 1.05; margin: 0; }
p { margin: 0; }

.eyebrow::before { content: "/"; color: var(--blue-bright); margin-right: 0.45em; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-50);
}

/* ── glass ─────────────────────────────────────────────────────────
   one class does the panel; ::before is the specular top edge that
   makes it read as a bubble rather than a flat translucent rectangle */
.glass {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.013));
  border: 1px solid var(--hair);
  border-radius: var(--r);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.085),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 20px 46px -26px rgba(0, 0, 0, 0.85);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 42%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 88%);
  pointer-events: none;
}
.lift { transition: transform 0.42s var(--ease), border-color 0.42s var(--ease), box-shadow 0.42s var(--ease); }
.lift:hover {
  transform: translateY(-3px);
  border-color: var(--hair-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 30px 60px -30px rgba(0, 0, 0, 0.95);
}

/* ── the bracket: two corner marks, drawn as four gradient strips in one
   pseudo-element, so any container can wear them without extra markup ── */
.hud { position: relative; }
.hud::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--bracket) 0 11px, transparent 11px) top left / 11px 1px no-repeat,
    linear-gradient(to bottom, var(--bracket) 0 11px, transparent 11px) top left / 1px 11px no-repeat,
    linear-gradient(to left, var(--bracket) 0 11px, transparent 11px) bottom right / 11px 1px no-repeat,
    linear-gradient(to top, var(--bracket) 0 11px, transparent 11px) bottom right / 1px 11px no-repeat;
}

/* ── buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 40px;
  padding: 0 1.15rem;
  border-radius: 2px;
  font-family: var(--font);
  font-size: 0.87rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  white-space: nowrap;
  transition: transform 0.28s var(--ease), background 0.28s var(--ease),
    border-color 0.28s var(--ease), box-shadow 0.28s var(--ease), color 0.28s var(--ease), opacity 0.2s;
}
.btn:active { transform: scale(0.978); }
.btn:disabled { opacity: 0.4; pointer-events: none; }
/* the cut: top-left and bottom-right, both edges running the way the mark does */
.btn-cut {
  clip-path: polygon(
    var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)
  );
}
.btn-solid, .btn-buy, .btn-sell {
  clip-path: polygon(
    var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)
  );
}
.btn-sm { --cut: 7px; }
.btn-lg { --cut: 12px; }

.btn-solid {
  color: #fff;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 0 rgba(0, 0, 0, 0.28);
}
.btn-solid:hover { background: linear-gradient(180deg, #6ea0ff, #2453d6); }
.btn-glass { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--hair-2); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }
.btn-line { border: 1px solid var(--hair-2); color: var(--text); }
.btn-line:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.24); }
.btn-warn { background: rgba(255, 95, 126, 0.16); border: 1px solid rgba(255, 95, 126, 0.45); color: #ffc0cd; }
.btn-warn:hover { background: rgba(255, 95, 126, 0.24); }
.btn-ghost { color: var(--text-70); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.btn-lg { height: 50px; padding: 0 1.5rem; font-size: 0.96rem; }
.btn-sm { height: 32px; padding: 0 0.8rem; font-size: 0.78rem; }
.btn-block { width: 100%; }
.btn-buy { color: #04150f; background: linear-gradient(180deg, #4fdfad, #16a97b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.btn-buy:hover { background: linear-gradient(180deg, #62ecbb, #1cb886); }
.btn-sell { color: #1a0409; background: linear-gradient(180deg, #ff7f97, #e03657); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26); }
.btn-sell:hover { background: linear-gradient(180deg, #ff8fa5, #ea4360); }

/* ── chips ─────────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 24px;
  padding: 0 0.55rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-70);
}
.chip-call { color: #7ff0c8; background: rgba(47, 211, 154, 0.1); border-color: rgba(47, 211, 154, 0.24); }
.chip-put { color: #ffa8ba; background: rgba(255, 95, 126, 0.1); border-color: rgba(255, 95, 126, 0.26); }
.chip-blue { color: var(--ice); background: rgba(59, 123, 255, 0.12); border-color: rgba(59, 123, 255, 0.28); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 30px;
  padding: 0 0.85rem 0 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hair);
  backdrop-filter: blur(12px);
  font-size: 0.76rem;
  color: var(--text-70);
}
.dot { width: 6px; height: 6px; border-radius: 99px; background: var(--up); }
.dot-blue { background: var(--blue-bright); }

/* ── nav ───────────────────────────────────────────────────────── */
.snav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  height: var(--nav-h);
  padding: 0 1.5rem;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.snav.stuck {
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--hair);
}
.slogo { display: inline-flex; align-items: center; gap: 0.55rem; margin-right: 0.4rem; }
.slogo img { height: 26px; width: auto; transition: transform 0.5s var(--ease); }
.slogo:hover img { transform: translateY(-1px) scale(1.06); }
.slogo b { font-family: var(--font); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.045em; }
.snav-links { display: flex; gap: 0.1rem; }
.snav-links a {
  position: relative;
  font-size: 0.85rem;
  color: var(--text-70);
  padding: 0.45rem 0.75rem;
  border-radius: var(--r-sm);
  transition: color 0.26s var(--ease), background 0.26s var(--ease);
}
.snav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.045); }
.snav-links a.active { color: var(--text); }
.snav-links a.active::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.15rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
}
.snav-right { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.snav-x {
  font-size: 0.82rem;
  color: var(--text-50);
  padding: 0.3rem 0.5rem;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: color 0.24s var(--ease), background 0.24s var(--ease);
}
.snav-x:hover { color: var(--text); background: rgba(255, 255, 255, 0.045); }

.snav-burger { display: none; width: 38px; height: 38px; border: 1px solid var(--hair); border-radius: var(--r-sm); align-items: center; justify-content: center; }
.smenu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 55;
  padding: 0.8rem 1.5rem 1.2rem;
  background: rgba(5, 7, 13, 0.96);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--hair);
  animation: dropIn 0.32s var(--ease);
}
.smenu a { display: block; padding: 0.8rem 0.2rem; font-family: var(--font); font-size: 1.15rem; letter-spacing: -0.03em; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
@keyframes dropIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; } }

/* ── underlying quote strip ────────────────────────────────────── */
.strip {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.012);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.strip-in { display: flex; width: max-content; animation: slide 64s linear infinite; }
.strip:hover .strip-in { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.qt img { width: 15px; height: 15px; border-radius: 3px; align-self: center; flex: none; }
.qt {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.6rem 1.3rem;
  border-right: 1px solid var(--hair);
  font-size: 0.78rem;
  white-space: nowrap;
}
.qt b { font-family: var(--font); font-weight: 600; letter-spacing: -0.03em; font-size: 0.82rem; }
.qt i { font-style: normal; font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--text-70); }
.qt s { text-decoration: none; font-family: var(--mono); font-size: 0.72rem; }

/* ── hero ──────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: 2.6rem;
  align-items: stretch;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0 clamp(1.4rem, 2.6vw, 2rem);
}
.hero-copy { max-width: 430px; }
.hero-chain { min-width: 0; display: flex; flex-direction: column; }
.hero-chain-bar { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.7rem; flex-wrap: wrap; }
.hero-chain-bar .filter-row { padding-bottom: 0; margin-bottom: 0; flex: 1; flex-wrap: wrap; overflow: visible; }
.hero .eyebrow .sl { color: var(--blue-bright); padding: 0 0.15rem; }
.hero h1 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); letter-spacing: -0.045em; line-height: 1.02; margin: 0.8rem 0 0; }
.hero h1 em { font-style: normal; color: var(--ice); }
.hero-sub { margin-top: 0.85rem; font-size: 0.92rem; color: var(--text-70); line-height: 1.62; }
.hero-cta { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.3rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.6rem;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.hero-stats .st { background: rgba(6, 9, 16, 0.72); padding: 0.7rem 0.85rem; }
.hero-stats .st b { display: block; font-family: var(--mono); font-size: 1.05rem; font-weight: 500; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.hero-stats .st span { display: block; font-size: 0.68rem; color: var(--text-50); margin-top: 0.1rem; }
/* ── section headers ───────────────────────────────────────────── */
.sec { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); margin-top: 0.6rem; }
.sec-head p { color: var(--text-70); margin-top: 0.6rem; max-width: 46ch; font-size: 0.92rem; }

/* ── table ─────────────────────────────────────────────────────── */
.board-bar { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  height: 38px;
  padding: 0 0.85rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hair);
  color: var(--text-50);
  flex: 1;
  min-width: 210px;
  transition: border-color 0.26s var(--ease), background 0.26s var(--ease);
}
.search:focus-within { border-color: rgba(59, 123, 255, 0.5); background: rgba(59, 123, 255, 0.05); }
.search input { flex: 1; font-size: 0.85rem; color: var(--text); }
.search input::placeholder { color: var(--text-30); }
.tabs { display: flex; gap: 3px; padding: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--hair); }
.tabs button { height: 30px; padding: 0 0.75rem; border-radius: 2px; font-size: 0.79rem; color: var(--text-50); transition: all 0.26s var(--ease); }
.tabs button:hover { color: var(--text-70); }
.tabs button.on { background: rgba(255, 255, 255, 0.07); color: var(--text); box-shadow: inset 0 -1.5px 0 var(--blue-bright); }

.tbl-wrap { border-radius: var(--r); overflow: hidden; }
.tbl { width: 100%; border-collapse: collapse; }
.deck > *, .board { min-width: 0; }
.tbl th {
  text-align: right;
  padding: 0.7rem 1rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-30);
  border-bottom: 1px solid var(--hair);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}
.tbl th:hover { color: var(--text-70); }
.tbl th:first-child { text-align: left; }
.tbl td {
  padding: 0.8rem 1rem;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.tbl td:first-child { text-align: left; font-family: var(--body); }
.tbl tbody tr { cursor: pointer; transition: background 0.24s var(--ease); }
.tbl tbody tr:hover { background: rgba(255, 255, 255, 0.032); box-shadow: inset 2px 0 0 var(--blue-bright); }
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl th i { font-style: normal; opacity: 0.5; margin-left: 0.3rem; font-size: 0.55rem; }
.cell { display: flex; align-items: center; gap: 0.7rem; }
.cell b { display: block; font-family: var(--font); font-weight: 600; font-size: 0.9rem; letter-spacing: -0.03em; }
.cell span { display: block; font-family: var(--mono); font-size: 0.66rem; color: var(--text-50); letter-spacing: 0.04em; margin-top: 0.1rem; }
.tag {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 5px;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  border: 1px solid var(--hair-2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.tag img { width: 100%; height: 100%; object-fit: cover; }
.tag-lg { width: 52px; height: 52px; border-radius: 7px; font-size: 0.88rem; }
.trade-btn { height: 28px; padding: 0 0.7rem; border-radius: 2px; border: 1px solid var(--hair-2); font-family: var(--body); font-size: 0.75rem; color: var(--text-70); transition: all 0.24s var(--ease); }
.trade-btn:hover { background: rgba(59, 123, 255, 0.16); border-color: rgba(59, 123, 255, 0.45); color: #fff; }
.empty { padding: 3rem 1rem; text-align: center; color: var(--text-50); font-size: 0.88rem; }

/* the partner line under the hero actions */
.partner {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  padding: 0.3rem 0.7rem 0.3rem 0.1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-50);
  transition: color 0.24s var(--ease);
}
.partner b { color: var(--text); font-weight: 600; letter-spacing: -0.02em; }
.partner:hover { color: var(--text-70); }
.partner:hover b { color: var(--ice); }
.partner-k { letter-spacing: -0.005em; }
.lnk { color: var(--ice); border-bottom: 1px solid rgba(169, 199, 255, 0.32); }
.lnk:hover { border-bottom-color: var(--ice); }

/* ── the underlying filter ─────────────────────────────────────── */
.filter-row { display: flex; gap: 0.35rem; overflow-x: auto; padding-bottom: 0.6rem; margin-bottom: 0.3rem; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.ul-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: none;
  height: 32px;
  padding: 0 0.65rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.022);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: -0.01em;
  color: var(--text-70);
  transition: all 0.26s var(--ease);
}
.ul-chip img { width: 16px; height: 16px; border-radius: 3px; }
.ul-chip i { font-style: normal; font-size: 0.62rem; color: var(--text-30); }
.ul-chip:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.ul-chip.on { background: rgba(59, 123, 255, 0.16); border-color: rgba(59, 123, 255, 0.42); color: #fff; }
.ul-chip.on i { color: var(--ice); }

.board-more { display: flex; align-items: center; gap: 0.9rem; justify-content: center; padding: 1rem 0 0.2rem; }

/* ── the deck: spotlight rail + board ──────────────────────────── */
.deck { padding: 1.9rem 0 2.4rem; margin-top: 1.6rem; border-top: 1px solid var(--hair); }
.deck-bar { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.deck-body { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.deck-body > * { min-width: 0; }
/* four tiles, stretched to the table beside them so both columns end level */
.spots { display: grid; gap: 0.6rem; align-content: start; }
@media (min-width: 1081px) {
  .spots { grid-template-rows: repeat(4, minmax(104px, 1fr)); align-content: stretch; }
}
.spot {
  display: flex;
  flex-direction: column;
  min-height: 104px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.022);
  cursor: pointer;
  transition: background 0.28s var(--ease), border-color 0.28s var(--ease);
}
.spot:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--hair-2); }
.spot-k { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-30); }
.spot-row { display: flex; align-items: flex-start; gap: 0.55rem; margin-top: auto; padding-top: 0.55rem; }
.spot-row b { display: block; font-family: var(--font); font-size: 0.84rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.25; }
.spot-sub { font-family: var(--mono); font-size: 0.62rem; color: var(--text-50); letter-spacing: 0.03em; margin-top: 0.35rem; }
.spot-v { margin-left: auto; flex: none; font-family: var(--mono); font-size: 0.78rem; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; padding-top: 0.05rem; }

.board-title { font-size: 0.95rem; letter-spacing: -0.03em; margin-right: auto; }
.deck-bar .board-all { margin-left: 0.2rem; }
.board-all { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; color: var(--text-50); transition: color 0.24s; }
.board-all:hover { color: var(--text); }
.tbl-wrap.flat { border: 1px solid var(--hair); background: rgba(255, 255, 255, 0.014); }

/* ── the lattice ───────────────────────────────────────────────
   The chain drawn as a grid: a strike per row, an expiry per column, a call
   cell and a put cell in every slot. Weight tracks volume, so where the
   activity is shows up as a shape rather than a number. */
.lat-frame { border: 1px solid var(--hair); border-radius: var(--r); padding: 0.75rem; background: rgba(255, 255, 255, 0.014); overflow-x: auto; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.lattice { min-width: 520px; display: grid; gap: 3px; flex: 1; align-content: space-between; }
.lat-row { display: grid; grid-template-columns: 64px repeat(var(--lat-cols, 5), minmax(60px, 1fr)); gap: 3px; align-items: center; }
.lat-k {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-30);
  text-align: center;
  padding-bottom: 0.3rem;
}
.lat-k i { display: block; font-style: normal; font-size: 0.54rem; opacity: 0.62; margin-top: 0.1rem; }
.lat-headrow .lat-k:first-child { text-align: left; }
.lat-strike { font-family: var(--mono); font-size: 0.72rem; letter-spacing: -0.02em; color: var(--text-70); font-variant-numeric: tabular-nums; }
.lat-pair { display: flex; gap: 3px; }
.lat-cell {
  flex: 1;
  height: 26px;
  border-radius: 2px;
  border: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.018);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: var(--text-50);
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.lat-cell:hover { transform: translateY(-1px); filter: brightness(1.4); }
.lat-c, .lat-p { color: #eaf2ff; }
.lat-empty { border-style: dashed; border-color: rgba(255, 255, 255, 0.055); color: var(--text-30); }
.lat-empty:hover { border-color: rgba(59, 123, 255, 0.45); color: var(--ice); background: rgba(59, 123, 255, 0.07); filter: none; }
.lat-spot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 2px 0;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice);
}
.lat-spot i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(169, 199, 255, 0.4), transparent); }
.lat-key {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-30);
}
.lat-key span { display: inline-flex; align-items: center; gap: 0.4rem; }
.lat-key i { width: 11px; height: 11px; border-radius: 3px; }
.k-c { background: rgba(47, 211, 154, 0.42); }
.k-p { background: rgba(255, 95, 126, 0.42); }
.k-e { border: 1px dashed rgba(255, 255, 255, 0.22); }
.lat-key-note { margin-left: auto; }

/* the rail's aggregate tile */
.spot-split { justify-content: space-between; }
.split-nums { display: flex; justify-content: space-between; margin-top: 0.55rem; font-family: var(--mono); font-size: 0.78rem; letter-spacing: -0.02em; }
.split-bar { position: relative; height: 3px; border-radius: 99px; background: rgba(255, 95, 126, 0.42); margin: 0.45rem 0 0.5rem; overflow: hidden; }
.split-bar i { position: absolute; inset: 0 auto 0 0; background: rgba(47, 211, 154, 0.55); }
.spot-split .spot-sub { margin-top: 0; }

/* ── payoff at expiry ──────────────────────────────────────────── */
.payoff { width: 100%; height: auto; }
.pf-t { font-family: var(--mono); font-size: 9px; fill: #454f66; letter-spacing: 0.08em; }
.pf-now { fill: #9aa7bd; }
.pf-legend { display: flex; gap: 1.3rem; flex-wrap: wrap; margin-top: 0.5rem; font-size: 0.74rem; color: var(--text-50); }
.pf-legend b { font-family: var(--mono); color: var(--text); font-weight: 500; letter-spacing: -0.02em; }

/* ── the life bar: a contract is a wasting asset ───────────────── */
.life { margin: 0 0 1.1rem; }
.life-k {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-30);
  margin-bottom: 0.4rem;
}
.life-theta { color: var(--down); }
.life-track { position: relative; height: 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); }
.life-fill { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: linear-gradient(90deg, rgba(59, 123, 255, 0.22), var(--blue-bright)); }
.life-now { position: absolute; top: 50%; width: 7px; height: 7px; margin-left: -3.5px; transform: translateY(-50%); border-radius: 99px; background: #fff; }

/* ── the mechanism strip ───────────────────────────────────────── */
.mech { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 2.5rem; align-items: center; padding: 2.4rem 0 3rem; border-top: 1px solid var(--hair); }
.mech-copy h2 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); margin: 0.5rem 0 0.7rem; }
.mech-copy p { color: var(--text-70); font-size: 0.9rem; line-height: 1.7; max-width: 58ch; }
.mech-fields { margin-top: 1.4rem; border-top: 1px solid var(--hair); }
.mech-fields div { display: flex; align-items: baseline; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.045); }
.mech-fields span { font-family: var(--mono); font-size: 0.72rem; color: var(--ice); min-width: 88px; letter-spacing: -0.01em; }
.mech-fields b { font-weight: 400; font-size: 0.83rem; color: var(--text-70); }
.mech-flow { padding: 0.4rem; }

/* ── feature cards ─────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; }
.stat-tile { padding: 1rem 1.15rem; }
.stat-tile span { font-size: 0.72rem; color: var(--text-50); }
.stat-tile b { display: block; font-family: var(--mono); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.05em; margin-top: 0.25rem; font-variant-numeric: tabular-nums; }


/* ── launch flow ───────────────────────────────────────────────── */
.launch-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 1.2rem; align-items: start; }
.rail { display: flex; align-items: center; margin-bottom: 1.5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.rail::-webkit-scrollbar { display: none; }
.rail .stp { display: flex; align-items: center; gap: 0.5rem; flex: none; cursor: pointer; }
.rail .stp i {
  width: 24px;
  height: 24px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.66rem;
  border: 1px solid var(--hair-2);
  color: var(--text-50);
  transition: all 0.36s var(--ease);
}
.rail .stp span { font-size: 0.78rem; color: var(--text-50); white-space: nowrap; transition: color 0.36s var(--ease); }
.rail .stp.done i { background: rgba(59, 123, 255, 0.16); border-color: rgba(59, 123, 255, 0.45); color: var(--ice); }
.rail .stp.on i {
  background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep));
  border-color: transparent;
  color: #fff;
}
.rail .stp.on span, .rail .stp.done span { color: var(--text); }
.rail .ln { width: 34px; height: 1px; background: var(--hair); margin: 0 0.7rem; flex: none; transition: background 0.4s var(--ease); }
.rail .ln.filled { background: rgba(59, 123, 255, 0.5); }

.panel { padding: 1.6rem; }
.panel-head { margin-bottom: 1.3rem; }
.panel-head h2 { font-size: 1.35rem; margin-top: 0.5rem; }
.panel-head p { color: var(--text-70); font-size: 0.87rem; margin-top: 0.4rem; }

.field { margin-bottom: 1.1rem; }
.field > label { display: block; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--text-50); margin-bottom: 0.45rem; }
.inp {
  width: 100%;
  height: 44px;
  padding: 0 0.9rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hair);
  font-size: 0.9rem;
  transition: border-color 0.26s var(--ease), background 0.26s var(--ease), box-shadow 0.26s var(--ease);
}
.inp::placeholder { color: var(--text-30); }
.inp:focus { border-color: rgba(59, 123, 255, 0.55); background: rgba(59, 123, 255, 0.05); }
textarea.inp { height: auto; min-height: 88px; padding: 0.75rem 0.9rem; resize: vertical; line-height: 1.55; }
.inp-mono { font-family: var(--mono); letter-spacing: -0.02em; }
.affix { position: relative; }
.affix i { position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%); font-style: normal; font-family: var(--mono); font-size: 0.72rem; color: var(--text-30); pointer-events: none; }
.hint { font-size: 0.74rem; color: var(--text-50); margin-top: 0.4rem; }
.gate {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(59, 123, 255, 0.28);
  background: rgba(59, 123, 255, 0.07);
  font-size: 0.8rem;
  color: var(--text-70);
}
.gate-ok { border-color: rgba(47, 211, 154, 0.28); background: rgba(47, 211, 154, 0.06); }
.dot-idle { background: var(--blue-bright); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }

.seg { display: flex; gap: 4px; padding: 4px; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--hair); }
.seg button { flex: 1; height: 40px; border-radius: 3px; font-family: var(--font); font-size: 0.9rem; font-weight: 500; color: var(--text-50); transition: all 0.3s var(--ease); }
.seg button:hover { color: var(--text-70); }
.seg button.on { background: rgba(255, 255, 255, 0.08); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16); }
.seg button.on[data-kind="CALL"] { background: linear-gradient(180deg, rgba(47, 211, 154, 0.32), rgba(47, 211, 154, 0.12)); color: #a8f6d8; }
.seg button.on[data-kind="PUT"] { background: linear-gradient(180deg, rgba(255, 95, 126, 0.32), rgba(255, 95, 126, 0.12)); color: #ffc0cd; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); gap: 0.6rem; }
.tile {
  padding: 0.8rem 0.85rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.026);
  border: 1px solid var(--hair);
  text-align: left;
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.tile:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--hair-2); transform: translateY(-2px); }
.tile.on { background: linear-gradient(180deg, rgba(59, 123, 255, 0.18), rgba(59, 123, 255, 0.04)); border-color: rgba(59, 123, 255, 0.5); }
.tile b { display: block; font-family: var(--font); font-size: 0.9rem; font-weight: 600; letter-spacing: -0.03em; }
.tile span { display: block; font-size: 0.72rem; color: var(--text-50); margin-top: 0.1rem; }
.tile .num { font-size: 0.76rem; }

/* options chain */
.chain { border: 1px solid var(--hair); border-radius: var(--r-sm); overflow: hidden; }
.chain-h, .chain-r { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 0.5rem; align-items: center; padding: 0.55rem 1rem; font-family: var(--mono); font-size: 0.78rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; text-align: right; }
.chain-h { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-30); background: rgba(255, 255, 255, 0.025); border-bottom: 1px solid var(--hair); }
.chain-h > :first-child, .chain-r > :first-child { text-align: left; }
.chain-r { cursor: pointer; border-bottom: 1px solid rgba(255, 255, 255, 0.04); transition: background 0.22s var(--ease); }
.chain-r:last-child { border-bottom: none; }
.chain-r:hover { background: rgba(255, 255, 255, 0.04); }
.chain-r.on { background: rgba(59, 123, 255, 0.14); box-shadow: inset 2px 0 0 var(--blue-bright); }
.chain-r.on .sk { color: #fff; }
.sk { font-weight: 500; }
.chain-spot { display: flex; align-items: center; gap: 0.7rem; padding: 0.4rem 1rem; background: rgba(59, 123, 255, 0.08); border-top: 1px solid rgba(59, 123, 255, 0.22); border-bottom: 1px solid rgba(59, 123, 255, 0.22); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ice); }
.chain-spot .rule { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(59, 123, 255, 0.45), transparent); }
.listed { color: var(--ice); font-size: 0.68rem; border-bottom: 1px solid rgba(169, 199, 255, 0.3); }
.listed:hover { border-bottom-color: var(--ice); }
.mny { font-size: 0.58rem; padding: 0.1rem 0.35rem; border-radius: 5px; background: rgba(255, 255, 255, 0.06); color: var(--text-50); margin-left: 0.4rem; }

/* review + preview card */
.review { display: grid; gap: 0.55rem; }
.rv { display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 0.87rem; }
.rv:last-child { border-bottom: none; }
.rv span { color: var(--text-50); }
.rv b { font-family: var(--mono); font-weight: 500; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.summary-card { padding: 1.4rem; border-radius: var(--r); background: linear-gradient(170deg, rgba(59, 123, 255, 0.16), rgba(59, 123, 255, 0.02)); border: 1px solid rgba(59, 123, 255, 0.28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.summary-card .sc-slash { font-family: var(--font); font-size: 2.4rem; font-weight: 600; color: var(--blue-bright); line-height: 1; letter-spacing: -0.05em; }
.summary-card h3 { font-size: 1.5rem; margin: 0.7rem 0 0.3rem; }
.summary-card .sc-terms { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ice); }

.preview-sticky { position: sticky; top: calc(var(--nav-h) + 1rem); }
.preview-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.9rem; }

/* ── token page ────────────────────────────────────────────────── */
.tp-back { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; color: var(--text-50); padding: 1.2rem 0 0.4rem; transition: color 0.24s; }
.tp-back:hover { color: var(--text); }
.tp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 0.6rem 0 1.4rem; }
.tp-id { display: flex; align-items: center; gap: 1rem; }
.tp-id h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.045em; }
.tp-id .tp-terms { font-family: var(--mono); font-size: 0.72rem; color: var(--text-50); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.35rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.tp-px { text-align: right; }
.tp-px b { display: block; font-family: var(--mono); font-size: clamp(1.7rem, 3.6vw, 2.4rem); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.tp-px .chg { font-family: var(--mono); font-size: 0.86rem; }
.tp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 348px; gap: 1.2rem; align-items: start; }
.chart-box { padding: 1.1rem 1.1rem 0.8rem; }
.chart-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.6rem; flex-wrap: wrap; }
.chart-canvas { width: 100%; height: 320px; position: relative; }
.chart-canvas canvas { width: 100%; height: 100%; }
.crosshair {
  position: absolute;
  padding: 0.4rem 0.6rem;
  border-radius: 9px;
  background: rgba(10, 14, 26, 0.95);
  border: 1px solid var(--hair-2);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 0.68rem;
  pointer-events: none;
  white-space: nowrap;
  transform: translate(-50%, -135%);
  z-index: 4;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.9);
}

/* the backing flow: NVDA → $180 CALL → STRIKE TOKEN */
.flow { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1.4rem 1rem; }
.flow-node { width: 100%; max-width: 290px; padding: 0.8rem 1rem; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.035); border: 1px solid var(--hair); text-align: center; transition: all 0.4s var(--ease); }
.flow-node:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--hair-2); }
.flow-node.hi { background: linear-gradient(180deg, rgba(59, 123, 255, 0.22), rgba(59, 123, 255, 0.04)); border-color: rgba(59, 123, 255, 0.42); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16); }
.flow-node b { display: block; font-family: var(--font); font-size: 1rem; font-weight: 600; letter-spacing: -0.03em; }
.flow-node span { display: block; font-family: var(--mono); font-size: 0.62rem; color: var(--text-50); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.15rem; }
.flow-ar { color: var(--text-30); animation: nudge 2.6s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); opacity: 0.45; } 50% { transform: translateY(2px); opacity: 1; } }

/* trade panel */
/* the whole column pins, not just the ticket — a sticky ticket with a card
   below it in the same column means the card scrolls up over the ticket */
.tp-rail {
  position: sticky;
  top: calc(var(--nav-h) + 0.9rem);
  align-self: start;
  max-height: calc(100vh - var(--nav-h) - 2.6rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.tp-rail::-webkit-scrollbar { display: none; }
.trade { padding: 1.15rem; }
.trade-tabs { display: flex; gap: 4px; padding: 4px; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--hair); margin-bottom: 1rem; }
.trade-tabs button { flex: 1; height: 36px; border-radius: 3px; font-family: var(--font); font-size: 0.88rem; font-weight: 500; color: var(--text-50); transition: all 0.3s var(--ease); }
.trade-tabs button.on[data-side="BUY"] { background: linear-gradient(180deg, rgba(47, 211, 154, 0.3), rgba(47, 211, 154, 0.1)); color: #a8f6d8; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.trade-tabs button.on[data-side="SELL"] { background: linear-gradient(180deg, rgba(255, 95, 126, 0.3), rgba(255, 95, 126, 0.1)); color: #ffc0cd; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.amt-box { padding: 0.9rem 1rem; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--hair); transition: border-color 0.26s var(--ease); }
.amt-box:focus-within { border-color: rgba(59, 123, 255, 0.5); }
.amt-box label { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-50); }
.amt-row { display: flex; align-items: baseline; gap: 0.35rem; margin-top: 0.35rem; }
.amt-row i { font-style: normal; font-family: var(--mono); font-size: 1.6rem; color: var(--text-50); letter-spacing: -0.05em; }
.amt-input { flex: 1; width: 100%; font-family: var(--mono); font-size: 1.75rem; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.amt-input::placeholder { color: var(--text-30); }
.quick { display: flex; gap: 0.4rem; margin-top: 0.7rem; }
.quick button { flex: 1; height: 28px; border-radius: 2px; border: 1px solid var(--hair); background: rgba(255, 255, 255, 0.028); font-family: var(--mono); font-size: 0.7rem; color: var(--text-70); transition: all 0.26s var(--ease); }
.quick button:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); border-color: var(--hair-2); }
.kv { display: flex; align-items: center; justify-content: space-between; padding: 0.42rem 0; font-size: 0.8rem; }
.kv span { color: var(--text-50); }
.kv b { font-family: var(--mono); font-weight: 500; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.recv { padding: 0.8rem 1rem; border-radius: var(--r-sm); background: rgba(59, 123, 255, 0.07); border: 1px solid rgba(59, 123, 255, 0.2); margin: 0.7rem 0; }
.recv span { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ice); }
.recv b { display: block; font-family: var(--mono); font-size: 1.2rem; letter-spacing: -0.045em; margin-top: 0.2rem; font-variant-numeric: tabular-nums; }

/* tape */
.tape-row { display: grid; grid-template-columns: 46px 1fr auto auto; gap: 0.7rem; align-items: center; padding: 0.5rem 0.2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.04); font-family: var(--mono); font-size: 0.75rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; animation: tapeIn 0.5s var(--ease); }
.tape-row:last-child { border-bottom: none; }
@keyframes tapeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.side-b { color: var(--up); }
.side-s { color: var(--down); }

.sub-tabs { display: flex; gap: 0.15rem; margin-bottom: 0.6rem; }
.sub-tabs button { height: 30px; padding: 0 0.7rem; border-radius: 8px; font-size: 0.78rem; color: var(--text-50); transition: all 0.24s var(--ease); }
.sub-tabs button:hover { color: var(--text-70); }
.sub-tabs button.on { background: rgba(255, 255, 255, 0.07); color: var(--text); }

.holder-row { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0.2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.04); font-family: var(--mono); font-size: 0.76rem; }
.holder-row:last-child { border-bottom: none; }
.hbar { height: 3px; border-radius: 99px; background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright)); margin-top: 0.3rem; }

/* ── docs ──────────────────────────────────────────────────────── */
.docs-grid { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 2.5rem; align-items: start; padding: 2rem 0 4rem; }
.docs-nav { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.docs-nav a { display: block; padding: 0.4rem 0.7rem; font-size: 0.84rem; color: var(--text-50); border-left: 1px solid var(--hair); transition: all 0.24s var(--ease); }
.docs-nav a:hover { color: var(--text); }
.docs-nav a.on { color: var(--text); border-left-color: var(--blue-bright); background: rgba(59, 123, 255, 0.06); }
.doc h2 { font-size: 1.55rem; margin: 2.6rem 0 0.8rem; scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.02rem; margin: 1.6rem 0 0.5rem; }
.doc p, .doc li { color: var(--text-70); font-size: 0.9rem; line-height: 1.75; }
.doc p { margin-bottom: 0.9rem; }
.doc ul, .doc ol { padding-left: 1.2rem; margin: 0 0 1rem; }
.doc li { margin-bottom: 0.4rem; }
.doc code { font-family: var(--mono); font-size: 0.78rem; padding: 0.1rem 0.35rem; border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: var(--ice); }
.callout { padding: 1rem 1.2rem; border-radius: var(--r-sm); border-left: 2px solid var(--blue); background: rgba(59, 123, 255, 0.06); margin: 1.2rem 0; }
.callout p { margin: 0; font-size: 0.86rem; }

/* ── footer, toast, modal ──────────────────────────────────────── */
.foot { border-top: 1px solid var(--hair); padding: 3rem 0 2.5rem; margin-top: 3rem; }
.foot-grid { display: grid; grid-template-columns: 1.7fr repeat(2, 1fr); gap: 2.5rem; }
.foot h4 { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-30); margin-bottom: 0.8rem; font-weight: 500; }
.foot a { display: block; padding: 0.28rem 0; font-size: 0.84rem; color: var(--text-70); transition: color 0.24s; }
.foot a:hover { color: var(--text); }
.foot-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--hair); font-size: 0.76rem; color: var(--text-50); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: rgba(10, 14, 26, 0.96);
  border: 1px solid var(--hair-2);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.95);
  font-size: 0.84rem;
  animation: toastIn 0.42s var(--ease);
  max-width: calc(100vw - 2rem);
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }

.scrim { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 1.2rem; background: rgba(3, 5, 9, 0.74); backdrop-filter: blur(8px); animation: fade 0.28s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
/* the scrim is already blurred, so the modal needs its own solid ground or it
   disappears into it */
.modal { width: 100%; max-width: 390px; padding: 1.5rem; border-radius: var(--r-lg); background: linear-gradient(180deg, #10151f, #0a0d16); border-color: var(--hair-2); animation: modalIn 0.42s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
.wopt { display: flex; align-items: center; gap: 0.8rem; width: 100%; padding: 0.8rem 0.9rem; border-radius: var(--r-sm); border: 1px solid var(--hair); background: rgba(255, 255, 255, 0.026); transition: all 0.28s var(--ease); text-align: left; margin-bottom: 0.5rem; }
.wopt:hover { background: rgba(255, 255, 255, 0.075); border-color: var(--hair-2); transform: translateY(-1px); }
.wopt b { display: block; font-family: var(--font); font-size: 0.9rem; font-weight: 600; letter-spacing: -0.02em; }
.wopt span { display: block; font-size: 0.74rem; color: var(--text-50); }

.demo-note { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-30); }

/* reveal-on-scroll */
.rv-in { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rv-in.seen { opacity: 1; transform: none; }

/* ── responsive ────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; gap: 1.6rem; }
  .tp-grid { grid-template-columns: 1fr; }
  .tp-rail { position: static; max-height: none; overflow: visible; }
  .launch-grid { grid-template-columns: 1fr; }
  .preview-sticky { position: static; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deck-body { grid-template-columns: 1fr; }
  .spots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mech { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (max-width: 900px) {
  .snav-links { display: none; }
  .snav-burger { display: flex; }
  .snav-right .hide-sm { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .spots { grid-template-columns: 1fr 1fr; }
  .docs-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .docs-nav { position: static; display: flex; gap: 0.3rem; overflow-x: auto; padding-bottom: 0.4rem; }
  .docs-nav a { border-left: none; border-bottom: 1px solid var(--hair); white-space: nowrap; }
  .docs-nav a.on { border-left: none; border-bottom-color: var(--blue-bright); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 1.1rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
  .panel { padding: 1.1rem; }
  .f2 { grid-template-columns: 1fr; }
  .chain-h, .chain-r { grid-template-columns: 1fr 1fr 1fr; font-size: 0.72rem; padding: 0.55rem 0.7rem; }
  .chain-h > :nth-child(4), .chain-r > :nth-child(4) { display: none; }
  .tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tbl { min-width: 660px; }
  .tbl th:first-child, .tbl td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #070a11;
    box-shadow: 1px 0 0 var(--hair);
  }
  .tbl td, .tbl th { padding-left: 0.7rem; padding-right: 0.7rem; }
  .chart-canvas { height: 240px; }
}
@media (max-width: 720px) {
  .life-k { flex-wrap: wrap; gap: 0.35rem 0.8rem; }

}
@media (max-width: 560px) {
  .hide-xs { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
  .spots { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .tp-head { flex-direction: column; }
  .tp-px { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .rv-in { opacity: 1; transform: none; }
}
