/*
 * Arrow Phase 13B — the storefront.
 *
 * One set of tokens, then the components the public pages are built from.
 * Design rules this file keeps to:
 *   - depth comes from layered surfaces and hairline borders, not shadows
 *     everywhere, so the page stays calm at 2am on an OLED screen
 *   - mint is for the live and the actionable only; everything else is
 *     grey, so a price that moves is the brightest thing on the page
 *   - text sizes come from one scale, and body text never drops below
 *     13px or below a 4.5:1 contrast ratio
 *   - motion is short and optional: it is disabled entirely for anyone
 *     who asks for reduced motion
 */

:root {
  --bg: #04070a;
  --bg-2: #070c11;
  --surface: #0a1117;
  --surface-2: #0e1720;
  --surface-3: #131f2a;
  --line: #1b2a36;
  --line-2: #24384a;

  --text: #eef4f7;
  --text-2: #9fb3c2;
  --text-3: #6d8497;

  --mint: #4bf0b1;
  --mint-deep: #17b586;
  --mint-glow: rgba(75, 240, 177, 0.18);
  --warn: #ffc46b;
  --danger: #ff7a7a;
  --up: #4bf0b1;
  --down: #ff8f8f;

  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --step--1: 12px;
  --step-0: 14px;
  --step-1: 16px;
  --step-2: 20px;
  --step-3: 26px;
  --step-4: 34px;
  --step-5: clamp(38px, 5vw, 62px);

  --gap: 16px;
  --page: min(1320px, 94vw);
}

/* ---------------------------------------------------------------- shell */

.sf {
  font-feature-settings: "tnum" 1, "ss01" 1;
  color: var(--text);
}

.sf-page {
  width: var(--page);
  margin: 0 auto;
  padding: 28px 0 72px;
}

.sf-eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-3);
}

.sf-h1 { font-size: var(--step-5); line-height: 1.02; letter-spacing: -0.035em; margin: 10px 0 12px; }
.sf-h2 { font-size: var(--step-3); letter-spacing: -0.02em; margin: 0 0 6px; }
.sf-sub { color: var(--text-2); font-size: var(--step-1); line-height: 1.6; max-width: 62ch; }
.sf-muted { color: var(--text-3); font-size: var(--step--1); }
.sf-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: var(--step--1); color: var(--text-2); }

/* ------------------------------------------------------------------ tape */

/* the live bar of every launch, newest first */
.tape {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}

.tape-head {
  width: var(--page);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0 0;
}

.tape-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
}

.tape-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 var(--mint-glow);
  animation: tape-pulse 2.4s ease-out infinite;
}

@keyframes tape-pulse {
  0% { box-shadow: 0 0 0 0 var(--mint-glow); }
  70% { box-shadow: 0 0 0 10px rgba(75, 240, 177, 0); }
  100% { box-shadow: 0 0 0 0 rgba(75, 240, 177, 0); }
}

.tape-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0 14px;
  height: 38px;
  min-width: 260px;
}

.tape-search input {
  border: 0;
  background: transparent;
  padding: 0;
  height: 36px;
  width: 100%;
  color: var(--text);
  font-size: var(--step-0);
}

.tape-search input::placeholder { color: var(--text-3); }
.tape-search:focus-within { border-color: var(--mint-deep); }

.tape-strip {
  width: var(--page);
  margin: 0 auto;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 0 14px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.tape-strip::-webkit-scrollbar { height: 6px; }
.tape-strip::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }

.tape-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 34px auto;
  gap: 10px;
  align-items: center;
  padding: 8px 14px 8px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.tape-chip:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-1px); }

.tape-chip img,
.tape-chip .tape-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-3);
  display: grid;
  place-items: center;
  color: var(--mint);
  font-size: 13px;
}

.tape-chip strong { font-size: var(--step-0); letter-spacing: -0.01em; display: block; }
.tape-chip span { font-size: 11px; color: var(--text-3); display: block; }
.tape-chip em { font-style: normal; color: var(--mint); font-size: 11px; }

.tape-empty { width: var(--page); margin: 0 auto; padding: 16px 0 20px; color: var(--text-3); font-size: var(--step-0); }

/* ------------------------------------------------------------------ hero */

.sf-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(23, 181, 134, 0.16), transparent 60%),
    radial-gradient(700px 400px at 10% 0%, rgba(41, 92, 122, 0.22), transparent 62%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.sf-hero-inner {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 92px) 0 clamp(28px, 4vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
}

.sf-hero h1 span { color: var(--mint); }

.sf-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--step-1);
  background: linear-gradient(180deg, var(--mint), var(--mint-deep));
  color: #04231a;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.sf-cta:hover { transform: translateY(-1px); filter: brightness(1.05); }

.sf-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  color: var(--text);
  background: var(--surface);
  font-weight: 600;
  font-size: var(--step-1);
}

.sf-cta-ghost:hover { border-color: var(--mint-deep); }

.sf-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.sf-assure { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; color: var(--text-2); font-size: var(--step--1); }
.sf-assure span { display: inline-flex; align-items: center; gap: 8px; }
.sf-assure b { color: var(--mint); font-weight: 600; }

/* live totals beside the hero */
.sf-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sf-stat {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}

.sf-stat strong { display: block; font-size: var(--step-3); letter-spacing: -0.02em; }
.sf-stat span { display: block; margin-top: 6px; color: var(--text-3); font-size: var(--step--1); }

/* ----------------------------------------------------------------- market */

.market-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 6px 0 22px;
}

.chip-row { display: inline-flex; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 4px; }

.chip {
  border: 0;
  background: transparent;
  color: var(--text-2);
  font-size: var(--step--1);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.chip[aria-pressed="true"] { background: var(--surface-3); color: var(--text); }
.chip:hover { color: var(--text); }

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: var(--gap);
}

.market-card {
  display: block;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.market-card:hover { border-color: var(--line-2); transform: translateY(-2px); }

.market-head { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; }

.market-head img,
.market-head .market-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--surface-3);
  display: grid;
  place-items: center;
  color: var(--mint);
}

.market-name { min-width: 0; }
.market-name strong { display: block; font-size: var(--step-1); letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.market-name span { display: block; color: var(--text-3); font-size: var(--step--1); }

.market-figures { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }
.market-figures div { min-width: 0; }
.market-figures strong { display: block; font-size: var(--step-0); }
.market-figures span { display: block; color: var(--text-3); font-size: 11px; margin-top: 3px; }

.bar { height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; margin-top: 14px; }
.bar > i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--mint-deep), var(--mint)); transition: width .45s ease; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  color: var(--text-2);
  white-space: nowrap;
}

.badge-live { color: var(--mint); border-color: rgba(75, 240, 177, 0.35); background: rgba(75, 240, 177, 0.08); }
.badge-locked { color: #9fe8ff; border-color: rgba(159, 232, 255, 0.3); background: rgba(159, 232, 255, 0.07); }
.badge-warn { color: var(--warn); border-color: rgba(255, 196, 107, 0.32); background: rgba(255, 196, 107, 0.08); }

/* --------------------------------------------------------------- token page */

.token-hero {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 26px 0 22px;
  border-bottom: 1px solid var(--line);
}

.token-hero img,
.token-hero .token-mark {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;
  background: var(--surface-3);
  display: grid;
  place-items: center;
  color: var(--mint);
  font-size: 32px;
}

.token-hero h1 { font-size: var(--step-4); letter-spacing: -0.03em; margin: 0 0 8px; }
.token-badges { display: flex; gap: 8px; flex-wrap: wrap; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 22px 0;
}

.stat-row > div { background: var(--surface); padding: 16px 18px; }
.stat-row strong { display: block; font-size: var(--step-2); letter-spacing: -0.02em; }
.stat-row span { display: block; color: var(--text-3); font-size: 11px; margin-top: 5px; letter-spacing: 0.04em; text-transform: uppercase; }

.panel-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }

.sf-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.sf-panel h3 { margin: 0 0 14px; font-size: var(--step-1); letter-spacing: -0.01em; }

.data-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.data-table th { text-align: left; color: var(--text-3); font-weight: 500; padding: 0 0 10px; letter-spacing: 0.06em; text-transform: uppercase; font-size: 10px; }
.data-table td { padding: 9px 0; border-top: 1px solid var(--line); color: var(--text-2); }
.data-table td strong { color: var(--text); font-weight: 600; }
.trade-buy { color: var(--up); }
.trade-sell { color: var(--down); }

.spark { width: 100%; height: 132px; display: block; }

.empty {
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  text-align: center;
  color: var(--text-2);
}

.empty strong { display: block; font-size: var(--step-1); color: var(--text); margin-bottom: 6px; }

.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  height: 148px;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  to { transform: translateX(100%); }
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .sf-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .panel-grid { grid-template-columns: 1fr; }
  .token-hero { grid-template-columns: 72px minmax(0, 1fr); }
  .token-hero > :last-child { grid-column: 1 / -1; }
  .token-hero img, .token-hero .token-mark { width: 72px; height: 72px; border-radius: 18px; }
}

@media (max-width: 620px) {
  .tape-head { flex-wrap: wrap; }
  .tape-search { margin-left: 0; width: 100%; }
  .market-grid { grid-template-columns: 1fr; }
  .sf-stats { grid-template-columns: 1fr 1fr; }
}

/* someone who asks for less motion gets none of it */
@media (prefers-reduced-motion: reduce) {
  .tape-dot, .skeleton::after { animation: none; }
  .market-card, .tape-chip, .sf-cta { transition: none; }
}

/* keyboard users can always see where they are */
.sf a:focus-visible,
.sf button:focus-visible,
.sf input:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ------------------------------------------------------ layout utilities */

.stack { display: grid; gap: 16px; align-content: start; }
.sf-note { margin-top: 18px; }
.skeleton-hero { height: 120px; }
.tape-search-end { margin-left: auto; }

/* ------------------------------------------------- Phase 13C: analytics */

.page-title { padding: 28px 0 20px; }

.tile-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}

.stat-tile { background: var(--surface); padding: 20px; display: grid; gap: 6px; align-content: start; }
.stat-label { color: var(--text-3); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.stat-value { font-size: var(--step-3); letter-spacing: -0.025em; line-height: 1.1; font-variant-numeric: tabular-nums; }

.delta { font-size: var(--step--1); color: var(--text-2); }
.delta-up { color: var(--up); }
.delta-down { color: var(--down); }
.delta-flat { color: var(--text-3); }

.sf-fine { color: var(--text-3); font-size: 11px; line-height: 1.6; }

.panel-grid-even { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); margin-top: 18px; }

.bars { width: 100%; height: 150px; display: block; margin: 4px 0 10px; }

.table-details summary { color: var(--text-3); font-size: var(--step--1); cursor: pointer; padding: 6px 0; }
.table-details summary:hover { color: var(--text-2); }

.mini-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); margin-top: 6px; }
.mini-table caption { text-align: left; color: var(--text-3); font-size: 11px; padding-bottom: 8px; }
.mini-table th { text-align: left; font-weight: 500; color: var(--text-2); padding: 7px 0; border-top: 1px solid var(--line); }
.mini-table td { text-align: right; color: var(--text); padding: 7px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }

/* ----------------------------------------------------- Phase 13D: forum */

.post-list { display: grid; gap: 12px; margin: 18px 0; }

.post {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}

.post-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }

.post-token {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  color: var(--text);
  text-decoration: none;
  font-size: var(--step--1);
  max-width: 100%;
}

.post-token:hover { border-color: var(--mint-deep); }
.post-token img,
.post-token .post-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-3);
  display: grid;
  place-items: center;
  color: var(--mint);
  font-size: 12px;
}

.post-token-general { padding: 5px 12px; color: var(--text-3); }
.post-author { color: var(--text-2); font-size: var(--step--1); text-decoration: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.post-author:hover { color: var(--mint); }

.post-body { color: var(--text); font-size: var(--step-1); line-height: 1.65; overflow-wrap: anywhere; }
/* Phase 27: no line clamp. A post cost a transaction; it is shown whole. */
.post-foot { display: flex; gap: 16px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.post-link { color: var(--text-3); font-size: var(--step--1); text-decoration: none; }
.post-link:hover { color: var(--mint); }
.post-replies { margin-left: 24px; border-left: 2px solid var(--line); padding-left: 16px; }

.composer { display: grid; gap: 10px; margin-bottom: 18px; }
.sf-label { color: var(--text-2); font-size: var(--step--1); }

/*
 * Phase 27: the box grows with what is typed and scrolls once it is tall
 * enough. A post can be 2000 bytes; writing one in a four-line window meant
 * the author could not read back what they had written before paying gas for
 * it. field-sizing does the growing where it is supported, and min-height
 * keeps a usable box where it is not.
 */
.composer textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  font-size: var(--step-1);
  line-height: 1.6;
  padding: 12px 14px;
  resize: vertical;
  field-sizing: content;
  min-height: 9rem;
  max-height: 24rem;
  overflow-y: auto;
}

.composer textarea:focus { outline: none; border-color: var(--mint-deep); }
.composer textarea:disabled { color: var(--text-3); cursor: not-allowed; }
.composer-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.composer .sf-cta:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

@media (max-width: 760px) {
  .panel-grid { grid-template-columns: minmax(0, 1fr); }
  .post-replies { margin-left: 8px; padding-left: 12px; }
}

/* ------------------------------------------------------ narrow screens */

/*
 * The old rule hid the navigation below 850px, which left a phone with no
 * way to reach Explore, the forum or a launch. It becomes a scrollable
 * row instead: everything stays reachable, nothing is behind a menu.
 */
@media (max-width: 850px) {
  .topbar {
    grid-template-columns: auto 1fr;
    height: auto;
    padding: 10px 16px 0;
    row-gap: 6px;
  }

  .topbar nav {
    display: flex;
    order: 3;
    grid-column: 1 / -1;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 0 16px;
  }

  .topbar nav::-webkit-scrollbar { display: none; }
  .topbar nav a { padding: 6px 0 10px; white-space: nowrap; font-size: 13px; }
  .top-actions { gap: 10px; }
  .wallet-btn { height: 40px; padding: 0 14px; }
}

@media (max-width: 560px) {
  .sf-page { padding-left: 16px; padding-right: 16px; }
  .tile-row, .stat-row { grid-template-columns: minmax(0, 1fr); }
  .market-grid { grid-template-columns: minmax(0, 1fr); }
  .composer-foot { align-items: flex-start; }
  .composer-foot .sf-cta { width: 100%; justify-content: center; }
}

/* --------------------------------------------- Phase 15: standing notices */

.notice-bar {
  padding: 9px 3.5vw;
  font-size: var(--step--1);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
}

.notice-warn { background: rgba(255, 122, 122, 0.1); border-bottom-color: rgba(255, 122, 122, 0.25); }

@media (max-width: 560px) {
  .notice-bar { padding-left: 16px; padding-right: 16px; }
}

/* ------------------------------------------------------ Phase 17: legal */

.legal .legal-section { max-width: 72ch; margin: 0 0 26px; }
.legal .legal-section h2 { font-size: var(--step-2); letter-spacing: -0.02em; margin: 0 0 10px; }
.legal .legal-section p { color: var(--text-2); line-height: 1.7; margin: 0 0 10px; }
.chip-row-links { margin-bottom: 26px; flex-wrap: wrap; }
.chip-row-links .chip { text-decoration: none; }
.chip-row-links .chip-on { background: var(--surface-3); color: var(--text); }

.skeleton-line { height: 44px; min-height: 0; }

/* ------------------------------------------ Phase 19: the confirmation */

.attest { position: fixed; inset: 0; z-index: 9998; background: rgba(0, 0, 0, 0.72); display: grid; place-items: center; padding: 16px; }
.attest-panel { width: min(520px, 100%); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 26px; display: grid; gap: 14px; }
.attest-panel h2 { margin: 0; font-size: var(--step-2); letter-spacing: -0.02em; }
.attest-check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; color: var(--text); font-size: var(--step-0); line-height: 1.55; cursor: pointer; }
.attest-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--mint); }
.attest-check a { color: var(--mint); }
.attest-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.attest-actions .sf-cta:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ------------------------------------------- Phase 20: memecoin protocols */

.plain-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--text); font-size: var(--step-0); line-height: 1.5; }
.delisted { border-color: rgba(255, 196, 107, 0.35); }
.delisted h3 { color: var(--warn); }
.delisted p { color: var(--text-2); line-height: 1.6; margin: 0 0 8px; }

/* the risk, next to the promise of fun (Phase 20B) */
.sf-risk-line { margin-top: 12px; color: var(--warn); font-size: var(--step-0); max-width: 62ch; }

/* Phase 23: graduation in blocks — countable at a glance, and no width to set in script */
.grad { display: flex; gap: 3px; margin-top: 14px; }
.grad > i { flex: 1; height: 8px; border-radius: 2px; background: var(--surface-3); }
.grad > i.grad-on { background: var(--mint); }
.trade-panel .grad { margin: 0 0 12px; }

/* Phase 23: the standing facts, in one strip on every page */
.marquee { display: flex; flex-wrap: wrap; gap: 0 26px; justify-content: center;
  border-top: 1px solid var(--line, #1b2a36); border-bottom: 1px solid var(--line, #1b2a36);
  background: var(--surface-2, #0b1512); padding: 10px 18px; margin-top: 48px; }
.marquee span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3, #7f9a90); padding: 2px 0; }
.marquee span + span::before { content: "·"; margin-right: 26px; color: var(--line, #1b2a36); }
@media (max-width: 720px) { .marquee { gap: 0 14px; } .marquee span + span::before { margin-right: 14px; } }
