/* ============================================================================
   ATLAS — enterprise humanoid robot (independent info page)
   Dark industrial palette, one self-hosted display face, system body text.
   ========================================================================== */

@font-face {
  font-family: "Saira Condensed";
  src: url("/fonts/saira-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #06080c;
  --ink-2: #0a0e15;
  --panel: #0c1219;
  --panel-2: #101823;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --ice: #e9eef7;
  --dim: #94a1b5;
  --dimmer: #6d7a8d;
  --blue: #3884ff;
  --blue-soft: rgba(56, 132, 255, 0.14);
  --radius: 12px;
  --wrap: 1180px;
  --display: "Saira Condensed", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ice);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- header ------------------------------------------------------- */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  background: rgba(6, 8, 12, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-head[data-solid="true"] {
  border-bottom-color: var(--line);
  background: rgba(6, 8, 12, 0.92);
}
.head-in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 21px;
  letter-spacing: 0.14em;
}
.brand svg { width: 22px; height: 22px; display: block; }

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  text-decoration: none;
  color: var(--dim);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--mono);
  transition: color 0.2s ease;
}
.nav a:hover, .nav a:focus-visible { color: var(--ice); }

.head-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.head-cta:hover { border-color: var(--blue); background: var(--blue-soft); }

.burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--ice);
  width: 40px;
  height: 38px;
  font-size: 18px;
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;      /* hero copy + ticker stack; without this the ticker
                                  steals half the width in a row layout */
  justify-content: flex-end;
  align-items: stretch;
  padding: 104px 0 0;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 68% 22%;
  filter: brightness(1.22) contrast(1.06) saturate(1.04);
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 8, 12, 0.93) 0%, rgba(6, 8, 12, 0.74) 42%, rgba(6, 8, 12, 0.20) 70%, rgba(6, 8, 12, 0.40) 100%),
    linear-gradient(180deg, rgba(6, 8, 12, 0.42) 0%, rgba(6, 8, 12, 0.16) 30%, rgba(6, 8, 12, 0.44) 70%, var(--ink) 100%),
    linear-gradient(90deg, rgba(6, 8, 12, 0.9) 0%, rgba(6, 8, 12, 0.25) 58%, rgba(6, 8, 12, 0.6) 100%);
}
.hero-in { padding-bottom: 52px; width: 100%; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.eb-short { display: none; }
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--blue);
  display: block;
}
.hero h1 {
  font-size: clamp(4rem, 14.5vw, 11rem);
  letter-spacing: 0.02em;
  line-height: 0.84;
  margin-bottom: 20px;
}
.hero-lead {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(1.15rem, 2.5vw, 1.72rem);
  color: var(--ice);
  letter-spacing: 0.04em;
  max-width: 30ch;
  margin-bottom: 18px;
}
.hero-quote {
  border-left: 2px solid var(--blue);
  padding-left: 16px;
  color: #b6c2d4;
  max-width: 68ch;
  font-size: 15px;
  margin-bottom: 26px;
}
.hero-quote cite { color: var(--dimmer); font-style: normal; font-family: var(--mono); font-size: 12px; display: block; margin-top: 6px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  white-space: nowrap;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); background: #4b90ff; }
.btn-ghost { border-color: var(--line-2); color: var(--ice); }
.btn-ghost:hover { border-color: var(--blue); background: var(--blue-soft); }

.fact-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  margin-top: 44px;
}
.fact {
  background: rgba(6, 8, 12, 0.94);
  padding: 18px 22px 20px;
  backdrop-filter: blur(8px);
}
.fact b {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.fact span { color: var(--dim); font-size: 13.5px; display: block; }
.fact em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #7fb0ff;
  display: block;
  margin-bottom: 8px;
}

/* ---------- sections ----------------------------------------------------- */

section { padding: 96px 0; }
.sec-alt { background: var(--ink-2); border-block: 1px solid var(--line); }

.sec-head { max-width: 62ch; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); margin-bottom: 16px; }
.sec-head p { color: var(--dim); font-size: 17px; }

.grid { display: grid; gap: 18px; }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-2 { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0.55;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card h3 { font-size: 22px; letter-spacing: 0.03em; margin-bottom: 10px; }
.card p { color: var(--dim); font-size: 14.5px; margin: 0; }
.card em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #7fb0ff;
  display: block;
  margin-bottom: 12px;
}
/* reserve two heading lines so body copy starts on one baseline across the row */
@media (min-width: 1001px) {
  .g-4 .card h3 { min-height: 2.5em; }
}

.figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.figure figcaption {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dimmer);
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}

.spec-list { border-top: 1px solid var(--line); margin: 0; }
.spec-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.spec-row dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.spec-row dd { margin: 0; font-size: 15.5px; }
.spec-row dd b { font-family: var(--display); font-size: 19px; letter-spacing: 0.03em; text-transform: uppercase; }
.note {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--blue);
  border-radius: 8px;
  padding: 16px 18px;
  color: var(--dim);
  font-size: 14px;
  background: rgba(56, 132, 255, 0.05);
}
.note a { color: var(--blue); }

.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 20px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--display);
  font-size: 44px;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--blue);
}
.step h3 { font-size: 21px; margin-bottom: 6px; }
.step p { color: var(--dim); font-size: 14.5px; margin: 0; }

.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.res {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 22px 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.res:hover { border-color: var(--blue); background: var(--panel-2); }
.res span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--dimmer);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.res b { font-family: var(--display); font-size: 19px; text-transform: uppercase; letter-spacing: 0.03em; display: block; }
.res i {
  font-style: normal;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  display: block;
  margin-top: 10px;
}

.cta-band {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 48px;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(56, 132, 255, 0.16), transparent 60%),
    var(--panel);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 28px;
  align-items: center;
}
.cta-band h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-bottom: 12px; }
.cta-band p { color: var(--dim); margin: 0; max-width: 56ch; }

/* ---------- footer ------------------------------------------------------- */

.site-foot {
  border-top: 1px solid var(--line);
  padding: 56px 0 60px;
  color: var(--dimmer);
  font-size: 13px;
}
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-foot h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 14px;
}
.site-foot a { color: var(--dim); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.site-foot a:hover { color: var(--ice); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 88ch; }

/* ---------- reveal ------------------------------------------------------- */

/* Progressive enhancement: only elements JS has explicitly hidden get animated,
   so a broken/blocked script can never leave the page blank. */
.reveal.will-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.will-reveal.in { opacity: 1; transform: none; }

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

@media (max-width: 1000px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .res-grid { grid-template-columns: repeat(2, 1fr); }
  .g-2 { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { grid-template-columns: 1fr; padding: 34px 26px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav, .head-cta { display: none; }
  .eyebrow { font-size: 11px; letter-spacing: 0.18em; }
  .burger { display: block; }
  .site-head[data-open="true"] .nav {
    display: grid;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(6, 8, 12, 0.98);
    border-block: 1px solid var(--line);
    padding: 18px 24px;
    gap: 16px;
  }
  .site-head[data-open="true"] .head-cta { display: inline-flex; }
  .hero { min-height: 92svh; padding-top: 96px; }
  .fact-rail { grid-template-columns: 1fr 1fr; }
  .g-4, .g-3, .res-grid { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .step { grid-template-columns: 56px 1fr; padding: 20px; }
  .step::before { font-size: 34px; }
  section { padding: 68px 0; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* print / PDF export and any no-scroll capture must never show blank blocks */
@media print {
  .reveal.will-reveal { opacity: 1 !important; transform: none !important; }
  .site-head { position: static; }
  .hero { min-height: 0; }
}

@media (max-width: 520px) {
  .btn { padding: 0 18px; font-size: 12px; letter-spacing: 0.1em; }
  .eb-full { display: none; }
  .eb-short { display: inline; }
  .fact { padding: 16px 18px 18px; }
  .fact span { display: none; }
  .fact b { font-size: 18px; }
}

/* specs row: table beside the battery-pack photo; gallery caption sizing */
.spec-wrap { grid-template-columns: 1.4fr 0.85fr; align-items: start; }
.gallery .figure { margin: 0; }
.gallery figcaption { font-size: 11.5px; letter-spacing: 0.07em; color: #a6b6cd; }
@media (max-width: 900px) {
  .spec-wrap { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal.will-reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .res { transition: none; }
}

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
/* a CSS display rule must never beat the hidden attribute */
[hidden] { display: none !important; }

/* ============================================================================
   Token layer — Robinhood Chain chip, CA block, ticker, stat cards, feature list.
   Appended after the base sheet so nothing above changes behaviour.
   ========================================================================== */

:root {
  --rh: #00c805;            /* Robinhood chain green */
  --rh-dim: rgba(0, 200, 5, 0.14);
  --rh-line: rgba(0, 200, 5, 0.42);
}

/* ---------- chain chip + eyebrow rows ---------- */
.hero-sub { max-width: 58ch; }
.rh-mark, .chip-chain img { width: 24px; height: 24px; border-radius: 6px; }
.rh-block { width: 40px; height: 40px; border-radius: 9px; }
.chip-row { display: inline-flex; align-items: center; gap: 10px; }

.chip-chain {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--rh-line);
  border-radius: 999px;
  background: var(--rh-dim);
  color: #b9f5bd;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chip-chain img { border-radius: 5px; display: block; }
.rh-mark { border-radius: 5px; display: inline-block; }

/* ---------- buttons ---------- */
.btn-green {
  background: var(--rh);
  border-color: var(--rh);
  color: #04240a;
  font-weight: 700;
}
.btn-green:hover { filter: brightness(1.08); }
.btn-sm { padding: 9px 16px; font-size: 11.5px; }
.icon-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ice);
  text-decoration: none; font-size: 15px;
}
.icon-link:hover { border-color: var(--rh-line); color: #b9f5bd; }

/* ---------- CA line in the hero ---------- */
.ca-line {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 22px; padding: 10px 12px 10px 16px;
  border: 1px solid var(--line); border-radius: 10px;
  background: rgba(6, 8, 12, 0.82);
  backdrop-filter: blur(6px);
}
.ca-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--rh);
}
.ca-addr {
  font-family: var(--mono); font-size: 13.5px; color: var(--ice);
  text-transform: none; letter-spacing: 0.02em;
}
.ca-hint {
  margin: 10px 0 0; max-width: 62ch;
  font-size: 12.5px; color: var(--dim); line-height: 1.55;
}
.copy {
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--rh-line); background: var(--rh-dim); color: #b9f5bd;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; transition: background 0.15s ease, color 0.15s ease;
}
.copy:hover { background: var(--rh); color: #04240a; }
.copy-lg { padding: 11px 20px; font-size: 12px; }

/* ---------- ticker strip ---------- */
.ticker {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line); background: rgba(6, 8, 12, 0.92);
  padding: 13px 0;
  padding-bottom: calc(13px + env(safe-area-inset-bottom, 0px));
}
.ticker-track {
  display: flex; gap: 26px; width: max-content;
  animation: slide 38s linear infinite;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(232, 238, 248, 0.82);
}
.ticker-track i { color: var(--rh); font-style: normal; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- stat cards ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  padding: 24px 22px; border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.008));
}
.stat b {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; color: var(--ice);
  letter-spacing: -0.01em; margin-bottom: 10px;
}
.stat span {
  display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--rh); margin-bottom: 8px;
}
.stat small { display: block; font-size: 12.5px; color: var(--dim); line-height: 1.5; }

/* ---------- numbered feature list ---------- */
.feat { list-style: none; margin: 22px 0 20px; padding: 0; }
.feat li {
  display: grid; grid-template-columns: 46px 1fr; gap: 14px;
  padding: 16px 0; border-top: 1px solid var(--line);
}
.feat li:first-child { border-top: 0; }
.feat > li > span {
  font-family: var(--display); font-weight: 700; font-size: 1.35rem;
  color: var(--rh); line-height: 1.1;
}
.feat b { display: block; font-size: 15px; color: var(--ice); margin-bottom: 4px; }
.feat p { margin: 0; font-size: 13.5px; color: var(--dim); line-height: 1.55; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag-row span {
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--dim);
}
.link {
  display: inline-block; color: var(--rh); text-decoration: none;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
}
.link:hover { text-decoration: underline; }

/* ---------- token / CA block ---------- */
.token-sec { border-top: 1px solid var(--line); }
.ca-block {
  padding: 26px 26px 22px; border: 1px solid var(--rh-line); border-radius: 14px;
  background: linear-gradient(180deg, rgba(0,200,5,0.06), rgba(0,200,5,0.015));
}
.ca-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.ca-state {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dim);
}
.ca-big {
  display: block; font-family: var(--mono); font-size: clamp(0.95rem, 2.3vw, 1.35rem);
  color: var(--ice); text-transform: none; letter-spacing: 0.01em;
  word-break: break-all; line-height: 1.45;
}
.ca-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ca-warn { margin: 16px 0 0; max-width: 68ch; font-size: 12.5px; color: var(--dim); line-height: 1.6; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .head-links { display: none; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .chip-chain { font-size: 10px; padding: 4px 10px 4px 5px; }
  .head-right {
  margin-left: auto; gap: 6px; }
  .ca-line { gap: 8px; padding: 9px 10px 9px 12px; }
  .ca-addr { font-size: 12px; }
  .ticker-track { font-size: 11.5px; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- live vs pre-launch affordances ----------
   Green is the launch colour. Before the contract exists it is not spent on
   buttons that cannot do anything: those dim out and say why when clicked. */
body[data-live="0"] .btn-green,
body[data-live="0"] .copy {
  background: transparent;
  border-color: var(--line-2);
  color: var(--dim);
}
body[data-live="0"] .btn-green:hover,
body[data-live="0"] .copy:hover { background: rgba(255,255,255,0.04); color: var(--ice); }
body[data-live="0"] .ca-label,
body[data-live="0"] .icon-link { color: var(--dim); }
body[data-live="0"] .ca-block { border-color: var(--line-2); background: rgba(255,255,255,0.02); }
body[data-live="0"] .ca-line {
  border: 0; background: none; padding: 0; margin-top: 18px; backdrop-filter: none;
}
body[data-live="0"] .ca-line .ca-label { color: var(--dim); }
body[data-live="0"] .ticker-track i { color: var(--dimmer); }

.ca-state::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; margin-right: 8px; vertical-align: 1px;
}
body[data-live="0"] .ca-state { color: #f0b74a; }
body[data-live="1"] .ca-state { color: var(--rh); }

/* ticker: read the text, fade the edges instead of slicing a word */
.ticker {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.ticker-track { color: rgba(232, 238, 248, 1); }
.eyebrow, .ca-hint, .ca-warn { color: #a8b4c6; }
.nav-quiet {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dim); text-decoration: none; white-space: nowrap;
}
.nav-quiet:hover { color: var(--ice); }
@media (max-width: 560px) { .nav-quiet { display: none; } }
.eb-short { display: none; }
@media (max-width: 560px) { .eb-long { display: none; } .eb-short { display: inline; } }

/* one green: chrome stays neutral, cards carry a hairline instead of a label colour */
.stat { border-left: 2px solid var(--rh-line); }
.stat span { color: var(--dim); }
.chip-chain { color: #cfd8e6; border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); }

/* ---------- external link icons (X, GMGN) ---------- */
.icon-link {
  width: 34px; height: 34px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
  transition: border-color .18s ease, background .18s ease, opacity .18s ease;
}
.icon-link img { width: 20px; height: 20px; display: block; border-radius: 4px; }
.icon-link:hover { border-color: var(--line-2); background: rgba(255,255,255,.06); }
.icon-link.pending { opacity: .58; cursor: not-allowed; border-style: dashed; }
.ca-actions .icon-link { width: 38px; height: 38px; }
.ca-actions .icon-link img { width: 22px; height: 22px; }
.ext-row { display: inline-flex !important; align-items: center; gap: 8px; }
.ext-row.pending { opacity: .5; }
.ext-ico { width: 16px; height: 16px; border-radius: 3px; }

/* ---------- why-NVDA flow panel ---------- */
.nvda-grid { align-items: center; gap: 34px; }
.nvda-lede { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--ice); line-height: 1.55; }
.disclaim {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--dim); margin-top: 16px; padding-left: 12px; border-left: 2px solid var(--line-2);
}
.flow { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, 0.02); }
.flow-row {
  display: grid; grid-template-columns: 1fr auto 1.15fr; align-items: center; gap: 12px;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
}
.flow-row:last-child { border-bottom: 0; }
.flow-k { color: var(--ice); font-weight: 600; }
.flow-a { color: var(--dimmer); font-size: 14px; }
.flow-v { color: var(--dim); }
.flow-us { background: linear-gradient(90deg, rgba(0, 200, 5, 0.12), rgba(0, 200, 5, 0)); }
.flow-us .flow-k, .flow-us .flow-a { color: var(--rh); }
.flow-us .flow-v { color: var(--ice); }
@media (max-width: 560px) {
  .flow-row { grid-template-columns: auto 1fr; gap: 10px; padding: 15px 16px; font-size: 11.5px; }
  .flow-a { display: none; }
  .flow-v { text-align: right; }
}

/* why-NVDA: caveat callout + panel footer note */
.callout {
  border-left: 3px solid #f0b74a; background: rgba(240, 183, 74, 0.07);
  padding: 12px 16px; border-radius: 0 8px 8px 0; color: #f4d9a4;
  font-size: 0.98rem; line-height: 1.5; margin: 18px 0;
}
.disclaim { color: #f0b74a; border-left-color: #f0b74a; }
.flow-note {
  margin: 14px 4px 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--dim);
}
.flow-us { border-top: 1px solid var(--rh-line); }

.flow-v em { font-style: normal; color: #f0b74a; }
