/* 重庆首页 v2：山城答案轨道 */
body:has(.cq-home) {
  background: #f2f0e9;
}

body:has(.cq-home) .site-header {
  background: rgba(7, 20, 29, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}

.cq-home {
  --cq-night: #07141d;
  --cq-night-soft: #0c2530;
  --cq-forest: #0f3e39;
  --cq-ink: #122830;
  --cq-muted: #627075;
  --cq-paper: #f2f0e9;
  --cq-paper-soft: #f8f6ef;
  --cq-teal: #2ee6c5;
  --cq-mint: #a8fff0;
  --cq-amber: #ffbd59;
  --cq-coral: #ff765d;
  --cq-rule: rgba(18, 40, 48, 0.15);
  --cq-scene-rgb: 46, 230, 197;
  overflow: clip;
  color: var(--cq-ink);
  background: var(--cq-paper);
}

.cq-home button,
.cq-home a {
  -webkit-tap-highlight-color: transparent;
}

.cq-home :focus-visible {
  outline: 2px solid var(--cq-amber);
  outline-offset: 4px;
}

/* Hero */
.cq-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: min(740px, calc(100svh - var(--header-h, 68px)));
  overflow: hidden;
  color: #f8fcfb;
  background:
    radial-gradient(circle at 75% 18%, rgba(var(--cq-scene-rgb), 0.16), transparent 31rem),
    radial-gradient(circle at 12% 72%, rgba(255, 189, 89, 0.09), transparent 27rem),
    linear-gradient(145deg, #07141d 0%, #081a25 52%, #0c2830 100%);
  transition: background 0.55s ease;
}

.cq-hero::before,
.cq-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cq-hero::before {
  z-index: -3;
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.78) 72%, transparent);
}

.cq-hero::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 20, 29, 0.42), transparent 48%, rgba(7, 20, 29, 0.18));
}

.cq-terrain-canvas {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.56;
}

.cq-elevation-grid {
  position: absolute;
  z-index: -1;
  right: -7rem;
  bottom: -10rem;
  width: min(48vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(var(--cq-scene-rgb), 0.11);
  border-radius: 46% 54% 62% 38%;
  box-shadow:
    0 0 0 4rem rgba(var(--cq-scene-rgb), 0.035),
    0 0 0 8rem rgba(var(--cq-scene-rgb), 0.022),
    0 0 0 12rem rgba(var(--cq-scene-rgb), 0.014);
  transform: rotate(-15deg);
  animation: cq-elevation-drift 14s ease-in-out infinite alternate;
}

.cq-hero-shell {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding-top: 1rem;
}

.cq-livebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.46);
  font: 700 0.63rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.13em;
}

.cq-livebar > span {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.cq-livebar i,
.cq-transit-head i,
.cq-detail-result i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(var(--cq-scene-rgb));
  box-shadow: 0 0 0 6px rgba(var(--cq-scene-rgb), 0.1), 0 0 14px rgba(var(--cq-scene-rgb), 0.7);
  animation: cq-live-pulse 1.8s ease-in-out infinite;
}

.cq-livebar b { color: var(--cq-mint); }
.cq-livebar time { color: rgba(255, 255, 255, 0.72); }

.cq-hero-grid {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 0.86fr) minmax(31rem, 1.14fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  min-height: 0;
  padding: clamp(1.9rem, 4.8vh, 3.4rem) 0 clamp(1.7rem, 4vh, 2.8rem);
}

.cq-hero-copy {
  max-width: 39rem;
}

.cq-eyebrow,
.cq-section-no {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: rgb(var(--cq-scene-rgb));
  font: 800 0.68rem/1.25 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cq-eyebrow::before,
.cq-section-no::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.cq-hero-copy h1 {
  max-width: 10.5ch;
  margin-top: 1.1rem;
  color: #f7faf8;
  font-size: clamp(3.05rem, 4.25vw, 4.9rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.068em;
  text-wrap: balance;
}

.cq-hero-copy h1 span {
  color: var(--cq-amber);
}

.cq-hero-lead {
  max-width: 37rem;
  margin-top: 1.35rem;
  color: rgba(238, 248, 246, 0.67);
  font-size: clamp(0.94rem, 1.1vw, 1.04rem);
  line-height: 1.82;
}

.cq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
  margin-top: 1.7rem;
}

.cq-primary,
.cq-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  min-height: 3.2rem;
  font-size: 0.86rem;
  font-weight: 850;
  transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.cq-primary {
  min-width: 13rem;
  padding: 0.75rem 1.15rem;
  background: var(--cq-amber);
  color: #14242a;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.cq-primary span {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: #14242a;
  color: var(--cq-amber);
}

.cq-primary:hover { background: #ffd17d; transform: translateY(-2px); }

.cq-secondary {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  color: rgba(255, 255, 255, 0.78);
}

.cq-secondary:hover { color: var(--cq-mint); border-color: var(--cq-teal); }
.cq-secondary.light { margin-top: 1.8rem; color: rgba(255, 255, 255, 0.8); }

.cq-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: clamp(1rem, 3vw, 2.6rem);
  margin-top: 1.7rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cq-hero-proof li { display: grid; gap: 0.1rem; }
.cq-hero-proof strong { color: #fff; font-size: 0.9rem; }
.cq-hero-proof span { color: rgba(255, 255, 255, 0.44); font-size: 0.67rem; }

/* Dynamic answer transit */
.cq-transit {
  --cq-panel-x: 0px;
  --cq-panel-y: 0px;
  position: relative;
  min-height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(5, 19, 27, 0.65);
  box-shadow: 22px 28px 70px rgba(0, 0, 0, 0.27);
  transform: translate3d(var(--cq-panel-x), var(--cq-panel-y), 0);
  transition: transform 0.22s ease, border-color 0.4s ease, background 0.4s ease;
  overflow: hidden;
}

.cq-transit::before {
  content: "";
  position: absolute;
  inset: -35% auto -35% -20%;
  width: 46%;
  background: linear-gradient(100deg, transparent, rgba(var(--cq-scene-rgb), 0.12), transparent);
  transform: translateX(-120%) skewX(-14deg);
  animation: cq-panel-scan 6.4s ease-in-out infinite;
  pointer-events: none;
}

.cq-transit-head {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.43);
  font: 700 0.58rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.12em;
}

.cq-transit-head span { display: flex; align-items: center; gap: 0.65rem; }
.cq-transit-head b { color: var(--cq-mint); }

.cq-transit-display {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(13rem, 0.9fr) minmax(16rem, 1.1fr);
  min-height: 318px;
}

.cq-readout {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 2.2vw, 1.6rem);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, rgba(5, 17, 25, 0.86), rgba(5, 17, 25, 0.55));
}

.cq-readout-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  color: rgb(var(--cq-scene-rgb));
  font: 800 0.63rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.cq-readout-meta b {
  color: var(--cq-amber);
  font-size: 1.1rem;
}

.cq-readout > small,
.cq-evidence span,
.cq-result span,
.cq-route-zone span {
  color: rgba(255, 255, 255, 0.36);
  font: 700 0.55rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.1em;
}

.cq-readout h2 {
  min-height: 4.4em;
  margin-top: 0.45rem;
  color: #fff;
  font-size: clamp(1.03rem, 1.55vw, 1.32rem);
  line-height: 1.47;
  letter-spacing: -0.02em;
}

.cq-evidence,
.cq-result {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.cq-evidence { margin-top: 0.6rem; }
.cq-result { margin-top: 0.75rem; }
.cq-evidence strong { color: rgba(255, 255, 255, 0.7); font-size: 0.72rem; line-height: 1.5; }
.cq-result strong { color: var(--cq-amber); font-size: 0.78rem; }

.cq-route-map {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
}

.cq-route-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.cq-contour-line,
.cq-main-route,
.cq-route-signal {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.cq-contour-line { stroke: rgba(var(--cq-scene-rgb), 0.13); stroke-width: 1; }
.cq-main-route { stroke: rgba(255, 255, 255, 0.2); stroke-width: 1.1; }
.cq-route-signal {
  stroke: url("#cq-route-gradient");
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 18 82;
  animation: cq-route-flow 4.8s linear infinite;
}
.cq-route-packet { fill: rgb(var(--cq-scene-rgb)); }

.cq-route-node {
  position: absolute;
  display: grid;
  gap: 0.15rem;
  padding-left: 0.85rem;
  color: rgba(255, 255, 255, 0.64);
  transition: color 0.35s ease, transform 0.35s ease;
}

.cq-route-node i {
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 6px;
  height: 6px;
  border: 1px solid rgb(var(--cq-scene-rgb));
  border-radius: 50%;
  background: #09202a;
  box-shadow: 0 0 0 5px rgba(var(--cq-scene-rgb), 0.08);
}

.cq-route-node b { font-size: 0.65rem; }
.cq-route-node em { color: rgba(255, 255, 255, 0.3); font: normal 600 0.45rem/1 ui-monospace, monospace; }
.cq-route-node.node-1 { left: 4%; bottom: 4%; }
.cq-route-node.node-2 { left: 31%; bottom: 23%; }
.cq-route-node.node-3 { left: 57%; top: 38%; }
.cq-route-node.node-4 { right: 3%; top: 8%; color: var(--cq-mint); }

.cq-route-zone {
  position: absolute;
  right: 0.85rem;
  bottom: 0.7rem;
  display: grid;
  gap: 0.2rem;
  max-width: 72%;
  padding: 0.55rem 0.65rem;
  border-left: 2px solid rgb(var(--cq-scene-rgb));
  background: rgba(5, 17, 25, 0.72);
}
.cq-route-zone strong { color: rgba(255, 255, 255, 0.7); font-size: 0.61rem; }

.cq-scene-tabs {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cq-scene-tabs button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  min-height: 66px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  transition: color 0.25s ease, background 0.25s ease;
}

.cq-scene-tabs button:last-child { border-right: 0; }
.cq-scene-tabs i { font: normal 700 0.55rem/1 ui-monospace, monospace; }
.cq-scene-tabs button:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.cq-scene-tabs button.is-active { color: #07141d; background: rgb(var(--cq-scene-rgb)); }

.cq-platform-strip {
  position: relative;
  z-index: 3;
  flex: 0 0 42px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 15, 23, 0.75);
}

.cq-platform-strip > div {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 42px;
  animation: cq-marquee 28s linear infinite;
}

.cq-platform-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-inline: 2rem;
  color: rgba(255, 255, 255, 0.43);
  font: 700 0.57rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cq-platform-strip span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cq-amber);
}

.cq-is-swapping { animation: cq-text-in 0.45s ease both; }
.cq-transit.is-updating .cq-route-node { animation: cq-node-rise 0.65s ease both; }
.cq-industry-detail.is-updating { animation: cq-detail-in 0.55s ease both; }

/* Shared section typography */
.cq-path-section,
.cq-industry-section,
.cq-proof-section,
.cq-contact,
.cq-faq {
  padding-block: clamp(4.6rem, 7.5vw, 7.2rem);
}

.cq-section-head { max-width: 54rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.cq-section-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  max-width: none;
}

.cq-section-head h2,
.cq-proof-copy h2,
.cq-contact-copy h2,
.cq-section-copy h2 {
  margin-top: 1rem;
  font-size: clamp(2.35rem, 4.5vw, 4.55rem);
  line-height: 1.01;
  letter-spacing: -0.06em;
}

.cq-section-head > p,
.cq-section-head-split > p,
.cq-proof-copy > p,
.cq-contact-copy > p {
  color: var(--cq-muted);
  line-height: 1.85;
}

.cq-section-head > p { max-width: 46rem; margin-top: 1.2rem; }

/* Answer path */
.cq-path-section { background: var(--cq-paper-soft); }
.cq-path-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--cq-ink);
  border-left: 1px solid var(--cq-rule);
}

.cq-path-flow::before {
  content: "";
  position: absolute;
  z-index: 3;
  left: 3%;
  right: 3%;
  top: 3.8rem;
  height: 1px;
  background: linear-gradient(90deg, var(--cq-amber), var(--cq-teal));
  transform-origin: left;
  animation: cq-path-scan 5.5s ease-in-out infinite;
}

.cq-path-flow li {
  position: relative;
  min-height: 13rem;
  padding: 1.25rem;
  border-right: 1px solid var(--cq-rule);
  border-bottom: 1px solid var(--cq-rule);
}

.cq-path-flow li > span {
  color: #7e898c;
  font: 700 0.62rem/1 ui-monospace, monospace;
}

.cq-path-flow i {
  position: relative;
  z-index: 4;
  display: block;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 2rem;
  border: 2px solid var(--cq-paper-soft);
  border-radius: 50%;
  background: var(--cq-teal);
  box-shadow: 0 0 0 1px var(--cq-teal), 0 0 0 7px rgba(46, 230, 197, 0.09);
  animation: cq-path-node 2.8s ease-in-out infinite;
}
.cq-path-flow li:nth-child(2) i { animation-delay: -0.7s; }
.cq-path-flow li:nth-child(3) i { animation-delay: -1.4s; }
.cq-path-flow li:nth-child(4) i { background: var(--cq-amber); box-shadow: 0 0 0 1px var(--cq-amber), 0 0 0 7px rgba(255, 189, 89, 0.1); animation-delay: -2.1s; }
.cq-path-flow h3 { margin-top: 1.65rem; font-size: 1.25rem; }
.cq-path-flow p { margin-top: 0.55rem; color: #687579; font-size: 0.82rem; line-height: 1.7; }

/* Industry console */
.cq-industry-section { background: #e9eee8; }
.cq-industry-console {
  display: grid;
  grid-template-columns: minmax(20rem, 0.78fr) minmax(0, 1.22fr);
  border: 1px solid rgba(18, 40, 48, 0.2);
  background: var(--cq-paper-soft);
  box-shadow: 0 28px 70px rgba(17, 42, 46, 0.08);
}

.cq-industry-tabs { display: grid; }
.cq-industry-tabs button {
  position: relative;
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  gap: 0.2rem 0.8rem;
  min-height: 7.2rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--cq-rule);
  text-align: left;
  transition: color 0.25s ease, background 0.25s ease;
}

.cq-industry-tabs button:last-child { border-bottom: 0; }
.cq-industry-tabs button > span { grid-row: 1 / span 2; color: #7d898b; font: 700 0.65rem/1.3 ui-monospace, monospace; }
.cq-industry-tabs strong { font-size: 0.98rem; }
.cq-industry-tabs em { color: #788386; font-size: 0.68rem; font-style: normal; }
.cq-industry-tabs button::after { content: "→"; position: absolute; right: 1.2rem; top: 50%; color: transparent; transform: translate(-0.7rem, -50%); transition: color 0.25s ease, transform 0.25s ease; }
.cq-industry-tabs button:hover { background: rgba(255, 255, 255, 0.55); }
.cq-industry-tabs button.is-active { background: rgb(var(--cq-scene-rgb)); color: #07141d; }
.cq-industry-tabs button.is-active > span,
.cq-industry-tabs button.is-active em { color: rgba(7, 20, 29, 0.62); }
.cq-industry-tabs button.is-active::after { color: #07141d; transform: translate(0, -50%); }

.cq-industry-detail {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 28.8rem;
  padding: clamp(1.5rem, 4vw, 3.3rem);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(var(--cq-scene-rgb), 0.21), transparent 18rem),
    var(--cq-night-soft);
}

.cq-industry-detail::before {
  content: "重庆";
  position: absolute;
  right: -0.04em;
  bottom: -0.13em;
  color: transparent;
  font-size: clamp(9rem, 18vw, 17rem);
  font-weight: 950;
  line-height: 0.8;
  opacity: 0.14;
  -webkit-text-stroke: 1px rgba(var(--cq-scene-rgb), 0.5);
  pointer-events: none;
}

.cq-detail-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.42);
  font: 700 0.58rem/1.2 ui-monospace, monospace;
  letter-spacing: 0.1em;
}

.cq-industry-detail > small {
  position: relative;
  z-index: 2;
  margin-top: auto;
  color: rgb(var(--cq-scene-rgb));
  font: 800 0.69rem/1.2 ui-monospace, monospace;
}

.cq-industry-detail h3 {
  position: relative;
  z-index: 2;
  max-width: 18ch;
  margin-top: 0.75rem;
  font-size: clamp(1.75rem, 3.25vw, 3rem);
  line-height: 1.13;
  letter-spacing: -0.045em;
}

.cq-industry-detail > p {
  position: relative;
  z-index: 2;
  max-width: 48rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  line-height: 1.8;
}

.cq-detail-evidence,
.cq-detail-result {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}
.cq-detail-evidence span,
.cq-detail-result span { color: rgba(255, 255, 255, 0.38); font: 700 0.55rem/1.4 ui-monospace, monospace; letter-spacing: 0.08em; }
.cq-detail-evidence strong { color: rgba(255, 255, 255, 0.72); font-size: 0.74rem; text-align: right; }
.cq-detail-result { align-items: center; }
.cq-detail-result span { display: flex; align-items: center; gap: 0.55rem; }
.cq-detail-result b { color: var(--cq-amber); font-size: 0.78rem; }

/* Proof */
.cq-proof-section { color: #effaf7; background: var(--cq-forest); }
.cq-proof-section .cq-section-no,
.cq-contact .cq-section-no { color: var(--cq-amber); }
.cq-proof-grid,
.cq-contact-grid,
.cq-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(25rem, 1.14fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}
.cq-proof-copy > p { max-width: 39rem; margin-top: 1.35rem; color: rgba(238, 250, 247, 0.62); }
.cq-proof-board { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.23); border-left: 1px solid rgba(255, 255, 255, 0.11); }
.cq-proof-board article { min-height: 12.5rem; padding: 1.2rem; border-right: 1px solid rgba(255, 255, 255, 0.11); border-bottom: 1px solid rgba(255, 255, 255, 0.11); transition: background 0.25s ease; }
.cq-proof-board article:hover { background: rgba(255, 255, 255, 0.055); }
.cq-proof-board span { color: var(--cq-teal); font: 700 0.6rem/1 ui-monospace, monospace; letter-spacing: 0.12em; }
.cq-proof-board strong { display: block; margin-top: 2.2rem; font-size: 1.15rem; }
.cq-proof-board p { margin-top: 0.65rem; color: rgba(255, 255, 255, 0.52); font-size: 0.78rem; line-height: 1.65; }

/* Contact */
.cq-contact { color: #fff; background: var(--cq-night); }
.cq-contact-copy > p { max-width: 38rem; margin-top: 1.35rem; color: rgba(238, 248, 246, 0.58); }
.cq-contact-copy ul { display: grid; gap: 0.65rem; margin-top: 1.5rem; color: rgba(255, 255, 255, 0.7); font-size: 0.83rem; }
.cq-contact-copy li::before { content: "✓"; margin-right: 0.65rem; color: var(--cq-teal); }
.cq-contact-copy > a { display: inline-block; margin-top: 1.7rem; color: rgba(255, 255, 255, 0.6); }
.cq-contact-copy > a strong { color: var(--cq-amber); }

.cq-lead-form {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}
.cq-form-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.3rem; padding-bottom: 0.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.cq-form-head span { color: var(--cq-teal); font: 700 0.61rem/1.2 ui-monospace, monospace; letter-spacing: 0.12em; }
.cq-form-head strong { font-size: 1.05rem; }
.cq-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.cq-form-row + .cq-form-row { margin-top: 0.8rem; }
.cq-form-grid .cq-form-row + .cq-form-row { margin-top: 0; }
.cq-form-row label { display: block; margin-bottom: 0.35rem; color: rgba(255, 255, 255, 0.58); font-size: 0.7rem; font-weight: 700; }
.cq-form-row input,
.cq-form-row textarea { width: 100%; padding: 0.78rem 0.85rem; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 0; outline: 0; background: rgba(3, 12, 18, 0.64); color: #fff; font: inherit; resize: vertical; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.cq-form-row input::placeholder,
.cq-form-row textarea::placeholder { color: rgba(255, 255, 255, 0.27); }
.cq-form-row input:focus,
.cq-form-row textarea:focus { border-color: var(--cq-teal); box-shadow: 0 0 0 3px rgba(46, 230, 197, 0.1); }
.cq-lead-form .form-privacy { margin-top: 0.85rem; color: rgba(255, 255, 255, 0.4); font-size: 0.65rem; line-height: 1.55; }
.cq-lead-form .form-privacy a { color: var(--cq-amber); }
.cq-submit { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 3.15rem; margin-top: 0.9rem; padding: 0 1.1rem; background: var(--cq-amber); color: #17262c; font-weight: 850; transition: background 0.2s ease, transform 0.2s ease; }
.cq-submit:hover { background: #ffd17d; transform: translateY(-2px); }
.cq-submit:disabled { cursor: wait; opacity: 0.65; transform: none; }
.cq-lead-form .form-status { min-height: 1.4rem; margin-top: 0.55rem; font-size: 0.74rem; }
.cq-lead-form .form-status.ok { color: var(--cq-mint); }
.cq-lead-form .form-status.err { color: #ffad9b; }

/* FAQ */
.cq-faq { background: var(--cq-paper-soft); }
.cq-section-copy { max-width: 39rem; }
.cq-section-copy .cq-section-no { color: #137c70; }
.cq-inline-link { display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 1.6rem; color: #137c70; font-size: 0.85rem; font-weight: 800; }
.cq-inline-link:hover { color: #0b554d; }
.cq-faq-list { border-top: 2px solid var(--cq-ink); }
.cq-faq-list details { border-bottom: 1px solid var(--cq-rule); }
.cq-faq-list summary { position: relative; padding: 1.2rem 2.5rem 1.2rem 0; cursor: pointer; font-weight: 800; list-style: none; }
.cq-faq-list summary::-webkit-details-marker { display: none; }
.cq-faq-list summary::after { content: "+"; position: absolute; right: 0.35rem; top: 0.98rem; color: #137c70; font-size: 1.3rem; }
.cq-faq-list details[open] summary::after { content: "−"; }
.cq-faq-list p { padding: 0 2.5rem 1.25rem 0; color: #657276; font-size: 0.86rem; line-height: 1.75; }

/* Motion */
@keyframes cq-live-pulse { 50% { opacity: 0.48; transform: scale(0.78); box-shadow: 0 0 0 11px rgba(var(--cq-scene-rgb), 0); } }
@keyframes cq-elevation-drift { to { transform: rotate(-10deg) scale(1.04); } }
@keyframes cq-panel-scan { 0%, 15% { transform: translateX(-130%) skewX(-14deg); opacity: 0; } 42% { opacity: 1; } 72%, 100% { transform: translateX(360%) skewX(-14deg); opacity: 0; } }
@keyframes cq-route-flow { to { stroke-dashoffset: -100; } }
@keyframes cq-marquee { to { transform: translateX(-50%); } }
@keyframes cq-text-in { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes cq-node-rise { 0%, 100% { transform: none; } 45% { transform: translateY(-5px); color: #fff; } }
@keyframes cq-detail-in { from { opacity: 0.72; } to { opacity: 1; } }
@keyframes cq-path-scan { 0% { transform: scaleX(0); opacity: 0.2; } 48%, 72% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes cq-path-node { 50% { box-shadow: 0 0 0 1px currentColor, 0 0 0 12px rgba(46, 230, 197, 0); } }

/* Responsive */
@media (max-width: 1180px) {
  .cq-hero-grid { grid-template-columns: minmax(0, 0.82fr) minmax(29rem, 1.18fr); gap: 2.2rem; }
  .cq-hero-copy h1 { font-size: clamp(2.9rem, 5.3vw, 4.4rem); }
  .cq-transit-display { grid-template-columns: 0.92fr 1.08fr; }
}

@media (max-width: 980px) {
  .cq-hero { min-height: auto; }
  .cq-hero-grid { grid-template-columns: 1fr; gap: 2.8rem; padding-block: 3rem; }
  .cq-hero-copy { max-width: 44rem; }
  .cq-hero-copy h1 { max-width: 11ch; font-size: clamp(3.35rem, 9vw, 5.3rem); }
  .cq-transit { width: min(100%, 45rem); min-height: 430px; }
  .cq-section-head-split,
  .cq-proof-grid,
  .cq-contact-grid,
  .cq-faq-grid { grid-template-columns: 1fr; }
  .cq-section-head-split { align-items: start; }
  .cq-section-head-split > p { max-width: 38rem; }
  .cq-industry-console { grid-template-columns: minmax(17rem, 0.72fr) 1.28fr; }
  .cq-proof-grid,
  .cq-contact-grid,
  .cq-faq-grid { gap: 2.8rem; }
}

@media (max-width: 720px) {
  .cq-hero-shell { padding-top: 0.65rem; }
  .cq-livebar { min-height: 34px; font-size: 0.52rem; letter-spacing: 0.08em; }
  .cq-livebar > span:last-child { justify-content: flex-end; }
  .cq-hero-grid { gap: 2.3rem; padding: 2.25rem 0 2.6rem; }
  .cq-eyebrow { font-size: 0.61rem; }
  .cq-hero-copy h1 { margin-top: 0.95rem; font-size: clamp(2.55rem, 11.4vw, 3.35rem); line-height: 1; }
  .cq-hero-lead { margin-top: 1.1rem; font-size: 0.92rem; line-height: 1.75; }
  .cq-hero-actions { align-items: stretch; flex-direction: column; margin-top: 1.35rem; }
  .cq-primary { width: 100%; }
  .cq-secondary { align-self: flex-start; }
  .cq-hero-proof { gap: 0.7rem; margin-top: 1.35rem; }
  .cq-hero-proof strong { font-size: 0.82rem; }
  .cq-hero-proof span { font-size: 0.56rem; }
  .cq-transit { min-height: 0; }
  .cq-transit-display { grid-template-columns: 1fr; }
  .cq-readout { min-height: 220px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .cq-readout h2 { min-height: 0; font-size: 1.12rem; }
  .cq-route-map { min-height: 215px; }
  .cq-scene-tabs { grid-template-columns: repeat(2, 1fr); }
  .cq-scene-tabs button { min-height: 54px; }
  .cq-scene-tabs button:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
  .cq-platform-strip span { padding-inline: 1.25rem; }
  .cq-path-section,
  .cq-industry-section,
  .cq-proof-section,
  .cq-contact,
  .cq-faq { padding-block: 4.2rem; }
  .cq-section-head h2,
  .cq-proof-copy h2,
  .cq-contact-copy h2,
  .cq-section-copy h2 { font-size: clamp(2.15rem, 10.5vw, 3.25rem); }
  .cq-section-head { margin-bottom: 2.2rem; }
  .cq-path-flow { grid-template-columns: 1fr; }
  .cq-path-flow::before { left: 2rem; right: auto; top: 2rem; bottom: 2rem; width: 1px; height: auto; transform-origin: top; animation-name: cq-path-scan-mobile; }
  .cq-path-flow li { min-height: 9rem; padding-left: 4.5rem; }
  .cq-path-flow i { position: absolute; left: 1.62rem; top: 1.65rem; margin: 0; }
  .cq-path-flow h3 { margin-top: 1.2rem; }
  .cq-industry-console { grid-template-columns: 1fr; }
  .cq-industry-tabs { grid-template-columns: repeat(2, 1fr); }
  .cq-industry-tabs button { grid-template-columns: 1.6rem 1fr; min-height: 8.5rem; padding: 1rem; border-right: 1px solid var(--cq-rule); }
  .cq-industry-tabs button:nth-child(2n) { border-right: 0; }
  .cq-industry-tabs button::after { display: none; }
  .cq-industry-detail { min-height: 27rem; }
  .cq-detail-evidence,
  .cq-detail-result { align-items: flex-start; flex-direction: column; }
  .cq-detail-evidence strong { text-align: left; }
  .cq-proof-board { grid-template-columns: 1fr; }
  .cq-proof-board article { min-height: 10rem; }
  .cq-proof-board strong { margin-top: 1.5rem; }
  .cq-form-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .cq-form-grid .cq-form-row + .cq-form-row { margin-top: 0; }
  .cq-form-head { align-items: flex-start; flex-direction: column; }
}

@keyframes cq-path-scan-mobile { 0% { transform: scaleY(0); opacity: 0.2; } 48%, 72% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 430px) {
  .cq-livebar > span:first-child { max-width: 48%; }
  .cq-livebar > span:last-child { gap: 0.4rem; }
  .cq-hero-copy h1 { font-size: clamp(2.5rem, 11.5vw, 3.1rem); }
  .cq-hero-proof { grid-template-columns: repeat(3, 1fr); }
  .cq-hero-proof li { min-width: 0; }
  .cq-route-node b { font-size: 0.57rem; }
  .cq-route-node em { display: none; }
  .cq-route-zone { max-width: 82%; }
  .cq-industry-tabs { grid-template-columns: 1fr; }
  .cq-industry-tabs button { min-height: 6.5rem; border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cq-elevation-grid,
  .cq-livebar i,
  .cq-transit-head i,
  .cq-detail-result i,
  .cq-transit::before,
  .cq-route-signal,
  .cq-platform-strip > div,
  .cq-path-flow::before,
  .cq-path-flow i { animation: none !important; }
  .cq-route-packet { display: none; }
  .cq-platform-strip > div { flex-wrap: wrap; width: auto; }
  .cq-platform-strip span[aria-hidden="true"] { display: none; }
}

/* v3: open cableway composition — no right-hand dashboard card */
@media (min-width: 981px) {
  .cq-hero {
    height: calc(100svh - var(--header-h, 68px));
    min-height: 650px;
    max-height: none;
  }
}

.cq-summit {
  --cq-summit-x: 0px;
  --cq-summit-y: 0px;
  position: relative;
  min-height: 520px;
  isolation: isolate;
  transform: translate3d(var(--cq-summit-x), var(--cq-summit-y), 0);
  transition: transform 0.24s ease;
}

.cq-summit::before,
.cq-summit::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.cq-summit::before {
  inset: 8% -7% 11% 12%;
  opacity: 0.55;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(125deg, transparent, #000 28%, #000 72%, transparent);
  transform: skewY(-8deg);
}

.cq-summit::after {
  right: -4%;
  bottom: 11%;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--cq-scene-rgb), 0.7), transparent);
  box-shadow: 0 0 24px rgba(var(--cq-scene-rgb), 0.24);
  transform: rotate(-26deg);
  transform-origin: right;
}

.cq-summit-top {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.38);
  font: 700 0.58rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.12em;
}

.cq-summit-top span { display: flex; align-items: center; gap: 0.65rem; }
.cq-summit-top i { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--cq-scene-rgb)); box-shadow: 0 0 0 6px rgba(var(--cq-scene-rgb), 0.1), 0 0 14px rgba(var(--cq-scene-rgb), 0.7); animation: cq-live-pulse 1.8s ease-in-out infinite; }
.cq-summit-top b { color: var(--cq-mint); }

.cq-summit-word {
  position: absolute;
  z-index: -1;
  top: 2%;
  right: -0.03em;
  color: transparent;
  font-size: clamp(8rem, 13vw, 14rem);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: -0.12em;
  opacity: 0.16;
  -webkit-text-stroke: 1px rgba(var(--cq-scene-rgb), 0.8);
  transform: translate3d(calc(var(--cq-summit-x) * -0.7), calc(var(--cq-summit-y) * -0.7), 0);
  transition: color 0.4s ease, -webkit-text-stroke-color 0.4s ease;
  user-select: none;
}

.cq-cableway {
  position: absolute;
  z-index: 1;
  inset: 6% -5% 8% 0;
  width: 105%;
  height: 86%;
  overflow: visible;
  transform: translate3d(calc(var(--cq-summit-x) * 0.45), calc(var(--cq-summit-y) * 0.45), 0);
  transition: transform 0.24s ease;
}

.cq-mountain-line,
.cq-cable-line,
.cq-cable-signal {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.cq-mountain-line { stroke: rgba(var(--cq-scene-rgb), 0.12); stroke-width: 1; }
.cq-mountain-line.line-b { stroke: rgba(255, 255, 255, 0.08); }
.cq-mountain-line.line-c { stroke-dasharray: 5 13; }
.cq-cable-line { stroke: rgba(255, 255, 255, 0.24); stroke-width: 1.2; }
.cq-cable-signal { stroke: url("#cq-cable-gradient"); stroke-width: 2.8; stroke-linecap: round; stroke-dasharray: 16 84; animation: cq-route-flow 4.8s linear infinite; }
.cq-cable-cabin line { stroke: var(--cq-amber); stroke-width: 1.4; }
.cq-cable-cabin rect { fill: rgba(7, 20, 29, 0.94); stroke: var(--cq-amber); stroke-width: 1.4; }
.cq-cable-cabin path { fill: none; stroke: rgba(255, 189, 89, 0.55); stroke-width: 0.8; }

.cq-summit-question {
  position: absolute;
  z-index: 4;
  top: 15%;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.7rem;
  width: min(55%, 23rem);
  padding-left: 1rem;
  border-left: 2px solid rgb(var(--cq-scene-rgb));
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.48);
}

.cq-summit-question span { color: rgb(var(--cq-scene-rgb)); font: 800 0.66rem/1.3 ui-monospace, monospace; }
.cq-summit-question small { justify-self: end; color: rgba(255, 255, 255, 0.36); font: 700 0.55rem/1.3 ui-monospace, monospace; letter-spacing: 0.08em; }
.cq-summit-question strong { grid-column: 1 / -1; color: #fff; font-size: clamp(1.05rem, 1.7vw, 1.42rem); line-height: 1.48; }

.cq-summit-result {
  position: absolute;
  z-index: 4;
  top: 13%;
  right: 0;
  display: grid;
  justify-items: end;
  gap: 0.3rem;
  max-width: 30%;
  text-align: right;
}

.cq-summit-result span,
.cq-summit-proof small,
.cq-summit-zone span {
  color: rgba(255, 255, 255, 0.34);
  font: 700 0.53rem/1.3 ui-monospace, monospace;
  letter-spacing: 0.1em;
}
.cq-summit-result strong { color: var(--cq-amber); font-size: 0.78rem; }
.cq-summit-result b { color: rgba(var(--cq-scene-rgb), 0.42); font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: 0.9; letter-spacing: -0.08em; }

.cq-summit-proof {
  position: absolute;
  z-index: 4;
  left: 28%;
  bottom: 17%;
  display: grid;
  gap: 0.35rem;
  max-width: 42%;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.cq-summit-proof strong { color: rgba(255, 255, 255, 0.7); font-size: 0.7rem; line-height: 1.45; }

.cq-summit-zone {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 16%;
  display: grid;
  gap: 0.25rem;
  max-width: 30%;
  padding-right: 0.8rem;
  border-right: 2px solid rgb(var(--cq-scene-rgb));
  text-align: right;
}
.cq-summit-zone strong { color: rgba(255, 255, 255, 0.68); font-size: 0.64rem; }

.cq-summit-stations li {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 0.1rem;
  padding-left: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
}
.cq-summit-stations i { position: absolute; left: 0; top: 0.18rem; width: 6px; height: 6px; border: 1px solid rgb(var(--cq-scene-rgb)); border-radius: 50%; background: var(--cq-night); box-shadow: 0 0 0 5px rgba(var(--cq-scene-rgb), 0.09); }
.cq-summit-stations b { font-size: 0.62rem; }
.cq-summit-stations em { color: rgba(255, 255, 255, 0.28); font: normal 600 0.44rem/1 ui-monospace, monospace; }
.cq-summit-stations .station-1 { left: 3%; bottom: 7%; }
.cq-summit-stations .station-2 { left: 34%; bottom: 30%; }
.cq-summit-stations .station-3 { left: 61%; top: 43%; }
.cq-summit-stations .station-4 { right: 1%; top: 31%; color: var(--cq-mint); }

.cq-scene-switch {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cq-scene-switch button { display: flex; align-items: center; gap: 0.5rem; min-height: 38px; color: rgba(255, 255, 255, 0.4); font-size: 0.67rem; transition: color 0.22s ease, transform 0.22s ease; }
.cq-scene-switch button:hover { color: #fff; }
.cq-scene-switch button.is-active { color: rgb(var(--cq-scene-rgb)); transform: translateY(-2px); }
.cq-scene-switch i { font: normal 700 0.53rem/1 ui-monospace, monospace; }
.cq-scene-switch button.is-active i::before { content: "● "; font-size: 0.42rem; }

.cq-summit.is-updating .cq-summit-question,
.cq-summit.is-updating .cq-summit-result,
.cq-summit.is-updating .cq-summit-proof,
.cq-summit.is-updating .cq-summit-zone { animation: cq-text-in 0.5s ease both; }
.cq-summit.is-updating .cq-summit-word { animation: cq-word-shift 0.62s ease both; }

/* v3: full-width buyer-question index instead of left tabs + right card */
.cq-industry-index {
  border-top: 1px solid var(--cq-ink);
}

.cq-industry-index button {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(15rem, 0.8fr) minmax(17rem, 1.2fr) 2rem;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  min-height: 7rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--cq-rule);
  text-align: left;
  transition: background 0.25s ease, color 0.25s ease, padding 0.25s ease;
}

.cq-industry-index button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  background: rgb(var(--cq-scene-rgb));
  transform: scaleY(0);
  transition: transform 0.25s ease;
}
.cq-industry-index button:hover { background: rgba(255, 255, 255, 0.46); padding-left: 1.4rem; }
.cq-industry-index button.is-active { background: rgba(var(--cq-scene-rgb), 0.09); }
.cq-industry-index button.is-active::before { transform: scaleY(1); }
.cq-industry-index button > span { color: #7c888a; font: 700 0.65rem/1 ui-monospace, monospace; }
.cq-industry-index button > div { display: grid; gap: 0.35rem; }
.cq-industry-index strong { font-size: 1rem; }
.cq-industry-index em { color: #758184; font-size: 0.68rem; font-style: normal; }
.cq-industry-index p { color: #58676b; font-size: clamp(0.9rem, 1.35vw, 1.08rem); font-weight: 700; }
.cq-industry-index button > b { color: #869194; font-size: 1.1rem; transition: color 0.25s ease, transform 0.25s ease; }
.cq-industry-index button.is-active > b { color: rgb(var(--cq-scene-rgb)); transform: rotate(45deg); }

.cq-answer-ribbon {
  display: grid;
  grid-template-columns: minmax(12rem, 0.45fr) minmax(18rem, 0.8fr) minmax(24rem, 1.25fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  min-height: 10rem;
  padding: 1.5rem clamp(1.2rem, 3vw, 2.4rem);
  color: #fff;
  background:
    linear-gradient(100deg, rgba(var(--cq-scene-rgb), 0.11), transparent 42%),
    var(--cq-night-soft);
}
.cq-answer-ribbon > div:first-child { display: grid; grid-template-columns: 1fr auto; gap: 0.45rem 0.8rem; align-items: center; }
.cq-answer-ribbon > div:first-child span { grid-column: 1 / -1; display: flex; align-items: center; gap: 0.55rem; color: rgba(255, 255, 255, 0.35); font: 700 0.55rem/1.2 ui-monospace, monospace; letter-spacing: 0.1em; }
.cq-answer-ribbon > div:first-child span i { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--cq-scene-rgb)); box-shadow: 0 0 12px rgba(var(--cq-scene-rgb), 0.65); }
.cq-answer-ribbon > div:first-child strong { color: rgb(var(--cq-scene-rgb)); font-size: 0.8rem; }
.cq-answer-ribbon > div:first-child b { color: rgba(255, 255, 255, 0.35); font: 700 0.6rem/1 ui-monospace, monospace; }
.cq-answer-ribbon > p { color: rgba(255, 255, 255, 0.65); font-size: 0.82rem; line-height: 1.75; }
.cq-answer-ribbon dl { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.cq-answer-ribbon dl div { display: grid; gap: 0.45rem; }
.cq-answer-ribbon dt { color: rgba(255, 255, 255, 0.34); font: 700 0.53rem/1.2 ui-monospace, monospace; letter-spacing: 0.08em; }
.cq-answer-ribbon dd { color: rgba(255, 255, 255, 0.78); font-size: 0.72rem; line-height: 1.45; }
.cq-answer-ribbon dl div:last-child dd { color: var(--cq-amber); }
.cq-answer-ribbon dl > i { color: rgba(255, 255, 255, 0.26); font-style: normal; }
.cq-answer-ribbon.is-updating { animation: cq-ribbon-pulse 0.58s ease both; }

@keyframes cq-word-shift { from { opacity: 0; transform: translate3d(1.2rem, -0.8rem, 0); } to { opacity: 0.16; transform: translate3d(calc(var(--cq-summit-x) * -0.7), calc(var(--cq-summit-y) * -0.7), 0); } }
@keyframes cq-ribbon-pulse { 0% { filter: saturate(0.4); } 100% { filter: none; } }

@media (max-width: 1180px) {
  .cq-summit { min-height: 480px; }
  .cq-summit-question { width: 58%; }
  .cq-summit-proof { left: 24%; }
  .cq-industry-index button { grid-template-columns: 2.5rem minmax(14rem, 0.85fr) 1.15fr 1.5rem; }
  .cq-answer-ribbon { grid-template-columns: 0.45fr 0.85fr 1.2fr; }
}

@media (max-width: 980px) {
  .cq-summit { width: min(100%, 45rem); min-height: 520px; }
  .cq-industry-index button { grid-template-columns: 2.5rem minmax(13rem, 0.85fr) 1.15fr 1.5rem; }
  .cq-answer-ribbon { grid-template-columns: 0.55fr 1fr; }
  .cq-answer-ribbon dl { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .cq-summit { min-height: 570px; }
  .cq-summit-top { top: 0; }
  .cq-summit-word { top: 8%; right: -0.04em; font-size: clamp(7rem, 38vw, 10rem); }
  .cq-cableway { inset: 23% -20% 9% -8%; width: 126%; height: 68%; }
  .cq-summit-question { top: 10%; width: 88%; }
  .cq-summit-result { top: 30%; left: 0; right: auto; justify-items: start; max-width: 55%; text-align: left; }
  .cq-summit-result b { font-size: 3.2rem; }
  .cq-summit-proof { left: 0; bottom: 14%; max-width: 54%; }
  .cq-summit-zone { right: 0; bottom: 14%; max-width: 42%; }
  .cq-summit-stations .station-1 { left: 2%; bottom: 7%; }
  .cq-summit-stations .station-2 { left: 30%; bottom: 31%; }
  .cq-summit-stations .station-3 { left: 58%; top: 51%; }
  .cq-summit-stations .station-4 { right: 0; top: 40%; }
  .cq-summit-stations b { font-size: 0.55rem; }
  .cq-summit-stations em { display: none; }
  .cq-scene-switch button { justify-content: center; min-height: 42px; }
  .cq-industry-index button { grid-template-columns: 2rem 1fr auto; gap: 0.7rem; min-height: 8rem; padding: 0.9rem 0.8rem; }
  .cq-industry-index button > div { grid-column: 2; }
  .cq-industry-index button > p { grid-column: 2 / -1; font-size: 0.82rem; }
  .cq-industry-index button > b { grid-column: 3; grid-row: 1; }
  .cq-answer-ribbon { grid-template-columns: 1fr; gap: 1.2rem; min-height: 0; padding-block: 1.4rem; }
  .cq-answer-ribbon dl { grid-column: auto; grid-template-columns: 1fr; }
  .cq-answer-ribbon dl > i { transform: rotate(90deg); }
}

@media (max-width: 430px) {
  .cq-summit { min-height: 545px; }
  .cq-summit-question { width: 94%; }
  .cq-summit-question strong { font-size: 1rem; }
  .cq-summit-proof { max-width: 58%; }
  .cq-summit-zone { max-width: 39%; }
}

@media (prefers-reduced-motion: reduce) {
  .cq-summit-top i,
  .cq-cable-signal,
  .cq-cable-cabin { animation: none !important; }
  .cq-cable-cabin { display: none; }
}

/* v4: one calm canvas below the hero; dark is reserved for the final conversion area */
.cq-path-section,
.cq-industry-section,
.cq-proof-section,
.cq-faq {
  color: var(--cq-ink);
  background: #f4f2ec;
}

.cq-industry-section,
.cq-proof-section,
.cq-faq {
  border-top: 1px solid rgba(18, 40, 48, 0.1);
}

.cq-path-section { background: linear-gradient(180deg, #f8f6f0 0%, #f4f2ec 100%); }

.cq-industry-section {
  background:
    radial-gradient(circle at 85% 14%, rgba(var(--cq-scene-rgb), 0.045), transparent 24rem),
    #f4f2ec;
}

.cq-answer-ribbon {
  color: var(--cq-ink);
  border-top: 1px solid rgba(18, 40, 48, 0.17);
  border-bottom: 1px solid rgba(18, 40, 48, 0.17);
  background:
    linear-gradient(100deg, rgba(var(--cq-scene-rgb), 0.07), transparent 45%),
    rgba(255, 255, 255, 0.34);
}

.cq-answer-ribbon > div:first-child span { color: #768285; }
.cq-answer-ribbon > div:first-child span i { box-shadow: 0 0 0 5px rgba(var(--cq-scene-rgb), 0.1); }
.cq-answer-ribbon > div:first-child strong { color: #126f65; }
.cq-answer-ribbon > div:first-child b { color: #7a8789; }
.cq-answer-ribbon > p { color: #53656a; }
.cq-answer-ribbon dt { color: #7a8789; }
.cq-answer-ribbon dd { color: #33484e; }
.cq-answer-ribbon dl div:last-child dd { color: #9b6618; }
.cq-answer-ribbon dl > i { color: #9da6a7; }

.cq-proof-section .cq-section-no { color: #14796e; }
.cq-proof-copy > p { color: var(--cq-muted); }
.cq-proof-board {
  border-top-color: rgba(18, 40, 48, 0.2);
  border-left-color: rgba(18, 40, 48, 0.14);
}
.cq-proof-board article {
  border-right-color: rgba(18, 40, 48, 0.14);
  border-bottom-color: rgba(18, 40, 48, 0.14);
  background: rgba(255, 255, 255, 0.16);
}
.cq-proof-board article:nth-child(2),
.cq-proof-board article:nth-child(3) { background: rgba(255, 255, 255, 0.34); }
.cq-proof-board article:hover { background: rgba(255, 255, 255, 0.68); }
.cq-proof-board span { color: #14796e; }
.cq-proof-board p { color: #627276; }
.cq-proof-section .cq-secondary.light {
  color: #14796e;
  border-bottom-color: rgba(20, 121, 110, 0.32);
}
.cq-proof-section .cq-secondary.light:hover { color: #0a514a; border-bottom-color: #0a514a; }

.cq-faq { background: #f4f2ec; }

.cq-contact {
  position: relative;
  background:
    radial-gradient(circle at 78% 18%, rgba(47, 221, 196, 0.08), transparent 26rem),
    var(--cq-night);
}
.cq-contact::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--cq-teal), rgba(47, 221, 196, 0) 42%, rgba(255, 184, 70, 0.78));
}

@media (max-width: 720px) {
  .cq-answer-ribbon { padding-inline: 0.9rem; }
  .cq-proof-board article:nth-child(2),
  .cq-proof-board article:nth-child(3) { background: rgba(255, 255, 255, 0.24); }
}

/* v5: compact editorial rhythm below the viewport-height hero */
.cq-path-section,
.cq-industry-section,
.cq-proof-section,
.cq-contact,
.cq-faq {
  padding-block: clamp(3.25rem, 4.5vw, 4.25rem);
}

.cq-section-head {
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.cq-section-head h2,
.cq-proof-copy h2,
.cq-contact-copy h2,
.cq-section-copy h2 {
  margin-top: 0.75rem;
  font-size: clamp(2.15rem, 3.4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.052em;
}

.cq-proof-copy h2 { font-size: clamp(2.15rem, 3.2vw, 2.9rem); }

.cq-section-head > p,
.cq-section-head-split > p,
.cq-proof-copy > p,
.cq-contact-copy > p { line-height: 1.72; }

.cq-section-head > p { margin-top: 0.9rem; }

.cq-path-flow::before { top: 3.1rem; }
.cq-path-flow li {
  min-height: 10rem;
  padding: 1.05rem 1.15rem;
}
.cq-path-flow i { margin-top: 1.55rem; }
.cq-path-flow h3 { margin-top: 1.25rem; font-size: 1.12rem; }
.cq-path-flow p { margin-top: 0.4rem; line-height: 1.58; }

.cq-industry-index button {
  min-height: 5.75rem;
  padding-block: 0.8rem;
}
.cq-industry-index p { font-size: clamp(0.86rem, 1.15vw, 1rem); }
.cq-answer-ribbon {
  min-height: 8rem;
  padding-block: 1.1rem;
}

.cq-proof-grid,
.cq-contact-grid,
.cq-faq-grid {
  gap: clamp(2.5rem, 5.5vw, 5rem);
}
.cq-proof-grid,
.cq-contact-grid { align-items: center; }
.cq-proof-copy > p,
.cq-contact-copy > p { margin-top: 1rem; }
.cq-proof-section .cq-secondary.light { margin-top: 1.35rem; }
.cq-proof-board article {
  min-height: 10.25rem;
  padding: 1.05rem 1.15rem;
}
.cq-proof-board strong { margin-top: 1.55rem; font-size: 1.05rem; }
.cq-proof-board p { margin-top: 0.5rem; line-height: 1.55; }

.cq-faq-list summary { padding-block: 1rem; }
.cq-faq-list summary::after { top: 0.78rem; }
.cq-faq-list p { padding-bottom: 1rem; }
.cq-inline-link { margin-top: 1.25rem; }

.cq-contact-copy ul { gap: 0.5rem; margin-top: 1.15rem; }
.cq-contact-copy > a { margin-top: 1.25rem; }
.cq-lead-form { padding: clamp(1.25rem, 2.4vw, 1.7rem); }
.cq-form-head { margin-bottom: 1rem; padding-bottom: 0.75rem; }
.cq-form-row + .cq-form-row { margin-top: 0.65rem; }
.cq-form-row input,
.cq-form-row textarea { padding: 0.68rem 0.75rem; }
.cq-lead-form .form-privacy { margin-top: 0.7rem; }
.cq-submit { min-height: 2.9rem; margin-top: 0.75rem; }
.cq-lead-form .form-status { min-height: 1rem; margin-top: 0.35rem; }

@media (max-width: 720px) {
  .cq-path-section,
  .cq-industry-section,
  .cq-proof-section,
  .cq-contact,
  .cq-faq { padding-block: 3.2rem; }

  .cq-section-head h2,
  .cq-proof-copy h2,
  .cq-contact-copy h2,
  .cq-section-copy h2 {
    font-size: clamp(2rem, 8.5vw, 2.45rem);
    line-height: 1.05;
  }

  .cq-section-head { margin-bottom: 1.85rem; }
  .cq-path-flow li { min-height: 8.75rem; }
  .cq-industry-index button { min-height: 6.4rem; }
  .cq-answer-ribbon { padding-block: 1.15rem; }
  .cq-proof-grid,
  .cq-contact-grid,
  .cq-faq-grid { gap: 2.25rem; }
  .cq-proof-board article { min-height: 8.5rem; }
  .cq-proof-board strong { margin-top: 1.2rem; }
}
