/* ============================================================
   JULIUSSLAUGHTER.IO — Premium CSS Design System
   North Star: "I am watching my business become a system."
   ============================================================ */

:root {
  /* Core palette */
  --bg: #080f1d;
  --bg2: #0d1a30;
  --card: #0e1e36;

  /* Brand identity tokens */
  --cmd-obsidian: #060d18;
  --cmd-carbon: #0d1926;
  --cmd-carbon-mid: #12243d;
  --cmd-glass: rgba(14, 30, 56, 0.72);
  --cmd-glass-strong: rgba(8, 16, 32, 0.88);
  --cmd-glass-light: rgba(20, 40, 72, 0.56);
  --cmd-glass-border: rgba(86, 230, 218, 0.22);
  --cmd-glass-border-warm: rgba(255, 141, 86, 0.28);

  /* Identity accents */
  --cmd-turquoise: #56e6da;
  --cmd-turquoise-soft: rgba(86, 230, 218, 0.18);
  --cmd-orange: #ff8d56;
  --cmd-orange-soft: rgba(255, 141, 86, 0.18);
  --cmd-champagne: #f0c98f;
  --cmd-champagne-soft: rgba(240, 201, 143, 0.18);
  --cmd-cobalt: #6c89ff;
  --cmd-cobalt-soft: rgba(108, 137, 255, 0.18);
  --cmd-violet: #9b72ff;
  --cmd-violet-soft: rgba(155, 114, 255, 0.16);
  --cmd-green: #5ed4a8;
  --cmd-danger: #ff6e7d;
  --cmd-ivory: #f4f8ff;
  --cmd-muted: #8ca8c8;
  --cmd-text: #edf6ff;
  --cmd-text-soft: #b8d4ef;

  /* Legacy token aliases (preserve JS refs) */
  --aqua: var(--cmd-turquoise);
  --orange: var(--cmd-orange);
  --gold: var(--cmd-champagne);
  --text: var(--cmd-text);
  --muted: var(--cmd-muted);
  --line: rgba(86, 230, 218, 0.2);
  --r: 16px;

  /* Premium shadow tokens */
  --cmd-shadow-float: 0 12px 36px rgba(4, 10, 24, 0.52), 0 2px 8px rgba(4, 10, 24, 0.36);
  --cmd-shadow-command: 0 22px 56px rgba(3, 8, 18, 0.62), 0 4px 16px rgba(3, 8, 18, 0.42);
  --cmd-shadow-hero: 0 32px 80px rgba(2, 6, 16, 0.72), 0 8px 24px rgba(2, 6, 16, 0.48);
  --cmd-shadow-glow-cyan: 0 0 32px rgba(86, 230, 218, 0.18), 0 0 8px rgba(86, 230, 218, 0.12);
  --cmd-shadow-glow-orange: 0 0 32px rgba(255, 141, 86, 0.2), 0 0 8px rgba(255, 141, 86, 0.14);

  /* Blur token */
  --cmd-blur-glass: blur(12px);

  /* Typography */
  --font-display: "Space Grotesk", Sora, Inter, sans-serif;
  --font-ui: Inter, system-ui, sans-serif;
  --font-tech: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Lux aliases (used by admin too, keep stable) */
  --lux-obsidian: #0b121b;
  --lux-carbon: #18212b;
  --lux-titanium: #3b4756;
  --lux-champagne: #f0c98f;
  --lux-cobalt: #6c89ff;
  --lux-julius-cyan: #56e6da;
  --lux-julius-orange: #ff8d56;
  --lux-ivory: #f9f3e8;
  --lux-muted: #9aacbf;
  --lux-danger: #ff6e7d;
  --lux-success: #62cfa7;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--cmd-text);
  background:
    radial-gradient(ellipse at 5% 0%, rgba(86, 230, 218, 0.14) 0%, transparent 42%),
    radial-gradient(ellipse at 92% 2%, rgba(255, 141, 86, 0.18) 0%, transparent 38%),
    radial-gradient(ellipse at 50% 100%, rgba(108, 137, 255, 0.09) 0%, transparent 60%),
    linear-gradient(168deg, var(--bg2) 0%, var(--bg) 46%, #101e38 100%);
  min-height: 100vh;
}

/* ── Layout ── */
.container { width: min(1180px, 92%); margin: auto; }
.section { padding: 88px 0; }
.alt {
  background: linear-gradient(180deg,
    rgba(255, 141, 86, 0.06) 0%,
    rgba(14, 30, 56, 0.08) 100%);
}
h1, h2, h3 { font-family: var(--font-display); margin: 0 0 14px; }
h2 { line-height: 1.18; }
p { color: var(--cmd-text-soft); line-height: 1.6; }

/* ── Navigation ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 13, 24, 0.82);
  backdrop-filter: var(--cmd-blur-glass);
  border-bottom: 1px solid var(--cmd-glass-border);
  box-shadow: 0 2px 20px rgba(2, 6, 14, 0.38);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}
.nav-links { display: flex; list-style: none; gap: 14px; margin: 0; padding: 0; }
.nav-links a {
  color: var(--cmd-text-soft);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--cmd-turquoise); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(105deg, var(--cmd-orange), var(--cmd-turquoise));
  color: #060f1e;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  box-shadow: var(--cmd-shadow-glow-orange), 0 4px 14px rgba(255, 141, 86, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(255, 141, 86, 0.32), 0 8px 24px rgba(255, 141, 86, 0.28), 0 2px 8px rgba(86, 230, 218, 0.18);
  filter: brightness(1.06);
}
.btn-outline {
  background: rgba(10, 22, 42, 0.72);
  color: var(--cmd-text);
  border-color: rgba(255, 141, 86, 0.48);
  box-shadow: none;
}
.btn-outline:hover {
  border-color: var(--cmd-orange);
  background: rgba(255, 141, 86, 0.1);
  box-shadow: 0 0 20px rgba(255, 141, 86, 0.16);
}
.btn-soft {
  color: var(--cmd-text-soft);
  border-color: rgba(86, 230, 218, 0.3);
  background: rgba(9, 20, 38, 0.48);
  box-shadow: none;
}
.btn-small { padding: 9px 14px; font-size: 0.84rem; }
.command-center-route {
  border-color: rgba(86, 230, 218, 0.52);
  background: rgba(10, 22, 42, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 141, 86, 0.14), 0 0 20px rgba(86, 230, 218, 0.1);
}
.command-center-route:hover {
  border-color: var(--cmd-turquoise);
  background: rgba(86, 230, 218, 0.12);
  box-shadow: 0 0 26px rgba(86, 230, 218, 0.18), 0 0 14px rgba(255, 141, 86, 0.12);
}
.link-btn {
  color: var(--cmd-turquoise);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 0.16s ease, text-shadow 0.16s ease;
}
.link-btn:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(86, 230, 218, 0.5);
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cmd-turquoise), var(--cmd-orange), transparent);
  opacity: 0.4;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(var(--cmd-glass-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--cmd-glass-border) 1px, transparent 1px);
  background-size: 46px 46px;
}
.route-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cmd-turquoise), var(--cmd-orange), transparent);
  filter: drop-shadow(0 0 6px rgba(86, 230, 218, 0.5));
  animation: flow 5.5s linear infinite;
}
.r1 { top: 28%; left: 8%; width: 52%; transform: rotate(9deg); }
.r2 { top: 66%; left: 34%; width: 48%; transform: rotate(-7deg); }
.dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cmd-turquoise);
  box-shadow: 0 0 18px rgba(86, 230, 218, 1), 0 0 40px rgba(86, 230, 218, 0.4);
  animation: pulse 2.6s infinite;
}
.d1 { top: 18%; left: 12%; }
.d2 { top: 30%; left: 42%; animation-delay: 0.4s; }
.d3 { top: 42%; left: 72%; animation-delay: 0.8s; }
.d4 { top: 72%; left: 30%; animation-delay: 1.2s; }
.d5 { top: 78%; left: 86%; animation-delay: 1.6s; }

.hero-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.name {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  margin-bottom: 10px;
  line-height: 1.08;
  background: linear-gradient(120deg, #ffffff 40%, var(--cmd-champagne));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.identity { font-weight: 700; color: var(--cmd-turquoise); margin: 4px 0; }
.spine {
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  color: var(--cmd-champagne);
  font-family: var(--font-display);
  margin-bottom: 10px;
}
.hero-morph-headline {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.32em;
}

.morph-word-stack {
  display: inline-grid;
  min-width: 8.2ch;
  color: var(--cmd-turquoise);
  text-shadow: 0 0 22px rgba(86, 230, 218, 0.38);
}

.morph-word {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(0.28em);
  animation: heroMorphWord 15s ease-in-out infinite;
}

.morph-word:nth-child(2) { animation-delay: 3s; }
.morph-word:nth-child(3) { animation-delay: 6s; }
.morph-word:nth-child(4) { animation-delay: 9s; }
.morph-word:nth-child(5) { animation-delay: 12s; }

.hero-morph-headline strong {
  color: #fff6df;
  text-shadow: 0 0 24px rgba(255, 141, 86, 0.34);
}

.motion-line {
  display: inline-flex;
  max-width: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(86, 230, 218, 0.18);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(8, 18, 34, 0.76), rgba(255, 141, 86, 0.08), rgba(86, 230, 218, 0.1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-family: var(--font-tech);
  font-size: clamp(0.62rem, 1.2vw, 0.78rem);
  font-weight: 700;
  color: #ffdbb0;
  margin-bottom: 10px;
  overflow-x: auto;
}
.support { max-width: 60ch; color: var(--cmd-text-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; align-items: center; }

/* Hero portrait — liquid glass card */
.hero-portrait {
  background: linear-gradient(145deg, rgba(18, 36, 68, 0.9), rgba(10, 22, 44, 0.96));
  border: 1px solid rgba(86, 230, 218, 0.3);
  border-radius: 26px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--cmd-shadow-hero), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: var(--cmd-blur-glass);
}
.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  border: 1px solid rgba(86, 230, 218, 0.14);
  pointer-events: none;
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, transparent 0%, rgba(255, 255, 255, 0.04) 45%, transparent 70%);
  pointer-events: none;
}
.hero-portrait img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 999px;
  border: 2px solid rgba(86, 230, 218, 0.55);
  display: block;
  margin: 8px auto 16px;
  box-shadow:
    0 0 0 8px rgba(86, 230, 218, 0.08),
    0 0 40px rgba(255, 141, 86, 0.2),
    var(--cmd-shadow-command);
}
.chip-ring {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.chip-ring span {
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(8, 18, 34, 0.82);
  border: 1px solid rgba(255, 141, 86, 0.48);
  font-size: 0.76rem;
  font-family: var(--font-tech);
  color: var(--cmd-champagne);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ── Glass Card ── */
.card {
  background: linear-gradient(148deg, rgba(16, 34, 64, 0.9), rgba(9, 19, 38, 0.94));
  border: 1px solid var(--cmd-glass-border);
  border-radius: var(--r);
  padding: 22px 24px;
  box-shadow: var(--cmd-shadow-float);
  backdrop-filter: var(--cmd-blur-glass);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 230, 218, 0.5), rgba(255, 141, 86, 0.4), transparent);
}

/* ── Bento ── */
.bento {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.tile {
  padding: 18px;
  border-radius: var(--r);
  border: 1px solid rgba(108, 169, 224, 0.28);
  background: linear-gradient(148deg, rgba(14, 30, 56, 0.88), rgba(9, 18, 34, 0.94));
  box-shadow: var(--cmd-shadow-float);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--cmd-shadow-command);
}
.tile.big { grid-row: span 2; }
.tile.sm { min-height: 90px; }
.tile.warm {
  border-color: rgba(255, 141, 86, 0.42);
  box-shadow: var(--cmd-shadow-float), inset 0 0 0 1px rgba(255, 141, 86, 0.22);
  background: linear-gradient(148deg, rgba(28, 18, 12, 0.6), rgba(14, 30, 56, 0.88));
}
.tile.cool {
  border-color: rgba(86, 230, 218, 0.42);
  box-shadow: var(--cmd-shadow-float), inset 0 0 0 1px rgba(86, 230, 218, 0.18);
}
.tile.gold {
  border-color: rgba(240, 201, 143, 0.48);
  box-shadow: var(--cmd-shadow-float), inset 0 0 0 1px rgba(240, 201, 143, 0.22);
  background: linear-gradient(148deg, rgba(28, 22, 8, 0.58), rgba(14, 30, 56, 0.88));
}

/* ── Lane cards ── */
.lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lane {
  background: linear-gradient(162deg, rgba(16, 34, 62, 0.9), rgba(9, 18, 34, 0.96));
  border: 1px solid rgba(86, 230, 218, 0.28);
  border-radius: var(--r);
  padding: 20px 20px 20px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--cmd-shadow-float);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.lane::before {
  content: "";
  position: absolute;
  left: 0; top: 16px; bottom: 16px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cmd-turquoise), var(--cmd-orange));
  opacity: 0.7;
}
.lane::after {
  content: "";
  position: absolute;
  inset: auto -20% -50px auto;
  width: 180px;
  height: 130px;
  background: radial-gradient(circle, rgba(255, 141, 86, 0.18), transparent 70%);
  pointer-events: none;
}
.lane:hover {
  transform: translateY(-3px);
  box-shadow: var(--cmd-shadow-command);
  border-color: rgba(86, 230, 218, 0.46);
}
.tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
.tags span {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(86, 230, 218, 0.1);
  border: 1px solid rgba(86, 230, 218, 0.28);
  font-size: 0.76rem;
  font-family: var(--font-tech);
  color: var(--cmd-turquoise);
}

/* ── Engine / CTA card ── */
.engine-layout { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 14px; }
.assistant .badge {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 141, 86, 0.18);
  border: 1px solid rgba(255, 141, 86, 0.5);
  font-family: var(--font-tech);
  font-size: 0.8rem;
}

/* ── Demo scenario buttons ── */
.demo-scenarios { margin-bottom: 14px; }
.sample-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sample-btn {
  border: 1px solid rgba(108, 169, 224, 0.42);
  background: rgba(10, 22, 42, 0.72);
  color: var(--cmd-text-soft);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.25;
  font-family: var(--font-tech);
  font-size: 0.82rem;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
  min-height: 44px;
}
.sample-btn:hover {
  border-color: rgba(255, 141, 86, 0.7);
  background: rgba(255, 141, 86, 0.1);
  color: var(--cmd-champagne);
}

/* ── Step pills ── */
.step-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.step-pill {
  border: 1px solid rgba(108, 169, 224, 0.36);
  background: rgba(12, 24, 44, 0.7);
  color: var(--cmd-text-soft);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  min-height: 44px;
  transition: all 0.18s ease;
}
.step-pill.active {
  border-color: rgba(255, 141, 86, 0.72);
  background: rgba(255, 141, 86, 0.18);
  color: var(--cmd-champagne);
}

/* ── Form ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-demoted .form-grid{
  max-height: 360px;
  overflow: auto;
  padding-right: 6px;
  opacity: .82;
  border-top: 1px dashed rgba(108,169,224,.3);
  margin-top: 10px;
  padding-top: 10px;
}
.form-demoted::before{
  content:"CQA-first intake active - manual fields are secondary support.";
  display:block;
  margin:0 0 10px;
  font:600 .72rem var(--font-tech);
  color:var(--cmd-muted);
  letter-spacing:.04em;
}
label { display: grid; gap: 6px; font-weight: 700; font-size: 0.88rem; color: var(--cmd-text); }

/* Form visual grouping headers */
.form-section-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-tech);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cmd-turquoise);
  margin: 8px 0 2px;
  opacity: 0.85;
}
.form-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(86, 230, 218, 0.3), transparent);
}
.form-section-secondary .form-section-label { color: var(--cmd-muted); }
.form-section-secondary label { color: var(--cmd-muted); }

input, select, textarea {
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid rgba(86, 230, 218, 0.24);
  background: rgba(8, 16, 32, 0.88);
  color: var(--cmd-text);
  min-height: 46px;
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(86, 230, 218, 0.56);
  box-shadow: 0 0 0 3px rgba(86, 230, 218, 0.1);
}
input::placeholder, textarea::placeholder { color: rgba(140, 168, 200, 0.55); }
select option { background: #0d1a30; }
textarea { resize: vertical; }
.consent-row { display: flex; align-items: center; gap: 10px; }
.consent-row input { min-height: auto; width: 18px; height: 18px; border-radius: 4px; }

/* ── Preview live-sync ── */
.live-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.live-modules div {
  padding: 10px;
  border: 1px solid rgba(86, 230, 218, 0.32);
  border-radius: 10px;
  background: rgba(10, 22, 42, 0.8);
  font-family: var(--font-tech);
  font-size: 0.82rem;
  color: var(--cmd-text-soft);
}

/* ── Build stages ── */
.stage-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin: 12px 0;
}
.stage-row span {
  padding: 9px;
  border-radius: 10px;
  border: 1px solid rgba(108, 169, 224, 0.3);
  background: rgba(10, 20, 38, 0.82);
  font-size: 0.8rem;
  opacity: 0.5;
  transition: all 0.2s ease;
  font-family: var(--font-tech);
}
.stage-row span.active {
  opacity: 1;
  border-color: rgba(255, 141, 86, 0.78);
  box-shadow: 0 0 18px rgba(255, 141, 86, 0.28), 0 0 0 1px rgba(255, 141, 86, 0.28);
  color: var(--cmd-champagne);
}

/* ── Preview output ── */
.preview-output {
  margin-top: 16px;
  --preview-a: var(--cmd-turquoise);
  --preview-b: var(--cmd-orange);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--preview-a) 35%, transparent);
}
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 6px 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--preview-a), var(--preview-b));
  color: #051522;
  font-weight: 800;
  font-size: 0.78rem;
  font-family: var(--font-tech);
  letter-spacing: 0.02em;
}
.chip-soft{background:rgba(10,22,42,.86)!important;color:var(--cmd-text-soft)!important;border:1px solid rgba(108,169,224,.38)}
.route { color: var(--cmd-champagne); font-weight: 700; }

/* CC grid and card-lite */
.cc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.card-lite {
  padding: 12px;
  border: 1px solid rgba(108, 169, 224, 0.38);
  border-radius: 11px;
  background: rgba(9, 19, 36, 0.84);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.card-lite:hover {
  border-color: rgba(86, 230, 218, 0.5);
  box-shadow: 0 0 14px rgba(86, 230, 218, 0.1);
}
.timeline { padding-left: 18px; }
.note { color: var(--cmd-champagne); }

/* Preview theater / studio */
.routing-status { margin-top: 10px; }
.command-center-reveal {
  margin: 14px 0;
  border: 1px solid rgba(108, 169, 224, 0.32);
  border-radius: 14px;
  padding: 12px;
  background: rgba(10, 20, 40, 0.78);
}
.preview-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.preview-tab {
  border: 1px solid rgba(108, 169, 224, 0.38);
  background: rgba(10, 22, 42, 0.76);
  color: var(--cmd-text-soft);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  min-height: 44px;
  transition: all 0.18s ease;
}
.preview-tab.active {
  border-color: rgba(255, 141, 86, 0.7);
  background: rgba(255, 141, 86, 0.18);
  color: var(--cmd-champagne);
}
.preview-panel { display: none; padding: 10px 6px; }
.preview-panel.active { display: block; }
#success-state, #fallback-state { margin-top: 12px; }
.theater-open { overflow: hidden; }
.theater-open .preview-output {
  position: fixed;
  inset: 2.5vh 2vw;
  z-index: 80;
  overflow: auto;
  margin: 0;
  background: linear-gradient(155deg, rgba(6, 12, 26, 0.97), rgba(10, 22, 44, 0.98));
  border: 1px solid rgba(86, 230, 218, 0.38);
  box-shadow: var(--cmd-shadow-hero), 0 0 60px rgba(86, 230, 218, 0.08);
  border-radius: 18px;
  backdrop-filter: var(--cmd-blur-glass);
}
.studio-opening .preview-output { animation: studioRise 0.48s ease; }
.preview-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  background: rgba(6, 12, 26, 0.94);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(86, 230, 218, 0.2);
  z-index: 2;
  backdrop-filter: blur(8px);
}
.tech-label { font-family: var(--font-tech); text-transform: uppercase; letter-spacing: 0.07em; font-size: 0.76rem; }
.sticky-summary {
  position: sticky;
  top: 72px;
  padding: 8px 0;
  background: rgba(8, 16, 30, 0.94);
  z-index: 1;
  border-bottom: 1px solid rgba(108, 169, 224, 0.18);
}

/* ── Media layer ── */
.media-layer { margin-bottom: 12px; }
.media-placeholders { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.media-placeholders div {
  padding: 12px;
  border: 1px dashed rgba(108, 169, 224, 0.38);
  border-radius: 11px;
  background: rgba(9, 20, 38, 0.66);
  text-align: center;
  font-family: var(--font-tech);
  font-size: 0.76rem;
  color: var(--cmd-muted);
}
.media-slot {
  position: relative;
  overflow: hidden;
  min-height: 120px;
  display: grid;
  place-items: center;
  gap: 8px;
}
.media-slot img {
  width: 100%;
  height: 100%;
  max-height: 164px;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid rgba(86, 230, 218, 0.42);
}
.media-slot.has-media {
  border-style: solid;
  border-color: rgba(86, 230, 218, 0.65);
  box-shadow: 0 0 22px rgba(86, 230, 218, 0.2);
}
.brand-swatches { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.swatch-chip {
  padding: 6px 11px;
  border: 1px solid rgba(255, 209, 136, 0.48);
  background: rgba(255, 209, 136, 0.1);
  border-radius: 999px;
  font-size: 0.76rem;
  font-family: var(--font-tech);
  color: var(--cmd-champagne);
}

/* ── Mobile action bar ── */
.mobile-action-bar { display: none; }

/* ── Agent stack ── */
.agent-stack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.agent-stack-grid article {
  padding: 12px;
  border: 1px solid rgba(108, 169, 224, 0.32);
  border-radius: 11px;
  background: rgba(10, 20, 38, 0.76);
}
.agent-stack-grid h5 { margin: 0 0 6px; font-family: var(--font-tech); font-size: 0.84rem; }

/* ── Processing window ── */
.processing-window {
  border-color: rgba(255, 209, 136, 0.45);
  background: linear-gradient(145deg, rgba(26, 18, 32, 0.84), rgba(10, 22, 44, 0.9));
  box-shadow: 0 0 36px rgba(255, 141, 86, 0.14), var(--cmd-shadow-float);
}
.processing-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 12px; }
.process-panel {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(108, 169, 224, 0.32);
  background: rgba(9, 19, 36, 0.84);
}
.process-panel h5 { margin: 0 0 8px; font-family: var(--font-tech); font-size: 0.82rem; letter-spacing: 0.02em; }
.lead-board-preview { box-shadow: inset 0 0 0 1px rgba(86, 230, 218, 0.16); }
.brief-preview-panel { box-shadow: inset 0 0 0 1px rgba(255, 141, 86, 0.16); }
.design-studio-note {
  margin-top: 12px;
  border-color: rgba(108, 169, 224, 0.48);
  background: linear-gradient(145deg, rgba(14, 28, 50, 0.92), rgba(10, 20, 36, 0.92));
}
.ai-intake-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }

/* ── Liquid panels ── */
.liquid-panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  backdrop-filter: var(--cmd-blur-glass);
}
.liquid-panel-hero {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 209, 136, 0.52);
  background: linear-gradient(148deg, rgba(11, 24, 46, 0.88), rgba(18, 24, 38, 0.88));
  box-shadow: var(--cmd-shadow-command), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.liquid-panel-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.07) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s ease;
}
.preview-morph-colors .liquid-panel-hero::after { transform: translateX(120%); }
.liquid-chip {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(108, 169, 224, 0.42);
  font-family: var(--font-tech);
  font-size: 0.7rem;
  background: rgba(8, 18, 34, 0.78);
}

/* ── Morph sequence ── */
.morph-sequence { margin-bottom: 12px; }
.morph-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.morph-card {
  padding: 12px;
  border-radius: 11px;
  border: 1px solid rgba(108, 169, 224, 0.3);
  background: rgba(10, 20, 40, 0.76);
  opacity: 0.52;
  transform: translateY(6px) scale(0.995);
  transition: all 0.32s ease;
}
.morph-card h5 { margin: 0 0 6px; font-family: var(--font-tech); font-size: 0.78rem; }
.morph-card.active {
  opacity: 1;
  transform: none;
  border-color: rgba(255, 141, 86, 0.72);
  box-shadow: 0 0 18px rgba(255, 141, 86, 0.18);
}
.preview-morph-locked .morph-card { border-color: rgba(86, 230, 218, 0.48); }

/* ── Glass route progress bar ── */
.glass-route {
  height: 3px;
  border-radius: 999px;
  margin-top: 12px;
  background: linear-gradient(90deg, rgba(86, 230, 218, 0.2), rgba(255, 141, 86, 0.2));
  position: relative;
  overflow: hidden;
}
.glass-route::before {
  content: "";
  position: absolute;
  left: -30%;
  top: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, var(--preview-a), var(--preview-b));
  transition: left 0.7s ease;
  filter: drop-shadow(0 0 4px rgba(86, 230, 218, 0.6));
}
.preview-morph-start .glass-route::before { left: 5%; }
.preview-morph-identity .glass-route::before { left: 18%; }
.preview-morph-colors .glass-route::before { left: 34%; }
.preview-morph-brief .glass-route::before { left: 58%; }
.preview-morph-locked .glass-route::before { left: 74%; }
.preview-morph-locked .glass-cta,
.preview-morph-locked .mobile-action-bar {
  box-shadow: 0 0 24px rgba(255, 141, 86, 0.24);
}
.glass-cta { transition: box-shadow 0.3s ease; }

/* Preview font overrides */
.preview-output h3, .preview-output h4, .preview-output h5 { font-family: var(--font-display); }
.preview-output.font-modern-executive { --font-display: "Space Grotesk", Sora, Inter, sans-serif; }
.preview-output.font-luxury-tech { --font-display: Sora, "Space Grotesk", Inter, sans-serif; }
.preview-output.font-clean-professional { --font-display: Inter, "Space Grotesk", sans-serif; }
.preview-output.font-bold-creator { --font-display: "Space Grotesk", Inter, sans-serif; }
.preview-output.font-warm-local-business { --font-display: Sora, Inter, sans-serif; }
.preview-output.font-minimal-premium { --font-display: Inter, sans-serif; }

/* ── Theme overrides (preview output) ── */
.theme-obsidian-champagne {
  background: linear-gradient(160deg, var(--lux-obsidian), var(--lux-carbon));
  box-shadow: 0 0 0 1px rgba(240, 201, 143, 0.55), 0 0 40px rgba(240, 201, 143, 0.2);
}
.theme-obsidian-champagne .chip { background: linear-gradient(90deg, var(--lux-champagne), #dba86a); }
.theme-electric-cobalt {
  background: linear-gradient(160deg, #0a1633, #121a3b);
  box-shadow: 0 0 0 1px rgba(108, 137, 255, 0.58), 0 0 44px rgba(108, 137, 255, 0.22);
}
.theme-electric-cobalt .chip { background: linear-gradient(90deg, var(--lux-cobalt), var(--lux-julius-cyan)); }
.theme-clean-light {
  background: linear-gradient(160deg, #f7f9fd, #dfe8f4);
  color: #10213b;
  box-shadow: 0 0 0 1px rgba(59, 71, 86, 0.32), 0 0 24px rgba(59, 71, 86, 0.1);
}
.theme-clean-light p, .theme-clean-light li, .theme-clean-light h3,
.theme-clean-light h4, .theme-clean-light h5, .theme-clean-light .microcopy { color: #1d3657; }
.theme-clean-light .card-lite, .theme-clean-light .process-panel {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(59, 71, 86, 0.28);
}
.theme-warm-local {
  background: linear-gradient(160deg, #261b1b, #3a2b24);
  box-shadow: 0 0 0 1px rgba(255, 145, 93, 0.55), 0 0 36px rgba(255, 145, 93, 0.2);
}
.theme-warm-local .chip { background: linear-gradient(90deg, #ffb17c, #ffd188); }
.theme-orange-turquoise {
  box-shadow: 0 0 0 1px rgba(255, 141, 86, 0.62), 0 0 36px rgba(86, 230, 218, 0.26);
  background: linear-gradient(155deg, rgba(27, 19, 24, 0.96), rgba(10, 36, 48, 0.96));
}
.theme-navy-turquoise {
  background: linear-gradient(160deg, rgba(8, 20, 44, 0.95), rgba(7, 36, 56, 0.92));
  box-shadow: 0 0 0 1px rgba(86, 230, 218, 0.46), 0 0 32px rgba(86, 230, 218, 0.2);
}
.theme-clean-dark {
  background: linear-gradient(160deg, rgba(16, 26, 42, 0.96), rgba(8, 17, 30, 0.96));
  box-shadow: 0 0 0 1px rgba(176, 196, 225, 0.44), 0 0 22px rgba(176, 196, 225, 0.12);
}
.theme-green-orange {
  background: linear-gradient(160deg, rgba(12, 36, 26, 0.95), rgba(30, 20, 18, 0.96));
  box-shadow: 0 0 0 1px rgba(145, 219, 132, 0.62), 0 0 36px rgba(255, 141, 86, 0.2);
}
.theme-surprise {
  background: linear-gradient(160deg, rgba(26, 17, 36, 0.96), rgba(10, 36, 52, 0.96));
  box-shadow: 0 0 0 1px rgba(255, 209, 136, 0.62), 0 0 44px rgba(121, 190, 255, 0.24);
}
.theme-orange-turquoise .chip { background: linear-gradient(90deg, #ff8d56, #56e6da); }
.theme-navy-turquoise .chip { background: linear-gradient(90deg, #5ccff5, #56e6da); }
.theme-green-orange .chip { background: linear-gradient(90deg, #8de46b, #ff8d56); }
.theme-surprise .chip { background: linear-gradient(90deg, #ff8d56, #ffd188, #56e6da); }

/* ── Next steps / callout ── */
.next-callout { margin-top: 18px; padding: 24px; }
.next-steps-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.next-step-card {
  background: linear-gradient(150deg, rgba(12, 26, 48, 0.88), rgba(17, 36, 66, 0.92));
  border: 1px solid rgba(108, 169, 224, 0.36);
  border-radius: 15px;
  padding: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.next-step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(4, 10, 22, 0.42);
}
.next-step-card h4 { margin: 10px 0 8px; }
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--cmd-orange), var(--cmd-turquoise));
  color: #051522;
  font-weight: 800;
  font-family: var(--font-tech);
  font-size: 0.82rem;
}

/* Cockpit (Command Center) */
.cockpit { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; }
.cockpit-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
  align-content: start;
}
.cockpit-flow span {
  position: relative;
  padding: 11px;
  border: 1px solid rgba(108, 169, 224, 0.32);
  border-radius: 10px;
  background: rgba(11, 22, 42, 0.84);
  font-family: var(--font-tech);
  font-size: 0.78rem;
  overflow: hidden;
}
.cockpit-flow span::after {
  content: "";
  position: absolute;
  inset: auto 10px 6px 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(86, 230, 218, 0.9), rgba(255, 141, 86, 0.72));
  opacity: 0.72;
}
.packet {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--cmd-orange);
  box-shadow: 0 0 16px rgba(255, 141, 86, 0.9);
  animation: packet 4s linear infinite;
}
.agent-list, .signal-board { display: grid; gap: 8px; }
.agent-list div, .signal-board span {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(108, 169, 224, 0.3);
  background: rgba(9, 19, 36, 0.84);
}
.signal-board span { animation: chipPulse 2.8s ease-in-out infinite; font-family: var(--font-tech); }

/* ── Command System grid ── */
.command-system-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.command-system-item {
  padding: 16px;
  border-radius: 13px;
  border: 1px solid rgba(108, 169, 224, 0.32);
  background: linear-gradient(148deg, rgba(12, 25, 46, 0.9), rgba(17, 35, 65, 0.92));
  box-shadow: var(--cmd-shadow-float);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.command-system-item:hover {
  transform: translateY(-2px);
  border-color: rgba(86, 230, 218, 0.48);
  box-shadow: var(--cmd-shadow-command), 0 0 14px rgba(86, 230, 218, 0.08);
}
.command-system-item h3 { margin: 0; font-size: 1rem; }

/* ── Architecture grid ── */
.architecture-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.architecture-grid article {
  padding: 14px;
  border-radius: 13px;
  border: 1px solid rgba(108, 169, 224, 0.3);
  background: rgba(10, 22, 42, 0.84);
  box-shadow: var(--cmd-shadow-float);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.architecture-grid article:hover { transform: translateY(-2px); border-color: rgba(86, 230, 218, 0.44); }

/* Status badges */
.status-live, .status-future {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  font-family: var(--font-tech);
}
.status-live { background: rgba(86, 230, 218, 0.16); border: 1px solid rgba(86, 230, 218, 0.44); color: #b0fdf6; }
.status-future { background: rgba(255, 141, 86, 0.16); border: 1px solid rgba(255, 141, 86, 0.44); color: #ffd0b0; }
.command-system-chips { margin: 10px 0 12px; }

/* ── Story / Project Proof ── */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.story img { width: 100%; border-radius: 13px; border: 1px solid rgba(108, 169, 224, 0.32); }
.case-placeholder {
  width: 100%;
  padding: 22px;
  border-radius: 13px;
  border: 1px solid rgba(108, 169, 224, 0.32);
  background: linear-gradient(148deg, rgba(12, 26, 48, 0.9), rgba(18, 36, 66, 0.94));
  color: #dff4ff;
  font-weight: 700;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 141, 86, 0.2);
}

/* ── About modal ── */
.about-trigger { background: none; border: 0; cursor: pointer; padding: 0; }
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 18, 0.78);
  backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  z-index: 1;
  width: min(680px, 92%);
  background: linear-gradient(155deg, rgba(16, 32, 60, 0.97), rgba(8, 16, 30, 0.98));
  border: 1px solid rgba(108, 169, 224, 0.4);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--cmd-shadow-hero);
}
.modal-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 999px;
  border: 2px solid rgba(86, 230, 218, 0.55);
  display: block;
  margin-bottom: 14px;
  box-shadow: 0 0 0 6px rgba(86, 230, 218, 0.08);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(8, 18, 36, 0.85);
  color: #fff;
  border: 1px solid rgba(108, 169, 224, 0.4);
  border-radius: 10px;
  padding: 5px 10px;
  cursor: pointer;
  min-height: 36px;
  min-width: 36px;
  transition: border-color 0.18s ease;
}
.modal-close:hover { border-color: rgba(86, 230, 218, 0.6); }

/* ── Footer ── */
.site-footer {
  padding: 28px 0;
  background: rgba(5, 10, 20, 0.92);
  border-top: 1px solid rgba(86, 230, 218, 0.16);
}
.site-footer a { color: var(--cmd-turquoise); }
.site-footer a:hover { color: #fff; }
.site-footer strong { color: #fff; }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.show { opacity: 1; transform: none; }

/* ── Mini points ── */
.mini-points { margin: 12px 0; padding-left: 20px; color: var(--cmd-text-soft); line-height: 1.8; }
.mini-points li { margin-bottom: 4px; }

/* ── Subtitle / microcopy ── */
.subtitle { font-size: 1.06rem; color: var(--cmd-text-soft); margin-bottom: 14px; }
.microcopy { font-size: 0.82rem; color: var(--cmd-muted); }

/* ── CQA Floating Assistant Shell ── */
.cqa-shell {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.cqa-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(148deg, rgba(12, 28, 54, 0.94), rgba(8, 18, 36, 0.96));
  border: 1px solid rgba(86, 230, 218, 0.48);
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
  cursor: pointer;
  box-shadow:
    0 0 28px rgba(86, 230, 218, 0.18),
    0 0 0 1px rgba(108, 137, 255, 0.16),
    var(--cmd-shadow-command);
  backdrop-filter: var(--cmd-blur-glass);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: var(--cmd-text);
  font-family: var(--font-ui);
  min-height: 52px;
}
.cqa-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 40px rgba(86, 230, 218, 0.28),
    0 0 0 1px rgba(108, 137, 255, 0.24),
    var(--cmd-shadow-hero);
}
.cqa-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(86, 230, 218, 0.6);
  box-shadow: 0 0 14px rgba(86, 230, 218, 0.4), 0 0 0 3px rgba(86, 230, 218, 0.1);
  flex-shrink: 0;
}
.cqa-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.cqa-label strong {
  font-size: 0.86rem;
  font-weight: 800;
  font-family: var(--font-tech);
  color: var(--cmd-turquoise);
  letter-spacing: 0.06em;
}
.cqa-label span {
  font-size: 0.72rem;
  color: var(--cmd-muted);
  line-height: 1.2;
}

/* CQA expanded panel */
.cqa-panel {
  width: 300px;
  background: linear-gradient(148deg, rgba(10, 24, 48, 0.96), rgba(7, 16, 32, 0.98));
  border: 1px solid rgba(86, 230, 218, 0.38);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--cmd-shadow-hero), 0 0 32px rgba(86, 230, 218, 0.12);
  backdrop-filter: var(--cmd-blur-glass);
  display: none;
}
.cqa-panel.open { display: block; animation: studioRise 0.3s ease; }
.cqa-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cqa-panel-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(86, 230, 218, 0.55);
  box-shadow: 0 0 18px rgba(86, 230, 218, 0.36);
}
.cqa-panel-title strong {
  display: block;
  font-family: var(--font-tech);
  font-size: 0.82rem;
  color: var(--cmd-turquoise);
  letter-spacing: 0.06em;
}
.cqa-panel-title span {
  font-size: 0.7rem;
  color: var(--cmd-muted);
}
.cqa-panel p {
  font-size: 0.84rem;
  color: var(--cmd-text-soft);
  line-height: 1.55;
  margin: 0 0 10px;
}
.cqa-panel-sig {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  color: var(--cmd-champagne);
  opacity: 0.8;
  margin: 0;
  letter-spacing: 0.03em;
}
.cqa-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: var(--cmd-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  line-height: 1;
  transition: color 0.16s ease;
}
.cqa-close:hover { color: var(--cmd-turquoise); }
.cqa-panel { position: relative; }

/* ── Animations ── */
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.32); opacity: 1; } }
@keyframes flow { 0% { filter: brightness(0.72); } 50% { filter: brightness(1.32); } 100% { filter: brightness(0.72); } }
@keyframes packet { 0% { left: 0; } 100% { left: 96%; } }
@keyframes chipPulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.22); } }
@keyframes heroMorphWord {
  0%, 7% { opacity: 0; transform: translateY(0.28em); filter: blur(3px); }
  10%, 18% { opacity: 1; transform: translateY(0); filter: blur(0); }
  22%, 100% { opacity: 0; transform: translateY(-0.22em); filter: blur(3px); }
}
@keyframes studioRise { 0% { opacity: 0; transform: translateY(16px) scale(0.988); } 100% { opacity: 1; transform: translateY(0) scale(1); } }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hero-wrap, .engine-layout, .cockpit, .story-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.big { grid-row: auto; }
  .cc-grid, .form-grid, .next-steps-grid, .command-system-grid,
  .architecture-grid, .media-placeholders, .agent-stack-grid, .processing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .section { padding: 64px 0; }
  .cc-grid, .form-grid, .bento, .lanes, .live-modules, .stage-row,
  .next-steps-grid, .command-system-grid, .architecture-grid,
  .media-placeholders, .agent-stack-grid, .processing-grid, .morph-grid {
    grid-template-columns: 1fr;
  }
  .btn { width: 100%; }
  .cta-row { display: grid; }
  .nav-wrap { flex-wrap: wrap; }
  .nav-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }
  .site-header .nav-actions .btn {
    width: 100%;
  }
  .sample-row { display: grid; grid-template-columns: 1fr 1fr; }
  .sample-btn { min-height: 44px; }
  .chip-row { gap: 6px; }
  .hero-portrait img { max-width: 220px; }
  .theater-open .preview-output { inset: 0; border-radius: 0; }
  .preview-topbar { top: 0; }
  .sticky-summary { top: 96px; }
  .mobile-action-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    position: sticky;
    bottom: 0;
    background: rgba(6, 12, 24, 0.97);
    padding: 10px;
    border-top: 1px solid rgba(86, 230, 218, 0.22);
    backdrop-filter: blur(8px);
  }
  .ai-intake-row { grid-template-columns: 1fr; }
  /* CQA mobile adjustment */
  .cqa-shell { bottom: 14px; right: 12px; }
  .cqa-panel { width: calc(100vw - 32px); }
}

@media (max-width: 480px) {
  .sample-row { grid-template-columns: 1fr; }
  .chip { font-size: 0.72rem; padding: 6px 8px; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .morph-card { opacity: 1; transform: none; }
  .glass-route::before { left: 74%; }
  .hero-portrait::after { display: none; }
  .morph-word { display: none; opacity: 1; transform: none; filter: none; }
  .morph-word:first-child { display: inline; }
}
.hero-system-panel{display:grid;gap:12px}
.system-card{padding:18px;border-radius:16px;border:1px solid rgba(86,230,218,.35);background:linear-gradient(150deg,rgba(9,20,36,.92),rgba(14,30,53,.9));box-shadow:0 14px 34px rgba(3,10,20,.45)}
.system-card h3{margin:6px 0 10px}
.system-lines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.system-lines span{display:block;min-height:44px;border-radius:12px;border:1px solid rgba(108,169,224,.3);background:linear-gradient(110deg,rgba(86,230,218,.1),rgba(255,141,86,.08),rgba(86,230,218,.05));position:relative;overflow:hidden}
.system-lines span:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.16),transparent);transform:translateX(-100%);animation:lineSweep 3.2s linear infinite}
.cqa-launcher{position:fixed;right:18px;bottom:22px;width:64px;height:64px;border-radius:999px;border:2px solid rgba(86,230,218,.78);background:linear-gradient(140deg,rgba(10,22,40,.95),rgba(18,36,64,.95));padding:3px;z-index:55;box-shadow:0 0 0 3px rgba(255,141,86,.2),0 14px 24px rgba(3,10,20,.5);cursor:pointer}
.cqa-launcher img{width:100%;height:100%;border-radius:999px;object-fit:cover}
.cqa-tag{position:absolute;right:-3px;bottom:-5px;padding:4px 8px;border-radius:999px;border:1px solid rgba(255,141,86,.7);background:rgba(8,18,34,.96);font:700 .72rem var(--font-tech);color:#ffe7d5}
.cqa-launcher.pulse{animation:cqaPulse 2.2s ease-in-out infinite}
.cqa-invite{position:fixed;right:18px;bottom:114px;max-width:280px;padding:10px 12px;border-radius:12px;border:1px solid rgba(86,230,218,.35);background:linear-gradient(140deg,rgba(9,20,36,.94),rgba(13,27,47,.94));z-index:54;box-shadow:0 10px 24px rgba(3,10,20,.45)}
.cqa-panel{position:fixed;right:18px;bottom:118px;width:min(420px,92vw);max-height:74vh;overflow:auto;padding:14px;border-radius:16px;border:1px solid rgba(86,230,218,.4);background:linear-gradient(150deg,rgba(8,19,35,.95),rgba(14,30,53,.95));z-index:56;box-shadow:0 16px 34px rgba(3,10,20,.5)}
.cqa-panel header{display:flex;justify-content:space-between;gap:10px}
.cqa-mode-bar{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;margin:8px 0 10px}
.cqa-mode-bar select{min-height:40px;padding:8px 10px}
.cqa-mode-bar.change-flash{animation:modeFlash .42s ease}
.mic-starter{margin:8px 0 10px}
.cqa-start-actions,.cqa-mic-controls{display:flex;gap:8px;flex-wrap:wrap}
.cqa-mic-controls{margin-top:8px}
.cqa-mic-controls button,.cqa-start-actions button{min-height:44px}
.cqa-thread{margin:10px 0;padding:10px;border-radius:12px;border:1px solid rgba(108,169,224,.3);background:rgba(7,16,30,.8)}
.cqa-stream{display:grid;gap:8px;max-height:210px;overflow:auto;padding-right:4px;margin:8px 0 10px}
.cqa-bubble{padding:9px 11px;border-radius:12px;font-size:.84rem;line-height:1.45}
.cqa-bubble.assistant{background:rgba(10,26,48,.86);border:1px solid rgba(108,169,224,.36);color:#d9ebff}
.cqa-bubble.user{background:rgba(255,141,86,.12);border:1px solid rgba(255,141,86,.4);color:#ffe7d6;justify-self:end;max-width:95%}
.cqa-bubble.mirror{background:rgba(86,230,218,.1);border:1px solid rgba(86,230,218,.35);color:#d9fffb}
.cqa-progress{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.cqa-progress-chip{font:600 .65rem var(--font-tech);letter-spacing:.02em;padding:5px 8px;border-radius:999px;border:1px solid rgba(108,169,224,.35);background:rgba(11,24,45,.72);color:#c7d9ec}
.cqa-progress-chip.active{border-color:rgba(86,230,218,.72);color:#dffcf8;box-shadow:0 0 0 1px rgba(86,230,218,.2),0 0 18px rgba(86,230,218,.2)}
.cqa-thinking{margin:0 0 8px;font:600 .7rem var(--font-tech);color:#ffd6be}
.cqa-question{font-weight:700}
.cqa-mirror{color:#d0e7fb}
.cqa-actions{display:grid;grid-template-columns:1fr auto;gap:8px}
.cqa-actions textarea{min-height:54px;resize:vertical}
.cqa-inline-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.cqa-quick-actions{display:grid;gap:8px;margin-top:10px}
.cqa-panel .btn{min-height:44px}
.cqa-panel .btn.btn-outline{width:100%}
.cqa-summary-head{display:grid;grid-template-columns:64px 1fr;gap:10px;align-items:center;margin:8px 0 10px}
.cqa-summary-head img{width:64px;height:64px;border-radius:12px;object-fit:cover;border:1px solid rgba(86,230,218,.55);box-shadow:0 8px 18px rgba(3,10,20,.45)}
.image-actions{grid-column:1/-1}
.image-actions .btn{min-height:40px}
.stage-row span{position:relative}
.stage-row span.active{box-shadow:0 0 0 1px rgba(86,230,218,.28),0 0 22px rgba(86,230,218,.2)}
.stage-row span.active::after{content:"";position:absolute;inset:-1px;border-radius:10px;background:linear-gradient(120deg,transparent,rgba(255,255,255,.16),transparent);animation:lineSweep 1.4s ease}
@keyframes cqaPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.04)}}
@keyframes lineSweep{0%{transform:translateX(-100%)}100%{transform:translateX(120%)}}
@media (max-width:700px){.cqa-launcher{right:12px;bottom:14px;width:48px;height:48px}.cqa-invite{right:12px;bottom:86px;max-width:78vw}.cqa-panel{right:8px;left:8px;bottom:94px;width:auto;max-height:72vh}.cqa-actions{grid-template-columns:1fr}}
@media (max-width:700px){.cqa-inline-actions{grid-template-columns:1fr}.cqa-stream{max-height:180px}}
@media (max-width:700px){.cqa-summary-head{grid-template-columns:52px 1fr}.cqa-summary-head img{width:52px;height:52px}}
@media (prefers-reduced-motion:reduce){.cqa-launcher{transform:none!important}}
@keyframes modeFlash{0%{box-shadow:0 0 0 0 rgba(86,230,218,.2)}100%{box-shadow:0 0 0 12px rgba(86,230,218,0)}}

/* ============================================================
   INDEX CONTAINMENT PASS
   Preserve the restored glass system while tightening its rhythm.
   ============================================================ */
.index-page .section {
  padding: 58px 0;
}

.index-page .hero {
  padding: 68px 0 54px;
}

.index-page .hero-wrap {
  gap: 24px;
}

.index-page .hero-copy > p {
  margin-top: 7px;
  margin-bottom: 7px;
}

.index-page .hero-copy .cta-row {
  margin-top: 16px;
  max-width: 640px;
}

.index-page .hero-direct-route {
  flex: 0 1 250px;
}

.index-page .hero-route-note {
  margin: 8px 0 0;
  font: 700 0.76rem/1.4 var(--font-tech);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.index-page .hero-route-note a {
  color: var(--cmd-turquoise);
  text-decoration: none;
  text-shadow: 0 0 12px rgba(86, 230, 218, 0.34);
}

.index-page .hero-route-note a:hover {
  color: var(--cmd-champagne);
}

.index-page .hero-trust-line {
  margin: 10px 0 0;
  max-width: 52ch;
  color: rgba(184, 212, 239, 0.74);
}

.index-page .hero-system-panel {
  position: relative;
  isolation: isolate;
  gap: 9px;
  padding: 8px;
  border-radius: 24px;
}

.index-page .hero-system-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  border: 1px solid rgba(86, 230, 218, 0.1);
  background:
    radial-gradient(circle at 68% 18%, rgba(86, 230, 218, 0.12), transparent 30%),
    radial-gradient(circle at 24% 76%, rgba(255, 141, 86, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(7, 16, 30, 0.46), rgba(6, 13, 24, 0.18));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 22px 56px rgba(3, 10, 20, 0.32);
  pointer-events: none;
}

.index-page .cqa-launcher {
  right: 20px;
  bottom: 28px;
}

.index-page .cqa-invite {
  display: none;
}

.index-page .cqa-panel {
  bottom: 116px;
}

.index-page .system-card {
  padding: 16px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 196px;
  padding-right: 174px;
  z-index: 2;
  box-shadow:
    0 14px 34px rgba(3, 10, 20, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 0 28px rgba(86, 230, 218, 0.08);
}

.index-page .system-card h3 {
  margin: 4px 0 8px;
}

.index-page .system-card > .microcopy,
.index-page .system-card > h3,
.index-page .system-card > .chip-ring {
  position: relative;
  z-index: 3;
}

.index-page .system-card > .chip-ring {
  justify-content: flex-start;
  max-width: 28ch;
}

.index-page .system-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 78% 48%, rgba(86, 230, 218, 0.13), transparent 28%),
    radial-gradient(circle at 86% 58%, rgba(255, 141, 86, 0.1), transparent 24%);
  pointer-events: none;
}

.index-page .system-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  border: 1px solid rgba(86, 230, 218, 0.08);
  border-radius: 12px;
  pointer-events: none;
}

.index-page .system-energy-core {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 126px;
}

.index-page .system-energy-orb {
  position: relative;
  display: block;
  width: 112px;
  aspect-ratio: 1;
  overflow: hidden;
  isolation: isolate;
  border-radius: 50%;
  border: 1px solid rgba(190, 255, 250, 0.58);
  background:
    radial-gradient(circle at 49% 51%, rgba(255, 255, 255, 0.98) 0 1.5%, rgba(86, 230, 218, 0.9) 2% 4%, transparent 6%),
    radial-gradient(circle at 42% 38%, rgba(187, 255, 249, 0.25) 0 8%, transparent 27%),
    radial-gradient(circle at 62% 68%, rgba(255, 141, 86, 0.24) 0 7%, transparent 28%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 10px, rgba(86, 230, 218, 0.15) 11px, transparent 12px 18px),
    radial-gradient(circle at 50% 50%, rgba(18, 68, 84, 0.94), rgba(6, 18, 34, 0.98) 68%);
  box-shadow:
    inset 0 0 12px rgba(255, 255, 255, 0.2),
    inset 0 0 30px rgba(86, 230, 218, 0.28),
    inset 0 -14px 28px rgba(255, 141, 86, 0.12),
    0 0 14px rgba(86, 230, 218, 0.32),
    0 0 34px rgba(86, 230, 218, 0.15);
}

.index-page .system-energy-orb::before {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: 1;
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from 22deg,
      transparent 0 9deg,
      rgba(178, 255, 249, 0.52) 10deg 10.8deg,
      transparent 11.5deg 24deg,
      rgba(255, 166, 112, 0.34) 25deg 25.8deg,
      transparent 26.5deg 43deg
    );
  mix-blend-mode: screen;
  opacity: 0.8;
  animation: systemStaticTurn 8s linear infinite;
}

.index-page .system-energy-orb::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: 6;
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 22%, rgba(255, 255, 255, 0.42), transparent 13%),
    linear-gradient(132deg, rgba(255, 255, 255, 0.14), transparent 35% 66%, rgba(86, 230, 218, 0.08));
  box-shadow: inset 8px 10px 18px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.index-page .system-energy-static {
  position: absolute;
  inset: 8px;
  z-index: 2;
  border-radius: 50%;
  background:
    linear-gradient(72deg, transparent 12%, rgba(142, 255, 247, 0.72) 13% 13.8%, transparent 15% 43%, rgba(255, 160, 101, 0.58) 44% 44.7%, transparent 46%),
    linear-gradient(153deg, transparent 20%, rgba(255, 255, 255, 0.5) 21% 21.5%, transparent 23% 58%, rgba(86, 230, 218, 0.72) 59% 59.8%, transparent 61%),
    repeating-radial-gradient(circle at 38% 44%, transparent 0 5px, rgba(86, 230, 218, 0.3) 5.5px 6px, transparent 6.5px 11px);
  filter: drop-shadow(0 0 3px rgba(86, 230, 218, 0.8));
  mix-blend-mode: screen;
  opacity: 0.72;
  animation: systemStaticFlicker 2.8s steps(4, end) infinite;
}

.index-page .system-energy-arc {
  position: absolute;
  z-index: 3;
  display: block;
  border-radius: 50%;
  border: 1px solid transparent;
  filter: drop-shadow(0 0 3px currentColor);
  mix-blend-mode: screen;
}

.index-page .system-energy-arc.arc-one {
  inset: 18px 12px 28px 20px;
  color: rgba(182, 255, 249, 0.94);
  border-top-color: currentColor;
  border-right-color: currentColor;
  transform: rotate(-24deg);
  animation: systemArcOne 3.4s ease-in-out infinite;
}

.index-page .system-energy-arc.arc-two {
  inset: 30px 24px 14px 10px;
  color: rgba(255, 162, 104, 0.88);
  border-bottom-color: currentColor;
  border-left-color: currentColor;
  transform: rotate(29deg);
  animation: systemArcTwo 3.1s ease-in-out infinite;
}

.index-page .system-energy-arc.arc-three {
  inset: 13px 32px 23px 30px;
  color: rgba(225, 255, 252, 0.92);
  border-top-color: currentColor;
  border-left-color: currentColor;
  transform: rotate(68deg);
  animation: systemArcThree 2.6s ease-in-out infinite;
}

.index-page .system-energy-nucleus {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #f8ffff;
  box-shadow:
    0 0 5px #fff,
    0 0 12px rgba(86, 230, 218, 0.95),
    0 0 24px rgba(255, 141, 86, 0.55);
  animation: systemNucleus 2.2s ease-in-out infinite;
}

.index-page .system-energy-label {
  color: var(--cmd-turquoise);
  font: 600 0.62rem/1.2 var(--font-tech);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 9px rgba(86, 230, 218, 0.42);
}

.index-page .hero-morph-headline {
  display: grid;
  align-items: start;
  gap: 0.02em;
}

.index-page .hero-morph-line {
  display: flex;
  align-items: baseline;
  gap: 0.32em;
  min-width: 0;
}

.index-page .hero-morph-line-top {
  white-space: nowrap;
}

.index-page .hero-morph-line-bottom {
  white-space: nowrap;
}

.index-page .morph-word-stack {
  min-width: 13ch;
}

.index-page .morph-word {
  animation: heroMorphWordLocked 15s ease-in-out infinite;
}

.index-page .morph-word:nth-child(2) { animation-delay: -12s; }
.index-page .morph-word:nth-child(3) { animation-delay: -9s; }
.index-page .morph-word:nth-child(4) { animation-delay: -6s; }
.index-page .morph-word:nth-child(5) { animation-delay: -3s; }

.index-page .hero-primary-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(255, 238, 213, 0.36);
  box-shadow:
    0 0 0 1px rgba(86, 230, 218, 0.18),
    0 0 26px rgba(255, 141, 86, 0.28),
    0 7px 18px rgba(4, 10, 24, 0.42);
}

.index-page .hero-primary-cta::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(105deg, rgba(255, 141, 86, 0.96), rgba(255, 203, 142, 0.92) 42%, rgba(86, 230, 218, 0.98));
}

.index-page .hero-primary-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, 0.48) 46%, transparent 70%);
  transform: translateX(-130%);
  pointer-events: none;
  animation: heroCtaEnergySweep 4.6s ease-in-out infinite;
}

.index-page .hero-primary-cta:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(86, 230, 218, 0.32),
    0 0 38px rgba(86, 230, 218, 0.24),
    0 0 30px rgba(255, 141, 86, 0.34),
    0 12px 24px rgba(4, 10, 24, 0.48);
}

.index-page .system-lines {
  position: relative;
  z-index: 1;
  gap: 7px;
  margin-top: -4px;
  opacity: 0.3;
  filter: saturate(0.92);
  mix-blend-mode: screen;
  pointer-events: none;
}

.index-page .system-lines span {
  min-height: 28px;
  border-color: rgba(86, 230, 218, 0.14);
  background:
    linear-gradient(110deg, rgba(86, 230, 218, 0.045), rgba(255, 141, 86, 0.035), rgba(86, 230, 218, 0.025));
}

.index-page .command-morph-surface {
  position: relative;
  z-index: 3;
  pointer-events: none;
  isolation: isolate;
  perspective: 900px;
  overflow: hidden;
  margin-top: -2px;
  border-radius: 20px;
  padding: 13px;
  border: 1px solid rgba(86, 230, 218, 0.3);
  background:
    radial-gradient(circle at 18% 18%, rgba(86, 230, 218, 0.2), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(255, 141, 86, 0.17), transparent 29%),
    linear-gradient(154deg, rgba(10, 23, 42, 0.95), rgba(7, 15, 29, 0.98) 56%, rgba(11, 26, 48, 0.94));
  box-shadow:
    0 18px 42px rgba(3, 10, 20, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 0 34px rgba(86, 230, 218, 0.14),
    0 -10px 28px rgba(86, 230, 218, 0.05);
  transition:
    border-color 900ms ease,
    box-shadow 900ms ease,
    filter 900ms ease,
    transform 900ms ease;
}

.index-page .command-morph-surface::before,
.index-page .command-morph-surface::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.index-page .command-morph-surface::before {
  inset: -24% -12%;
  z-index: 0;
  background:
    linear-gradient(118deg, transparent 18%, rgba(86, 230, 218, 0.13) 30%, transparent 42% 56%, rgba(255, 141, 86, 0.12) 69%, transparent 82%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 34px);
  opacity: 0.72;
  transition: opacity 900ms ease, transform 900ms ease;
}

.index-page .command-morph-surface::after {
  left: 18px;
  right: 18px;
  top: 50%;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 230, 218, 0.72), rgba(255, 141, 86, 0.46), transparent);
  box-shadow: 0 0 18px rgba(86, 230, 218, 0.28);
  transform-origin: center;
  transition: opacity 900ms ease, transform 900ms ease, box-shadow 900ms ease;
}

.index-page .command-morph-frame {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
}

.index-page .command-morph-ambient {
  position: absolute;
  inset: 8px;
  z-index: 0;
  pointer-events: none;
}

.index-page .command-morph-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  border: 1px solid rgba(108, 169, 224, 0.24);
  background: rgba(5, 13, 25, 0.68);
  color: rgba(184, 212, 239, 0.74);
  font: 600 0.58rem/1 var(--font-tech);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(86, 230, 218, 0.08);
  transition:
    opacity 900ms ease,
    transform 1200ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 900ms ease,
    color 900ms ease,
    box-shadow 900ms ease;
}

.index-page .command-morph-chip-leads {
  left: 2%;
  top: 7%;
}

.index-page .command-morph-chip-dms {
  right: 4%;
  top: 10%;
}

.index-page .command-morph-chip-referrals {
  left: 31%;
  top: 3%;
}

.index-page .command-morph-chip-ideas {
  right: 12%;
  top: 36%;
}

.index-page .command-morph-chip-attention {
  left: 3%;
  bottom: 42%;
}

.index-page .command-morph-chip-follow {
  left: 8%;
  bottom: 18%;
}

.index-page .command-morph-chip-value {
  right: 10%;
  bottom: 21%;
}

.index-page .command-morph-chip-timing {
  left: 38%;
  top: 0;
}

.index-page .command-morph-chip-next {
  right: 34%;
  bottom: 1%;
}

.index-page .command-morph-chip-buyer {
  right: 3%;
  top: 48%;
}

.index-page .command-morph-mini-center {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  border-radius: 16px;
  padding: 13px;
  border: 1px solid rgba(86, 230, 218, 0.34);
  background:
    linear-gradient(180deg, rgba(13, 28, 51, 0.9), rgba(7, 15, 29, 0.92)),
    radial-gradient(circle at 74% 18%, rgba(255, 141, 86, 0.14), transparent 34%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    inset 0 -22px 42px rgba(3, 10, 20, 0.18),
    0 0 26px rgba(86, 230, 218, 0.1);
  backdrop-filter: var(--cmd-blur-glass);
  -webkit-backdrop-filter: var(--cmd-blur-glass);
  transform-origin: center;
  transform-style: preserve-3d;
  transition:
    opacity 900ms ease,
    transform 1000ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 900ms ease,
    box-shadow 900ms ease,
    filter 900ms ease;
}

.index-page .command-morph-header,
.index-page .command-morph-detection-band,
.index-page .command-morph-lanes,
.index-page .command-morph-revenue-lane,
.index-page .command-morph-route {
  display: flex;
  align-items: center;
}

.index-page .command-morph-header {
  justify-content: space-between;
  gap: 10px;
}

.index-page .command-morph-kicker,
.index-page .command-morph-status,
.index-page .command-morph-detection-band,
.index-page .command-morph-lanes,
.index-page .command-morph-card-label,
.index-page .command-morph-revenue-lane span,
.index-page .command-morph-route {
  font-family: var(--font-tech);
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.index-page .command-morph-kicker {
  color: var(--cmd-turquoise);
  font-size: 0.62rem;
}

.index-page .command-morph-status {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 141, 86, 0.32);
  color: var(--cmd-champagne);
  background: rgba(255, 141, 86, 0.08);
  font-size: 0.55rem;
}

.index-page .command-morph-detection-band {
  justify-content: space-between;
  gap: 8px;
  min-height: 28px;
  border-radius: 999px;
  padding: 6px 8px;
  border: 1px solid rgba(86, 230, 218, 0.18);
  color: rgba(184, 212, 239, 0.74);
  background: linear-gradient(90deg, rgba(86, 230, 218, 0.07), rgba(255, 141, 86, 0.055));
  font-size: 0.5rem;
  transition:
    opacity 800ms ease,
    transform 900ms ease,
    border-color 800ms ease,
    box-shadow 800ms ease;
}

.index-page .command-morph-detection-band strong {
  color: var(--cmd-champagne);
  font-weight: 600;
}

.index-page .command-morph-signal-thread {
  flex: 1 1 auto;
  min-width: 38px;
  height: 1px;
  background: linear-gradient(90deg, rgba(86, 230, 218, 0.18), rgba(86, 230, 218, 0.72), rgba(255, 141, 86, 0.62));
  box-shadow: 0 0 10px rgba(86, 230, 218, 0.28);
  transform-origin: left center;
  transition: transform 900ms ease, opacity 800ms ease, box-shadow 800ms ease;
}

.index-page .command-morph-lanes {
  justify-content: space-between;
  gap: 6px;
}

.index-page .command-morph-lanes span {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 999px;
  padding: 5px 6px;
  border: 1px solid rgba(108, 169, 224, 0.2);
  background: rgba(3, 10, 20, 0.34);
  color: rgba(184, 212, 239, 0.78);
  font-size: 0.48rem;
  line-height: 1.1;
  text-align: center;
}

.index-page .command-morph-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 8px;
}

.index-page .command-morph-card {
  min-height: 64px;
  display: grid;
  align-content: space-between;
  gap: 7px;
  border-radius: 12px;
  padding: 9px;
  border: 1px solid rgba(86, 230, 218, 0.24);
  background:
    linear-gradient(150deg, rgba(9, 22, 41, 0.95), rgba(12, 29, 50, 0.82)),
    radial-gradient(circle at 85% 20%, rgba(86, 230, 218, 0.16), transparent 32%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 10px 20px rgba(3, 10, 20, 0.2);
  transform-origin: center;
  transform: translateZ(0);
  transition:
    opacity 900ms ease,
    transform 1100ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 800ms ease,
    box-shadow 800ms ease,
    filter 800ms ease;
}

.index-page .command-morph-card-label {
  color: rgba(184, 212, 239, 0.75);
  font-size: 0.52rem;
}

.index-page .command-morph-card strong {
  color: var(--cmd-text);
  font-size: clamp(0.82rem, 1.6vw, 0.95rem);
  line-height: 1.08;
}

.index-page .command-morph-revenue-lane {
  justify-content: space-between;
  gap: 10px;
  border-radius: 13px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 141, 86, 0.25);
  background: linear-gradient(90deg, rgba(255, 141, 86, 0.12), rgba(86, 230, 218, 0.09));
  transition:
    opacity 900ms ease,
    transform 1000ms ease,
    border-color 800ms ease,
    box-shadow 800ms ease;
}

.index-page .command-morph-revenue-lane span {
  color: var(--cmd-champagne);
  font-size: 0.58rem;
}

.index-page .command-morph-revenue-lane strong {
  color: var(--cmd-text);
  font-size: 0.86rem;
}

.index-page .command-morph-route {
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  border-radius: 12px;
  padding: 8px 9px;
  border: 1px solid rgba(108, 169, 224, 0.2);
  color: rgba(184, 212, 239, 0.88);
  background: rgba(3, 10, 20, 0.38);
  font-size: 0.53rem;
  line-height: 1.45;
  text-align: center;
  transition:
    opacity 900ms ease,
    transform 1000ms ease,
    border-color 800ms ease,
    box-shadow 800ms ease;
}

.index-page .command-morph-route-mark {
  color: var(--cmd-turquoise);
  text-shadow: 0 0 10px rgba(86, 230, 218, 0.42);
}

.index-page .command-morph-trust {
  position: relative;
  z-index: 2;
  margin: 0 2px;
  color: rgba(184, 212, 239, 0.78);
  font-size: 0.74rem;
  line-height: 1.35;
  text-align: center;
  transition: opacity 900ms ease, transform 1000ms ease;
}

.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"] {
  filter: saturate(0.92);
}

.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"]::before {
  opacity: 0.45;
  transform: translate3d(-5px, 4px, 0) scale(1.03);
}

.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"]::after {
  opacity: 0.2;
  transform: scaleX(0.2);
}

.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"] .command-morph-mini-center {
  opacity: 0.56;
  transform: translateY(8px) scale(0.985);
  filter: blur(0.3px);
}

.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"] .command-morph-detection-band,
.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"] .command-morph-revenue-lane,
.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"] .command-morph-route,
.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"] .command-morph-trust {
  opacity: 0.18;
  transform: translateY(8px);
}

.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"] .command-morph-signal-thread {
  opacity: 0.18;
  transform: scaleX(0.08);
}

.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"] .command-morph-card {
  opacity: 0;
  transform: translateY(15px) scale(0.92);
  filter: blur(1px);
}

.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"] .command-morph-chip-leads { transform: translate3d(-8px, -4px, 0); }
.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"] .command-morph-chip-dms { transform: translate3d(10px, -6px, 0); }
.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"] .command-morph-chip-referrals { transform: translate3d(-4px, -7px, 18px); }
.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"] .command-morph-chip-ideas { transform: translate3d(8px, 4px, 16px); }
.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"] .command-morph-chip-attention { transform: translate3d(-9px, 2px, 14px); }
.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"] .command-morph-chip-follow { transform: translate3d(-10px, 8px, 0); }
.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"] .command-morph-chip-value { transform: translate3d(12px, 10px, 0); }
.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"] .command-morph-chip-timing { transform: translate3d(-2px, -9px, 0); }
.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"] .command-morph-chip-buyer { transform: translate3d(11px, 0, 0); }
.index-page .command-morph-surface[data-morph-enhanced="true"][data-morph-state="signal-intake"] .command-morph-chip-next { transform: translate3d(4px, 12px, 0); }

.index-page .command-morph-surface[data-morph-state="cqa-detecting"] {
  border-color: rgba(86, 230, 218, 0.42);
  box-shadow:
    0 18px 42px rgba(3, 10, 20, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    0 0 42px rgba(86, 230, 218, 0.2);
}

.index-page .command-morph-surface[data-morph-state="cqa-detecting"]::after {
  opacity: 0.76;
  transform: scaleX(0.72);
  box-shadow: 0 0 24px rgba(86, 230, 218, 0.38);
}

.index-page .command-morph-surface[data-morph-state="cqa-detecting"] .command-morph-detection-band {
  opacity: 1;
  border-color: rgba(86, 230, 218, 0.34);
  box-shadow: 0 0 18px rgba(86, 230, 218, 0.16);
}

.index-page .command-morph-surface[data-morph-state="cqa-detecting"] .command-morph-signal-thread {
  opacity: 1;
  transform: scaleX(0.72);
}

.index-page .command-morph-surface[data-morph-state="cqa-detecting"] .command-morph-revenue-lane,
.index-page .command-morph-surface[data-morph-state="cqa-detecting"] .command-morph-route,
.index-page .command-morph-surface[data-morph-state="cqa-detecting"] .command-morph-trust {
  opacity: 0.22;
  transform: translateY(8px);
}

.index-page .command-morph-surface[data-morph-state="cqa-detecting"] .command-morph-card {
  opacity: 0.22;
  transform: translateY(10px) scale(0.96);
  filter: blur(0.5px);
}

.index-page .command-morph-surface[data-morph-state="cqa-detecting"] .command-morph-chip {
  opacity: 0.86;
  border-color: rgba(86, 230, 218, 0.32);
  color: rgba(237, 246, 255, 0.86);
}

.index-page .command-morph-surface[data-morph-state="cards-forming"] .command-morph-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}

.index-page .command-morph-surface[data-morph-state="cards-forming"] .command-morph-card-revenue-leak {
  border-color: rgba(255, 141, 86, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 10px 22px rgba(3, 10, 20, 0.22),
    0 0 18px rgba(255, 141, 86, 0.12);
}

.index-page .command-morph-surface[data-morph-state="cards-forming"] .command-morph-revenue-lane,
.index-page .command-morph-surface[data-morph-state="cards-forming"] .command-morph-route,
.index-page .command-morph-surface[data-morph-state="cards-forming"] .command-morph-trust {
  opacity: 0.4;
  transform: translateY(6px);
}

.index-page .command-morph-surface[data-morph-state="lanes-locking"] .command-morph-card,
.index-page .command-morph-surface[data-morph-state="command-reveal"] .command-morph-card,
.index-page .command-morph-surface[data-morph-state="ready"] .command-morph-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}

.index-page .command-morph-surface[data-morph-state="lanes-locking"] .command-morph-revenue-lane {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(255, 141, 86, 0.42);
  box-shadow: 0 0 20px rgba(255, 141, 86, 0.12);
}

.index-page .command-morph-surface[data-morph-state="lanes-locking"] .command-morph-route,
.index-page .command-morph-surface[data-morph-state="lanes-locking"] .command-morph-trust {
  opacity: 0.58;
  transform: translateY(4px);
}

.index-page .command-morph-surface[data-morph-state="command-reveal"],
.index-page .command-morph-surface[data-morph-state="ready"] {
  border-color: rgba(86, 230, 218, 0.38);
  box-shadow:
    0 18px 42px rgba(3, 10, 20, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 40px rgba(86, 230, 218, 0.17),
    0 -10px 28px rgba(255, 141, 86, 0.08);
}

.index-page .command-morph-surface[data-morph-state="command-reveal"] .command-morph-mini-center,
.index-page .command-morph-surface[data-morph-state="ready"] .command-morph-mini-center {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 -22px 42px rgba(3, 10, 20, 0.18),
    0 0 30px rgba(86, 230, 218, 0.14);
}

.index-page .command-morph-surface[data-morph-state="command-reveal"] .command-morph-route,
.index-page .command-morph-surface[data-morph-state="command-reveal"] .command-morph-trust,
.index-page .command-morph-surface[data-morph-state="ready"] .command-morph-route,
.index-page .command-morph-surface[data-morph-state="ready"] .command-morph-trust {
  opacity: 1;
  transform: translateY(0);
}

.index-page .command-morph-surface[data-morph-state="ready"] .command-morph-detection-band,
.index-page .command-morph-surface[data-morph-state="ready"] .command-morph-revenue-lane {
  opacity: 1;
  transform: translateY(0);
}

.index-page .command-morph-surface[data-morph-state="ready"] .command-morph-chip {
  opacity: 0.44;
  transform: translate3d(0, 0, 0);
}

.index-page .command-morph-surface[data-morph-state="ready"]::after {
  opacity: 0.56;
  transform: scaleX(1);
}

.index-page .command-morph-surface[data-morph-state="ready"] + .system-lines {
  opacity: 0.18;
}

.index-page .hero-primary-cta {
  transition:
    transform 240ms ease,
    box-shadow 360ms ease,
    filter 900ms ease;
}

.index-page .hero:has(.command-morph-surface[data-morph-state="ready"]) .hero-primary-cta {
  box-shadow:
    0 0 0 1px rgba(86, 230, 218, 0.28),
    0 0 34px rgba(255, 141, 86, 0.3),
    0 0 24px rgba(86, 230, 218, 0.2),
    0 9px 20px rgba(4, 10, 24, 0.44);
}

.index-page main > .section > .container > h2 {
  margin-bottom: 10px;
}

.index-page main > .section > .container > .subtitle {
  margin-top: 0;
  margin-bottom: 11px;
}

.index-page .bento,
.index-page .lanes,
.index-page .story-grid {
  gap: 12px;
}

.index-page .tile {
  padding: 16px;
}

.index-page .tile h3,
.index-page .lane h3,
.index-page .story h3,
.index-page .architecture-grid h3 {
  margin-bottom: 8px;
}

.index-page .tile p,
.index-page .lane p,
.index-page .story p,
.index-page .architecture-grid p,
.index-page #opportunities p,
.index-page #trust p {
  margin-top: 6px;
  margin-bottom: 8px;
}

.index-page .lane {
  padding: 16px 18px 16px 20px;
}

.index-page .lane::before {
  top: 13px;
  bottom: 13px;
}

.index-page .tags {
  margin-top: 7px;
}

.index-page #engine {
  padding: 46px 0;
}

.index-page #engine .card,
.index-page .story.card {
  padding: 18px 20px;
}

.index-page #engine .cta-row,
.index-page .story .cta-row,
.index-page #opportunities .cta-row {
  margin-top: 14px;
}

.index-page .command-system-grid {
  gap: 10px;
  margin: 10px 0 0;
}

.index-page .command-system-item {
  padding: 13px 15px;
}

.index-page .architecture-grid {
  gap: 10px;
}

.index-page .architecture-grid article {
  padding: 12px;
}

.index-page .cockpit {
  gap: 12px;
}

.index-page .cockpit-flow {
  gap: 7px;
}

.index-page .cockpit-flow span,
.index-page .agent-list div,
.index-page .signal-board span {
  padding: 9px 10px;
}

.index-page .agent-list,
.index-page .signal-board {
  gap: 7px;
}

.index-page .case-placeholder {
  padding: 18px;
}

.index-page .story ul {
  margin: 9px 0 12px;
}

.index-page #opportunities {
  padding: 50px 0;
}

.index-page #trust {
  padding: 48px 0 52px;
}

.index-page .mini-points {
  margin: 9px 0;
  line-height: 1.65;
}

.index-page .site-footer {
  padding: 22px 0;
}

.index-page .site-footer p {
  margin: 5px 0;
}

@keyframes heroMorphWordLocked {
  0%, 16% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  20%, 96% {
    opacity: 0;
    transform: translateY(-0.2em);
    filter: blur(3px);
  }
  100% {
    opacity: 0;
    transform: translateY(0.22em);
    filter: blur(3px);
  }
}

@keyframes systemStaticTurn {
  0% { transform: rotate(0deg) scale(1); opacity: 0.64; }
  50% { transform: rotate(180deg) scale(1.035); opacity: 0.9; }
  100% { transform: rotate(360deg) scale(1); opacity: 0.64; }
}

@keyframes systemStaticFlicker {
  0%, 100% { transform: rotate(-2deg) scale(1); opacity: 0.58; }
  25% { transform: rotate(1deg) scale(1.025); opacity: 0.82; }
  55% { transform: rotate(-1deg) scale(0.99); opacity: 0.66; }
  78% { transform: rotate(2deg) scale(1.015); opacity: 0.9; }
}

@keyframes systemArcOne {
  0%, 100% { transform: rotate(-24deg) scale(0.96); opacity: 0.42; }
  45% { transform: rotate(-9deg) scale(1.05); opacity: 1; }
}

@keyframes systemArcTwo {
  0%, 100% { transform: rotate(29deg) scale(1.04); opacity: 0.36; }
  55% { transform: rotate(12deg) scale(0.96); opacity: 0.94; }
}

@keyframes systemArcThree {
  0%, 100% { transform: rotate(68deg) scale(0.92); opacity: 0.34; }
  50% { transform: rotate(88deg) scale(1.06); opacity: 0.9; }
}

@keyframes systemNucleus {
  0%, 100% { transform: translate(-50%, -50%) scale(0.88); filter: brightness(0.9); }
  50% { transform: translate(-50%, -50%) scale(1.16); filter: brightness(1.32); }
}

@keyframes heroCtaEnergySweep {
  0%, 58% { transform: translateX(-130%); opacity: 0; }
  68% { opacity: 0.72; }
  88%, 100% { transform: translateX(130%); opacity: 0; }
}

@media (max-width: 700px) {
  .index-page .section {
    padding: 42px 0;
  }

  .index-page .hero {
    padding: 50px 0 40px;
  }

  .index-page .hero-wrap {
    gap: 20px;
  }

  .index-page .hero-morph-headline {
    font-size: clamp(1.18rem, 6.1vw, 1.55rem);
  }

  .index-page .morph-word-stack {
    min-width: 12.8ch;
  }

  .index-page .system-card {
    min-height: 0;
    padding-right: 16px;
  }

  .index-page .system-card > .microcopy,
  .index-page .system-card > h3 {
    max-width: calc(100% - 66px);
  }

  .index-page .system-card > .chip-ring {
    max-width: none;
    justify-content: center;
  }

  .index-page .system-energy-core {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 58px;
    margin: 0;
  }

  .index-page .system-energy-orb {
    width: 56px;
  }

  .index-page .system-energy-label {
    display: none;
  }

  .index-page .command-morph-surface {
    padding: 10px;
  }

  .index-page .command-morph-ambient {
    display: none;
  }

  .index-page .command-morph-mini-center {
    padding: 11px;
  }

  .index-page .command-morph-header,
  .index-page .command-morph-detection-band,
  .index-page .command-morph-revenue-lane {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .index-page .command-morph-lanes {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .index-page .command-morph-lanes span {
    flex: 0 1 auto;
  }

  .index-page .command-morph-signal-thread {
    width: 100%;
    min-width: 0;
  }

  .index-page .command-morph-cards {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .index-page .command-morph-card {
    min-height: 0;
  }

  .index-page .command-morph-card strong,
  .index-page .command-morph-revenue-lane strong {
    font-size: 0.9rem;
  }

  .index-page .command-morph-route {
    justify-content: flex-start;
    text-align: left;
  }

  .index-page .hero-system-panel {
    padding: 6px;
  }

  .index-page .system-lines {
    margin-top: -2px;
    opacity: 0.2;
  }

  .index-page .hero-copy .cta-row {
    margin-top: 13px;
  }

  .index-page .hero-direct-route {
    flex-basis: auto;
  }

  .index-page .cqa-invite {
    display: none;
  }

  .index-page .cqa-launcher {
    right: 12px;
    bottom: 14px;
  }

  .index-page #engine,
  .index-page #opportunities,
  .index-page #trust {
    padding: 40px 0;
  }

  .index-page .tile,
  .index-page .lane,
  .index-page .story.card,
  .index-page #engine .card {
    padding: 15px 16px;
  }

  .index-page .command-system-grid,
  .index-page .architecture-grid,
  .index-page .bento,
  .index-page .lanes,
  .index-page .story-grid {
    gap: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .index-page .morph-word {
    display: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .index-page .morph-word:first-child {
    display: inline;
  }

  .index-page .system-energy-orb::before,
  .index-page .system-energy-static,
  .index-page .system-energy-arc,
  .index-page .system-energy-nucleus,
  .index-page .hero-primary-cta::after {
    animation: none !important;
  }

  .index-page .system-energy-static,
  .index-page .system-energy-arc {
    opacity: 0.78;
  }

  .index-page .command-morph-surface,
  .index-page .command-morph-surface::before,
  .index-page .command-morph-surface::after,
  .index-page .command-morph-mini-center,
  .index-page .command-morph-chip,
  .index-page .command-morph-detection-band,
  .index-page .command-morph-lanes,
  .index-page .command-morph-signal-thread,
  .index-page .command-morph-card,
  .index-page .command-morph-revenue-lane,
  .index-page .command-morph-route,
  .index-page .command-morph-trust {
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }

  .index-page .command-morph-surface[data-morph-state="ready"] .command-morph-card,
  .index-page .command-morph-surface[data-morph-state="ready"] .command-morph-detection-band,
  .index-page .command-morph-surface[data-morph-state="ready"] .command-morph-revenue-lane,
  .index-page .command-morph-surface[data-morph-state="ready"] .command-morph-route,
  .index-page .command-morph-surface[data-morph-state="ready"] .command-morph-trust {
    opacity: 1 !important;
  }

  .index-page .command-morph-surface[data-morph-state="ready"] .command-morph-chip {
    opacity: 0.34 !important;
  }
}

/* INDEX-INSTRUCTION-OVERLAY-GLOBAL-LANG-01 */
.index-page .hero-help-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.index-page .index-help-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  max-width: 100%;
  padding: 9px 15px;
  border: 1px solid rgba(86, 230, 218, 0.36);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(10, 22, 42, 0.82), rgba(13, 30, 52, 0.62)),
    radial-gradient(circle at 12% 0%, rgba(86, 230, 218, 0.16), transparent 34%);
  color: var(--cmd-text);
  font: 800 0.82rem/1 var(--font-display);
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 20px rgba(86, 230, 218, 0.08),
    0 0 16px rgba(255, 141, 86, 0.08);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.index-page .index-help-trigger:hover,
.index-page .index-help-trigger:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(86, 230, 218, 0.68);
  background:
    linear-gradient(135deg, rgba(10, 22, 42, 0.9), rgba(18, 42, 68, 0.72)),
    radial-gradient(circle at 12% 0%, rgba(255, 141, 86, 0.14), transparent 36%);
  box-shadow:
    0 0 26px rgba(86, 230, 218, 0.14),
    0 0 18px rgba(255, 141, 86, 0.1);
}

.index-help-overlay[hidden] {
  display: none !important;
}

.index-help-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow-x: hidden;
}

.index-help-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 12%, rgba(86, 230, 218, 0.16), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 141, 86, 0.14), transparent 30%),
    rgba(3, 8, 18, 0.78);
  backdrop-filter: blur(7px);
}

.index-help-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 28px));
  max-height: min(860px, calc(100vh - 36px));
  overflow: auto;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(86, 230, 218, 0.32);
  border-radius: 26px;
  background:
    linear-gradient(155deg, rgba(13, 28, 52, 0.96), rgba(6, 13, 25, 0.98)),
    radial-gradient(circle at 0% 0%, rgba(86, 230, 218, 0.13), transparent 36%),
    radial-gradient(circle at 100% 8%, rgba(255, 141, 86, 0.13), transparent 32%);
  box-shadow:
    var(--cmd-shadow-hero),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: var(--cmd-text);
  scrollbar-color: rgba(86, 230, 218, 0.35) rgba(6, 13, 25, 0.58);
  scrollbar-width: thin;
}

.index-help-panel::-webkit-scrollbar {
  width: 10px;
}

.index-help-panel::-webkit-scrollbar-track {
  background: rgba(6, 13, 25, 0.58);
}

.index-help-panel::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(86, 230, 218, 0.42), rgba(255, 141, 86, 0.36));
  border: 2px solid rgba(6, 13, 25, 0.72);
  border-radius: 999px;
}

.index-help-panel[dir="rtl"] {
  text-align: start;
}

.index-help-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(108, 169, 224, 0.38);
  border-radius: 14px;
  background: rgba(7, 15, 30, 0.86);
  color: var(--cmd-text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.index-help-close:hover,
.index-help-close:focus-visible {
  border-color: rgba(86, 230, 218, 0.72);
}

.index-help-kicker {
  margin: 0 44px 8px 0;
  color: var(--cmd-turquoise);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.index-help-panel[dir="rtl"] .index-help-kicker {
  margin: 0 0 8px 44px;
}

.index-help-panel h2 {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  letter-spacing: -0.03em;
}

.index-help-subtitle {
  margin: 10px 0 18px;
  max-width: 64ch;
  color: var(--cmd-text-soft);
  line-height: 1.58;
}

.index-help-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.72fr);
  gap: 16px;
  align-items: stretch;
  margin: 16px 0 16px;
}

.index-help-proof-frame {
  position: relative;
  margin: 0;
  min-height: clamp(230px, 36vw, 430px);
  overflow: hidden;
  border: 1px solid rgba(86, 230, 218, 0.26);
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 10%, rgba(86, 230, 218, 0.14), transparent 34%),
    rgba(3, 10, 20, 0.92);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(86, 230, 218, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.index-help-proof-frame img {
  display: block;
  width: 100%;
  height: clamp(230px, 36vw, 430px);
  object-fit: cover;
  object-position: top center;
  filter: saturate(1.08) contrast(1.02);
}

.index-help-proof-frame figcaption {
  position: absolute;
  inset: auto 12px 12px;
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(86, 230, 218, 0.18);
  border-radius: 999px;
  color: rgba(237, 246, 255, 0.82);
  background: rgba(2, 9, 18, 0.78);
  font: 700 0.68rem/1.25 var(--font-tech);
}

.index-help-positioning {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 141, 86, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 141, 86, 0.13), transparent 36%),
    linear-gradient(155deg, rgba(10, 24, 44, 0.78), rgba(4, 12, 24, 0.72));
}

.index-help-system-line,
.index-help-price-line,
.index-help-safe-line {
  margin: 0;
}

.index-help-system-line {
  color: var(--cmd-text);
  font-weight: 800;
  line-height: 1.36;
}

.index-help-price-line {
  color: var(--cmd-champagne);
  font-weight: 900;
}

.index-help-safe-line {
  color: rgba(184, 212, 239, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
}

.index-help-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.index-help-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(108, 169, 224, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(7, 17, 32, 0.58);
}

.index-help-step-index {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(86, 230, 218, 0.4);
  color: var(--cmd-turquoise);
  background: rgba(86, 230, 218, 0.08);
  font: 800 0.72rem/1 var(--font-tech);
}

.index-help-steps h3 {
  margin: 0 0 4px;
  font-size: 0.94rem;
}

.index-help-steps p {
  margin: 0;
  color: var(--cmd-text-soft);
  font-size: 0.86rem;
  line-height: 1.42;
}

.index-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.index-help-actions .btn {
  min-height: 44px;
}

@media (max-width: 700px) {
  .index-page .hero-help-row {
    margin-top: 9px;
  }

  .index-page .index-help-trigger {
    width: 100%;
  }

  .index-help-overlay {
    align-items: start;
    padding: 10px;
  }

  .index-help-panel {
    width: min(100%, calc(100vw - 20px));
    max-height: calc(100dvh - 20px);
    padding: 18px;
    border-radius: 20px;
  }

  .index-help-panel h2 {
    max-width: calc(100% - 36px);
  }

  .index-help-showcase {
    grid-template-columns: 1fr;
  }

  .index-help-proof-frame,
  .index-help-proof-frame img {
    min-height: 0;
    height: clamp(180px, 54vw, 250px);
  }

  .index-help-positioning {
    padding: 14px;
  }

  .index-help-steps {
    grid-template-columns: 1fr;
  }

  .index-help-steps li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .index-help-step-index {
    width: 32px;
    height: 32px;
  }

  .index-help-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   COMMAND CENTER PAGE (body.cc-page)
   North Star: "I am watching my business become a system."
   ============================================================ */

/* ── Page-level overrides ── */
body.cc-page { background: var(--cmd-obsidian); }
body.cc-page .site-header { border-bottom: 1px solid rgba(86,230,218,.14); }

/* Header status bar */
.cc-header-status { display: flex; align-items: center; gap: 10px; }
.status-live-dot { color: rgba(88,232,180,.9); font-size: .72rem; animation: ccPulse 2s ease-in-out infinite; }
.cc-status-label { font-size: .8rem; color: var(--cmd-text-soft); }
.cc-header-status[data-cqa-runtime="waiting"] .status-live-dot,
.cc-header-status[data-cqa-runtime="local"] .status-live-dot { color: rgba(159, 178, 195, 0.82); animation: none; }
.cc-header-status[data-cqa-runtime="checking"] .status-live-dot { color: rgba(92, 204, 255, 0.98); animation: ccRuntimeChecking 0.85s ease-in-out infinite; }
.cc-header-status[data-cqa-runtime="primary"] .status-live-dot { color: rgba(88, 232, 180, 0.98); animation: ccPulse 1.7s ease-in-out infinite; }
.cc-header-status[data-cqa-runtime="fallback"] .status-live-dot { color: rgba(255, 180, 84, 0.98); animation: ccPulse 1.9s ease-in-out infinite; }
.cc-header-status[data-cqa-runtime="offline"] .status-live-dot { color: rgba(255, 91, 91, 0.98); animation: none; }
.cc-header-status[data-cqa-runtime="checking"] .cc-status-label { color: rgba(180, 232, 255, 0.96); }
.cc-header-status[data-cqa-runtime="primary"] .cc-status-label { color: rgba(195, 255, 229, 0.96); }
.cc-header-status[data-cqa-runtime="fallback"] .cc-status-label { color: rgba(255, 220, 162, 0.96); }
.cc-header-status[data-cqa-runtime="offline"] .cc-status-label { color: rgba(255, 184, 184, 0.96); }
.cc-header-status[data-cqa-runtime="local"] .cc-status-label,
.cc-header-status[data-cqa-runtime="waiting"] .cc-status-label { color: rgba(174, 193, 211, 0.86); }
@keyframes ccPulse { 0%,100%{opacity:1} 50%{opacity:.5} }
@keyframes ccRuntimeChecking { 0%,100%{opacity:.64; filter: drop-shadow(0 0 0 rgba(92,204,255,0));} 50%{opacity:1; filter: drop-shadow(0 0 8px rgba(92,204,255,.65));} }

/* ── Cockpit Header (not a hero) ── */
.cc-cockpit-header {
  background: linear-gradient(180deg, rgba(8,18,34,1) 0%, rgba(12,24,42,.92) 100%);
  border-bottom: 1px solid rgba(86,230,218,.14);
  padding: 28px 0 18px;
}
.cc-cockpit-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
.cc-overline { font-family: var(--font-tech); font-size: .72rem; color: var(--cmd-turquoise); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 6px; }
.cc-cockpit-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin: 0 0 8px; background: linear-gradient(135deg, #fff 60%, var(--cmd-turquoise) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cc-cockpit-sub { font-size: .95rem; color: var(--cmd-text-soft); max-width: 560px; margin: 0; line-height: 1.6; }
.cc-cockpit-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; padding-top: 6px; }
.cc-sample-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cc-sample-label { font-size: .78rem; color: var(--cmd-muted); }

/* ── Cockpit Body: Two-column grid ── */
.cc-cockpit-body { padding: 24px 0 32px; }
.cc-cockpit-grid {
  display: grid;
  grid-template-columns: minmax(380px, 1.1fr) minmax(360px, 1.15fr) minmax(280px, .9fr);
  gap: 24px;
  align-items: start;
}

/* ── LEFT: CQA Column ── */
.cc-cqa-col { position: sticky; top: 80px; z-index: 3; }

/* Inline CQA panel (not floating) */
.cc-cqa-panel {
  background: var(--cmd-glass);
  border: 1px solid var(--cmd-glass-border);
  border-radius: 18px;
  padding: 24px 22px 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Override: on cc-page, #cqa-panel IS the inline panel */
body.cc-page #cqa-panel { position: static !important; width: auto !important; max-height: none !important; }

/* CQA avatar row */
.cc-cqa-head { display: flex; flex-direction: column; gap: 10px; }
.cc-cqa-avatar-row { display: flex; align-items: center; gap: 14px; }
.cc-cqa-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(86,230,218,.4); box-shadow: 0 0 0 4px rgba(86,230,218,.08); }
.cc-cqa-overline { font-family: var(--font-tech); font-size: .68rem; color: var(--cmd-turquoise); text-transform: uppercase; letter-spacing: .12em; margin: 0; }
.cc-cqa-title { font-size: 1.2rem; font-weight: 700; margin: 0; }
.cc-cqa-status-chip { margin-left: auto; font-size: .72rem; white-space: nowrap; border-color: rgba(88,232,180,.45); color: rgba(88,232,180,.9); }
.cc-cqa-intro { font-size: .9rem; color: var(--cmd-text-soft); line-height: 1.55; margin: 0; }

/* Mode bar */
.cc-mode-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 14px; background: rgba(8,18,34,.6); border-radius: 10px; border: 1px solid rgba(86,230,218,.1); }
.cc-mode-lang { display: flex; flex-direction: column; gap: 6px; }
.cc-mode-input { display: flex; flex-direction: column; gap: 6px; }
.cc-mic-note { font-size: .78rem; color: var(--cmd-muted); margin: 0; }

/* CQA progress strip */
.cc-cqa-progress { display: flex; gap: 5px; flex-wrap: wrap; }

/* Message stream */
.cc-cqa-stream {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(86,230,218,.2) transparent;
}
.cc-cqa-stream::-webkit-scrollbar { width: 4px; }
.cc-cqa-stream::-webkit-scrollbar-thumb { background: rgba(86,230,218,.2); border-radius: 4px; }

/* Input area */
.cc-cqa-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.cc-cqa-actions textarea { resize: none; min-height: 60px; }
.cc-cqa-send { min-height: 60px; padding: 0 18px; white-space: nowrap; }

/* Quick actions (post-summary) */
.cc-cqa-quick { display: flex; flex-direction: column; gap: 8px; }

/* CQA summary panel */
.cc-cqa-summary { margin-top: 8px; }

/* ── RIGHT: Preview Column ── */
.cc-preview-col, .cc-identity-col { display: flex; flex-direction: column; gap: 20px; }

/* Preview window */
.cc-preview-window {
  background: var(--cmd-glass-strong);
  border: 1px solid rgba(86,230,218,.2);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 0 0 1px rgba(86,230,218,.06), 0 12px 48px rgba(0,0,0,.5);
  transition: border-color .4s ease, box-shadow .4s ease;
}
.cc-preview-window-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.cc-preview-window-head h3 { font-size: 1.05rem; font-weight: 700; margin: 0; }

/* Client Identity Card */
.cc-identity-card { display: grid; grid-template-columns: 80px 1fr; gap: 14px; padding: 14px 0 14px; border-top: 1px solid rgba(86,230,218,.1); margin-top: 12px; }
.cc-identity-image-slot { width: 80px; height: 80px; border-radius: 12px; background: rgba(86,230,218,.07); border: 1px solid rgba(86,230,218,.2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cc-identity-image-slot img { width: 100%; height: 100%; object-fit: cover; }
.cc-identity-placeholder { font-size: .7rem; color: var(--cmd-muted); text-align: center; padding: 4px; }
.cc-identity-meta { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.cc-identity-line { font-size: .82rem; color: var(--cmd-text-soft); margin: 0; }

/* Lead Processing Board */
.cc-processing-label { font-family: var(--font-tech); font-size: .68rem; color: var(--cmd-turquoise); text-transform: uppercase; letter-spacing: .1em; margin: 16px 0 6px; }
.cc-stage-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.cc-stage-row span { font-size: .72rem; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(86,230,218,.2); color: var(--cmd-muted); background: rgba(86,230,218,.04); transition: all .3s ease; }
.cc-stage-row span.active { border-color: var(--cmd-turquoise); color: var(--cmd-turquoise); background: rgba(86,230,218,.12); box-shadow: 0 0 8px rgba(86,230,218,.2); }

.cc-processing-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 12px;
}
.cc-process-card {
  border: 1px solid rgba(86,230,218,.16);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(9,20,36,.76), rgba(11,24,43,.62));
  padding: 10px 10px 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.cc-process-card h5 {
  margin: 0 0 6px;
  font-size: .74rem;
  letter-spacing: .03em;
  color: #e7f3ff;
}
.cc-process-chip {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(108,169,224,.28);
  font-size: .64rem;
  color: #bcd6f1;
}
.cc-process-detail {
  margin: 0;
  font-size: .72rem;
  color: var(--cmd-text-soft);
  line-height: 1.45;
}
.cc-process-card.state-pending { border-color: rgba(108,169,224,.22); }
.cc-process-card.state-active {
  border-color: rgba(86,230,218,.52);
  box-shadow: 0 0 0 1px rgba(86,230,218,.2), 0 10px 18px rgba(4,16,30,.42);
  transform: translateY(-1px);
}
.cc-process-card.state-active .cc-process-chip {
  color: #d5fffb;
  border-color: rgba(86,230,218,.45);
  background: rgba(86,230,218,.12);
}
.cc-process-card.state-complete {
  border-color: rgba(255,196,113,.5);
  box-shadow: 0 0 0 1px rgba(255,196,113,.18), 0 8px 16px rgba(6,18,32,.4);
}
.cc-process-card.state-complete .cc-process-chip {
  color: #ffe8bf;
  border-color: rgba(255,196,113,.5);
  background: rgba(255,196,113,.12);
}
.cc-process-card.pulse-once {
  animation: stagePulse .45s ease;
}
@keyframes stagePulse {
  0% { transform: scale(.985); }
  40% { transform: scale(1.01); }
  100% { transform: scale(1); }
}

/* Morph sequence on preview column */
.cc-morph-sequence { margin-top: 8px; }

/* Brief / signals / revenue cards */
.cc-brief-preview, .cc-signals-card, .cc-revenue-card {
  background: var(--cmd-glass);
  border: 1px solid rgba(86,230,218,.12);
  border-radius: 14px;
  padding: 18px 18px;
}
.cc-brief-preview h4, .cc-signals-card h4, .cc-revenue-card h4 { font-size: .9rem; font-weight: 700; margin: 0 0 10px; color: var(--cmd-turquoise); }

/* Route line */
.cc-route-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 12px 16px; background: rgba(8,18,34,.7); border-radius: 10px; border: 1px solid rgba(86,230,218,.1); font-family: var(--font-tech); font-size: .72rem; color: var(--cmd-text-soft); }
.cc-route-arrow { color: var(--cmd-turquoise); font-size: 1rem; }

.cc-inline-image-upload {
  margin: 10px 0 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(86,230,218,.12);
}
.cc-inline-image-upload .cc-image-label {
  font-size: .8rem;
}
.cc-inline-image-upload input[type="file"] {
  margin-top: 6px;
}

/* ── Handoff Section ── */
.cc-handoff-section {
  background: rgba(8,18,34,.95);
  border-top: 1px solid rgba(86,230,218,.14);
  padding: 48px 0;
  /* Hidden until CQA completes */
  max-height: 0;
  overflow: hidden;
  transition: max-height .6s cubic-bezier(.4,0,.2,1), padding .4s ease;
}
.cc-handoff-section.cc-handoff-revealed {
  max-height: 1200px;
  padding: 48px 0;
}
.cc-handoff-header { max-width: 600px; margin: 0 0 28px; }
.cc-handoff-header h2 { font-size: 1.6rem; font-weight: 800; margin: 0 0 10px; }
.cc-handoff-sub { font-size: 1rem; color: var(--cmd-text-soft); margin: 0 0 6px; }
.cc-handoff-form { max-width: 720px; }
.cc-handoff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.cc-handoff-grid .span-two { grid-column: span 2; }
.cc-image-upload-row { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.cc-image-label { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }
.cc-handoff-submit { margin-top: 12px; }
.optional-label { font-size: .75rem; color: var(--cmd-muted); font-weight: 400; }

/* ── Next section (condensed) ── */
.cc-next-section { margin-top: 0; }

/* ── Mobile ── */
@media (max-width: 900px) {
  .cc-cockpit-grid { grid-template-columns: 1fr; }
  .cc-cqa-col { position: static; }
  .cc-processing-board { grid-template-columns: 1fr; }
  .cc-cqa-stream { max-height: 260px; }
  .cc-cockpit-title-row { flex-direction: column; }
}
@media (max-width: 640px) {
  .cc-cockpit-header { padding: 20px 0 14px; }
  .cc-cqa-panel { padding: 18px 14px 16px; }
  .cc-cqa-actions { grid-template-columns: 1fr; }
  .cc-cqa-send { min-height: 48px; }
  .cc-handoff-grid { grid-template-columns: 1fr; }
  .cc-handoff-grid .span-two { grid-column: span 1; }
  .cc-mode-bar { grid-template-columns: 1fr; }
  .cc-route-line { font-size: .65rem; gap: 4px; }
  .cc-identity-card { grid-template-columns: 60px 1fr; }
  .cc-identity-image-slot { width: 60px; height: 60px; }
  .cc-process-card h5 { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-preview-window, .cc-cqa-stream, .cc-stage-row span { transition: none; }
  .status-live-dot { animation: none; }
}

/* ============================================================
   NORTHSTAR COMMAND CENTER VISUAL PASS
   Keep behavior intact. Strengthen the public cockpit surface.
   ============================================================ */

body.cc-page {
  background:
    linear-gradient(122deg, rgba(86, 230, 218, 0.08), transparent 24%),
    linear-gradient(238deg, rgba(255, 141, 86, 0.1), transparent 28%),
    linear-gradient(180deg, #050a12 0%, #07111e 48%, #0b1627 100%);
}

body.cc-page .cc-main {
  position: relative;
  overflow: clip;
  isolation: isolate;
}

body.cc-page .cc-main::before,
body.cc-page .cc-main::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body.cc-page .cc-main > * {
  position: relative;
  z-index: 1;
}

body.cc-page .cc-main::before {
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(86, 230, 218, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 230, 218, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
}

body.cc-page .cc-main::after {
  opacity: 0.58;
  background:
    linear-gradient(112deg, transparent 0 16%, rgba(86, 230, 218, 0.14) 16.3%, transparent 17% 51%, rgba(255, 141, 86, 0.12) 51.3%, transparent 52%),
    linear-gradient(154deg, transparent 0 58%, rgba(240, 201, 143, 0.1) 58.3%, transparent 59%);
  filter: blur(0.5px);
}

body.cc-page .cc-header {
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.94), rgba(9, 19, 34, 0.9)),
    rgba(5, 10, 18, 0.86);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32);
}

body.cc-page .cc-cockpit-header {
  position: relative;
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.98) 0%, rgba(8, 17, 31, 0.94) 100%),
    repeating-linear-gradient(90deg, rgba(86, 230, 218, 0.08) 0 1px, transparent 1px 72px);
  box-shadow: inset 0 -1px 0 rgba(255, 141, 86, 0.16);
}

body.cc-page .cc-cockpit-header::after {
  content: "";
  position: absolute;
  left: max(4vw, 24px);
  right: max(4vw, 24px);
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 230, 218, 0.78), rgba(255, 141, 86, 0.72), transparent);
  box-shadow: 0 0 22px rgba(86, 230, 218, 0.26);
}

body.cc-page .cc-cockpit-title {
  font-size: clamp(1.85rem, 4vw, 3rem);
  text-shadow: 0 0 28px rgba(86, 230, 218, 0.16);
}

body.cc-page .cc-cockpit-sub {
  max-width: 660px;
}

body.cc-page .cc-cockpit-chips .chip,
body.cc-page .cc-header-status .chip {
  background: rgba(9, 21, 38, 0.76);
  border-color: rgba(86, 230, 218, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.cc-page .cc-sample-bar {
  padding: 10px 0 0;
  border-top: 1px solid rgba(86, 230, 218, 0.08);
}

body.cc-page .cc-cockpit-body {
  padding: 30px 0 44px;
}

body.cc-page .container {
  width: min(1540px, 96%);
}

body.cc-page .cc-cockpit-grid {
  gap: 18px;
  align-items: stretch;
}

body.cc-page .cc-cqa-col,
body.cc-page .cc-preview-col,
body.cc-page .cc-identity-col {
  min-width: 0;
}

body.cc-page .cc-cqa-panel,
body.cc-page .cc-preview-window,
body.cc-page .cc-brief-preview,
body.cc-page .cc-signals-card,
body.cc-page .cc-revenue-card,
body.cc-page .cc-handoff-form {
  position: relative;
  overflow: hidden;
  border-color: rgba(86, 230, 218, 0.2);
  background:
    linear-gradient(145deg, rgba(9, 20, 36, 0.86), rgba(7, 14, 26, 0.92)),
    linear-gradient(120deg, rgba(86, 230, 218, 0.08), transparent 34%, rgba(255, 141, 86, 0.07));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.cc-page .cc-cqa-panel::before,
body.cc-page .cc-preview-window::before,
body.cc-page .cc-signals-card::before,
body.cc-page .cc-brief-preview::before,
body.cc-page .cc-revenue-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(86, 230, 218, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%);
  opacity: 0.52;
}

body.cc-page .cc-cqa-panel > *,
body.cc-page .cc-preview-window > *,
body.cc-page .cc-signals-card > *,
body.cc-page .cc-brief-preview > *,
body.cc-page .cc-revenue-card > * {
  position: relative;
  z-index: 1;
}

body.cc-page .cc-cqa-panel {
  border-radius: 22px;
  min-height: calc(100dvh - 132px);
}

body.cc-page .cc-cqa-avatar {
  width: 58px;
  height: 58px;
  border-color: rgba(86, 230, 218, 0.74);
  box-shadow:
    0 0 0 4px rgba(86, 230, 218, 0.08),
    0 0 0 7px rgba(255, 141, 86, 0.08),
    0 14px 24px rgba(0, 0, 0, 0.36);
}

body.cc-page .cc-cqa-status-chip {
  background: rgba(16, 44, 36, 0.72);
  box-shadow: 0 0 18px rgba(88, 232, 180, 0.12);
}

body.cc-page .cc-mode-bar {
  grid-template-columns: 1fr;
  background: rgba(5, 12, 22, 0.58);
  border-color: rgba(86, 230, 218, 0.16);
}

body.cc-page .cc-cqa-progress {
  padding: 3px;
  border: 1px solid rgba(86, 230, 218, 0.1);
  border-radius: 999px;
  background: rgba(4, 10, 18, 0.42);
}

body.cc-page .cc-cqa-stream {
  min-height: 260px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(86, 230, 218, 0.12);
  background:
    linear-gradient(180deg, rgba(4, 10, 18, 0.72), rgba(8, 18, 34, 0.38)),
    repeating-linear-gradient(180deg, rgba(86, 230, 218, 0.04) 0 1px, transparent 1px 34px);
}

body.cc-page .cc-cqa-actions {
  grid-template-columns: minmax(0, 1fr) minmax(58px, auto) minmax(116px, auto);
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(86, 230, 218, 0.16);
  background: rgba(4, 10, 18, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.cc-page .cc-cqa-actions textarea {
  border-color: rgba(86, 230, 218, 0.28);
  background: rgba(6, 14, 25, 0.88);
}

body.cc-page .cqa-inline-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

body.cc-page .cc-preview-window {
  border-radius: 22px;
  border-color: rgba(86, 230, 218, 0.28);
}

body.cc-page .cc-preview-window-head h3 {
  font-size: 1.22rem;
}

body.cc-page .cc-processing-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.cc-page .cc-processing-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cmd-turquoise);
  box-shadow: 0 0 16px rgba(86, 230, 218, 0.72);
}

body.cc-page .cc-stage-row {
  padding: 8px;
  border-radius: 16px;
  background: rgba(4, 10, 18, 0.44);
  border: 1px solid rgba(86, 230, 218, 0.1);
}

body.cc-page .cc-stage-row span {
  border-radius: 8px;
  background: rgba(9, 20, 36, 0.74);
}

body.cc-page .cc-processing-board {
  position: relative;
  gap: 8px;
}

body.cc-page .cc-processing-board::before {
  content: "";
  position: absolute;
  inset: 18px 10px auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(86, 230, 218, 0.52), rgba(255, 141, 86, 0.38), transparent);
  opacity: 0.44;
  pointer-events: none;
}

body.cc-page .cc-process-card {
  position: relative;
  border-radius: 10px;
  background:
    linear-gradient(155deg, rgba(8, 17, 30, 0.88), rgba(12, 25, 43, 0.72)),
    linear-gradient(90deg, rgba(86, 230, 218, 0.08), transparent);
}

body.cc-page .cc-process-card::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(108, 169, 224, 0.32);
  box-shadow: 0 0 0 3px rgba(108, 169, 224, 0.06);
}

body.cc-page .cc-process-card h5 {
  padding-left: 14px;
}

body.cc-page .cc-process-card.state-active::after,
body.cc-page .cc-process-card.signal-hot::after {
  background: var(--cmd-turquoise);
  box-shadow: 0 0 0 3px rgba(86, 230, 218, 0.1), 0 0 16px rgba(86, 230, 218, 0.58);
}

body.cc-page .cc-process-card.state-complete::after {
  background: var(--cmd-champagne);
  box-shadow: 0 0 0 3px rgba(240, 201, 143, 0.1), 0 0 16px rgba(240, 201, 143, 0.42);
}

body.cc-page .cc-process-card.revenue-leak-active::after {
  background: var(--cmd-orange);
  box-shadow: 0 0 0 3px rgba(255, 141, 86, 0.1), 0 0 18px rgba(255, 141, 86, 0.54);
}

body.cc-page .cc-brief-preview h4,
body.cc-page .cc-signals-card h4,
body.cc-page .cc-revenue-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e9fbff;
}

body.cc-page .cc-brief-preview h4::before,
body.cc-page .cc-signals-card h4::before,
body.cc-page .cc-revenue-card h4::before {
  content: "";
  width: 3px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cmd-turquoise), var(--cmd-orange));
}

body.cc-page .mini-points {
  padding-left: 0;
  list-style: none;
}

body.cc-page .mini-points li {
  padding: 7px 0 7px 12px;
  border-left: 1px solid rgba(86, 230, 218, 0.13);
}

body.cc-page .cc-identity-card {
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
}

body.cc-page .cc-identity-image-slot {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 16px;
  border-color: rgba(86, 230, 218, 0.36);
  background:
    linear-gradient(145deg, rgba(86, 230, 218, 0.12), rgba(255, 141, 86, 0.1)),
    rgba(5, 12, 22, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 26px rgba(0, 0, 0, 0.28);
}

body.cc-page .cc-identity-image-slot::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(86, 230, 218, 0.18);
  border-radius: 10px;
  pointer-events: none;
}

body.cc-page .cc-inline-image-upload {
  padding: 12px;
  border: 1px solid rgba(86, 230, 218, 0.12);
  border-radius: 14px;
  background: rgba(4, 10, 18, 0.36);
}

body.cc-page .cc-route-line {
  position: relative;
  border-radius: 16px;
  padding: 14px 16px;
  border-color: rgba(86, 230, 218, 0.24);
  background:
    linear-gradient(90deg, rgba(86, 230, 218, 0.1), transparent 36%, rgba(255, 141, 86, 0.09)),
    rgba(4, 10, 18, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.cc-page .cc-route-line::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 230, 218, 0.76), rgba(255, 141, 86, 0.56), transparent);
}

body.cc-page .cc-handoff-section {
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.9), rgba(9, 18, 32, 0.96)),
    repeating-linear-gradient(90deg, rgba(86, 230, 218, 0.05) 0 1px, transparent 1px 80px);
}

body.cc-page .cc-handoff-section:not(.cc-handoff-revealed) {
  padding-top: 0;
  padding-bottom: 0;
}

body.cc-page .cc-next-section,
body.cc-page #command-system-architecture {
  border-top: 1px solid rgba(86, 230, 218, 0.1);
}

@media (max-width: 1240px) {
  body.cc-page .cc-cqa-panel {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  body.cc-page .cc-cockpit-grid {
    gap: 16px;
  }

  body.cc-page .cc-cqa-panel {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  body.cc-page .cc-cockpit-chips .chip,
  body.cc-page .cc-header-status .chip,
  body.cc-page .cc-stage-row span {
    white-space: normal;
  }

  body.cc-page .cc-cqa-actions {
    grid-template-columns: 1fr;
  }

  body.cc-page .cc-identity-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  body.cc-page .cc-identity-image-slot {
    width: 72px;
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.cc-page .cc-process-card,
  body.cc-page .cc-route-line,
  body.cc-page .cc-preview-window,
  body.cc-page .cc-cqa-panel {
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================================
   COMMAND CENTER COCKPIT REFORMAT
   Keep CQA input visible. Make the processing board the center.
   ============================================================ */

body.cc-page .cc-cockpit-header {
  padding: 16px 0 10px;
}

body.cc-page .cc-cockpit-title-row {
  gap: 14px;
  margin-bottom: 8px;
}

body.cc-page .cc-cockpit-title {
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  margin-bottom: 4px;
}

body.cc-page .cc-cockpit-sub {
  max-width: 760px;
  font-size: .88rem;
  line-height: 1.45;
}

body.cc-page .cc-cockpit-chips {
  gap: 6px;
}

body.cc-page .cc-sample-bar {
  padding-top: 6px;
}

body.cc-page .cc-cockpit-body {
  padding: 16px 0 34px;
}

body.cc-page .cc-cockpit-grid {
  grid-template-columns: minmax(300px, .86fr) minmax(520px, 1.56fr) minmax(286px, .84fr);
  gap: 14px;
  align-items: start;
}

body.cc-page .cc-cqa-col {
  align-self: start;
}

body.cc-page .cc-cqa-panel {
  min-height: auto;
  max-height: calc(100dvh - 92px);
  padding: 13px;
  gap: 7px;
}

body.cc-page .cc-cqa-head {
  gap: 5px;
}

body.cc-page .cc-cqa-avatar-row {
  gap: 10px;
}

body.cc-page .cc-cqa-avatar {
  width: 44px;
  height: 44px;
}

body.cc-page .cc-cqa-overline {
  font-size: .58rem;
  letter-spacing: .1em;
}

body.cc-page .cc-cqa-title {
  font-size: 1rem;
}

body.cc-page .cc-cqa-status-chip {
  font-size: .62rem;
  padding: 4px 7px;
}

body.cc-page .cc-cqa-intro {
  font-size: .78rem;
  line-height: 1.35;
}

body.cc-page .cc-mode-bar {
  padding: 7px 9px;
}

body.cc-page .cc-mode-lang {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

body.cc-page .cc-mode-lang .microcopy {
  margin: 0;
}

body.cc-page .cc-mode-lang select {
  min-height: 36px;
  padding-top: 6px;
  padding-bottom: 6px;
}

body.cc-page .cc-mic-note,
body.cc-page .cc-panel-status {
  font-size: .68rem;
  line-height: 1.3;
}

body.cc-page .cc-cqa-progress {
  gap: 3px;
  padding: 2px;
  border-radius: 14px;
}

body.cc-page .cc-cqa-progress .cqa-progress-chip {
  font-size: .58rem;
  padding: 3px 6px;
}

body.cc-page .cc-cqa-workspace {
  min-height: 0;
}

body.cc-page .cc-cqa-stream {
  min-height: 96px;
  max-height: clamp(118px, 22dvh, 190px);
  padding: 9px;
}

body.cc-page .cc-cqa-input-dock {
  margin-top: auto;
  padding: 9px;
  border: 1px solid rgba(86, 230, 218, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(7, 15, 27, .96), rgba(4, 10, 18, .92)),
    linear-gradient(90deg, rgba(86, 230, 218, .08), rgba(255, 141, 86, .06));
  box-shadow:
    0 -12px 28px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .05);
}

body.cc-page .cc-active-question {
  display: block;
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(86, 230, 218, .18);
  background: rgba(86, 230, 218, .06);
  color: #eefcff;
  font-size: .86rem;
  line-height: 1.4;
  font-weight: 650;
}

body.cc-page .cc-cqa-actions {
  grid-template-columns: minmax(0, 1fr) 54px 104px;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.cc-page .cc-cqa-actions textarea {
  min-height: 52px;
  max-height: 94px;
}

body.cc-page .cqa-mic-inline,
body.cc-page .cc-cqa-send {
  min-height: 52px;
  padding-left: 10px;
  padding-right: 10px;
}

body.cc-page .cqa-inline-actions {
  margin-top: 7px;
}

body.cc-page .cqa-inline-actions .btn {
  min-height: 38px;
  padding: 7px 10px;
  font-size: .78rem;
}

body.cc-page .cc-preview-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

body.cc-page .cc-preview-window,
body.cc-page .cc-route-line {
  grid-column: 1 / -1;
}

body.cc-page .cc-preview-window {
  padding: 16px;
}

body.cc-page .cc-preview-window-head {
  margin-bottom: 8px;
}

body.cc-page .cc-stage-row {
  gap: 4px;
  padding: 6px;
  margin-bottom: 8px;
}

body.cc-page .cc-stage-row span {
  font-size: .6rem;
  padding: 3px 6px;
}

body.cc-page .cc-processing-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

body.cc-page .cc-process-card {
  padding: 8px 8px 7px;
  min-height: 92px;
}

body.cc-page .cc-process-card h5 {
  font-size: .66rem;
  line-height: 1.2;
  margin-bottom: 4px;
}

body.cc-page .cc-process-chip {
  font-size: .56rem;
  padding: 2px 6px;
  margin-bottom: 4px;
}

body.cc-page .cc-process-detail {
  font-size: .64rem;
  line-height: 1.32;
}

body.cc-page .cc-process-card.state-active,
body.cc-page .cc-process-card.signal-hot {
  background:
    linear-gradient(155deg, rgba(9, 27, 42, .94), rgba(10, 22, 38, .82)),
    radial-gradient(circle at 15% 18%, rgba(86, 230, 218, .18), transparent 34%);
}

body.cc-page .cc-process-card.state-complete {
  opacity: .94;
}

body.cc-page .cc-route-line {
  position: sticky;
  top: 62px;
  z-index: 4;
  justify-content: center;
  padding: 10px 12px;
  font-size: .68rem;
}

body.cc-page .cc-preview-col > .cc-revenue-card {
  grid-column: 1 / -1;
}

body.cc-page #buyer-motivation-card {
  border-color: rgba(255, 141, 86, .28);
  background:
    linear-gradient(145deg, rgba(15, 23, 36, .92), rgba(7, 14, 26, .9)),
    radial-gradient(circle at 12% 12%, rgba(255, 141, 86, .18), transparent 34%),
    radial-gradient(circle at 90% 0%, rgba(86, 230, 218, .14), transparent 38%);
}

body.cc-page #buyer-motivation-card h4::before {
  background: linear-gradient(180deg, var(--cmd-orange), var(--cmd-turquoise));
}

body.cc-page #buyer-motivation-progress {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 2px 0 8px;
  border-color: rgba(255, 141, 86, .42);
  color: #ffd9c4;
  background: rgba(255, 141, 86, .12);
}

body.cc-page #buyer-motivation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

body.cc-page #buyer-motivation-list li,
body.cc-page #opportunity-brief-preview li,
body.cc-page #followup-lane-list li {
  padding: 8px 9px;
  border: 1px solid rgba(86, 230, 218, .12);
  border-left: 3px solid rgba(255, 141, 86, .32);
  border-radius: 10px;
  background: rgba(4, 10, 18, .34);
}

body.cc-page .cc-brief-preview,
body.cc-page .cc-signals-card,
body.cc-page .cc-revenue-card {
  padding: 13px;
}

body.cc-page .cc-brief-preview h4,
body.cc-page .cc-signals-card h4,
body.cc-page .cc-revenue-card h4 {
  font-size: .82rem;
  margin-bottom: 8px;
}

body.cc-page .cc-identity-col {
  gap: 12px;
}

body.cc-page .cc-identity-card {
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 11px;
  padding: 9px 0 10px;
}

body.cc-page .cc-identity-image-slot {
  width: 74px;
  height: 74px;
}

body.cc-page .cc-inline-image-upload {
  margin: 6px 0 8px;
  padding: 9px;
}

body.cc-page .cc-inline-image-upload .cc-image-label,
body.cc-page .cc-inline-image-upload small {
  font-size: .72rem;
  line-height: 1.35;
}

body.cc-page .cc-identity-col .mini-points {
  display: grid;
  gap: 7px;
}

body.cc-page .cc-identity-col .mini-points li {
  padding: 8px 9px;
  border: 1px solid rgba(86, 230, 218, .13);
  border-left: 3px solid rgba(86, 230, 218, .34);
  border-radius: 11px;
  background: rgba(5, 12, 22, .42);
  font-size: .72rem;
  line-height: 1.3;
}

body.cc-page #scoped-lead-board {
  grid-template-columns: 1fr;
}

body.cc-page .cc-handoff-grid {
  margin-bottom: 12px;
}

@media (min-width: 1181px) {
  body.cc-page .cc-cockpit-header {
    padding: 12px 0 8px;
  }

  body.cc-page .cc-cockpit-body {
    padding: 12px 0 28px;
  }

  body.cc-page .cc-cockpit-grid {
    grid-template-columns: minmax(292px, .92fr) minmax(330px, 1.04fr) minmax(330px, 1.04fr);
    gap: 12px;
    align-items: start;
  }

  body.cc-page .cc-cqa-col {
    grid-column: 1;
    grid-row: 1;
    top: 58px;
  }

  body.cc-page .cc-preview-col,
  body.cc-page .cc-identity-col {
    display: contents;
  }

  body.cc-page .cc-preview-window {
    grid-column: 2 / 4;
    grid-row: 1;
  }

  body.cc-page .cc-identity-col > .cc-signals-card:first-child {
    grid-column: 1;
    grid-row: 2;
  }

  body.cc-page #opportunity-brief-card {
    grid-column: 2;
    grid-row: 2;
  }

  body.cc-page #buyer-motivation-card {
    grid-column: 3;
    grid-row: 2;
  }

  body.cc-page .cc-preview-col > .cc-revenue-card {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  body.cc-page .cc-route-line {
    grid-column: 3;
    grid-row: 3;
    position: relative;
    top: auto;
    align-self: stretch;
    align-content: center;
    justify-content: center;
  }

  body.cc-page .cc-identity-col > .cc-signals-card:nth-of-type(2) {
    grid-column: 1;
    grid-row: 4;
  }

  body.cc-page #revenue-view-card {
    grid-column: 2 / 4;
    grid-row: 4;
  }

  body.cc-page .cc-cqa-panel {
    max-height: calc(100dvh - 78px);
    padding: 10px;
    gap: 5px;
  }

  body.cc-page .cc-cqa-avatar {
    width: 38px;
    height: 38px;
  }

  body.cc-page .cc-cqa-intro,
  body.cc-page .cc-mic-note,
  body.cc-page .cc-panel-status {
    font-size: .66rem;
    line-height: 1.25;
  }

  body.cc-page .cc-cqa-stream {
    min-height: 84px;
    max-height: clamp(98px, 18dvh, 152px);
    padding: 8px;
  }

  body.cc-page .cc-cqa-input-dock {
    padding: 7px;
    border-radius: 15px;
  }

  body.cc-page .cc-cqa-actions textarea {
    min-height: 46px;
    max-height: 78px;
  }

  body.cc-page .cqa-mic-inline,
  body.cc-page .cc-cqa-send {
    min-height: 46px;
  }

  body.cc-page .cc-preview-window,
  body.cc-page .cc-brief-preview,
  body.cc-page .cc-signals-card,
  body.cc-page .cc-revenue-card {
    padding: 11px;
  }

  body.cc-page .cc-processing-board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  body.cc-page .cc-process-card {
    min-height: 74px;
    padding: 7px;
  }

  body.cc-page .cc-process-card h5 {
    font-size: .61rem;
  }

  body.cc-page .cc-process-detail {
    font-size: .6rem;
    line-height: 1.25;
  }

  body.cc-page .cc-process-chip {
    font-size: .54rem;
    margin-bottom: 3px;
  }
}

@media (max-width: 1180px) {
  body.cc-page .cc-cockpit-grid {
    grid-template-columns: minmax(300px, .9fr) minmax(450px, 1.35fr);
  }

  body.cc-page .cc-identity-col {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.cc-page .cc-cockpit-grid {
    grid-template-columns: 1fr;
  }

  body.cc-page .cc-cqa-col {
    position: relative;
    top: auto;
    order: 1;
  }

  body.cc-page .cc-preview-col {
    order: 2;
    grid-template-columns: 1fr;
  }

  body.cc-page .cc-preview-window {
    order: 2;
  }

  body.cc-page #opportunity-brief-card {
    order: 3;
  }

  body.cc-page #buyer-motivation-card {
    order: 4;
  }

  body.cc-page .cc-preview-col > .cc-revenue-card {
    order: 5;
  }

  body.cc-page .cc-route-line {
    order: 6;
  }

  body.cc-page .cc-identity-col {
    order: 3;
    display: grid;
    grid-template-columns: 1fr;
  }

  body.cc-page .cc-cqa-panel {
    max-height: none;
  }

  body.cc-page .cc-cqa-stream {
    min-height: 86px;
    max-height: 150px;
  }

  body.cc-page .cc-processing-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.cc-page .cc-process-card.state-active {
    order: -1;
  }

  body.cc-page .cc-route-line {
    position: relative;
    top: auto;
  }
}

@media (max-width: 640px) {
  body.cc-page .cc-cockpit-header {
    padding: 12px 0 8px;
  }

  body.cc-page .cc-cockpit-title {
    font-size: clamp(1.3rem, 7vw, 1.85rem);
  }

  body.cc-page .cc-cqa-panel {
    padding: 10px;
  }

  body.cc-page .cc-cqa-avatar {
    width: 40px;
    height: 40px;
  }

  body.cc-page .cc-cqa-intro {
    font-size: .72rem;
  }

  body.cc-page .cc-cqa-progress {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  body.cc-page .cc-cqa-progress::-webkit-scrollbar {
    display: none;
  }

  body.cc-page .cc-cqa-input-dock {
    position: sticky;
    bottom: 8px;
    z-index: 5;
  }

  body.cc-page .cc-active-question {
    font-size: .8rem;
  }

  body.cc-page .cc-cqa-actions {
    grid-template-columns: minmax(0, 1fr) 52px;
  }

  body.cc-page .cc-cqa-send {
    grid-column: 1 / -1;
    min-height: 44px;
  }

  body.cc-page .cqa-mic-inline {
    min-height: 50px;
  }

  body.cc-page .cc-processing-board {
    grid-template-columns: 1fr;
  }

  body.cc-page #buyer-motivation-list {
    grid-template-columns: 1fr;
  }

  body.cc-page .cc-process-card {
    min-height: auto;
  }

  body.cc-page .cc-route-line {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.cc-page .cc-process-card.pulse-once {
    animation: none !important;
  }
}

/* Phase 7H.1: mic icon + Buyer Motivation intelligence orb */
.cqa-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cqa-mic-icon {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.cc-page .cqa-mic-inline {
  min-width: 54px;
  color: #dffcff;
}

body.cc-page .intel-orb-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 9px 0 10px;
  padding: 10px;
  border: 1px solid rgba(86, 230, 218, .16);
  border-radius: 16px;
  background:
    radial-gradient(circle at 20% 20%, rgba(86, 230, 218, .13), transparent 34%),
    linear-gradient(135deg, rgba(4, 11, 20, .52), rgba(12, 24, 38, .34));
}

body.cc-page .intel-orb {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .24), transparent 10%),
    radial-gradient(circle at 50% 50%, rgba(86, 230, 218, .42), transparent 33%),
    radial-gradient(circle at 42% 38%, rgba(255, 141, 86, .26), transparent 58%),
    rgba(4, 12, 22, .86);
  box-shadow:
    0 0 0 1px rgba(86, 230, 218, .24),
    0 0 22px rgba(86, 230, 218, .16),
    inset 0 0 24px rgba(255, 255, 255, .06);
  overflow: hidden;
}

body.cc-page .intel-orb__ring,
body.cc-page .intel-orb__core,
body.cc-page .intel-orb__signal {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

body.cc-page .intel-orb__ring {
  inset: 6px;
  border: 1px solid rgba(86, 230, 218, .42);
  border-top-color: rgba(255, 141, 86, .74);
  animation: intelOrbTurn 7s linear infinite;
}

body.cc-page .intel-orb__core {
  width: 28px;
  height: 28px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .9), rgba(86, 230, 218, .66) 30%, rgba(255, 141, 86, .28) 66%, transparent 78%);
  box-shadow: 0 0 18px rgba(86, 230, 218, .38);
}

body.cc-page .intel-orb__signal {
  width: 118px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 230, 218, .72), transparent);
  opacity: .42;
}

body.cc-page .intel-orb__signal--one {
  transform: rotate(22deg);
}

body.cc-page .intel-orb__signal--two {
  transform: rotate(-38deg);
  background: linear-gradient(90deg, transparent, rgba(255, 141, 86, .64), transparent);
}

body.cc-page .intel-orb__caption {
  color: #ccefff;
  font-family: var(--font-tech);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.35;
}

body.cc-page .intel-orb-shell.is-active .intel-orb {
  box-shadow:
    0 0 0 1px rgba(86, 230, 218, .36),
    0 0 28px rgba(86, 230, 218, .22),
    inset 0 0 26px rgba(255, 255, 255, .08);
}

body.cc-page .intel-orb-shell.is-pain .intel-orb {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .22), transparent 10%),
    radial-gradient(circle at 46% 50%, rgba(255, 141, 86, .5), transparent 36%),
    radial-gradient(circle at 58% 44%, rgba(86, 230, 218, .3), transparent 58%),
    rgba(8, 12, 20, .88);
  box-shadow:
    0 0 0 1px rgba(255, 141, 86, .42),
    0 0 26px rgba(255, 141, 86, .22),
    inset 0 0 24px rgba(255, 255, 255, .06);
}

body.cc-page .intel-orb-shell.is-ready .intel-orb {
  box-shadow:
    0 0 0 1px rgba(255, 196, 113, .46),
    0 0 34px rgba(255, 196, 113, .24),
    0 0 54px rgba(86, 230, 218, .14),
    inset 0 0 30px rgba(255, 255, 255, .1);
}

body.cc-page .intel-orb-shell.pulse-once .intel-orb {
  animation: intelOrbPulse .62s ease-out;
}

@keyframes intelOrbTurn {
  to { transform: rotate(360deg); }
}

@keyframes intelOrbPulse {
  0% { transform: scale(.96); filter: brightness(1); }
  45% { transform: scale(1.06); filter: brightness(1.22); }
  100% { transform: scale(1); filter: brightness(1); }
}

@media (max-width: 640px) {
  body.cc-page .intel-orb-shell {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 9px;
    padding: 8px;
  }

  body.cc-page .intel-orb {
    width: 58px;
    height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.cc-page .intel-orb__ring,
  body.cc-page .intel-orb-shell.pulse-once .intel-orb {
    animation: none !important;
  }
}


/* ============================================================
   COCKPIT RESCUE LAYOUT v2 — 42/58 CQA:PREVIEW
   command-cockpit-grid owns Row 1.
   command-secondary-grid owns Row 2.
   command-lower-grid owns Row 3.
   NO .cqa-panel class on cc-cqa-col — that conflicts with homepage floating widget.
   ============================================================ */

/* ── ROW 1 grid ── */
.command-cockpit-grid {
  display: grid;
  grid-template-columns: minmax(520px, 0.9fr) minmax(620px, 1.15fr);
  grid-template-areas: "cqa preview";
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

/* ── CQA LEFT column — hard visibility guard ── */
body.cc-page .cc-cqa-col {
  grid-area: cqa !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: stretch !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
  margin-top: 0 !important;
  width: 100%;
  min-width: 0;
  height: 100%;
  overflow: visible;
  /* sticky scroll on wide screens only */
}

/* ── CQA panel inside the column ── */
body.cc-page .cc-cqa-col .cc-cqa-panel {
  display: flex !important;
  flex-direction: column;
  visibility: visible !important;
  opacity: 1 !important;
  height: 100%;
  min-height: 0;
  max-height: calc(100dvh - 132px);
  position: static !important;
  width: auto !important;
  overflow: hidden;
}

/* ── CQA stream proper height ── */
body.cc-page .cc-cqa-col .cc-cqa-stream {
  flex: 1 1 auto;
  min-height: 180px;
  max-height: none;
  overflow-y: auto;
}

/* ── Helper chips: allow wrapping, prevent vertical stacking ── */
body.cc-page .cc-cqa-col .cqa-global-helper {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

body.cc-page .cc-cqa-col .cqa-helper-chip {
  white-space: normal;
  text-align: left;
  flex: 0 1 auto;
}

/* ── RIGHT preview column containment ── */
.command-preview-panel {
  min-width: 0;
  height: 0; /* Critical Passenger Trick 1: neuter intrinsic grid height */
  min-height: 100%; /* Critical Passenger Trick 2: stretch to row height dictated by CQA */
  max-height: calc(100dvh - 132px); /* Mathematically locks bottom edge to CQA */
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.cc-page .command-preview-panel .cc-preview-window {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  margin-bottom: 0;
  padding: 16px 18px !important;
}

/* ── ROW 2 grid ── */
.command-secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.cc-identity-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  height: 100%;
}

/* ── ROW 3 grid ── */
.command-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

/* ── Other named panel containment ── */
.client-identity-card,
.opportunity-brief-panel,
.buyer-motivation-panel,
.follow-up-lane-panel {
  min-width: 0;
  overflow: hidden;
  height: 100%;
}

/* ── Lead processing board ── */
.command-cockpit-grid .cc-processing-board {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 4px !important;
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  padding-right: 6px;
}

/* ── Dark Cockpit Scrollbars ── */
.command-cockpit-grid .cc-processing-board::-webkit-scrollbar,
body.cc-page .cc-cqa-col .cc-cqa-stream::-webkit-scrollbar {
  width: 6px;
}
.command-cockpit-grid .cc-processing-board::-webkit-scrollbar-track,
body.cc-page .cc-cqa-col .cc-cqa-stream::-webkit-scrollbar-track {
  background: rgba(4, 10, 18, 0.4);
  border-radius: 6px;
}
.command-cockpit-grid .cc-processing-board::-webkit-scrollbar-thumb,
body.cc-page .cc-cqa-col .cc-cqa-stream::-webkit-scrollbar-thumb {
  background: rgba(86, 230, 218, 0.15);
  border-radius: 6px;
}
.command-cockpit-grid .cc-processing-board::-webkit-scrollbar-thumb:hover,
body.cc-page .cc-cqa-col .cc-cqa-stream::-webkit-scrollbar-thumb:hover {
  background: rgba(86, 230, 218, 0.3);
}

.command-cockpit-grid .cc-process-card {
  min-height: 52px;
  max-height: 76px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.command-cockpit-grid .cc-process-card .cc-process-detail {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ╔══════════════════════════════════════════════════════════
   ║  COMMAND ENERGY FIELD — cockpit instrumentation fill
   ║  Lives inside #live-mini-preview, after the board cards.
   ║  Fills visual gap with premium animated status layer.
   ╚══════════════════════════════════════════════════════════ */

@keyframes cc-scan-sweep {
  0%   { transform: translateX(-100%); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateX(200%); opacity: 0; }
}

@keyframes cc-glow-breathe {
  0%, 100% { opacity: 0.28; transform: scale(1); }
  50%       { opacity: 0.48; transform: scale(1.08); }
}

@keyframes cc-copy-fade {
  0%, 100% { opacity: 0.45; }
  50%       { opacity: 0.72; }
}

.cc-command-energy-field {
  position: relative;
  margin-top: 12px;
  flex: 1 1 auto; /* absorbs remaining space inside flex .cc-preview-window */
  min-height: 72px;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(180deg,
      rgba(4, 10, 18, 0.0) 0%,
      rgba(4, 12, 22, 0.72) 40%,
      rgba(6, 16, 30, 0.88) 100%);
  border: 1px solid rgba(86, 230, 218, 0.1);
  border-top: 1px solid rgba(86, 230, 218, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
}

/* ── Scan rail: the horizontal moving line ── */
.cc-energy-scan-rail {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  overflow: hidden;
}

.cc-energy-scan-line {
  display: block;
  position: absolute;
  top: 0; left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(86, 230, 218, 0.0) 10%,
    rgba(86, 230, 218, 0.7) 50%,
    rgba(255, 141, 86, 0.4) 80%,
    transparent 100%
  );
  animation: cc-scan-sweep 3.6s ease-in-out infinite;
  border-radius: 2px;
}

/* ── Radial glow pulse — center-left ── */
.cc-energy-glow {
  position: absolute;
  bottom: -20px; left: 20%;
  width: 260px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(86, 230, 218, 0.12) 0%,
    rgba(255, 141, 86, 0.06) 40%,
    transparent 70%
  );
  animation: cc-glow-breathe 4.4s ease-in-out infinite;
  pointer-events: none;
}

/* ── Status copy layer ── */
.cc-energy-copy {
  position: relative;
  z-index: 1;
  padding: 14px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cc-energy-main {
  font-family: var(--font-tech, 'DM Mono', monospace);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(86, 230, 218, 0.82);
  animation: cc-copy-fade 4.4s ease-in-out infinite;
  margin: 0;
}

.cc-energy-micro {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cc-energy-micro li {
  font-family: var(--font-tech, 'DM Mono', monospace);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: rgba(180, 200, 220, 0.42);
  padding-left: 1em;
  position: relative;
}

.cc-energy-micro li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: rgba(255, 141, 86, 0.5);
}

/* ── Reduce motion safety ── */
@media (prefers-reduced-motion: reduce) {
  .cc-energy-scan-line { animation: none; opacity: 0.3; }
  .cc-energy-glow      { animation: none; }
  .cc-energy-main      { animation: none; }
}


/* ── Duplicate INPUT CONTEXT hidden (accessible) ── */
body.cc-page #cqa-question.cc-active-question {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ── Strip old grid placements that caused stagger ── */
body.cc-page #opportunity-brief-card,
body.cc-page #buyer-motivation-card,
body.cc-page #revenue-view-card,
body.cc-page .cc-preview-window,
body.cc-page .cc-route-line {
  grid-column: auto !important;
  grid-row: auto !important;
  order: 0 !important;
}

/* ── Narrow desktop: stack columns ── */
@media (max-width: 1200px) {
  .command-cockpit-grid {
    grid-template-columns: 1fr;
  }

  body.cc-page .cc-cqa-col .cc-cqa-stream {
    max-height: 260px;
  }

  .command-secondary-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .command-secondary-grid {
    grid-template-columns: 1fr;
  }

  .command-cockpit-grid .cc-processing-board {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Command Center rhythm lock: equal-height rows, no layout logic changes */
body.cc-page .command-cockpit-grid {
  display: grid;
  grid-template-columns: minmax(520px, 0.9fr) minmax(620px, 1.15fr);
  grid-template-areas: "cqa preview";
  gap: 18px;
  align-items: stretch;
}

body.cc-page .cc-cqa-col,
body.cc-page .cc-preview-col,
body.cc-page .command-preview-panel {
  min-width: 0;
  height: 100%;
  align-self: stretch !important;
}

body.cc-page .cc-cqa-col .cc-cqa-panel,
body.cc-page .cc-preview-col .cc-preview-window,
body.cc-page .command-preview-panel .cc-preview-window {
  height: 100%;
  min-height: 0;
  max-height: calc(100dvh - 132px);
  overflow: hidden;
}

body.cc-page .cc-cqa-col .cc-cqa-panel {
  display: flex !important;
  flex-direction: column;
}

body.cc-page .cc-cqa-col .cc-cqa-workspace {
  flex: 1 1 auto;
  min-height: 0;
}

body.cc-page .cc-cqa-col .cc-cqa-stream {
  flex: 1 1 auto;
  min-height: 180px;
  max-height: none;
  overflow-y: auto;
}

body.cc-page .cc-cqa-col .cc-cqa-input-dock {
  flex: 0 0 auto;
}

body.cc-page .command-preview-panel {
  display: block !important;
}

body.cc-page .command-preview-panel .cc-preview-window {
  display: flex;
  flex-direction: column;
}

body.cc-page .command-preview-panel .cc-processing-board {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

body.cc-page .command-secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

body.cc-page .command-secondary-grid > * {
  min-width: 0;
  height: 100%;
  align-self: stretch;
}

body.cc-page .command-secondary-grid > .cc-identity-stack,
body.cc-page .command-secondary-grid > .opportunity-brief-panel,
body.cc-page .command-secondary-grid > .buyer-motivation-panel {
  min-height: 360px;
  max-height: 520px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.cc-page .cc-identity-stack {
  gap: 12px;
}

body.cc-page .cc-identity-stack .client-identity-card:first-child {
  flex: 1 1 auto;
  min-height: 0;
}

body.cc-page .cc-identity-stack .client-identity-card + .client-identity-card {
  flex: 0 0 auto;
  max-height: 150px;
  overflow-y: auto;
}

body.cc-page .client-identity-card,
body.cc-page .opportunity-brief-panel,
body.cc-page .buyer-motivation-panel {
  padding: 16px;
}

body.cc-page #identity-meta-list,
body.cc-page #opportunity-brief-preview,
body.cc-page #buyer-motivation-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

body.cc-page .command-secondary-grid .mini-points li,
body.cc-page .command-lower-grid .mini-points li {
  padding: 8px 10px;
  font-size: .76rem;
  line-height: 1.35;
}

body.cc-page .command-lower-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

body.cc-page .command-lower-grid > * {
  min-width: 0;
  height: 100%;
  align-self: stretch;
}

body.cc-page .command-cockpit-grid .cc-process-card {
  min-height: 76px;
  max-height: 96px;
}

@media (max-width: 1200px) {
  body.cc-page .command-cockpit-grid,
  body.cc-page .command-secondary-grid,
  body.cc-page .command-lower-grid {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  body.cc-page .cc-cqa-col .cc-cqa-panel,
  body.cc-page .cc-preview-col .cc-preview-window,
  body.cc-page .command-preview-panel .cc-preview-window {
    max-height: none;
  }
}

/* COMMAND-CENTER-LAYOUT-COMPOSITION-LOCK-03
   Composition-only correction: no forced viewport slabs, no fake equal-height
   internal scroll cages, no CQA grid reordering. */
body.cc-page .cc-main {
  overflow-x: hidden;
}

body.cc-page .cc-cockpit-body .container {
  width: min(1540px, calc(100vw - 28px));
  max-width: 1540px;
}

body.cc-page .command-cockpit-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1fr) !important;
  grid-template-areas: "cqa preview" !important;
  gap: 18px !important;
  align-items: start !important;
  margin: 0 0 18px !important;
}

body.cc-page .cc-cqa-col {
  grid-area: cqa !important;
  align-self: start !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  margin: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  overflow: visible !important;
}

body.cc-page .cc-preview-col,
body.cc-page .command-preview-panel {
  grid-area: preview !important;
  align-self: start !important;
  display: block !important;
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  margin: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  overflow: visible !important;
}

body.cc-page .cc-cqa-col .cc-cqa-panel {
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 14px !important;
}

body.cc-page .cc-cqa-head {
  order: 1;
}

body.cc-page .cc-mode-bar {
  order: 2;
}

body.cc-page .cc-mic-note,
body.cc-page .cc-panel-status {
  order: 3;
}

body.cc-page .cc-cqa-progress {
  order: 4;
}

body.cc-page .cc-cqa-workspace {
  order: 5;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  min-width: 0 !important;
  min-height: 0 !important;
}

body.cc-page .cc-cqa-input-dock {
  order: 6;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  position: static !important;
  inset: auto !important;
  margin-top: 0 !important;
  min-width: 0 !important;
  overflow: visible !important;
}

body.cc-page .cc-cqa-col .cc-cqa-stream {
  flex: 0 1 auto !important;
  min-height: 132px !important;
  max-height: clamp(160px, 24dvh, 230px) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
}

body.cc-page .cc-cqa-suggestions {
  flex-wrap: wrap !important;
  gap: 7px !important;
  max-height: none !important;
  overflow: visible !important;
}

body.cc-page .cc-cqa-actions {
  grid-template-columns: minmax(0, 1fr) 54px minmax(112px, auto) !important;
  align-items: stretch !important;
}

body.cc-page #cqa-answer-input {
  min-height: 58px !important;
  max-height: 110px !important;
}

body.cc-page .cc-cqa-send,
body.cc-page .cqa-mic-inline {
  min-height: 52px !important;
}

body.cc-page #cqa-question.cc-active-question {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.cc-page .command-preview-panel .cc-preview-window {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 14px !important;
}

body.cc-page .command-preview-panel .cc-preview-window-head {
  margin-bottom: 8px !important;
}

body.cc-page .command-preview-panel .cc-stage-row {
  gap: 5px !important;
  margin-bottom: 8px !important;
  padding: 6px !important;
}

body.cc-page .command-preview-panel .cc-stage-row span {
  font-size: .6rem !important;
  padding: 3px 6px !important;
}

body.cc-page .command-preview-panel .cc-processing-board {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 7px !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 6px 0 0 !important;
}

body.cc-page .command-cockpit-grid .cc-process-card {
  min-height: 68px !important;
  max-height: 88px !important;
  overflow: hidden !important;
  padding: 7px !important;
}

body.cc-page .command-cockpit-grid .cc-process-card h5 {
  font-size: .62rem !important;
  line-height: 1.18 !important;
  margin-bottom: 3px !important;
}

body.cc-page .command-cockpit-grid .cc-process-chip {
  font-size: .54rem !important;
  margin-bottom: 3px !important;
  padding: 2px 6px !important;
}

body.cc-page .command-cockpit-grid .cc-process-card .cc-process-detail {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-size: .6rem !important;
  line-height: 1.24 !important;
}

body.cc-page .command-secondary-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: start !important;
  margin: 0 0 16px !important;
}

body.cc-page .command-secondary-grid > .cc-identity-stack,
body.cc-page .command-secondary-grid > .opportunity-brief-panel,
body.cc-page .command-secondary-grid > .buyer-motivation-panel {
  align-self: start !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

body.cc-page .cc-identity-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

body.cc-page .cc-identity-stack .client-identity-card {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

body.cc-page .client-identity-card,
body.cc-page .opportunity-brief-panel,
body.cc-page .buyer-motivation-panel,
body.cc-page .follow-up-lane-panel,
body.cc-page #revenue-view-card {
  padding: 14px !important;
}

body.cc-page .command-secondary-grid .mini-points,
body.cc-page .command-lower-grid .mini-points {
  overflow: visible !important;
}

body.cc-page .command-secondary-grid .mini-points li,
body.cc-page .command-lower-grid .mini-points li {
  padding: 7px 9px !important;
  font-size: .74rem !important;
  line-height: 1.32 !important;
}

body.cc-page .command-lower-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: start !important;
  margin: 0 !important;
}

body.cc-page .command-lower-grid > * {
  align-self: start !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

body.cc-page .command-lower-grid .cc-route-line {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  z-index: auto !important;
  justify-content: center !important;
  padding: 14px !important;
}

body.cc-page .cc-cqa-stream,
body.cc-page .cc-processing-board,
body.cc-page .mini-points {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(86, 230, 218, 0.34) rgba(4, 10, 18, 0.5) !important;
}

body.cc-page .cc-cqa-stream::-webkit-scrollbar,
body.cc-page .cc-processing-board::-webkit-scrollbar,
body.cc-page .mini-points::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

body.cc-page .cc-cqa-stream::-webkit-scrollbar-track,
body.cc-page .cc-processing-board::-webkit-scrollbar-track,
body.cc-page .mini-points::-webkit-scrollbar-track {
  background: rgba(4, 10, 18, 0.5);
  border-radius: 999px;
}

body.cc-page .cc-cqa-stream::-webkit-scrollbar-thumb,
body.cc-page .cc-processing-board::-webkit-scrollbar-thumb,
body.cc-page .mini-points::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(86, 230, 218, 0.44), rgba(255, 141, 86, 0.34));
  border-radius: 999px;
}

@media (max-width: 1320px) and (min-width: 1201px) {
  body.cc-page .command-cockpit-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  body.cc-page .command-preview-panel .cc-processing-board {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1200px) {
  body.cc-page .command-cockpit-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "cqa"
      "preview" !important;
  }

  body.cc-page .command-secondary-grid,
  body.cc-page .command-lower-grid {
    grid-template-columns: 1fr !important;
  }

  body.cc-page .cc-cqa-col .cc-cqa-stream {
    max-height: 260px !important;
  }

  body.cc-page .command-preview-panel .cc-processing-board {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  body.cc-page .cc-cockpit-body .container {
    width: min(100% - 18px, 460px) !important;
  }

  body.cc-page .cc-cqa-col,
  body.cc-page .cc-preview-col,
  body.cc-page .command-preview-panel,
  body.cc-page .cc-cqa-col .cc-cqa-panel,
  body.cc-page .cc-cqa-col .cc-cqa-panel > *,
  body.cc-page .command-preview-panel .cc-preview-window {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.cc-page .command-cockpit-grid,
  body.cc-page .command-secondary-grid,
  body.cc-page .command-lower-grid {
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body.cc-page .cc-cqa-col .cc-cqa-panel {
    width: 100% !important;
    padding: 11px !important;
    overflow-x: hidden !important;
  }

  body.cc-page .cc-cqa-avatar-row {
    flex-wrap: wrap !important;
    align-items: flex-start !important;
  }

  body.cc-page .cc-cqa-avatar-row > div {
    min-width: 0 !important;
  }

  body.cc-page .cc-cqa-status-chip {
    display: block !important;
    flex: 0 0 100% !important;
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: .58rem !important;
    line-height: 1.28 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  body.cc-page .cc-overline,
  body.cc-page .cc-cockpit-sub,
  body.cc-page .cc-cqa-intro,
  body.cc-page .cc-mic-note,
  body.cc-page .cc-panel-status {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  body.cc-page .cc-cqa-progress {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    overflow-x: visible !important;
  }

  body.cc-page .cc-cqa-progress .cqa-progress-chip,
  body.cc-page .cc-cqa-suggestions .cqa-helper-chip,
  body.cc-page .cc-cqa-stream .cqa-bubble {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
  }

  body.cc-page .cc-cqa-suggestions {
    flex-wrap: wrap !important;
    overflow: visible !important;
  }

  body.cc-page .cc-cqa-suggestions .cqa-helper-label {
    flex: 0 0 100% !important;
  }

  body.cc-page .cc-cqa-suggestions .cqa-helper-chip {
    flex: 1 1 100% !important;
  }

  body.cc-page .cc-cqa-col .cc-cqa-stream {
    max-height: 220px !important;
    overflow-x: hidden !important;
  }

  body.cc-page .cc-cqa-stream .cqa-bubble {
    width: 100% !important;
  }

  body.cc-page .cqa-bubble-body {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  body.cc-page .cc-cqa-actions {
    grid-template-columns: minmax(0, 1fr) 50px !important;
  }

  body.cc-page .cc-cqa-send {
    grid-column: 1 / -1 !important;
  }

  body.cc-page .command-preview-panel .cc-processing-board {
    grid-template-columns: 1fr !important;
  }
}

/* ================================================================
   ELECTROSTATIC TIGHTEN-05
   Scope: Row 1 slight tighten · Row 2 slight tighten
          Electrostatic energy rail between Row 2 and Row 3
   Touch: css/style.css only. No JS. No HTML structure changes.
   ================================================================ */

/* ── Row 1: slight tighten ── */
body.cc-page .command-cockpit-grid {
  gap: 14px !important;
  margin: 0 0 14px !important;
}

body.cc-page .cc-cqa-col .cc-cqa-panel {
  gap: 7px !important;
  padding: 12px !important;
}

body.cc-page .command-preview-panel .cc-preview-window {
  padding: 12px !important;
}

body.cc-page .command-preview-panel .cc-preview-window-head {
  margin-bottom: 6px !important;
}

body.cc-page .command-preview-panel .cc-stage-row {
  gap: 4px !important;
  margin-bottom: 6px !important;
  padding: 5px !important;
}

body.cc-page .command-cockpit-grid .cc-process-card {
  min-height: 60px !important;
  max-height: 80px !important;
  padding: 6px !important;
}

/* ── Row 2: slight tighten ── */
body.cc-page .command-secondary-grid {
  gap: 13px !important;
  margin: 0 0 0 !important;
}

body.cc-page .client-identity-card,
body.cc-page .opportunity-brief-panel,
body.cc-page .buyer-motivation-panel,
body.cc-page .follow-up-lane-panel,
body.cc-page #revenue-view-card {
  padding: 12px !important;
}

body.cc-page .command-secondary-grid .mini-points li,
body.cc-page .command-lower-grid .mini-points li {
  padding: 5px 8px !important;
  font-size: .73rem !important;
}

body.cc-page .cc-identity-stack {
  gap: 10px !important;
}

/* ── Energy field copy tighten ── */
.cc-energy-copy {
  padding: 10px 14px 12px !important;
}

/* ═══════════════════════════════════════════════════════════
   ELECTROSTATIC RAIL — between Row 2 and Row 3
   CSS pseudo-elements only. No HTML added.
   ═══════════════════════════════════════════════════════════ */

@keyframes cc-static-drift {
  0%   { transform: translateX(-6px) scaleX(0.98); opacity: 0.18; }
  30%  { opacity: 0.38; }
  70%  { opacity: 0.26; }
  100% { transform: translateX(6px) scaleX(1.02); opacity: 0.18; }
}

@keyframes cc-arc-slide {
  0%   { transform: translateX(-100%); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { transform: translateX(110%); opacity: 0; }
}

/* Position context for pseudo-elements */
body.cc-page .command-lower-grid {
  position: relative;
}

/* Static field glow band — always present, softly drifting */
body.cc-page .command-lower-grid::before {
  content: "";
  display: block;
  position: absolute;
  top: -22px;
  left: 0;
  right: 0;
  height: 20px;
  border-radius: 4px;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(86,230,218,0.04) 15%,
      rgba(86,230,218,0.10) 38%,
      rgba(255,141,86,0.06) 62%,
      rgba(86,230,218,0.04) 82%,
      transparent 100%),
    linear-gradient(180deg,
      transparent 0%,
      rgba(86,230,218,0.08) 50%,
      transparent 100%);
  border-top: 1px solid rgba(86,230,218,0.18);
  animation: cc-static-drift 5.2s ease-in-out infinite alternate;
}

/* Arc sweep — charged current moving across the rail */
body.cc-page .command-lower-grid::after {
  content: "";
  display: block;
  position: absolute;
  top: -22px;
  left: 0;
  width: 36%;
  height: 20px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(86,230,218,0.0) 8%,
    rgba(86,230,218,0.55) 40%,
    rgba(255,141,86,0.30) 72%,
    transparent 100%
  );
  animation: cc-arc-slide 4.1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Row 2 bottom border — the top edge of the electrostatic zone */
body.cc-page .command-secondary-grid {
  position: relative;
  border-bottom: 1px solid rgba(86,230,218,0.12);
  padding-bottom: 0;
}

/* Soft ionized ambient glow bleed under Row 2 */
body.cc-page .command-secondary-grid::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -14px;
  left: 20%;
  width: 60%;
  height: 28px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(86,230,218,0.10) 0%,
    rgba(255,141,86,0.04) 50%,
    transparent 80%
  );
  animation: cc-glow-breathe 5.8s ease-in-out infinite;
}

/* ── Reduce motion safety ── */
@media (prefers-reduced-motion: reduce) {
  body.cc-page .command-lower-grid::before,
  body.cc-page .command-lower-grid::after,
  body.cc-page .command-secondary-grid::after {
    animation: none !important;
    opacity: 0.12;
  }
}

/* COMMAND-CENTER-ROW-2-DOM-CAUSE-FIX-07
   Cause: "Signals From Your Answers" is the second card inside Row 2
   .cc-identity-stack. Keep the JS target in DOM, but give that exact card
   no visible layout footprint and make Column 1 behave as a single-card cell. */
body.cc-page .cc-identity-stack > .row2-signals-card {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

body.cc-page .command-secondary-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: start !important;
}

body.cc-page .command-secondary-grid > .cc-identity-stack {
  display: block !important;
  gap: 0 !important;
  row-gap: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.cc-page .command-secondary-grid > .cc-identity-stack > .client-identity-card:first-child {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: visible !important;
}

body.cc-page .command-secondary-grid > .opportunity-brief-panel,
body.cc-page .command-secondary-grid > .buyer-motivation-panel {
  align-self: start !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 12px !important;
  overflow: visible !important;
}

body.cc-page .command-secondary-grid > .opportunity-brief-panel .mini-points li,
body.cc-page .command-secondary-grid > .buyer-motivation-panel .mini-points li,
body.cc-page .command-secondary-grid > .cc-identity-stack .mini-points li {
  padding: 6px 8px !important;
  line-height: 1.3 !important;
}

/* COMMAND-CENTER-WALKTHROUGH-PROOF-01 */
body.cc-page .cc-walkthrough-module {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: 16px;
  align-items: start;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid rgba(86,230,218,.18);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(9,20,36,.78), rgba(6,13,24,.88)),
    radial-gradient(circle at 12% 16%, rgba(86,230,218,.12), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(255,141,86,.12), transparent 38%);
  box-shadow:
    0 18px 42px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
}

body.cc-page .cc-walkthrough-module::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(86,230,218,.12), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 34%);
  opacity: .64;
}

body.cc-page .cc-walkthrough-module > * {
  position: relative;
  z-index: 1;
}

body.cc-page .cc-walkthrough-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

body.cc-page .cc-walkthrough-copy h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
}

body.cc-page .cc-walkthrough-copy .microcopy {
  margin: 0;
  max-width: 52ch;
  line-height: 1.55;
}

body.cc-page .cc-walkthrough-actions,
body.cc-page .cc-walkthrough-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

body.cc-page .cc-walkthrough-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .48fr);
  gap: 14px;
  min-width: 0;
}

body.cc-page .cc-proof-frame {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(86,230,218,.22);
  border-radius: 18px;
  background: rgba(3,9,17,.62);
  box-shadow:
    0 14px 28px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.04);
}

body.cc-page .cc-proof-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  background: rgba(2,8,15,.74);
}

body.cc-page .cc-proof-frame figcaption {
  padding: 8px 10px 10px;
  border-top: 1px solid rgba(86,230,218,.12);
  color: var(--cmd-muted);
  font-family: var(--font-tech);
  font-size: .66rem;
  line-height: 1.35;
}

body.cc-page .cc-walkthrough-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255,141,86,.26);
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(8,18,34,.88), rgba(5,11,20,.94)),
    radial-gradient(circle at 10% 0%, rgba(255,141,86,.14), transparent 42%);
}

body.cc-page .cc-walkthrough-panel[hidden] {
  display: none !important;
}

body.cc-page .cc-walkthrough-step-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

body.cc-page .cc-walkthrough-close {
  min-height: 36px;
  padding: 6px 12px;
}

body.cc-page .cc-walkthrough-panel h3 {
  margin: 0;
  color: #eefcff;
  font-size: 1.02rem;
}

body.cc-page .cc-walkthrough-panel p {
  margin: 0;
  color: var(--cmd-text-soft);
  line-height: 1.5;
}

body.cc-page .cc-walkthrough-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 2px 0;
}

body.cc-page .cc-walkthrough-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(86,230,218,.34);
  border-radius: 999px;
  background: rgba(86,230,218,.08);
  cursor: pointer;
}

body.cc-page .cc-walkthrough-dot.is-active {
  background: var(--cmd-turquoise);
  border-color: rgba(86,230,218,.9);
  box-shadow: 0 0 16px rgba(86,230,218,.38);
}

body.cc-page .cc-walkthrough-continue {
  width: 100%;
}

@media (max-width: 1100px) {
  body.cc-page .cc-walkthrough-module,
  body.cc-page .cc-walkthrough-proof {
    grid-template-columns: 1fr;
  }

  body.cc-page .cc-proof-frame img {
    max-height: 320px;
  }
}

@media (max-width: 640px) {
  body.cc-page .cc-walkthrough-module {
    padding: 12px;
    border-radius: 18px;
  }

  body.cc-page .cc-walkthrough-actions .btn,
  body.cc-page .cc-walkthrough-controls .btn,
  body.cc-page .cc-walkthrough-continue {
    width: 100%;
  }

  body.cc-page .cc-proof-frame img {
    max-height: 230px;
  }
}

/* ============================================================
   PROMPT 9A INDEX FRONT DOOR
   Scoped homepage tightening only.
   ============================================================ */
.index-page .hero-eyebrow,
.index-page .section-kicker {
  margin: 0 0 10px;
  font-family: var(--font-tech);
  font-size: clamp(0.68rem, 1vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cmd-turquoise);
  text-shadow: 0 0 18px rgba(86, 230, 218, 0.32);
}

.index-page .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(86, 230, 218, 0.22);
  border-radius: 999px;
  background:
    radial-gradient(circle at 0% 0%, rgba(86, 230, 218, 0.16), transparent 56%),
    rgba(6, 17, 31, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.index-page .hero-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cmd-orange);
  box-shadow:
    0 0 14px rgba(255, 141, 86, 0.72),
    0 0 22px rgba(86, 230, 218, 0.28);
}

.index-page .morph-word-stack {
  min-width: clamp(13ch, 22vw, 17ch);
}

.index-page .hero-copy .cta-row {
  align-items: center;
}

.index-page .hero-copy .cta-row .btn:not(.hero-primary-cta) {
  flex: 0 1 auto;
}

.index-page .hero-copy .support {
  max-width: 59ch;
}

.index-page .hero-trust-line {
  max-width: 64ch;
}

.index-page .system-card {
  min-height: 176px;
}

.index-page .command-morph-surface {
  min-height: 270px;
}

.index-page #build .lanes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.index-page #opportunities .container {
  max-width: 900px;
}

.index-page #opportunities .cta-row {
  margin-top: 18px;
}

.index-page .command-morph-surface,
.index-page .system-lines {
  pointer-events: none;
}

@media (max-width: 1024px) {
  .index-page #build .lanes {
    grid-template-columns: 1fr;
  }

  .index-page .command-morph-surface {
    min-height: 240px;
  }
}

@media (max-width: 700px) {
  .index-page .hero {
    padding-top: 42px;
  }

  .index-page .hero-morph-line,
  .index-page .hero-morph-line-top,
  .index-page .hero-morph-line-bottom {
    white-space: normal;
  }

  .index-page .morph-word-stack {
    min-width: 11.5ch;
  }

  .index-page .hero-copy .cta-row {
    gap: 10px;
  }

  .index-page .hero-system-panel {
    padding: 6px;
  }

  .index-page .system-card {
    min-height: 150px;
    padding-right: 132px;
  }

  .index-page .command-morph-surface {
    min-height: 216px;
    padding: 10px;
  }

  .index-page .command-morph-chip {
    opacity: 0.32;
  }
}

@media (max-width: 480px) {
  .index-page .system-card {
    padding-right: 18px;
  }

  .index-page .system-energy-core {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin: 12px 0 0;
  }

  .index-page .command-morph-route {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .index-page .command-morph-route-mark {
    transform: rotate(90deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .index-page .morph-word,
  .index-page .command-morph-chip,
  .index-page .command-morph-signal-thread,
  .index-page .system-energy-arc,
  .index-page .hero-primary-cta::after {
    animation: none !important;
    transition: none !important;
  }
}

/*
  PROMPT 11/12B SHARED TOKEN + MOTION SAFETY
  Final guardrails only: keep Julius liquid-glass identity, stop loops for reduced-motion users,
  and add light RTL-safe logical fallbacks without moving decorative art.
*/
:root {
  --js-obsidian: var(--cmd-obsidian, #060d18);
  --js-cyan: var(--cmd-turquoise, #56e6da);
  --js-orange: var(--cmd-orange, #ff8d56);
  --js-glass-border: var(--cmd-glass-border, rgba(86, 230, 218, .22));
  --js-soft-shadow: var(--cmd-shadow-float, 0 12px 36px rgba(4, 10, 24, .52));
}

.nav-links,
.cta-row,
.hero-actions,
.office-badges,
.cc-cockpit-chips {
  direction: inherit;
}

.tile,
.lane,
.card,
.system-card,
.modal-card,
.command-morph-card,
.cc-process-card {
  border-color: var(--js-glass-border);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  .index-page *,
  .index-page *::before,
  .index-page *::after,
  .cc-page *,
  .cc-page *::before,
  .cc-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .route-line,
  .dot,
  .morph-word,
  .command-morph-chip,
  .command-morph-signal-thread,
  .command-morph-detection-band,
  .command-morph-revenue-lane,
  .command-morph-route,
  .system-energy-arc,
  .system-energy-core,
  .system-lines,
  .status-live-dot,
  .reveal,
  .studio-opening .preview-output {
    animation: none !important;
  }

  .btn:hover,
  .tile:hover,
  .lane:hover,
  .glass-cta:hover,
  .command-morph-card,
  .command-morph-chip {
    transform: none !important;
  }

  .command-morph-surface,
  .system-card {
    filter: none !important;
  }
}

/* Prompt 16A: truthful index CTA stack + clean explanation overlay triggers */
.index-page .hero-cta-stack {
  display: grid;
  grid-template-columns: minmax(220px, 1.05fr) minmax(190px, 0.9fr);
  gap: 10px;
  max-width: 620px;
}

.index-page .hero-cta-stack .btn {
  min-height: 46px;
  justify-content: center;
  text-align: center;
}

.index-page .hero-secondary-cta {
  border-color: rgba(86, 230, 218, 0.42);
  background:
    linear-gradient(135deg, rgba(86, 230, 218, 0.14), rgba(7, 18, 34, 0.66)),
    rgba(5, 13, 25, 0.62);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 0 22px rgba(86, 230, 218, 0.12);
}

.index-page .hero-info-cta {
  min-height: 42px;
  color: rgba(235, 247, 255, 0.9);
  border-color: rgba(255, 141, 86, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 141, 86, 0.10), rgba(86, 230, 218, 0.06)),
    rgba(5, 13, 25, 0.52);
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-proof-frame {
  border-color: rgba(86, 230, 218, 0.34);
  background:
    radial-gradient(circle at 50% 18%, rgba(86, 230, 218, 0.18), transparent 44%),
    linear-gradient(155deg, rgba(6, 14, 26, 0.94), rgba(3, 9, 18, 0.98));
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-proof-frame img {
  object-position: center 18%;
  filter: saturate(1.08) contrast(1.04);
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-system-line {
  border-color: rgba(86, 230, 218, 0.26);
  background: rgba(86, 230, 218, 0.08);
}

@media (max-width: 760px) {
  .index-page .hero-cta-stack {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

/* Prompt 16L: final index first-screen 10% vertical tighten only. */
.index-page .hero {
  padding: 36px 0 8px;
}

.index-page .hero-wrap {
  gap: 16px;
}

.index-page .hero-eyebrow {
  margin-bottom: 8px;
  padding-block: 6px;
}

.index-page .hero-copy .cta-row {
  margin-top: 13px;
  gap: 9px;
}

.index-page .hero-cta-stack .btn {
  min-height: 42px;
}

.index-page .hero-system-panel {
  gap: 6px;
  padding: 5px;
}

.index-page .system-card {
  min-height: 126px;
  padding-block: 12px;
}

.index-page .command-morph-surface {
  min-height: 198px;
  padding: 10px;
}

.index-page #build.section {
  padding-top: 14px;
}

.index-page #build .section-kicker {
  margin-bottom: 5px;
}

.index-page #build h2 {
  margin-bottom: 7px;
}

.index-page #build .lanes {
  gap: 14px;
}

.index-page #build .lane {
  padding: 16px;
}

.index-page .command-stage-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  isolation: isolate;
}

.index-page .command-stage-strip::before {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  top: 25px;
  height: 1px;
  z-index: 0;
  background: linear-gradient(90deg, rgba(86, 230, 218, 0.18), rgba(86, 230, 218, 0.7), rgba(255, 141, 86, 0.62), rgba(86, 230, 218, 0.18));
  box-shadow: 0 0 18px rgba(86, 230, 218, 0.22);
  pointer-events: none;
}

.index-page .command-stage-card {
  position: relative;
  z-index: 1;
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(86, 230, 218, 0.16);
  background:
    linear-gradient(180deg, rgba(10, 24, 43, 0.72), rgba(5, 13, 25, 0.5)),
    radial-gradient(circle at 14% 0%, rgba(86, 230, 218, 0.14), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 14px 30px rgba(3, 10, 20, 0.24);
  overflow: hidden;
}

.index-page .command-stage-card::after {
  content: "";
  position: absolute;
  inset: auto -18% -48% 18%;
  height: 64px;
  background: radial-gradient(circle, rgba(255, 141, 86, 0.14), transparent 64%);
  pointer-events: none;
}

.index-page .command-stage-card-soft {
  border-color: rgba(255, 141, 86, 0.22);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 141, 86, 0.15), transparent 38%),
    linear-gradient(154deg, rgba(10, 20, 36, 0.9), rgba(7, 15, 29, 0.95));
}

.index-page .command-stage-index {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(86, 230, 218, 0.46);
  background: rgba(4, 12, 24, 0.82);
  color: var(--cmd-turquoise);
  font: 800 0.64rem/1 var(--font-tech);
  letter-spacing: 0.08em;
  box-shadow: 0 0 20px rgba(86, 230, 218, 0.18);
}

.index-page .command-stage-card h3 {
  margin: 0;
  color: var(--cmd-text);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.08;
}

.index-page .command-stage-card p {
  margin: 0;
  color: rgba(205, 223, 241, 0.8);
  font-size: 0.82rem;
  line-height: 1.4;
}

.index-page #trust {
  padding: 18px 0 38px;
}

.index-page .index-trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-radius: 18px;
  border: 1px solid rgba(86, 230, 218, 0.24);
  background:
    linear-gradient(110deg, rgba(86, 230, 218, 0.08), rgba(7, 15, 29, 0.92) 44%, rgba(255, 141, 86, 0.09));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 16px 34px rgba(3, 10, 20, 0.3);
}

.index-page .index-trust-strip-label {
  flex: 0 0 auto;
  color: var(--cmd-turquoise);
  font: 800 0.68rem/1.2 var(--font-tech);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.index-page #trust .index-trust-strip p {
  margin: 0;
  max-width: 78ch;
  color: rgba(220, 233, 246, 0.84);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .index-page .hero {
    padding-top: 38px;
    padding-bottom: 34px;
  }

  .index-page .command-morph-surface {
    min-height: 204px;
  }

  .index-page .command-stage-strip {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .index-page .command-stage-strip::before {
    left: 24px;
    right: auto;
    top: 18px;
    bottom: 18px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(86, 230, 218, 0.2), rgba(86, 230, 218, 0.72), rgba(255, 141, 86, 0.52), rgba(86, 230, 218, 0.16));
  }

  .index-page .command-stage-card {
    min-height: 0;
    padding: 13px 14px 13px 52px;
  }

  .index-page .command-stage-index {
    position: absolute;
    left: 12px;
    top: 12px;
  }

  .index-page #trust {
    padding: 14px 0 30px;
  }

  .index-page .index-trust-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
  }
}

/* C2.4: homepage bridge cleanup + ISRS/CQA routing polish only. */
.index-page .nav-links {
  align-items: center;
  gap: 9px;
}

.index-page .nav-links .nav-action-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border: 1px solid rgba(86, 230, 218, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(8, 18, 33, 0.84), rgba(4, 10, 20, 0.76)),
    radial-gradient(circle at 14% 0%, rgba(86, 230, 218, 0.12), transparent 36%);
  color: rgba(228, 242, 255, 0.88);
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 16px rgba(86, 230, 218, 0.08);
}

.index-page .nav-links .nav-action-pill-primary {
  border-color: rgba(255, 141, 86, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 141, 86, 0.13), rgba(7, 16, 31, 0.82)),
    radial-gradient(circle at 14% 0%, rgba(86, 230, 218, 0.14), transparent 38%);
}

.index-page .nav-links .nav-action-pill:hover,
.index-page .nav-links .nav-action-pill:focus-visible {
  color: #fff;
  border-color: rgba(86, 230, 218, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 20px rgba(86, 230, 218, 0.14),
    0 0 18px rgba(255, 141, 86, 0.1);
}

.index-page .hero-explainer-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 9px;
  max-width: 620px;
  margin-top: 9px;
}

.index-page .hero-explainer-row .btn {
  min-height: 40px;
}

.index-page .index-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(86, 230, 218, 0.28);
  border-radius: 999px;
  color: rgba(236, 247, 255, 0.84);
  text-decoration: none;
  background:
    linear-gradient(150deg, rgba(5, 13, 25, 0.82), rgba(12, 26, 45, 0.64)),
    radial-gradient(circle at 50% 0%, rgba(255, 141, 86, 0.14), transparent 45%);
  box-shadow:
    0 10px 24px rgba(2, 9, 18, 0.28),
    0 0 18px rgba(86, 230, 218, 0.12);
  transform: translateX(-50%);
  animation: indexScrollCueFloat 2.6s ease-in-out infinite;
}

.index-page .index-scroll-cue span {
  transform: translateY(-1px);
}

@keyframes indexScrollCueFloat {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.72; }
  50% { transform: translate(-50%, 5px); opacity: 1; }
}

.index-page #build.section {
  padding-top: 10px;
  padding-bottom: 28px;
}

.index-page #build .support {
  margin-bottom: 1.1rem !important;
}

.index-page .command-stage-strip {
  gap: 10px;
}

.index-page .command-stage-card {
  min-height: 112px;
  gap: 6px;
  padding: 10px 12px 12px;
}

.index-page #trust {
  padding: 14px 0 30px;
}

.index-page #opportunities.section {
  position: relative;
  padding-top: 34px;
  padding-bottom: 42px;
  overflow: hidden;
}

.index-page #build.section {
  position: relative;
  overflow: hidden;
}

.index-page #build.section::before,
.index-page #opportunities.section::before {
  content: "";
  position: absolute;
  inset: -20% -12%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 24%, rgba(86, 230, 218, 0.12), transparent 34%),
    radial-gradient(circle at 82% 36%, rgba(255, 141, 86, 0.12), transparent 36%),
    linear-gradient(115deg, transparent 18%, rgba(86, 230, 218, 0.055), transparent 44%, rgba(255, 141, 86, 0.055), transparent 74%);
  opacity: 0.78;
  animation: indexLowerEnergyDrift 12s ease-in-out infinite alternate;
}

.index-page #build.section > .container,
.index-page #opportunities.section > .container {
  position: relative;
  z-index: 1;
}

.index-page #opportunities > .container > p[style] {
  margin-bottom: 1.2rem !important;
}

.index-page .index-normal-crm-actions {
  justify-content: flex-start;
  margin-top: 1.15rem;
}

.index-page .index-normal-crm-actions .btn {
  min-width: min(100%, 260px);
}

@keyframes indexLowerEnergyDrift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 1%, 0) scale(1.03); }
}

.index-page .index-trust-copy {
  display: grid;
  gap: 7px;
  max-width: 82ch;
}

.index-page .index-trust-copy p {
  margin: 0;
}

.index-page .index-trust-support {
  color: var(--cmd-champagne) !important;
  font: 900 0.84rem/1.35 var(--font-display);
}

@media (max-width: 700px) {
  .index-page .hero-explainer-row {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .index-page .index-scroll-cue {
    bottom: 6px;
    width: 32px;
    height: 32px;
  }

  .index-page #build.section,
  .index-page #opportunities.section {
    padding-top: 24px;
    padding-bottom: 30px;
  }
}

/* C2.5: homepage CQA / ISRS popup 3D visual polish only. */
.index-help-overlay:not([hidden]) {
  z-index: 1300;
}

.index-help-visual-core {
  position: relative;
  min-height: inherit;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.index-help-visual-core > img {
  position: relative;
  z-index: 1;
}

.index-help-orb-shell,
.index-help-signal-streak,
.index-help-visual-label {
  display: none;
}

.index-help-panel[data-index-help-mode="cqa"],
.index-help-panel[data-index-help-mode="isrs"] {
  width: min(1040px, calc(100vw - 28px));
  max-height: calc(100dvh - 24px);
  padding: clamp(18px, 2.2vw, 24px);
  overflow-x: hidden;
  overflow-y: auto;
  isolation: isolate;
}

.index-help-panel[data-index-help-mode="cqa"]::after,
.index-help-panel[data-index-help-mode="isrs"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 10%, rgba(86, 230, 218, 0.055) 28%, transparent 44%),
    linear-gradient(292deg, transparent 52%, rgba(255, 141, 86, 0.055) 68%, transparent 84%);
  background-size: 180% 180%;
  animation: indexHelpPanelEnergy 10s ease-in-out infinite alternate;
}

.index-help-panel[data-index-help-mode="cqa"] > *,
.index-help-panel[data-index-help-mode="isrs"] > * {
  position: relative;
  z-index: 1;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-kicker,
.index-help-panel[data-index-help-mode="isrs"] .index-help-kicker {
  margin-bottom: 5px;
}

.index-help-panel[data-index-help-mode="cqa"] h2,
.index-help-panel[data-index-help-mode="isrs"] h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-subtitle,
.index-help-panel[data-index-help-mode="isrs"] .index-help-subtitle {
  margin: 7px 0 10px;
  max-width: 78ch;
  line-height: 1.45;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-showcase,
.index-help-panel[data-index-help-mode="isrs"] .index-help-showcase {
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: 12px;
  margin: 8px 0 10px;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-proof-frame,
.index-help-panel[data-index-help-mode="isrs"] .index-help-proof-frame {
  min-height: 210px;
  height: 210px;
  border-color: rgba(86, 230, 218, 0.36);
  border-radius: 22px;
  background:
    radial-gradient(circle at 72% 28%, rgba(86, 230, 218, 0.19), transparent 34%),
    radial-gradient(circle at 34% 76%, rgba(255, 141, 86, 0.13), transparent 36%),
    rgba(3, 10, 20, 0.94);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.4),
    0 0 34px rgba(86, 230, 218, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-proof-frame img,
.index-help-panel[data-index-help-mode="isrs"] .index-help-proof-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 76% 12%;
  transform: scale(1.72);
  transform-origin: 78% 16%;
  filter: saturate(1.15) contrast(1.08) brightness(0.9);
  opacity: 0.78;
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-proof-frame img {
  object-position: 76% 10%;
  transform: scale(1.66);
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-orb-shell,
.index-help-panel[data-index-help-mode="isrs"] .index-help-orb-shell {
  position: absolute;
  top: 28px;
  right: 32px;
  z-index: 3;
  display: block;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 1px solid rgba(86, 230, 218, 0.54);
  background:
    radial-gradient(circle at 50% 50%, rgba(221, 255, 252, 0.22) 0 3%, rgba(86, 230, 218, 0.15) 4% 12%, transparent 34%),
    radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.12), transparent 32%),
    rgba(4, 13, 26, 0.24);
  box-shadow:
    0 0 0 7px rgba(86, 230, 218, 0.035),
    0 0 34px rgba(86, 230, 218, 0.34),
    0 0 42px rgba(255, 141, 86, 0.15),
    inset 0 0 24px rgba(86, 230, 218, 0.18);
  backdrop-filter: blur(2px);
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-orb-shell {
  width: 138px;
  height: 138px;
  top: 24px;
  right: 28px;
}

.index-help-orb-ring,
.index-help-orb-axis,
.index-help-orb-nucleus {
  position: absolute;
  display: block;
  pointer-events: none;
}

.index-help-orb-ring {
  inset: 9%;
  border-radius: 50%;
  border: 1px solid rgba(86, 230, 218, 0.58);
  box-shadow: inset 0 0 14px rgba(86, 230, 218, 0.1);
}

.index-help-orb-ring-one {
  transform: rotateX(66deg) rotateZ(12deg);
  animation: indexHelpOrbitOne 8s linear infinite;
}

.index-help-orb-ring-two {
  inset: 17%;
  border-color: rgba(255, 141, 86, 0.72);
  transform: rotateY(64deg) rotateZ(-18deg);
  animation: indexHelpOrbitTwo 6.6s linear infinite reverse;
}

.index-help-orb-ring-three {
  inset: 25%;
  border-style: dashed;
  border-color: rgba(201, 252, 247, 0.62);
  animation: indexHelpOrbitFlat 9s linear infinite;
}

.index-help-orb-axis {
  left: 12%;
  right: 12%;
  top: 50%;
  height: 1px;
  transform-origin: center;
  background: linear-gradient(90deg, transparent, rgba(86, 230, 218, 0.9), rgba(255, 141, 86, 0.72), transparent);
  box-shadow: 0 0 10px rgba(86, 230, 218, 0.34);
}

.index-help-orb-axis-one {
  transform: rotate(24deg);
}

.index-help-orb-axis-two {
  transform: rotate(-38deg);
}

.index-help-orb-nucleus {
  left: 50%;
  top: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #eaffff;
  box-shadow:
    0 0 10px #fff,
    0 0 20px rgba(86, 230, 218, 0.94),
    0 0 30px rgba(255, 141, 86, 0.54);
  animation: indexHelpNucleusPulse 2.8s ease-in-out infinite;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-signal-streak,
.index-help-panel[data-index-help-mode="isrs"] .index-help-signal-streak {
  position: absolute;
  z-index: 2;
  display: block;
  height: 1px;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(86, 230, 218, 0.82), rgba(255, 141, 86, 0.64), transparent);
  box-shadow: 0 0 12px rgba(86, 230, 218, 0.26);
  animation: indexHelpSignalSweep 5.8s ease-in-out infinite;
}

.index-help-signal-streak-one {
  width: 72%;
  left: -14%;
  top: 30%;
  transform: rotate(8deg);
}

.index-help-signal-streak-two {
  width: 64%;
  right: -12%;
  top: 66%;
  transform: rotate(-11deg);
  animation-delay: -2s !important;
}

.index-help-signal-streak-three {
  width: 44%;
  left: 8%;
  bottom: 16%;
  transform: rotate(-4deg);
  animation-delay: -3.6s !important;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-visual-label,
.index-help-panel[data-index-help-mode="isrs"] .index-help-visual-label {
  position: absolute;
  left: 13px;
  top: 13px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(86, 230, 218, 0.34);
  border-radius: 999px;
  color: rgba(230, 251, 255, 0.9);
  background: rgba(3, 11, 22, 0.74);
  font: 800 0.62rem/1 var(--font-tech);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(86, 230, 218, 0.12);
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-proof-frame figcaption,
.index-help-panel[data-index-help-mode="isrs"] .index-help-proof-frame figcaption {
  z-index: 6;
  font-size: 0.64rem;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-positioning,
.index-help-panel[data-index-help-mode="isrs"] .index-help-positioning {
  gap: 8px;
  padding: 14px 16px;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-system-line,
.index-help-panel[data-index-help-mode="cqa"] .index-help-price-line,
.index-help-panel[data-index-help-mode="cqa"] .index-help-safe-line,
.index-help-panel[data-index-help-mode="isrs"] .index-help-system-line,
.index-help-panel[data-index-help-mode="isrs"] .index-help-price-line,
.index-help-panel[data-index-help-mode="isrs"] .index-help-safe-line {
  line-height: 1.38;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-steps,
.index-help-panel[data-index-help-mode="isrs"] .index-help-steps {
  gap: 8px;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-steps li,
.index-help-panel[data-index-help-mode="isrs"] .index-help-steps li {
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
  padding: 9px;
  border-radius: 15px;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-step-index,
.index-help-panel[data-index-help-mode="isrs"] .index-help-step-index {
  width: 30px;
  height: 30px;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-steps h3,
.index-help-panel[data-index-help-mode="isrs"] .index-help-steps h3 {
  font-size: 0.86rem;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-steps p,
.index-help-panel[data-index-help-mode="isrs"] .index-help-steps p {
  font-size: 0.75rem;
  line-height: 1.32;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-actions,
.index-help-panel[data-index-help-mode="isrs"] .index-help-actions {
  margin-top: 10px;
  gap: 8px;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-actions .btn,
.index-help-panel[data-index-help-mode="isrs"] .index-help-actions .btn {
  min-height: 40px;
  padding-block: 10px;
}

@keyframes indexHelpPanelEnergy {
  from { background-position: 0% 20%; opacity: 0.62; }
  to { background-position: 100% 80%; opacity: 1; }
}

@keyframes indexHelpOrbitOne {
  to { transform: rotateX(66deg) rotateZ(372deg); }
}

@keyframes indexHelpOrbitTwo {
  to { transform: rotateY(64deg) rotateZ(342deg); }
}

@keyframes indexHelpOrbitFlat {
  to { transform: rotate(360deg); }
}

@keyframes indexHelpNucleusPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.88); opacity: 0.76; }
  50% { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
}

@keyframes indexHelpSignalSweep {
  0%, 100% { opacity: 0.22; translate: -8px 0; }
  50% { opacity: 0.88; translate: 12px 0; }
}

@media (max-width: 700px) {
  .index-help-panel[data-index-help-mode="cqa"],
  .index-help-panel[data-index-help-mode="isrs"] {
    width: min(100%, calc(100vw - 16px));
    max-height: calc(100dvh - 16px);
    padding: 16px;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-showcase,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-showcase {
    grid-template-columns: 1fr;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-proof-frame,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-proof-frame {
    height: 176px;
    min-height: 176px;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-orb-shell,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-orb-shell {
    width: 112px;
    height: 112px;
    top: 25px;
    right: 24px;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-actions,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .index-help-panel[data-index-help-mode="cqa"]::after,
  .index-help-panel[data-index-help-mode="isrs"]::after,
  .index-help-panel[data-index-help-mode="cqa"] .index-help-orb-ring,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-orb-ring,
  .index-help-panel[data-index-help-mode="cqa"] .index-help-orb-nucleus,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-orb-nucleus,
  .index-help-panel[data-index-help-mode="cqa"] .index-help-signal-streak,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-signal-streak {
    animation: none !important;
  }
}

/* C2.6: homepage CQA / ISRS popup real 3D chip visual rebuild only. */
.index-help-panel[data-index-help-mode="cqa"] .index-help-proof-frame,
.index-help-panel[data-index-help-mode="isrs"] .index-help-proof-frame {
  min-height: 238px;
  height: 238px;
  overflow: hidden;
  perspective: 900px;
  background:
    radial-gradient(circle at 20% 42%, rgba(86, 230, 218, 0.3), transparent 24%),
    radial-gradient(circle at 83% 23%, rgba(255, 151, 91, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(5, 18, 33, 0.98), rgba(2, 8, 17, 0.94) 54%, rgba(19, 12, 18, 0.94));
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-visual-core::before,
.index-help-panel[data-index-help-mode="isrs"] .index-help-visual-core::before,
.index-help-panel[data-index-help-mode="cqa"] .index-help-visual-core::after,
.index-help-panel[data-index-help-mode="isrs"] .index-help-visual-core::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-visual-core::before,
.index-help-panel[data-index-help-mode="isrs"] .index-help-visual-core::before {
  background:
    linear-gradient(rgba(86, 230, 218, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 230, 218, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 68% 70%, rgba(255, 151, 91, 0.12), transparent 28%);
  background-size: 34px 34px, 34px 34px, 100% 100%;
  mask-image: radial-gradient(circle at 50% 50%, #000 0 58%, transparent 100%);
  opacity: 0.72;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-visual-core::after,
.index-help-panel[data-index-help-mode="isrs"] .index-help-visual-core::after {
  background:
    linear-gradient(112deg, transparent 8%, rgba(86, 230, 218, 0.24) 37%, transparent 52%),
    linear-gradient(292deg, transparent 46%, rgba(255, 151, 91, 0.2) 62%, transparent 78%);
  background-size: 180% 180%;
  mix-blend-mode: screen;
  animation: indexHelpPanelEnergy 8s ease-in-out infinite alternate;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-orb-shell,
.index-help-panel[data-index-help-mode="isrs"] .index-help-orb-shell {
  left: 22px;
  right: auto;
  top: 54px;
  z-index: 4;
  width: 132px;
  height: 132px;
  transform: translateZ(28px);
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-orb-shell {
  left: 20px;
  top: 52px;
  width: 136px;
  height: 136px;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-proof-frame img,
.index-help-panel[data-index-help-mode="isrs"] .index-help-proof-frame img {
  position: absolute;
  transform: none;
  min-height: 0;
  pointer-events: none;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-proof-frame img {
  inset: 22px 24px auto auto;
  z-index: 5;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 69% 20%;
  opacity: 1;
  filter: saturate(1.14) contrast(1.08) brightness(1.04);
  border: 1px solid rgba(215, 255, 252, 0.74);
  box-shadow:
    0 0 0 7px rgba(86, 230, 218, 0.06),
    0 0 28px rgba(86, 230, 218, 0.34),
    0 0 22px rgba(255, 151, 91, 0.16);
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-proof-frame img {
  inset: 22px 22px auto auto;
  z-index: 1;
  width: 116px;
  height: 76px;
  border-radius: 18px;
  object-fit: cover;
  object-position: 68% 18%;
  opacity: 0.2;
  filter: saturate(1.18) contrast(1.08) brightness(0.82);
  border: 1px solid rgba(86, 230, 218, 0.18);
  box-shadow: inset 0 0 22px rgba(86, 230, 218, 0.16);
}

.index-help-energy-dot {
  position: absolute;
  z-index: 3;
  display: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  pointer-events: none;
  background: #56e6da;
  box-shadow: 0 0 16px rgba(86, 230, 218, 0.84);
  animation: indexHelpDotDrift 6.8s ease-in-out infinite;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-energy-dot,
.index-help-panel[data-index-help-mode="isrs"] .index-help-energy-dot {
  display: block;
}

.index-help-energy-dot-one {
  left: 24%;
  top: 19%;
}

.index-help-energy-dot-two {
  right: 18%;
  top: 55%;
  width: 7px;
  height: 7px;
  background: #ff9a5a;
  box-shadow: 0 0 16px rgba(255, 151, 91, 0.78);
  animation-delay: -2.4s;
}

.index-help-energy-dot-three {
  left: 13%;
  bottom: 14%;
  width: 6px;
  height: 6px;
  animation-delay: -4.1s;
}

.index-help-intel-chips {
  position: absolute;
  left: 152px;
  right: 12px;
  top: 112px;
  z-index: 6;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  pointer-events: none;
  transform: rotateX(4deg) rotateY(-6deg) translateZ(34px);
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-intel-chips,
.index-help-panel[data-index-help-mode="isrs"] .index-help-intel-chips {
  display: grid;
}

.index-help-intel-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 7px 10px 7px 26px;
  border: 1px solid rgba(86, 230, 218, 0.38);
  border-radius: 999px;
  color: rgba(240, 252, 255, 0.94);
  background:
    linear-gradient(135deg, rgba(10, 30, 48, 0.82), rgba(5, 13, 24, 0.76)),
    radial-gradient(circle at 18% 22%, rgba(86, 230, 218, 0.18), transparent 34%);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 18px rgba(86, 230, 218, 0.1);
  font: 800 0.62rem/1.1 var(--font-tech);
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: indexHelpChipFloat 5.6s ease-in-out infinite;
}

.index-help-intel-chip:nth-child(2n) {
  border-color: rgba(255, 151, 91, 0.36);
  animation-delay: -1.4s;
}

.index-help-intel-chip:nth-child(3n) {
  animation-delay: -2.7s;
}

.index-help-intel-chip:nth-child(7) {
  grid-column: 1 / -1;
}

.index-help-intel-chip[hidden] {
  display: none;
}

.index-help-intel-chip::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #56e6da;
  box-shadow: 0 0 14px rgba(86, 230, 218, 0.82);
}

.index-help-intel-chip:nth-child(2n)::before {
  background: #ff9a5a;
  box-shadow: 0 0 14px rgba(255, 151, 91, 0.78);
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-signal-streak-one,
.index-help-panel[data-index-help-mode="isrs"] .index-help-signal-streak-one {
  left: 12%;
  top: 42%;
  width: 82%;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-signal-streak-two,
.index-help-panel[data-index-help-mode="isrs"] .index-help-signal-streak-two {
  right: -8%;
  top: 72%;
  width: 72%;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-signal-streak-three,
.index-help-panel[data-index-help-mode="isrs"] .index-help-signal-streak-three {
  left: 20%;
  bottom: 24%;
  width: 60%;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-visual-label,
.index-help-panel[data-index-help-mode="isrs"] .index-help-visual-label {
  left: 14px;
  top: 14px;
  z-index: 7;
}

@keyframes indexHelpDotDrift {
  0%, 100% { opacity: 0.42; transform: translate3d(0, 0, 0) scale(0.86); }
  50% { opacity: 1; transform: translate3d(14px, -8px, 0) scale(1.08); }
}

@keyframes indexHelpChipFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -4px, 0); }
}

@media (max-width: 700px) {
  .index-help-panel[data-index-help-mode="cqa"],
  .index-help-panel[data-index-help-mode="isrs"] {
    padding: 12px;
  }

  .index-help-panel[data-index-help-mode="cqa"] h2,
  .index-help-panel[data-index-help-mode="isrs"] h2 {
    font-size: clamp(1.42rem, 7vw, 1.72rem);
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-subtitle,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-subtitle {
    margin: 5px 0 7px;
    font-size: 0.88rem;
    line-height: 1.28;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-proof-frame,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-proof-frame {
    height: 186px;
    min-height: 186px;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-orb-shell,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-orb-shell {
    left: 14px;
    top: 50px;
    width: 86px;
    height: 86px;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-proof-frame img {
    top: 16px;
    right: 18px;
    width: 64px;
    height: 64px;
  }

  .index-help-panel[data-index-help-mode="isrs"] .index-help-proof-frame img {
    top: 16px;
    right: 16px;
    width: 82px;
    height: 54px;
  }

  .index-help-intel-chips {
    left: 104px;
    right: 9px;
    top: 76px;
    gap: 4px;
    transform: rotateX(3deg) rotateY(-4deg) translateZ(18px);
  }

  .index-help-intel-chip {
    min-height: 23px;
    padding: 4px 6px 4px 18px;
    font-size: 0.47rem;
    letter-spacing: 0.035em;
  }

  .index-help-intel-chip::before {
    left: 7px;
    width: 6px;
    height: 6px;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-showcase,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-showcase {
    gap: 7px;
    margin: 6px 0 7px;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-positioning,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-positioning {
    gap: 5px;
    padding: 9px 10px;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-system-line,
  .index-help-panel[data-index-help-mode="cqa"] .index-help-price-line,
  .index-help-panel[data-index-help-mode="cqa"] .index-help-safe-line,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-system-line,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-price-line,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-safe-line {
    font-size: 0.78rem;
    line-height: 1.22;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-steps,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-steps li,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-steps li {
    grid-template-columns: 27px minmax(0, 1fr);
    gap: 6px;
    padding: 7px;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-step-index,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-step-index {
    width: 25px;
    height: 25px;
    font-size: 0.62rem;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-steps h3,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-steps h3 {
    font-size: 0.72rem;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-steps p,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-steps p {
    display: none;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-actions,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 7px;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-actions .btn,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-actions .btn {
    min-height: 35px;
    padding: 8px 9px;
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .index-help-panel[data-index-help-mode="cqa"] .index-help-visual-core::after,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-visual-core::after,
  .index-help-energy-dot,
  .index-help-intel-chip {
    animation: none !important;
  }
}

/* C2.7: scoped homepage popup micro-fix for CQA / ISRS visual quality. */
.index-help-panel[data-index-help-mode="cqa"] .index-help-proof-frame,
.index-help-panel[data-index-help-mode="isrs"] .index-help-proof-frame {
  background:
    radial-gradient(circle at 21% 46%, rgba(50, 169, 255, 0.26), transparent 22%),
    radial-gradient(circle at 72% 32%, rgba(255, 148, 76, 0.22), transparent 28%),
    radial-gradient(circle at 51% 82%, rgba(86, 230, 218, 0.11), transparent 36%),
    linear-gradient(138deg, rgba(4, 15, 29, 0.98), rgba(1, 7, 15, 0.97) 55%, rgba(22, 13, 19, 0.96));
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-visual-core::after,
.index-help-panel[data-index-help-mode="isrs"] .index-help-visual-core::after {
  background:
    linear-gradient(103deg, transparent 8%, rgba(50, 169, 255, 0.18) 35%, transparent 49%),
    linear-gradient(288deg, transparent 44%, rgba(255, 148, 76, 0.18) 62%, transparent 80%),
    radial-gradient(circle at 22% 56%, rgba(86, 230, 218, 0.18), transparent 20%);
  opacity: 0.78;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-orb-shell,
.index-help-panel[data-index-help-mode="isrs"] .index-help-orb-shell {
  left: 22px;
  top: 58px;
  border-color: rgba(82, 213, 255, 0.66);
  background:
    radial-gradient(circle at 50% 50%, rgba(230, 255, 252, 0.2) 0 2%, rgba(86, 230, 218, 0.18) 3% 10%, rgba(50, 169, 255, 0.08) 11% 34%, transparent 35%),
    radial-gradient(circle at 38% 28%, rgba(255, 148, 76, 0.16), transparent 28%),
    rgba(2, 10, 22, 0.48);
  box-shadow:
    0 0 0 8px rgba(82, 213, 255, 0.035),
    0 0 26px rgba(82, 213, 255, 0.36),
    0 0 28px rgba(255, 148, 76, 0.18),
    inset 0 0 22px rgba(86, 230, 218, 0.2),
    inset 0 0 44px rgba(0, 0, 0, 0.38);
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-proof-frame img {
  top: 20px;
  right: 24px;
  width: 92px;
  height: 92px;
  object-position: 50% 28%;
  border: 2px solid rgba(121, 244, 255, 0.78);
  background: rgba(2, 10, 22, 0.92);
  box-shadow:
    0 0 0 8px rgba(86, 230, 218, 0.055),
    0 0 0 12px rgba(255, 148, 76, 0.025),
    0 0 32px rgba(82, 213, 255, 0.38),
    0 0 18px rgba(255, 148, 76, 0.2),
    inset 0 0 20px rgba(4, 15, 29, 0.5);
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-proof-frame img {
  display: none !important;
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-orb-shell {
  left: 28px;
  top: 48px;
  width: 150px;
  height: 150px;
  border-color: rgba(255, 148, 76, 0.56);
  box-shadow:
    0 0 0 9px rgba(86, 230, 218, 0.03),
    0 0 30px rgba(82, 213, 255, 0.34),
    0 0 34px rgba(255, 148, 76, 0.24),
    inset 0 0 24px rgba(86, 230, 218, 0.18),
    inset 0 0 48px rgba(0, 0, 0, 0.42);
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-intel-chips,
.index-help-panel[data-index-help-mode="isrs"] .index-help-intel-chips {
  left: 160px;
  top: 106px;
  gap: 7px;
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-intel-chips {
  left: 190px;
  top: 76px;
  right: 14px;
}

.index-help-intel-chip {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 7px 9px 7px 24px;
  border-color: rgba(82, 213, 255, 0.45);
  color: rgba(244, 253, 255, 0.96);
  background:
    linear-gradient(135deg, rgba(6, 19, 35, 0.92), rgba(3, 9, 18, 0.84)),
    radial-gradient(circle at 16% 18%, rgba(82, 213, 255, 0.22), transparent 30%),
    radial-gradient(circle at 88% 88%, rgba(255, 148, 76, 0.12), transparent 32%);
  box-shadow:
    0 12px 22px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 0 18px rgba(82, 213, 255, 0.12);
  font-size: 0.58rem;
  letter-spacing: 0.035em;
  white-space: nowrap;
  animation:
    indexHelpChipDock 760ms cubic-bezier(0.2, 0.82, 0.22, 1) both,
    indexHelpChipFloat 5.8s ease-in-out 820ms infinite;
}

.index-help-intel-chip:nth-child(2n) {
  border-color: rgba(255, 148, 76, 0.48);
}

.index-help-intel-chip:nth-child(2) {
  animation-delay: 80ms, 940ms;
}

.index-help-intel-chip:nth-child(3) {
  animation-delay: 130ms, 1.02s;
}

.index-help-intel-chip:nth-child(4) {
  animation-delay: 180ms, 1.1s;
}

.index-help-intel-chip:nth-child(5) {
  animation-delay: 230ms, 1.18s;
}

.index-help-intel-chip:nth-child(6) {
  animation-delay: 280ms, 1.26s;
}

.index-help-intel-chip:nth-child(7) {
  animation-delay: 330ms, 1.34s;
}

.index-help-intel-chip::before {
  background: #52d5ff;
  box-shadow:
    0 0 10px rgba(82, 213, 255, 0.92),
    0 0 18px rgba(86, 230, 218, 0.42);
  animation: indexHelpChipPulse 2.4s ease-in-out infinite;
}

.index-help-intel-chip:nth-child(2n)::before {
  background: #ff944c;
  box-shadow:
    0 0 10px rgba(255, 148, 76, 0.92),
    0 0 18px rgba(255, 148, 76, 0.38);
}

.index-help-energy-dot-one {
  background: #52d5ff;
  box-shadow: 0 0 16px rgba(82, 213, 255, 0.86);
}

.index-help-energy-dot-two {
  background: #ff944c;
  box-shadow: 0 0 16px rgba(255, 148, 76, 0.8);
}

@keyframes indexHelpChipDock {
  0% {
    opacity: 0;
    transform: translate3d(-18px, 8px, 0) rotateX(62deg) rotateY(-22deg) scale(0.82);
  }
  68% {
    opacity: 1;
    transform: translate3d(2px, -2px, 0) rotateX(-5deg) rotateY(4deg) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) scale(1);
  }
}

@keyframes indexHelpChipPulse {
  0%, 100% { opacity: 0.72; transform: translateY(-50%) scale(0.82); }
  50% { opacity: 1; transform: translateY(-50%) scale(1.08); }
}

@media (max-width: 700px) {
  .index-help-panel[data-index-help-mode="cqa"] .index-help-proof-frame img {
    top: 15px;
    right: 17px;
    width: 68px;
    height: 68px;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-orb-shell,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-orb-shell {
    left: 12px;
    top: 52px;
    width: 84px;
    height: 84px;
  }

  .index-help-panel[data-index-help-mode="isrs"] .index-help-orb-shell {
    left: 14px;
    top: 47px;
    width: 96px;
    height: 96px;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-intel-chips {
    left: 102px;
    right: 8px;
    top: 75px;
  }

  .index-help-panel[data-index-help-mode="isrs"] .index-help-intel-chips {
    left: 118px;
    right: 8px;
    top: 68px;
  }

  .index-help-intel-chip {
    min-height: 23px;
    padding: 4px 5px 4px 17px;
    font-size: 0.46rem;
    letter-spacing: 0.02em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .index-help-intel-chip,
  .index-help-intel-chip::before {
    animation: none !important;
  }
}

/* C2.8: ISRS popup chip alignment + orb clarity micro-fix only. */
.index-help-support-orb {
  display: none;
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-proof-frame {
  background:
    radial-gradient(circle at 17% 30%, rgba(82, 213, 255, 0.18), transparent 18%),
    radial-gradient(circle at 33% 62%, rgba(255, 148, 76, 0.22), transparent 24%),
    radial-gradient(circle at 74% 35%, rgba(86, 230, 218, 0.18), transparent 30%),
    linear-gradient(138deg, rgba(2, 11, 22, 0.99), rgba(1, 7, 15, 0.98) 54%, rgba(24, 13, 19, 0.97));
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-visual-core::after {
  background:
    radial-gradient(circle at 30% 47%, rgba(82, 213, 255, 0.22), transparent 25%),
    radial-gradient(circle at 48% 48%, rgba(255, 148, 76, 0.12), transparent 30%),
    linear-gradient(90deg, transparent 4%, rgba(82, 213, 255, 0.12) 38%, rgba(255, 148, 76, 0.1) 62%, transparent 94%);
  opacity: 0.62;
  mix-blend-mode: screen;
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-signal-streak {
  height: 1px;
  opacity: 0.58;
  background: linear-gradient(90deg, transparent, rgba(82, 213, 255, 0.78), rgba(255, 148, 76, 0.62), transparent);
  filter: none;
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-signal-streak-one {
  left: 18%;
  top: 45%;
  width: 62%;
  transform: rotate(5deg);
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-signal-streak-two {
  right: 2%;
  top: 63%;
  width: 52%;
  transform: rotate(-7deg);
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-signal-streak-three {
  left: 13%;
  bottom: 22%;
  width: 48%;
  transform: rotate(-3deg);
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-support-orb {
  position: absolute;
  left: 18px;
  top: 22px;
  z-index: 5;
  display: block;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(82, 213, 255, 0.6);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(236, 255, 252, 0.2) 0 4%, rgba(86, 230, 218, 0.16) 5% 18%, transparent 42%),
    radial-gradient(circle at 32% 30%, rgba(255, 148, 76, 0.18), transparent 34%),
    rgba(1, 9, 20, 0.6);
  box-shadow:
    0 0 0 5px rgba(82, 213, 255, 0.035),
    0 0 18px rgba(82, 213, 255, 0.32),
    0 0 20px rgba(255, 148, 76, 0.18),
    inset 0 0 18px rgba(86, 230, 218, 0.18);
}

.index-help-support-ring,
.index-help-support-core {
  position: absolute;
  display: block;
  pointer-events: none;
}

.index-help-support-ring {
  inset: 16%;
  border: 1px solid rgba(82, 213, 255, 0.58);
  border-radius: 50%;
  box-shadow: inset 0 0 10px rgba(82, 213, 255, 0.12);
}

.index-help-support-ring-one {
  transform: rotateX(64deg) rotateZ(14deg);
  animation: indexHelpSupportOrbitOne 7.5s linear infinite;
}

.index-help-support-ring-two {
  inset: 25%;
  border-color: rgba(255, 148, 76, 0.7);
  transform: rotateY(62deg) rotateZ(-18deg);
  animation: indexHelpSupportOrbitTwo 6.2s linear infinite reverse;
}

.index-help-support-core {
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #f0ffff;
  box-shadow:
    0 0 10px rgba(236, 255, 252, 0.95),
    0 0 18px rgba(82, 213, 255, 0.74),
    0 0 22px rgba(255, 148, 76, 0.36);
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-orb-shell {
  left: 34px;
  top: 62px;
  width: 144px;
  height: 144px;
  border-color: rgba(82, 213, 255, 0.72);
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 255, 252, 0.24) 0 2%, rgba(82, 213, 255, 0.2) 3% 10%, rgba(255, 148, 76, 0.08) 11% 18%, rgba(86, 230, 218, 0.08) 19% 37%, transparent 38%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 11px, rgba(82, 213, 255, 0.1) 12px 13px, transparent 14px 20px),
    rgba(1, 8, 18, 0.58);
  box-shadow:
    0 0 0 8px rgba(82, 213, 255, 0.03),
    0 0 26px rgba(82, 213, 255, 0.34),
    0 0 30px rgba(255, 148, 76, 0.22),
    inset 0 0 20px rgba(82, 213, 255, 0.2),
    inset 0 0 44px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(1px);
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-orb-ring {
  border-color: rgba(82, 213, 255, 0.74);
  box-shadow:
    inset 0 0 12px rgba(82, 213, 255, 0.16),
    0 0 10px rgba(82, 213, 255, 0.12);
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-orb-ring-two {
  border-color: rgba(255, 148, 76, 0.82);
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-orb-ring-three {
  border-color: rgba(236, 255, 252, 0.62);
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-orb-axis {
  left: 17%;
  right: 17%;
  background: linear-gradient(90deg, transparent, rgba(82, 213, 255, 0.88), rgba(255, 148, 76, 0.72), transparent);
  box-shadow: 0 0 9px rgba(82, 213, 255, 0.34);
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-orb-nucleus {
  width: 12px;
  height: 12px;
  background: #f5ffff;
  box-shadow:
    0 0 9px rgba(245, 255, 255, 0.95),
    0 0 18px rgba(82, 213, 255, 0.86),
    0 0 24px rgba(255, 148, 76, 0.46);
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-intel-chips {
  left: 194px;
  right: 14px;
  top: 68px;
  grid-template-columns: repeat(2, minmax(92px, 1fr));
  gap: 9px;
  transform: rotateX(4deg) rotateY(-5deg) translateZ(34px);
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-intel-chip {
  justify-content: center;
  min-height: 36px;
  height: 36px;
  padding: 0 13px 0 28px;
  border-radius: 999px;
  overflow: hidden;
  text-align: center;
  text-overflow: clip;
  font-size: 0.62rem;
  letter-spacing: 0.055em;
  line-height: 1;
  white-space: nowrap;
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-intel-chip::before {
  left: 12px;
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-intel-chip:nth-child(5),
.index-help-panel[data-index-help-mode="isrs"] .index-help-intel-chip:nth-child(6) {
  grid-column: auto;
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-proof-frame figcaption {
  display: none !important;
}

@keyframes indexHelpSupportOrbitOne {
  to { transform: rotateX(64deg) rotateZ(374deg); }
}

@keyframes indexHelpSupportOrbitTwo {
  to { transform: rotateY(62deg) rotateZ(342deg); }
}

@media (max-width: 700px) {
  .index-help-panel[data-index-help-mode="isrs"] .index-help-support-orb {
    left: 13px;
    top: 17px;
    width: 44px;
    height: 44px;
  }

  .index-help-panel[data-index-help-mode="isrs"] .index-help-orb-shell {
    left: 15px;
    top: 60px;
    width: 94px;
    height: 94px;
  }

  .index-help-panel[data-index-help-mode="isrs"] .index-help-intel-chips {
    left: 116px;
    right: 8px;
    top: 62px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .index-help-panel[data-index-help-mode="isrs"] .index-help-intel-chip {
    min-height: 27px;
    height: 27px;
    padding: 0 7px 0 19px;
    font-size: 0.46rem;
    letter-spacing: 0.02em;
  }

  .index-help-panel[data-index-help-mode="isrs"] .index-help-intel-chip::before {
    left: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .index-help-support-ring {
    animation: none !important;
  }
}

/* C2.11: final homepage popup closeout for copy fit, chip alignment, and spacing only. */
.index-help-panel[data-index-help-mode="cqa"] .index-help-intel-chips {
  left: 154px;
  right: 14px;
  top: 106px;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
  gap: 8px;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-intel-chip {
  justify-content: center;
  align-items: center;
  min-height: 34px;
  height: 34px;
  padding: 0 12px 0 26px;
  border-radius: 999px;
  text-align: center;
  font-size: 0.55rem;
  letter-spacing: 0.032em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-intel-chip::before {
  left: 11px;
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-intel-chip:nth-child(5) {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(188px, 100%);
}

.index-help-panel[data-index-help-mode="cqa"] .index-help-intel-chip:nth-child(6),
.index-help-panel[data-index-help-mode="cqa"] .index-help-intel-chip:nth-child(7) {
  display: none;
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-showcase {
  grid-template-columns: minmax(420px, 1.05fr) minmax(0, 0.95fr);
  gap: 14px;
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-positioning {
  padding: 13px 14px;
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-positioning p {
  font-size: 0.9rem;
  line-height: 1.34;
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-intel-chips {
  left: 196px;
  right: 18px;
  top: 68px;
  grid-template-columns: repeat(2, minmax(108px, 1fr));
  gap: 10px;
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-intel-chip {
  justify-content: center;
  align-items: center;
  min-width: 0;
  min-height: 36px;
  height: 36px;
  padding: 0 12px 0 28px;
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.index-help-panel[data-index-help-mode="isrs"] .index-help-intel-chip::before {
  left: 12px;
}

@media (max-width: 700px) {
  .index-help-panel[data-index-help-mode="cqa"] .index-help-intel-chips {
    left: 102px;
    right: 8px;
    top: 74px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-intel-chip,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-intel-chip {
    min-height: 27px;
    height: 27px;
    padding: 0 7px 0 18px;
    font-size: 0.44rem;
    letter-spacing: 0.016em;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-intel-chip::before,
  .index-help-panel[data-index-help-mode="isrs"] .index-help-intel-chip::before {
    left: 7px;
  }

  .index-help-panel[data-index-help-mode="cqa"] .index-help-intel-chip:nth-child(5) {
    width: min(160px, 100%);
  }

  .index-help-panel[data-index-help-mode="isrs"] .index-help-showcase {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .index-help-panel[data-index-help-mode="isrs"] .index-help-positioning p {
    font-size: 0.78rem;
    line-height: 1.22;
  }

  .index-help-panel[data-index-help-mode="isrs"] .index-help-intel-chips {
    left: 116px;
    right: 8px;
    top: 62px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }
}
