/* Sergio.R landing — STATIC editorial skin */

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-canvas);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  max-width: 100vw;
}
img, svg { max-width: 100%; }
button { font-family: inherit; }
::selection { background: var(--static-mint); color: var(--bg-absolute-black); }

/* ---------- Container ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ---------- Reusable bits ---------- */
.kicker {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--static-mint);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kicker--white { color: var(--fg-primary); }
.kicker--dim { color: var(--fg-secondary); }
.kicker--black { color: var(--bg-absolute-black); opacity: 0.75; }

.whisper {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 1.9px;
  line-height: 1.2;
  color: var(--fg-primary);
}

.mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1.1px;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 0;
  border-radius: var(--r-pill);
  padding: 14px 22px;
  cursor: pointer;
  transition: background var(--t-button), color var(--t-button), box-shadow var(--t-button);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.btn-mint {
  background: var(--static-mint);
  color: var(--bg-absolute-black);
}
.btn-mint:hover {
  background: var(--overlay-translucent);
  color: var(--bg-absolute-black);
  box-shadow: 0 0 0 1px #c2c2c2;
}
.btn-mint:active { background: var(--overlay-pressed); opacity: 0.5; }

.btn-slate {
  background: var(--bg-slate);
  color: var(--fg-muted);
}
.btn-slate:hover {
  background: var(--overlay-translucent);
  color: var(--fg-muted);
  box-shadow: 0 0 0 1px #c2c2c2;
}

.btn-outline-mint {
  background: transparent;
  color: var(--static-mint);
  box-shadow: inset 0 0 0 1px var(--static-mint);
}
.btn-outline-mint:hover {
  background: var(--static-mint);
  color: var(--bg-absolute-black);
}

.btn-uv {
  background: var(--static-ultraviolet);
  color: var(--fg-primary);
}
.btn-uv:hover {
  background: var(--overlay-translucent);
  color: var(--fg-primary);
  box-shadow: 0 0 0 1px #c2c2c2;
}

.btn-ghost {
  background: transparent;
  color: var(--fg-primary);
  box-shadow: inset 0 0 0 1px var(--border-frame);
}
.btn-ghost:hover { color: var(--link-hover); }

/* ---------- Status pill ---------- */
.status-pill {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--fg-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.status-pill .dot {
  width: 8px;
  height: 8px;
  background: var(--static-mint);
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(60,255,208,0.6); }
  50% { opacity: 0.55; box-shadow: 0 0 0 6px rgba(60,255,208,0); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg-canvas);
  border-bottom: 1px solid var(--bg-slate);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 0;
}
.nav__brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.5px;
  color: var(--fg-primary);
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.nav__brand .dot-mint { color: var(--static-mint); }
.nav__links {
  display: flex;
  gap: 26px;
  margin-left: 24px;
}
.nav__links a {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--fg-primary);
  cursor: pointer;
  padding-bottom: 4px;
  transition: color 150ms ease;
}
.nav__links a:hover { color: var(--link-hover); }
.nav__spacer { flex: 1; }
.nav__time {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  color: var(--fg-secondary);
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

/* ---------- Ticker tape ---------- */
.ticker {
  background: var(--static-mint);
  color: var(--bg-absolute-black);
  border-top: 1px solid var(--static-mint-border);
  border-bottom: 1px solid var(--static-mint-border);
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}
.ticker--uv { background: var(--static-ultraviolet); color: var(--fg-primary); border-color: var(--static-purple-rule); }
.ticker__track {
  display: inline-flex;
  gap: 48px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  animation: ticker-scroll 50s linear infinite;
  padding-left: 48px;
}
.ticker__item { display: inline-flex; align-items: center; gap: 12px; }
.ticker__item .star { display: inline-block; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Marquee for logo cloud ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--bg-slate);
  border-bottom: 1px solid var(--bg-slate);
  padding: 22px 0;
}
.marquee__track {
  display: inline-flex;
  gap: 80px;
  white-space: nowrap;
  animation: marquee-scroll 38s linear infinite;
  padding-left: 80px;
}
.marquee__item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.85;
}
.marquee__item:hover { opacity: 1; }
.marquee__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.3px;
}
.marquee__trade {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--fg-secondary);
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Section + headings ---------- */
.section { padding: 96px 0; border-bottom: 1px solid var(--bg-slate); }
.section--tight { padding: 64px 0; }
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.h-display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 0.95;
  margin: 0;
  color: var(--fg-primary);
}

/* ---------- Tile (story-tile, STATIC vocab) ---------- */
.tile {
  border-radius: var(--r-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  cursor: pointer;
  transition: color 150ms ease;
  position: relative;
  overflow: hidden;
}
.tile--dark { background: var(--bg-canvas); box-shadow: inset 0 0 0 1px var(--border-hairline); }
.tile--slate { background: var(--bg-slate); }
.tile--mint   { background: var(--tile-mint); color: var(--bg-absolute-black); }
.tile--uv     { background: var(--tile-purple); color: var(--fg-primary); }
.tile--yellow { background: var(--tile-yellow); color: var(--bg-absolute-black); }
.tile--pink   { background: var(--tile-pink); color: var(--bg-absolute-black); }
.tile--orange { background: var(--tile-orange); color: var(--bg-absolute-black); }
.tile--elec   { background: var(--tile-electric); color: var(--fg-primary); }
.tile--white  { background: var(--tile-white); color: var(--bg-absolute-black); }
.tile__head {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
  margin: 0;
  flex: 1;
}
.tile:hover .tile__head { color: var(--link-hover); }
.tile__meta {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.7;
}
.tile__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 64px;
  line-height: 0.85;
  margin: 0;
  letter-spacing: 0;
}

/* ---------- Hero (variant A) ---------- */
.hero-a {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--bg-slate);
  position: relative;
}
.hero-a__edition {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg-secondary);
  border-top: 1px solid var(--bg-slate);
  padding-top: 18px;
}
.hero-a__edition strong { color: var(--fg-primary); font-weight: 600; }
.hero-a__wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(96px, 14vw, 200px);
  line-height: 0.9;
  letter-spacing: 1.07px;
  color: var(--fg-primary);
  margin: 0 0 24px 0;
}
.hero-a__wordmark .accent { color: var(--static-mint); }
.hero-a__sub {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  margin-top: 32px;
  align-items: end;
}
.hero-a__deck {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.35;
  color: var(--fg-muted);
  max-width: 640px;
}
.hero-a__deck em { color: var(--static-mint); font-style: normal; font-weight: 700; }
.hero-a__cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- Word reveal animation ---------- */
.reveal-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.reveal-word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: word-up 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes word-up {
  to { transform: translateY(0); }
}

/* ---------- Hazard / accent strip ---------- */
.hazard {
  background: var(--static-mint);
  color: var(--bg-absolute-black);
  padding: 14px 0;
  border-top: 1px solid var(--static-mint-border);
  border-bottom: 1px solid var(--static-mint-border);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.hazard .container {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}
.hazard .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-absolute-black);
  display: inline-block;
  animation: blink 1.2s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0.2; } }

/* ---------- Showcase ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.case {
  border-radius: var(--r-feature);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  cursor: pointer;
  min-height: 460px;
  position: relative;
  overflow: hidden;
  transition: color 150ms ease;
}
.case--orange { background: var(--tile-orange); color: var(--bg-absolute-black); }
.case--uv     { background: var(--tile-purple); color: var(--fg-primary); }
.case--yellow { background: var(--tile-yellow); color: var(--bg-absolute-black); }
.case--dark   { background: var(--bg-canvas); color: var(--fg-primary); box-shadow: inset 0 0 0 1px var(--border-hairline); }
.case__art {
  border-radius: var(--r-nested);
  aspect-ratio: 16 / 10;
  box-shadow: inset 0 0 0 1px var(--border-frame);
  background: var(--bg-canvas);
  overflow: hidden;
  position: relative;
}
.case__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.case__head {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  line-height: 0.95;
  margin: 0;
  letter-spacing: 0.5px;
}
.case__deck {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
}
.case__role {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.75;
}
.case__stat {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.3px;
}

/* ---------- Problem cards ---------- */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.problem {
  background: var(--bg-canvas);
  border-radius: var(--r-card);
  box-shadow: inset 0 0 0 1px var(--bg-slate);
  padding: 28px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.problem:hover { box-shadow: inset 0 0 0 1px var(--static-mint); }
.problem__no {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--static-mint);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.problem__check {
  width: 18px;
  height: 18px;
  border: 1px solid var(--bg-slate);
  border-radius: 2px;
  display: inline-block;
}
.problem__t {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  margin: 0;
}
.problem__b {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-secondary);
  margin: 0;
}

/* ---------- Process timeline (StoryStream-styled) ---------- */
.stream {
  position: relative;
  padding-left: 140px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stream::before {
  content: "";
  position: absolute;
  left: 118px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--static-purple-rule) 0 5px, transparent 5px 10px);
}
.stream__item { position: relative; }
.stream__ts {
  position: absolute;
  left: -140px;
  top: 22px;
  width: 100px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: var(--fg-secondary);
  text-align: right;
}
.stream__ts strong { color: var(--fg-primary); font-weight: 700; display: block; }
.stream__body {
  background: var(--bg-canvas);
  border-radius: var(--r-card);
  box-shadow: inset 0 0 0 1px var(--border-hairline);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: box-shadow var(--t-base);
}
.stream__body:hover { box-shadow: inset 0 0 0 1px var(--static-mint); }
.stream__body--mint { background: var(--tile-mint); color: var(--bg-absolute-black); box-shadow: none; }
.stream__body--uv { background: var(--tile-purple); color: var(--fg-primary); box-shadow: none; }
.stream__kicker {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--static-mint);
}
.stream__body--mint .stream__kicker { color: var(--bg-absolute-black); opacity: 0.75; }
.stream__body--uv .stream__kicker { color: var(--fg-primary); opacity: 0.85; }
.stream__head {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  margin: 0;
}
.stream__body--mint:hover .stream__head { color: var(--link-hover); }
.stream__b {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  opacity: 0.85;
}

/* ---------- Footer ---------- */
.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--bg-slate);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.footer__mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 64px;
  line-height: 0.95;
  margin: 0 0 12px 0;
}
.footer__mark .accent { color: var(--static-mint); }
.footer__tag {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.9px;
  color: var(--fg-primary);
}
.footer__col h5 {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--static-mint);
  margin: 0 0 16px 0;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--fg-muted);
  cursor: pointer;
}
.footer__col a:hover { color: var(--link-hover); }
.footer__bottom {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--fg-secondary);
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--bg-slate);
}

/* ---------- FAQ accordion ---------- */
.faq-row {
  border-top: 1px solid var(--bg-slate);
  overflow: hidden;
  transition: background var(--t-base), color var(--t-base), border-radius var(--t-base);
}
.faq-row:last-child { border-bottom: 1px solid var(--bg-slate); }
.faq-row.open {
  background: var(--bg-canvas);
  box-shadow: inset 0 0 0 1px var(--static-mint);
  border-color: transparent;
  border-radius: var(--r-card);
  margin: 8px 0;
}
.faq-row__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  background: transparent;
  border: 0;
  color: inherit;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  letter-spacing: -0.015em;
}
.faq-row__plus {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--static-mint);
  transition: transform var(--t-base);
}
.faq-row.open .faq-row__plus { transform: rotate(45deg); }
.faq-row__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}
.faq-row.open .faq-row__a {
  max-height: 240px;
  padding: 0 24px 22px;
}
.faq-row__a p {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
}

/* ---------- Counters / stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.stat {
  padding: 24px 0;
  border-top: 2px solid var(--static-mint);
}
.stat__big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 64px;
  line-height: 0.95;
  letter-spacing: 0.5px;
  margin: 0 0 8px 0;
}
.stat__lbl {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg-secondary);
}

/* =========================================================
   VARIANT B — CONSOLE TERMINAL
   ========================================================= */

/* Terminal nav */
.term-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg-absolute-black);
  border-bottom: 1px solid var(--static-purple-rule);
}
.term-nav .container {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.term-nav__prompt {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--static-mint);
  text-transform: uppercase;
}
.term-nav__brand {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--fg-primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.term-nav__brand .cursor {
  display: inline-block;
  width: 9px;
  height: 14px;
  background: var(--static-mint);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: cursor-blink 1s steps(2) infinite;
}
@keyframes cursor-blink { 50% { opacity: 0; } }
.term-nav__links { display: flex; gap: 22px; }
.term-nav__links a {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg-muted);
  cursor: pointer;
}
.term-nav__links a::before { content: "$ "; color: var(--static-ultraviolet); }
.term-nav__links a:hover { color: var(--static-mint); }

/* Terminal hero — left typed feed, right cards */
.term-hero {
  padding: 64px 0;
  border-bottom: 1px solid var(--bg-slate);
  background:
    repeating-linear-gradient(to right, var(--bg-canvas) 0 80px, rgba(82,0,255,0.04) 80px 81px),
    var(--bg-canvas);
}
.term-hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.term-hero__feed {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--fg-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 110px;
  margin-bottom: 24px;
}
.term-hero__feed .out { color: var(--static-mint); }
.term-hero__feed .arrow { color: var(--static-ultraviolet); }

.term-hero__h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(72px, 9vw, 124px);
  line-height: 0.9;
  letter-spacing: 0.5px;
  margin: 0 0 24px 0;
  color: var(--fg-primary);
}
.term-hero__h1 .uv { color: var(--static-ultraviolet); }
.term-hero__h1 .mint { color: var(--static-mint); }
.term-hero__deck {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 0 32px 0;
  letter-spacing: -0.16px;
}
.term-hero__panel {
  background: var(--bg-canvas);
  border-radius: var(--r-card);
  box-shadow: inset 0 0 0 1px var(--border-hairline);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.term-hero__panel-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--static-mint);
  display: flex;
  justify-content: space-between;
}
.term-hero__metric {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--bg-slate);
}
.term-hero__metric-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 34px;
  line-height: 0.95;
  color: var(--fg-primary);
  letter-spacing: 0.5px;
}
.term-hero__metric-num.uv { color: var(--static-ultraviolet); }
.term-hero__metric-num.mint { color: var(--static-mint); }
.term-hero__metric-lbl {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.35;
}
.term-hero__metric-lbl small {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--fg-secondary);
  display: block;
  margin-top: 4px;
}

/* Terminal client log table */
.term-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.1px;
}
.term-table th, .term-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--bg-slate);
  text-transform: uppercase;
}
.term-table th {
  color: var(--fg-secondary);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 1.5px;
}
.term-table tr td:first-child { color: var(--static-mint); font-weight: 700; }
.term-table tr:hover td { background: rgba(82,0,255,0.08); color: var(--fg-primary); }

/* Diagnose / problems grid for B */
.diag {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.diag__card {
  background: var(--bg-canvas);
  box-shadow: inset 0 0 0 1px var(--bg-slate);
  border-radius: var(--r-nested);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: box-shadow var(--t-base);
  cursor: pointer;
  min-height: 240px;
}
.diag__card:hover { box-shadow: inset 0 0 0 1px var(--static-ultraviolet); }
.diag__head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.diag__id { color: var(--static-ultraviolet); }
.diag__tag { color: var(--static-mint); }
.diag__t {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.15;
  margin: 0;
}
.diag__b {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-secondary);
  margin: 0;
}
.diag__bar {
  height: 4px;
  background: var(--bg-slate);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.diag__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--static-mint);
  transform: scaleX(0);
  transform-origin: left;
  animation: fill-bar 2s ease forwards;
}
@keyframes fill-bar { to { transform: scaleX(1); } }

/* Run-the-pipeline (process for B) */
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--bg-slate);
  border-radius: var(--r-card);
  overflow: hidden;
}
.pipeline__step {
  padding: 28px;
  border-right: 1px solid var(--bg-slate);
  position: relative;
  background: var(--bg-canvas);
}
.pipeline__step:last-child { border-right: 0; }
.pipeline__step::after {
  content: "→";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--static-mint);
  background: var(--bg-canvas);
  padding: 4px;
  z-index: 2;
}
.pipeline__step:last-child::after { display: none; }
.pipeline__id {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--static-ultraviolet);
  margin-bottom: 24px;
}
.pipeline__t {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  line-height: 0.95;
  margin: 0 0 12px 0;
  letter-spacing: 0.3px;
}
.pipeline__b {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-secondary);
  margin: 0;
}

/* Final CTA for B */
.cta-b {
  background: var(--static-ultraviolet);
  color: var(--fg-primary);
  border-radius: var(--r-feature);
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.cta-b__h {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: 0.5px;
  margin: 0 0 24px 0;
}
.cta-b__h em { font-style: normal; color: var(--static-mint); }
.cta-b__deck {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  max-width: 560px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 32px 0;
}

/* Glitch headline animation (variant B) */
.glitch {
  position: relative;
  display: inline-block;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}
.glitch::before {
  color: var(--static-mint);
  transform: translate(-1px, 0);
  mix-blend-mode: screen;
  clip-path: inset(0 0 60% 0);
  animation: glitch-a 4s steps(1) infinite;
}
.glitch::after {
  color: var(--static-ultraviolet);
  transform: translate(1px, 0);
  mix-blend-mode: screen;
  clip-path: inset(60% 0 0 0);
  animation: glitch-b 5.2s steps(1) infinite;
}
@keyframes glitch-a {
  0%, 92%, 100% { transform: translate(0,0); clip-path: inset(0 0 60% 0); }
  93% { transform: translate(-4px, 1px); clip-path: inset(20% 0 50% 0); }
  95% { transform: translate(3px, -1px); clip-path: inset(40% 0 30% 0); }
}
@keyframes glitch-b {
  0%, 90%, 100% { transform: translate(0,0); clip-path: inset(60% 0 0 0); }
  92% { transform: translate(3px, 1px); clip-path: inset(45% 0 15% 0); }
  94% { transform: translate(-2px, -1px); clip-path: inset(70% 0 5% 0); }
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reusable responsive grids (so inline styles can collapse) ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.faq-sticky { position: sticky; top: 100px; }

/* Responsive guardrails */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 40px 0; }
  .section__head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }

  .hero-a__sub, .term-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .showcase, .problems-grid, .diag { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; border-radius: var(--r-nested); }
  .pipeline__step { border-right: 0; border-bottom: 1px solid var(--bg-slate); padding: 24px; }
  .pipeline__step:last-child { border-bottom: 0; }
  .pipeline__step::after { display: none; }

  .benefits-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-sticky { position: static; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
  .footer__mark { font-size: 44px !important; }

  .stream { padding-left: 0; }
  .stream::before { display: none; }
  .stream__ts { position: static; text-align: left; width: auto; margin-bottom: 6px; }

  .nav__links, .term-nav__links { display: none; }
  .term-nav .container { gap: 14px; padding-top: 10px; padding-bottom: 10px; }
  .nav__time { display: none; }

  .term-hero { padding: 40px 0; }
  .term-hero__h1 { font-size: clamp(44px, 12vw, 96px); }
  .term-hero__deck { font-size: 17px; }
  .term-hero__feed { font-size: 11px; }
  .term-hero__panel { padding: 20px; }

  .hero-a__wordmark { font-size: clamp(56px, 14vw, 120px); }
  .stats { grid-template-columns: 1fr; }

  .cta-b { padding: 40px 28px; border-radius: var(--r-card); }
  .cta-b__h { font-size: clamp(38px, 9vw, 72px); }

  .h-display { font-size: clamp(36px, 8vw, 64px) !important; }

  .case { padding: 22px; min-height: 0; }
  .case__head { font-size: 28px; }
  .problem, .diag__card { padding: 22px; min-height: 0; }

  .faq-row__btn { font-size: 16px; padding: 18px 18px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer { padding: 48px 0 32px; }
  .term-nav__brand { font-size: 12px; }
  .term-hero__metric { grid-template-columns: 1fr; gap: 4px; }
  .term-hero__metric-num { font-size: 28px !important; }
  .ticker__track, .marquee__track { gap: 28px; }
  .marquee__name { font-size: 18px; }
}
