/* ============================================================
   in-call-copilot.css — "The In-Call Copilot" story room.
   Light sand-blue cockpit glass + periwinkle HUD glow — a bright,
   precise console over a white desk. Everything scoped under
   .cxp-copilot. Tokens inherited from styles.css; comms sand-blue
   accents match comms.css (#5a82c2 / #3d63a4 / #8aa6dd).

   Animation contract with in-call-copilot.js:
   - Static markup is the COMPLETE cockpit (pods .lit, cards .on,
     script lines .on). The JS adds .icc-run to a scene root to
     rewind it, then re-adds the state classes on a schedule.
     No JS / reduced motion = complete static scene, never blank.
   ============================================================ */

.cxp-copilot {
  --hud: #5a82c2;
  --hud-deep: #3d63a4;
  --hud-lite: #8aa6dd;
  --hud-dim: rgba(90, 130, 194, 0.12);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-line: #e9ebf4;
  --ink: #0b1020;
  --wht-92: #0b1020; /* strong ink */
  --wht-70: #4a5066; /* body */
  --wht-55: #7a8096; /* muted */
  --wht-38: #9aa0b4; /* faint */
  color: var(--wht-70);
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

/* recolor the global helpers for the light canvas (scoped, not redefined) */
.cxp-copilot .h2 { color: var(--ink); }
.cxp-copilot .lead { color: var(--wht-55); max-width: 60ch; }
.cxp-copilot .eyebrow { color: var(--hud-deep); }

.cxp-copilot .icc-grad {
  font-style: normal;
  background: linear-gradient(100deg, var(--hud-deep) 0%, var(--hud) 55%, #6f97d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* shared section header */
.cxp-copilot .icc-head { max-width: 64ch; }
.cxp-copilot .icc-head h2 { margin: 14px 0 12px; }

/* ============================================================
   HERO — cockpit sky + headline + HUD panel
   ============================================================ */
.cxp-copilot .icc-hero {
  position: relative;
  padding: clamp(120px, 14vw, 172px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.cxp-copilot .icc-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.cxp-copilot .icc-glow {
  position: absolute;
  left: 50%;
  top: -240px;
  width: 1100px;
  height: 620px;
  transform: translateX(-50%);
  background:
    radial-gradient(45% 50% at 50% 45%, rgba(138, 166, 221, 0.30), transparent 70%),
    radial-gradient(60% 60% at 50% 30%, rgba(90, 130, 194, 0.20), transparent 72%);
  filter: blur(10px);
}
.cxp-copilot .icc-gridlines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(90, 130, 194, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 130, 194, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(80% 60% at 50% 20%, #000 20%, transparent 75%);
}

.cxp-copilot .icc-hero-head {
  text-align: center;
  max-width: 880px;
}
.cxp-copilot .icc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--wht-38);
  margin-bottom: 26px;
  transition: color 0.15s;
}
.cxp-copilot .icc-back:hover { color: var(--ink); }

.cxp-copilot .icc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hud-deep);
}
.cxp-copilot .icc-eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: var(--r-pill);
  background: var(--hud);
  box-shadow: 0 0 0 4px var(--hud-dim), 0 0 14px rgba(90, 130, 194, 0.55);
}

.cxp-copilot .icc-h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.04;
  color: var(--ink);
  margin: 18px auto 20px;
  max-width: 18ch;
}
.cxp-copilot .icc-lead {
  font-size: clamp(16.5px, 1.4vw, 19.5px);
  line-height: 1.62;
  color: var(--wht-55);
  max-width: 60ch;
  margin: 0 auto 30px;
}
.cxp-copilot .icc-cta {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.cxp-copilot .icc-ghostlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 500;
  color: var(--wht-70);
  padding: 12px 6px;
  transition: color 0.18s;
}
.cxp-copilot .icc-ghostlink:hover { color: var(--ink); }
.cxp-copilot .icc-ghostlink .arrow { transition: transform 0.2s ease; }
.cxp-copilot .icc-ghostlink:hover .arrow { transform: translateY(2px); }
.cxp-copilot .icc-cta--center .icc-ghostlink:hover .arrow { transform: translateX(3px); }

/* ---------------- the HUD panel ---------------- */
.cxp-copilot .icc-hud {
  position: relative;
  margin-top: clamp(44px, 6vw, 76px);
  border-radius: var(--r-xl);
  border: 1px solid var(--glass-line);
  background:
    radial-gradient(90% 120% at 50% -20%, rgba(138, 166, 221, 0.14), transparent 55%),
    linear-gradient(168deg, #ffffff, #f4f7fc);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow:
    0 40px 90px -50px rgba(20, 34, 74, 0.28),
    0 0 80px -40px rgba(90, 130, 194, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: clamp(14px, 2vw, 22px) clamp(14px, 2.4vw, 28px) clamp(12px, 1.6vw, 18px);
}

/* corner brackets */
.cxp-copilot .icc-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(90, 130, 194, 0.4);
  pointer-events: none;
}
.cxp-copilot .icc-corner--tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.cxp-copilot .icc-corner--tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.cxp-copilot .icc-corner--bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.cxp-copilot .icc-corner--br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }

/* status rail */
.cxp-copilot .icc-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 6px 12px;
  border-bottom: 1px solid rgba(90, 130, 194, 0.16);
}
.cxp-copilot .icc-cell {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--wht-38);
  white-space: nowrap;
}
.cxp-copilot .icc-callstate {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--hud-deep);
}
.cxp-copilot .icc-callstate b { font-weight: 600; }
.cxp-copilot .icc-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--r-pill);
  background: var(--hud);
  box-shadow: 0 0 10px rgba(90, 130, 194, 0.55);
  animation: icc-blink 1.0667s ease-in-out infinite;
}
@keyframes icc-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* stage grid */
.cxp-copilot .icc-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  padding: clamp(18px, 2.6vw, 34px) 0;
}
.cxp-copilot .icc-podcol {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vw, 22px);
}
.cxp-copilot .icc-podcol--l { align-items: flex-end; }
.cxp-copilot .icc-podcol--l .icc-pod:first-child { transform: translateY(-8px); }
.cxp-copilot .icc-podcol--r .icc-pod:last-child { transform: translateY(-8px); }

/* instrument pods */
.cxp-copilot .icc-pod {
  position: relative;
  width: min(100%, 300px);
  border-radius: var(--r-mid);
  border: 1px solid var(--glass-line);
  background: linear-gradient(165deg, #ffffff, #f7f9fd);
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 18px 40px -28px rgba(20, 34, 74, 0.22);
  transition:
    opacity 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.4s,
    box-shadow 0.4s;
}
.cxp-copilot .icc-pod.lit {
  border-color: rgba(90, 130, 194, 0.35);
  box-shadow:
    0 18px 40px -28px rgba(20, 34, 74, 0.22),
    0 0 34px -16px rgba(90, 130, 194, 0.42);
}
.cxp-copilot .icc-pod-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hud-deep);
}
.cxp-copilot .icc-pod-v {
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cxp-copilot .icc-pod-m {
  font-size: 12.5px;
  color: var(--wht-55);
}
.cxp-copilot .icc-why {
  display: block;
  margin-top: 7px;
  padding-top: 8px;
  border-top: 1px dashed rgba(90, 130, 194, 0.28);
  font-size: 12px;
  line-height: 1.5;
  color: var(--hud-deep);
}
.cxp-copilot .icc-pod-bar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: rgba(90, 130, 194, 0.16);
  overflow: hidden;
}
.cxp-copilot .icc-pod-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--fill, 60%);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--hud-deep), var(--hud-lite));
  box-shadow: 0 0 8px rgba(90, 130, 194, 0.5);
  transition: width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s;
}
.cxp-copilot .icc-pod--nba {
  border-color: rgba(90, 130, 194, 0.32);
  background: linear-gradient(165deg, #eef2fb, #f7f9fd);
}

/* the call core */
.cxp-copilot .icc-core {
  position: relative;
  aspect-ratio: 1;
  max-width: 380px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}
.cxp-copilot .icc-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cxp-copilot .icc-ring {
  fill: none;
  stroke: rgba(90, 130, 194, 0.22);
  stroke-width: 1;
}
.cxp-copilot .icc-ring--near { stroke-dasharray: 2 6; }
.cxp-copilot .icc-ring--far { stroke: rgba(90, 130, 194, 0.12); }
.cxp-copilot .icc-arc {
  fill: none;
  stroke: var(--hud);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 2; /* static-complete: gauge nearly full */
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  filter: drop-shadow(0 0 6px rgba(90, 130, 194, 0.6));
  transition: stroke-dashoffset 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cxp-copilot .icc-sweep line {
  stroke: rgba(138, 166, 221, 0.6);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.cxp-copilot .icc-sweep {
  transform-origin: 50% 50%;
  animation: icc-sweep 4.1176s linear infinite;
  opacity: 0.55;
}
@keyframes icc-sweep {
  to { transform: rotate(360deg); }
}

.cxp-copilot .icc-id {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
  padding: 22px 26px;
  border-radius: var(--r-pill);
  transition:
    opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cxp-copilot .icc-id-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--wht-38);
}
.cxp-copilot .icc-id-name {
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 2px;
}
.cxp-copilot .icc-id-sub {
  font-size: 12.5px;
  color: var(--wht-55);
}
.cxp-copilot .icc-id-match {
  margin-top: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hud-deep);
  border: 1px solid rgba(90, 130, 194, 0.3);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  background: rgba(90, 130, 194, 0.08);
}

/* bottom rail: consent + ticker */
.cxp-copilot .icc-hud-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 6px 4px;
  border-top: 1px solid rgba(90, 130, 194, 0.16);
}
.cxp-copilot .icc-rec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--wht-55);
  white-space: nowrap;
}
.cxp-copilot .icc-rec i {
  width: 8px;
  height: 8px;
  border-radius: var(--r-pill);
  background: #f0655a;
  box-shadow: 0 0 8px rgba(240, 101, 90, 0.8);
  animation: icc-blink 0.8667s ease-in-out infinite;
}
.cxp-copilot .icc-tick {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--wht-55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  transition: opacity 0.3s ease;
}

/* ---- run-state rewind (JS adds .icc-run to [data-icc-hud]) ---- */
.cxp-copilot .icc-run .icc-pod {
  opacity: 0;
  transform: translateY(14px) scale(0.985);
}
.cxp-copilot .icc-run .icc-pod.lit {
  opacity: 1;
  transform: none;
}
.cxp-copilot .icc-podcol--l .icc-pod.lit:first-child { transform: translateY(-8px); }
.cxp-copilot .icc-podcol--r .icc-pod.lit:last-child { transform: translateY(-8px); }
.cxp-copilot .icc-run .icc-pod .icc-pod-bar::after { width: 0; }
.cxp-copilot .icc-run .icc-pod.lit .icc-pod-bar::after { width: var(--fill, 60%); }
.cxp-copilot .icc-run .icc-id {
  opacity: 0;
  transform: scale(0.92);
}
.cxp-copilot .icc-run .icc-id.pop {
  opacity: 1;
  transform: none;
}
.cxp-copilot .icc-run .icc-arc { stroke-dashoffset: 100; }
.cxp-copilot .icc-run .icc-id.pop ~ * .icc-arc,
.cxp-copilot .icc-run.icc-matched .icc-arc { stroke-dashoffset: 2; }

/* ============================================================
   2 · THE LIVE-CALL MOMENT
   ============================================================ */
.cxp-copilot .icc-live-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 4vw, 56px);
  margin-top: clamp(30px, 4vw, 52px);
  align-items: start;
}

.cxp-copilot .icc-rec--rail { margin-bottom: 20px; }

.cxp-copilot .icc-script {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.cxp-copilot .icc-script li {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 16px 0 16px 4px;
  border-top: 1px solid rgba(90, 130, 194, 0.14);
  transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cxp-copilot .icc-script li:last-child { border-bottom: 1px solid rgba(90, 130, 194, 0.14); }
.cxp-copilot .icc-ts {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--hud-deep);
  padding-top: 3px;
  flex: none;
  width: 34px;
}
.cxp-copilot .icc-script p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--wht-70);
}
.cxp-copilot .icc-script li:first-child p {
  color: var(--wht-55);
  font-style: italic;
}

.cxp-copilot .icc-screen {
  border-radius: var(--r-xl);
  border: 1px solid var(--glass-line);
  background: linear-gradient(170deg, #ffffff, #f4f7fc);
  box-shadow:
    0 30px 70px -45px rgba(20, 34, 74, 0.25),
    0 0 60px -40px rgba(90, 130, 194, 0.2);
  padding: clamp(16px, 2vw, 24px);
}
.cxp-copilot .icc-screen-top {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 4px 4px 16px;
  border-bottom: 1px solid rgba(90, 130, 194, 0.16);
  transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cxp-copilot .icc-screen-top b {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.cxp-copilot .icc-screen-sub { font-size: 12.5px; color: var(--wht-55); }
.cxp-copilot .icc-chip {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hud-deep);
  border: 1px solid rgba(90, 130, 194, 0.3);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  margin-bottom: 6px;
  background: rgba(90, 130, 194, 0.08);
}

.cxp-copilot .icc-cardstack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
}
.cxp-copilot .icc-card {
  border-radius: var(--r-mid);
  border: 1px solid var(--glass-line);
  background: #fbfcff;
  padding: 13px 15px;
  transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s;
}
.cxp-copilot .icc-card-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hud-deep);
}
.cxp-copilot .icc-card-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cxp-copilot .icc-card-row b {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cxp-copilot .icc-card-row span { font-size: 12.5px; color: var(--wht-55); }
.cxp-copilot .icc-card .icc-why { margin-top: 8px; }
.cxp-copilot .icc-card--nba { border-color: rgba(90, 130, 194, 0.32); background: #eef2fb; }

/* run-state rewind for the live section (JS adds .icc-run to [data-icc-live]) */
.cxp-copilot .icc-run .icc-script li,
.cxp-copilot .icc-run .icc-card,
.cxp-copilot .icc-run .icc-screen-top {
  opacity: 0.16;
  transform: translateY(8px);
}
.cxp-copilot .icc-run .icc-script li.on,
.cxp-copilot .icc-run .icc-card.on,
.cxp-copilot .icc-run .icc-screen-top.on {
  opacity: 1;
  transform: none;
}

.cxp-copilot .icc-live-foot {
  margin: clamp(28px, 4vw, 44px) auto 0;
  max-width: 62ch;
  font-size: clamp(15.5px, 1.25vw, 17.5px);
  line-height: 1.65;
  color: var(--wht-55);
  text-align: center;
  border-top: 1px solid rgba(90, 130, 194, 0.16);
  padding-top: clamp(22px, 3vw, 34px);
}

/* ============================================================
   3 · THREE BEATS
   ============================================================ */
.cxp-copilot .icc-beats { border-top: 1px solid rgba(90, 130, 194, 0.12); }
.cxp-copilot .icc-beats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.5vw, 48px);
  margin-top: clamp(28px, 4vw, 48px);
}
.cxp-copilot .icc-beat {
  border-top: 1.5px solid rgba(90, 130, 194, 0.4);
  padding-top: 18px;
}
.cxp-copilot .icc-beat-n {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--hud-deep);
}
.cxp-copilot .icc-beat h3 {
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 12px 0 8px;
}
.cxp-copilot .icc-beat p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--wht-55);
}

/* ============================================================
   4 · WEAVE PARITY
   ============================================================ */
.cxp-copilot .icc-parity { border-top: 1px solid rgba(90, 130, 194, 0.12); }
.cxp-copilot .icc-parity-inner { max-width: 820px; margin: 0 auto; }
.cxp-copilot .icc-parity-big {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--wht-92);
  margin: 18px 0 clamp(26px, 3.5vw, 42px);
}
.cxp-copilot .icc-parity-big b { color: var(--hud-deep); font-weight: 600; }
.cxp-copilot .icc-parity-big i { font-style: italic; color: var(--ink); }
.cxp-copilot .icc-parity-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cxp-copilot .icc-parity-rows li {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 10px 28px;
  padding: 18px 2px;
  border-top: 1px solid rgba(90, 130, 194, 0.16);
}
.cxp-copilot .icc-parity-rows li:last-child { border-bottom: 1px solid rgba(90, 130, 194, 0.16); }
.cxp-copilot .icc-par-cap {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cxp-copilot .icc-par-note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--wht-55);
}

/* ============================================================
   5 · CTA + SIBLINGS
   ============================================================ */
.cxp-copilot .icc-end {
  border-top: 1px solid rgba(90, 130, 194, 0.12);
  background: radial-gradient(70% 90% at 50% 110%, rgba(138, 166, 221, 0.16), transparent 65%);
}
.cxp-copilot .icc-end-inner {
  text-align: center;
  max-width: 760px;
}
.cxp-copilot .icc-end-h {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 600;
  letter-spacing: -0.033em;
  line-height: 1.08;
  color: var(--ink);
  margin: 16px 0 14px;
}
.cxp-copilot .icc-end-sub {
  font-size: clamp(15.5px, 1.3vw, 18px);
  color: var(--wht-55);
  margin: 0 0 28px;
}
.cxp-copilot .icc-sibs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 30px);
  flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid rgba(90, 130, 194, 0.16);
}
.cxp-copilot .icc-sibs-k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wht-38);
}
.cxp-copilot .icc-sibs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--wht-70);
  transition: color 0.18s;
}
.cxp-copilot .icc-sibs a:hover { color: var(--hud-deep); }
.cxp-copilot .icc-sibs a .arrow { transition: transform 0.2s ease; }
.cxp-copilot .icc-sibs a:hover .arrow { transform: translateX(3px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .cxp-copilot .icc-stage {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "core core" "l r";
  }
  .cxp-copilot .icc-core { grid-area: core; max-width: 320px; }
  .cxp-copilot .icc-podcol--l { grid-area: l; align-items: stretch; }
  .cxp-copilot .icc-podcol--r { grid-area: r; align-items: stretch; }
  .cxp-copilot .icc-pod { width: 100%; }
  .cxp-copilot .icc-podcol--l .icc-pod:first-child,
  .cxp-copilot .icc-podcol--r .icc-pod:last-child,
  .cxp-copilot .icc-podcol--l .icc-pod.lit:first-child,
  .cxp-copilot .icc-podcol--r .icc-pod.lit:last-child { transform: none; }
}
@media (max-width: 900px) {
  .cxp-copilot .icc-live-grid { grid-template-columns: 1fr; }
  .cxp-copilot .icc-beats-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 700px) {
  /* single column by phone width — don't wait for the 640px breakpoint */
  .cxp-copilot .icc-stage { grid-template-columns: 1fr; grid-template-areas: "core" "l" "r"; }
  .cxp-copilot .icc-parity-rows li { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cxp-copilot .icc-hud-top { flex-wrap: wrap; justify-content: center; }
  .cxp-copilot .icc-hud-bot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cxp-copilot .icc-tick { white-space: normal; }
}

/* ============================================================
   REDUCED MOTION — static cockpit stays COMPLETE, motion off
   ============================================================ */
@media (prefers-reduced-motion: reduce), (max-width: 700px) {
  .cxp-copilot *,
  .cxp-copilot *::before,
  .cxp-copilot *::after {
    animation: none !important;
    transition: none !important;
  }
  .cxp-copilot .icc-sweep { display: none; }
  /* belt-and-braces: even if .icc-run leaks in, show everything */
  .cxp-copilot .icc-run .icc-pod,
  .cxp-copilot .icc-run .icc-id,
  .cxp-copilot .icc-run .icc-script li,
  .cxp-copilot .icc-run .icc-card,
  .cxp-copilot .icc-run .icc-screen-top {
    opacity: 1 !important;
    transform: none !important;
  }
  .cxp-copilot .icc-run .icc-arc { stroke-dashoffset: 2 !important; }
  .cxp-copilot .icc-run .icc-pod .icc-pod-bar::after { width: var(--fill, 60%) !important; }
}
</content>
</invoke>
