/* ===================================================
   BRIDGE QUANTUM · section styles (below the hero)
   Tokens live in /quantum/page.css (.q-page)
   =================================================== */

/* =========================================
   SHARED PIECES
   ========================================= */

.q-k,
.q-dash__k {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--text-tertiary);
}

.q-mono { font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); }

.q-stage,
.q-verdict,
.q-ctx,
.q-result,
.q-dash__main,
.q-dash__float,
.q-console,
.q-offer {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
}

.q-file {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 50px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--text-secondary);
}
.q-file--hand { color: var(--q-ice); border-color: var(--q-ice-line); }

.q-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.q-tags span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-secondary);
}

.q-prio {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}
.q-prio--1 { color: var(--c-broken); background: rgba(255, 77, 79, 0.12); }

.is-good { color: var(--c-pq); }
.is-open { color: var(--c-vuln); }

/* =========================================
   2 · HARVEST NOW, DECRYPT LATER
   ========================================= */
.q-harvest { padding: var(--section-gap) 0; }
.q-harvest__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.q-harvest .section-title { font-size: clamp(30px, 3.4vw, 50px); margin-bottom: clamp(20px, 3vh, 36px); }

.q-harvest__risks { list-style: none; margin: 0; padding: 0; }
.q-harvest__risks li { padding: 16px 0; border-top: 1px solid var(--border-subtle); }
.q-harvest__risks h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.q-harvest__risks p { font-size: 15px; line-height: 1.6; color: var(--text-secondary); max-width: 440px; }

/* the looping scene */
.q-hn { --prog: 0; display: flex; flex-direction: column; gap: 18px; }

.q-hn__phases {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 14px;
}
.q-hn__phases span {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: color 0.5s ease;
}
.q-hn__phases span:nth-child(2) { text-align: center; }
.q-hn__phases span:nth-child(3) { text-align: right; }
.q-hn__phases span.is-on { color: var(--text-primary); }
.q-hn__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.q-hn__bar b {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--q-ice) 0%, var(--q-ice) 55%, var(--c-broken) 100%);
  background-size: 100% 100%;
  transform-origin: left;
  transform: scaleX(var(--prog));
}

.q-hn__card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(142, 197, 255, 0.05), transparent 70%),
    var(--bg-surface);
  padding: 22px 24px 12px;
  transition: border-color 0.6s ease, box-shadow 0.8s ease;
}
.q-hn.is-open .q-hn__card {
  border-color: rgba(255, 77, 79, 0.32);
  box-shadow: 0 40px 90px -40px rgba(255, 77, 79, 0.35);
}
.q-hn__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
  color: var(--text-secondary);
}
.q-hn__head span:first-child { font-weight: 600; color: var(--text-primary); }
.q-hn__age { color: var(--text-tertiary); transition: color 0.4s ease; }
.q-hn__age b { font-weight: 600; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.q-hn.is-stored .q-hn__age b { color: var(--q-ice-bright); }

.q-hn__rows { list-style: none; margin: 0; padding: 0; }
.q-hn__rows li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  height: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease;
}
.q-hn__rows li:last-child { border-bottom: 0; }
.q-hn__rows li.is-in { opacity: 1; transform: none; }
.q-hn.is-stored:not(.is-open) .q-hn__rows li.is-in { filter: saturate(0.6) brightness(0.8); }
.q-hn__text {
  font-family: var(--q-font-code);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.q-hn__rows li.is-plain .q-hn__text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-primary);
}
.q-hn__rows em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--text-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
}
.q-hn__rows li.is-plain em { color: var(--c-broken); border-color: rgba(255, 77, 79, 0.4); background: rgba(255, 77, 79, 0.08); }

/* padlock: closed while encrypted, opens on decrypt */
.q-lock {
  position: relative;
  width: 12px;
  height: 9px;
  margin-top: 5px;
  border-radius: 2.5px;
  border: 1.5px solid currentColor;
  color: rgba(142, 197, 255, 0.7);
  transition: color 0.4s ease;
}
.q-lock::before {
  content: '';
  position: absolute;
  left: 1px;
  bottom: 100%;
  width: 7px;
  height: 7px;
  margin-bottom: 0.5px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  transform-origin: 100% 100%;
  transition: transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.q-hn__rows li.is-plain .q-lock { color: var(--c-broken); }
.q-hn__rows li.is-plain .q-lock::before { transform: translate(5px, -2px) rotate(28deg); }

/* decrypting sweep */
.q-hn__scan {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 70px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 77, 79, 0.08) 70%, rgba(255, 77, 79, 0.5) 99%, transparent);
  transform: translateY(-80px);
}
.q-hn.is-sweep .q-hn__scan { animation: qSweep 1.9s cubic-bezier(0.45, 0, 0.55, 1) forwards; }
@keyframes qSweep {
  0% { opacity: 0; transform: translateY(-80px); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateY(var(--sweep-end, 340px)); }
}
.q-hn.is-reset .q-hn__card > * { transition: opacity 0.5s ease; }
.q-hn.is-reset .q-hn__rows li { opacity: 0; transform: none; }

/* =========================================
   3 · THE THREE QUESTIONS
   ========================================= */
.q-qs { padding: calc(var(--section-gap) * 0.6) 0 var(--section-gap); }
.q-qs__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 620px;
  margin-bottom: clamp(32px, 5vh, 52px);
}
.q-qs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.q-q {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--bg-surface);
  color: inherit;
  transition: border-color 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.q-q:hover { border-color: rgba(142, 197, 255, 0.3); transform: translateY(-3px); }
.q-q__viz {
  position: relative;
  height: 150px;
  margin: 0 -4px 22px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 50%, rgba(142, 197, 255, 0.05), transparent 70%),
    rgba(5, 5, 8, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.q-q h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.q-q p { font-size: 15px; line-height: 1.6; color: var(--text-secondary); flex: 1; }
.q-q__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--q-ice);
}
.q-q__go svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
.q-q:hover .q-q__go svg { transform: translateX(3px); }

/* the dots shared by the three visuals */
.q-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: rgba(234, 234, 240, 0.16);
  transition:
    left 0.9s cubic-bezier(0.6, 0, 0.2, 1),
    top 0.9s cubic-bezier(0.6, 0, 0.2, 1),
    background 0.5s ease,
    opacity 0.5s ease,
    transform 0.5s ease,
    box-shadow 0.5s ease;
}
.q-dot.is-hidden { opacity: 0; transform: scale(0.4); }
.q-dot.is-found { background: var(--q-ice); box-shadow: 0 0 10px rgba(142, 197, 255, 0.55); }
.q-dot.is-found::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(142, 197, 255, 0.6);
  animation: qPing 0.9s ease-out forwards;
}
@keyframes qPing { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.q-dot[data-c].is-class { background: var(--dc); box-shadow: 0 0 10px var(--dc); }
.q-seek {
  position: absolute;
  left: 50%; top: 50%;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 1px solid rgba(142, 197, 255, 0.55);
  box-shadow: inset 0 0 12px rgba(142, 197, 255, 0.12);
  opacity: 0;
  transition: left 0.24s cubic-bezier(0.5, 0, 0.2, 1), top 0.24s cubic-bezier(0.5, 0, 0.2, 1), opacity 0.4s ease;
  pointer-events: none;
}
.q-seek.is-on { opacity: 1; }
@media (max-width: 480px) {
  .q-hn__phases span { font-size: 12.5px; }
  .q-hn__card { padding: 18px 16px 8px; }
  .q-hn__rows li { gap: 10px; }
}
.q-q__lanes {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.q-q__lanes span { border-left: 1px dashed rgba(255, 255, 255, 0.06); }
.q-q__lanes span:first-child { border-left: 0; }
.q-q__viz.is-sorted .q-q__lanes { opacity: 1; }

/* =========================================
   4 · HOW IT WORKS
   ========================================= */
.q-flow { padding: var(--section-gap) 0; }
/* head mirrors the body grid: title over the steps, lead over the stage */
.q-flow__head {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(32px, 4.5vh, 48px);
}
.q-flow__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.q-flow__lead { font-size: 16.5px; line-height: 1.6; color: var(--text-secondary); max-width: 460px; }
@media (max-width: 1024px) {
  .q-flow__head { grid-template-columns: 1fr; gap: 14px; }
}

.q-flow__body {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}

.q-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.q-step {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  color: inherit;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.q-step:hover { background: rgba(255, 255, 255, 0.025); }
.q-step.is-active { background: var(--bg-surface); border-color: rgba(255, 255, 255, 0.07); }
.q-step__t {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}
.q-step.is-active .q-step__t { color: var(--text-primary); }
.q-step__d {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-tertiary);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
}
.q-step.is-active .q-step__d { max-height: 80px; opacity: 1; margin-top: 6px; color: var(--text-secondary); }
.q-step__bar {
  display: block;
  height: 1px;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.06);
  opacity: 0;
}
.q-step.is-active .q-step__bar { opacity: 1; }
.q-step__bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--q-ice);
  transform-origin: left;
  transform: scaleX(0);
}
.q-step.is-active.is-timing .q-step__bar i { animation: qStepBar var(--step-ms, 6000ms) linear forwards; }
@keyframes qStepBar { to { transform: scaleX(1); } }

.q-stage {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(142, 197, 255, 0.06), transparent 70%),
    var(--bg-surface);
}
.q-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 10%, #000 0%, transparent 60%);
          mask-image: radial-gradient(ellipse at 80% 10%, #000 0%, transparent 60%);
  pointer-events: none;
}
.q-stage__panel {
  position: absolute;
  inset: 0;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}
.q-stage__panel.is-active { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.45s ease; }
.q-stage__cap {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
}

.q-stage__panel > * { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; }
.q-stage__panel.is-active > * { opacity: 1; transform: none; }
.q-stage__panel.is-active > *:nth-child(2) { transition-delay: 0.12s; }
.q-stage__panel.is-active > *:nth-child(3) { transition-delay: 0.24s; }

/* map */
.q-org__bu {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  align-self: flex-start;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--q-ice-line);
  font-weight: 600;
  margin-bottom: 18px;
}
.q-org__apps { display: grid; gap: 10px; padding-left: 26px; border-left: 1px dashed rgba(255,255,255,0.12); margin-left: 16px; }
.q-org__app {
  position: relative;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.q-org__app::before {
  content: '';
  position: absolute;
  left: -27px; top: 50%;
  width: 26px; height: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.q-org__app b { font-weight: 600; font-size: 15px; }
.q-org__app:first-child .q-tags span { border-color: rgba(142,197,255,0.25); color: var(--q-ice-bright); }
.q-org { display: flex; flex-direction: column; }

/* collect */
.q-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.q-tools span {
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--text-secondary);
}
.q-guide {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 8, 0.6);
  padding: 18px 20px;
}
.q-guide__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.q-guide__head span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; color: var(--q-ice); }
.q-guide__head b { font-weight: 600; }
.q-guide__steps { margin: 0 0 12px 18px; padding: 0; font-size: 13.5px; color: var(--text-secondary); line-height: 1.7; }
.q-code {
  margin: 0;
  padding: 12px 14px;
  border-radius: 9px;
  background: #07070B;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-primary);
  white-space: pre-wrap;
  word-break: break-word;
}
.q-code__p { color: var(--q-ice); margin-right: 6px; }

/* import */
.q-uploads { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.q-uploads li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.015);
}
.q-uploads b { display: block; font-weight: 600; font-size: 14.5px; }
.q-uploads small { display: block; font-size: 12.5px; color: var(--text-tertiary); margin: 2px 0 9px; }
.q-uploads em { font-style: normal; font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); white-space: nowrap; }
.q-meter { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.q-meter i { display: block; height: 100%; width: 0; background: var(--q-ice); border-radius: 3px; transition: width 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s; }
.q-stage__panel.is-active .q-meter i { width: var(--w); }
.q-uploads li:nth-child(2) .q-meter i { transition-delay: 0.5s; }
.q-uploads li:nth-child(3) .q-meter i { transition-delay: 0.75s; }

/* analyse: merge */
.q-merge { display: grid; grid-template-columns: 1fr 60px 1fr; align-items: center; gap: 8px; }
.q-merge__sightings { display: grid; gap: 10px; }
.q-merge__sightings span {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}
.q-merge__sightings small { display: block; font-family: var(--font-body); font-size: 12px; color: var(--text-tertiary); margin-bottom: 3px; }
.q-merge__arrow {
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), var(--q-ice));
  position: relative;
}
.q-merge__arrow::after {
  content: '';
  position: absolute; right: 0; top: -3px;
  border-left: 6px solid var(--q-ice);
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
}
.q-stage__panel.is-active .q-merge__sightings span { animation: qSight 2.6s ease 0.5s both; }
.q-stage__panel.is-active .q-merge__sightings span:nth-child(1) { --dy: 46px; }
.q-stage__panel.is-active .q-merge__sightings span:nth-child(3) { --dy: -46px; }
@keyframes qSight {
  0% { transform: none; opacity: 1; }
  45% { transform: translateY(var(--dy, 0)) scale(0.96); opacity: 0.85; }
  70%, 100% { transform: none; opacity: 0.55; }
}
.q-finding {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 138, 61, 0.3);
  background: linear-gradient(180deg, rgba(255,138,61,0.07), rgba(255,138,61,0.015));
}
.q-stage__panel.is-active .q-merge .q-finding { animation: qFind 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 1.4s both; }
@keyframes qFind { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
.q-finding__top { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; color: var(--c-vuln); }
.q-finding__top .q-prio { margin-left: auto; }
.q-finding__name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 21px; margin: 10px 0 4px; }
.q-finding small { font-size: 12.5px; color: var(--text-tertiary); }
.q-finding--sm { padding: 14px 16px; }
.q-finding--sm small { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 12.5px; }

/* connect */
.q-link { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.q-link::before {
  content: '';
  position: absolute;
  left: 12%; right: 12%; top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 138, 61, 0.45), var(--q-ice));
}
.q-link > * { position: relative; background-color: var(--bg-surface); }
.q-link__rule {
  position: relative;
  max-width: 190px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed var(--q-ice-line);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--q-ice-bright);
}
.q-link__rule span { display: block; font-size: 12px; letter-spacing: 0; color: var(--text-tertiary); margin-bottom: 3px; }
.q-owner {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--q-ice-line);
  background: rgba(142, 197, 255, 0.04);
}
.q-owner b { display: block; font-weight: 600; font-size: 16px; }
.q-owner small { font-size: 12.5px; color: var(--text-secondary); }
.q-stage__panel.is-active .q-owner { animation: qFind 0.6s ease 0.9s both; }
.q-queue { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text-secondary); }
.q-queue__n {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-primary);
}

/* act */
.q-table { border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.07); overflow: hidden; }
.q-table__row {
  display: grid;
  grid-template-columns: 1.7fr 1.1fr 1fr 0.8fr 0.8fr;
  gap: 10px;
  align-items: center;
  padding: 13px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.q-table__row span:first-child { display: flex; align-items: center; gap: 9px; color: var(--text-primary); }
.q-table__row--head {
  border-top: 0;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--text-tertiary);
}
.q-table__row--head span:first-child { color: var(--text-tertiary); }
.q-status { font-size: 12px; color: var(--text-secondary); white-space: nowrap; }
.q-status::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 7px; background: var(--text-tertiary); vertical-align: 1px; }
.q-status--prog::before { background: var(--c-strengthen); }
.q-status--done::before { background: var(--c-pq); }

/* report */
.q-outputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q-doc {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.q-doc .q-file { grid-row: span 2; }
.q-doc b { font-weight: 600; font-size: 15px; }
.q-doc small { font-size: 12.5px; line-height: 1.5; color: var(--text-tertiary); }
.q-delta { padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.07); }
.q-delta__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; color: var(--text-tertiary); }
.q-delta__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-top: 8px; }
.q-delta__row b { font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -0.02em; }
.q-delta__row span { font-size: 14px; color: var(--text-secondary); margin-right: 14px; }

/* =========================================
   5 · CLASSIFIER
   ========================================= */
.q-judge { padding: var(--section-gap) 0; }
/* head mirrors the body grid: title over the picker, lead over the verdict */
.q-judge__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(32px, 4.5vh, 48px);
}
.q-judge__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 12em;
}
.q-judge__lead { font-size: 16.5px; line-height: 1.6; color: var(--text-secondary); max-width: 440px; }
@media (max-width: 1024px) {
  .q-judge__head { grid-template-columns: 1fr; gap: 14px; }
}

.q-judge__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.q-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 28px;
}
.q-switch__opt {
  padding: 9px 16px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.q-switch__opt.is-on { background: var(--q-ice-dim); color: var(--q-ice-bright); }

.q-algos { display: grid; gap: 18px; }
.q-algos__group > span {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}
.q-algos__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.q-chip {
  --c: var(--c-unknown);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.q-chip::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c);
  transition: background 0.4s ease, transform 0.4s ease;
}
.q-chip:hover { border-color: rgba(255, 255, 255, 0.2); color: var(--text-primary); }
.q-chip.is-on { border-color: var(--q-ice); color: var(--text-primary); background: rgba(142, 197, 255, 0.05); }
.q-chip.is-changed::before { animation: qPop 0.6s ease; }
@keyframes qPop { 40% { transform: scale(1.9); } }

.q-verdict { --vc: var(--c-vuln); padding: 22px 26px 26px; position: sticky; top: 110px; }
.q-spectrum { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-bottom: 26px; }
.q-spectrum span {
  position: relative;
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--text-tertiary);
  transition: color 0.3s ease;
}
.q-spectrum span::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
  transition: background 0.3s ease;
}
.q-spectrum span[data-c="broken"].is-on::before { background: var(--c-broken); }
.q-spectrum span[data-c="vuln"].is-on::before { background: var(--c-vuln); }
.q-spectrum span[data-c="strengthen"].is-on::before { background: var(--c-strengthen); }
.q-spectrum span[data-c="resistant"].is-on::before { background: var(--c-resistant); }
.q-spectrum span[data-c="pq"].is-on::before { background: var(--c-pq); }
.q-spectrum span[data-c="unknown"].is-on::before { background: var(--c-unknown); }
.q-spectrum span.is-on { color: var(--text-primary); }

.q-verdict__main { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.q-verdict__ring {
  position: relative;
  flex: none;
  width: 96px; height: 96px;
  color: var(--vc);
  transition: color 0.4s ease;
}
.q-verdict__ring svg { width: 100%; height: 100%; opacity: 0.85; }
.q-verdict__ring svg circle:first-child { opacity: 0.25; }
.q-verdict__arc { transform-origin: 60px 60px; animation: qSpin 9s linear infinite; }
@keyframes qSpin { to { transform: rotate(360deg); } }
.q-verdict__ring .q-glyph {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(2.6);
}
.q-verdict__use { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; color: var(--text-tertiary); }
.q-verdict__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.2vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 4px 0 6px;
  word-break: break-word;
}
.q-verdict__cls { font-family: var(--font-mono); font-size: 13px; color: var(--vc); transition: color 0.4s ease; }
.q-verdict__facts { margin: 0; display: grid; gap: 16px; padding-top: 20px; border-top: 1px solid var(--border-subtle); }
.q-verdict__facts dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; color: var(--text-tertiary); margin-bottom: 5px; }
.q-verdict__facts dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text-secondary); }
.q-verdict__facts > div:nth-child(2) dd { color: var(--text-primary); }
.q-verdict__flags dd { display: flex; flex-wrap: wrap; gap: 6px; }
.q-verdict__flags dd span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 5px 9px;
  border-radius: 6px;
  color: var(--c-strengthen);
  border: 1px solid rgba(242, 193, 78, 0.35);
  background: rgba(242, 193, 78, 0.06);
}
.q-verdict.is-swap .q-verdict__name,
.q-verdict.is-swap .q-verdict__facts { animation: qSwap 0.45s ease; }
@keyframes qSwap { from { opacity: 0.2; transform: translateY(4px); } to { opacity: 1; transform: none; } }


/* =========================================
   6 · PRIORITY
   ========================================= */
.q-prio-sec { padding: var(--section-gap) 0; }
.q-prio-sec__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.q-prio-sec__lead { font-size: 18px; line-height: 1.6; color: var(--text-secondary); margin-bottom: 32px; max-width: 560px; }

.q-ctx { padding: 22px 24px 8px; }
.q-ctx__finding {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}
.q-ctx__finding b { font-weight: 600; }
.q-ctx__finding span { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--text-tertiary); }
.q-ctx__p {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 24px;
  padding: 0 7px;
  border-radius: 6px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  transition: color 0.3s ease, background 0.3s ease;
}
.q-seg { border: 0; margin: 0; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.04); min-width: 0; }
.q-seg:last-child { border-bottom: 0; }
.q-seg legend { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 10px; padding: 0; }
.q-seg button {
  margin: 0 6px 6px 0;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.q-seg button:hover { color: var(--text-primary); border-color: rgba(255, 255, 255, 0.2); }
.q-seg button.is-on { color: var(--q-ice-bright); border-color: var(--q-ice); background: var(--q-ice-dim); }
.q-seg button[data-v="nr"].is-on { color: var(--c-strengthen); border-color: rgba(242, 193, 78, 0.6); border-style: dashed; background: rgba(242, 193, 78, 0.06); }

.q-result { --pc: var(--c-broken); --pg: rgba(255, 77, 79, 0.16); padding: 28px; position: sticky; top: 110px; overflow: hidden; }
.q-result::before {
  content: '';
  position: absolute;
  top: -140px; right: -140px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pg), transparent 65%);
  transition: background 0.5s ease;
  pointer-events: none;
}
.q-result__top { position: relative; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 18px; }
.q-result__k { flex: 1 0 100%; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; color: var(--text-tertiary); }
.q-result__p {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(80px, 9vw, 128px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--pc);
  transition: color 0.4s ease;
}
.q-result__label { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--text-primary); }
.q-result__why { position: relative; font-size: 16px; line-height: 1.7; color: var(--text-primary); margin-bottom: 20px; }
.q-trace { position: relative; list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--border-subtle); }
.q-trace li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 13.5px;
  color: var(--text-secondary);
}
.q-trace li span { color: var(--text-tertiary); }
.q-trace li span b { font-family: var(--font-body); font-weight: 500; color: var(--text-secondary); min-width: 0; text-align: left; }
.q-trace li em { font-style: normal; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--c-strengthen); border: 1px dashed rgba(242, 193, 78, 0.5); padding: 2px 6px; border-radius: 5px; }
.q-trace li > b { font-family: var(--font-mono); font-weight: 500; font-size: 12.5px; color: var(--text-primary); min-width: 26px; text-align: right; }
.q-result__note { position: relative; font-size: 13.5px; line-height: 1.6; color: var(--c-strengthen); margin-bottom: 10px; }

/* =========================================
   7 · REGISTER / DASHBOARD
   ========================================= */
.q-reg { padding: var(--section-gap) 0 calc(var(--section-gap) * 0.8); overflow: hidden; }
.q-reg__head { max-width: 820px; margin: 0 auto clamp(56px, 8vh, 96px); text-align: center; }
.q-reg__lead { font-size: 18px; line-height: 1.6; color: var(--text-secondary); max-width: 660px; margin: 0 auto; }

.q-dash { position: relative; max-width: 1180px; margin: 0 auto; }
.q-dash__main { max-width: 790px; margin: 0 auto; }
.q-dash::before {
  content: '';
  position: absolute;
  inset: -10% -20%;
  background: radial-gradient(closest-side, rgba(142, 197, 255, 0.07), transparent);
  pointer-events: none;
  z-index: -1;
}
.q-dash__main { padding: 26px 28px 28px; box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.8); }
.q-dash__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.q-dash__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.q-rounds { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.08); }
.q-rounds button {
  padding: 7px 12px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-tertiary);
  cursor: pointer;
}
.q-rounds button.is-on { background: rgba(255, 255, 255, 0.07); color: var(--text-primary); }

.q-dist { display: flex; gap: 3px; height: 12px; margin-bottom: 18px; }
.q-dist i { display: block; height: 100%; border-radius: 3px; transition: flex-grow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); flex: 1 1 0; min-width: 3px; }
.q-dist i[data-c="broken"] { background: var(--c-broken); }
.q-dist i[data-c="vuln"] { background: var(--c-vuln); }
.q-dist i[data-c="strengthen"] { background: var(--c-strengthen); }
.q-dist i[data-c="resistant"] { background: var(--c-resistant); }
.q-dist i[data-c="pq"] { background: var(--c-pq); }
.q-dist i[data-c="unknown"] { background: var(--c-unknown); }
.q-dist__legend { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.q-dist__legend li { display: flex; flex-direction: column; gap: 4px; font-family: var(--font-mono); font-size: 12px; color: var(--text-tertiary); }
.q-dist__legend li .q-glyph { margin-bottom: 2px; }
.q-dist__legend li b { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--text-primary); letter-spacing: -0.01em; }

.q-dash__split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; padding-top: 22px; border-top: 1px solid var(--border-subtle); }
.q-apps ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.q-apps li { display: grid; grid-template-columns: 120px 1fr 34px; gap: 12px; align-items: center; font-size: 13px; color: var(--text-secondary); }
.q-apps li span:last-child { font-family: var(--font-mono); font-size: 12px; color: var(--text-primary); text-align: right; }
.q-bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.q-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--c-vuln), var(--c-broken)); transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.q-trend__svg { display: block; width: 100%; height: 110px; margin-top: 14px; }
.q-trend__base { stroke: rgba(255, 255, 255, 0.1); stroke-width: 1; }
.q-trend__b { fill: rgba(255, 255, 255, 0.08); transition: y 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), height 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), fill 0.4s ease; }
.q-trend__b.is-on { fill: var(--c-vuln); }
.q-trend__labels { display: flex; justify-content: space-around; font-family: var(--font-mono); font-size: 12px; color: var(--text-tertiary); margin-top: 6px; }

.q-dash__float { position: absolute; padding: 16px 18px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.85); background: rgba(12, 12, 18, 0.96); }
.q-dash__float--a { right: 0; top: 56px; width: 214px; }
.q-dash__float--b { left: -24px; bottom: 40px; width: 214px; }
.q-dash__delta { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.q-dash__delta b { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; min-width: 62px; }
.q-dash__delta span { font-size: 13px; color: var(--text-secondary); }
.q-attn { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.q-attn li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-secondary); }


/* =========================================
   8 · DATA SOURCES
   ========================================= */
.q-src { padding: var(--section-gap) 0; }
.q-src__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.q-src__lead { font-size: 18px; line-height: 1.6; color: var(--text-secondary); margin-bottom: 32px; }
.q-src__detail {
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid var(--q-ice-line);
  background: rgba(142, 197, 255, 0.03);
}
.q-src__detail { position: relative; overflow: hidden; }
.q-src__detail-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.q-src__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--q-ice-line);
  background: rgba(142, 197, 255, 0.06);
}
.q-src__icon svg { width: 16px; height: 16px; fill: none; stroke: var(--q-ice-bright); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.q-src__detail-k { display: block; font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.015em; }
.q-src__detail p { font-size: 15px; line-height: 1.65; color: var(--text-secondary); }

/* stacked items: all share one grid cell, so the box height never changes */
.q-src__stack { display: grid; }
.q-src__item {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  filter: blur(2px);
  transition: opacity 0.22s ease, transform 0.3s ease, filter 0.22s ease, visibility 0s linear 0.3s;
}
.q-src__item.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;
  transition: opacity 0.4s ease 0.12s, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.12s, filter 0.4s ease 0.12s, visibility 0s;
}

.q-orbit { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; margin: 0 auto; }
.q-orbit::before,
.q-orbit::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.q-orbit::before { inset: 9%; border-style: dashed; animation: qSpin 140s linear infinite; }
.q-orbit::after { inset: 31%; border-color: rgba(142, 197, 255, 0.12); }
.q-orbit__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.q-orbit__lines line { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; transition: stroke 0.3s ease; }
.q-orbit__lines line.is-on { stroke: rgba(142, 197, 255, 0.4); }
.q-orbit__lines circle { fill: var(--q-ice); }
.q-orbit__core {
  position: absolute;
  left: 50%; top: 50%;
  width: 34%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  background: radial-gradient(circle, rgba(142, 197, 255, 0.1), var(--bg-surface) 70%);
  border: 1px solid var(--q-ice-line);
  box-shadow: 0 0 80px -10px rgba(142, 197, 255, 0.2);
}
.q-logo { display: block; width: auto; flex: none; }
.q-orbit__core .q-logo { height: 30px; margin-bottom: 4px; }
.q-bound__bq .q-logo { height: 28px; margin: 0 auto 10px; }
.q-orbit__core b { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.q-orbit__core small { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; color: var(--text-tertiary); }

.q-node {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 120px;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.q-node svg {
  width: 52px; height: 52px;
  padding: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-surface);
  fill: none;
  stroke: var(--text-secondary);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.3s ease;
}
.q-node span { font-size: 12.5px; line-height: 1.3; color: var(--text-tertiary); text-align: center; transition: color 0.3s ease; }
.q-node:hover svg { border-color: rgba(255, 255, 255, 0.25); stroke: var(--text-primary); }
.q-node.is-on svg { border-color: var(--q-ice); stroke: var(--q-ice-bright); box-shadow: 0 0 0 5px rgba(142, 197, 255, 0.08), 0 0 30px rgba(142, 197, 255, 0.25); }
.q-node.is-on span { color: var(--text-primary); }

/* =========================================
   9 · SCANNER
   ========================================= */
.q-scan { padding: var(--section-gap) 0; }
.q-scan__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.q-scan .section-title { font-size: clamp(32px, 3.8vw, 54px); }
.q-scan__lead { font-size: 17px; line-height: 1.65; color: var(--text-secondary); margin-bottom: 26px; }
.q-scan__points { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.q-scan__points li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.q-scan__points li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid var(--q-ice);
  background: radial-gradient(circle, var(--q-ice) 0 2px, transparent 2.5px);
}
.q-scan__points b { color: var(--text-primary); font-weight: 600; }
.q-scan__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }

/* ---- the scanner panel: plain surface, same as the other diagrams ---- */
.q-console { position: relative; overflow: hidden; }

.q-console__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.q-console__title { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.q-console__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}
.q-console__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--q-ice); }
.q-console.is-done .q-console__status i { background: var(--c-pq); }
.q-console__pct { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.q-console__prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; }
.q-console__prog i {
  display: block;
  height: 100%;
  width: var(--pct, 0%);
  background: rgba(142, 197, 255, 0.5);
  transition: width 0.5s ease;
}

.q-console__body { padding: 6px 22px 14px; }
.q-console__row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.q-console__row.is-in { opacity: 1; transform: none; }
.q-console__host b { display: block; font-family: var(--q-font-code); font-weight: 500; font-size: 13px; color: var(--text-primary); }
.q-console__host small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--text-tertiary); }
.q-console__alg { font-family: var(--q-font-code); font-size: 12.5px; color: var(--text-secondary); }
.q-console__row em {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.q-console__row em::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.q-console__row[data-cls="pq"] em { color: var(--c-pq); }
.q-console__row[data-cls="vuln"] em { color: var(--c-vuln); }
.q-console__row[data-cls="broken"] em { color: var(--c-broken); }
.q-console__sum { padding-top: 14px; font-size: 13px; color: var(--text-tertiary); opacity: 0; transition: opacity 0.4s ease; }
.q-console__sum.is-in { opacity: 1; }

.q-console__out {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 22px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  opacity: 0.3;
  transition: opacity 0.5s ease;
}
.q-console__out.is-in { opacity: 1; }
.q-console__out .q-file { width: 38px; height: 44px; }
.q-console__out b { display: block; font-family: var(--q-font-code); font-weight: 500; font-size: 13px; }
.q-console__out small { font-size: 12.5px; color: var(--text-tertiary); }
.q-console__flow { position: relative; height: 1px; background: rgba(255, 255, 255, 0.14); }
.q-console__dest {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}
.q-console__dest .q-logo { height: 18px; }

/* =========================================
   10 · ROLES
   ========================================= */
.q-roles { padding: var(--section-gap) 0; }
.q-roles__head { max-width: 820px; margin-bottom: clamp(36px, 5vh, 56px); }
.q-roles__lead { font-size: 18px; line-height: 1.6; color: var(--text-secondary); max-width: 660px; }
.q-roles__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.q-roles__tabs button {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: transparent;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
}
.q-roles__tabs button:hover { color: var(--text-primary); }
.q-roles__tabs button.is-on { color: #04070D; background: var(--q-ice); border-color: var(--q-ice); }
.q-roles__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--bg-surface);
}
.q-roles__scope { display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--q-ice); margin-bottom: 14px; }
.q-roles__text p { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 22px; }
/* stacked role items: all share one grid cell, so the panel height never changes */
.q-roles__text { display: grid; align-self: center; }
.q-roles__item {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}
.q-roles__item.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.4s ease 0.1s, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s, visibility 0s;
}
.q-roles__can { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.q-roles__can li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-secondary); }
.q-roles__can li::before { content: ''; width: 14px; height: 14px; flex: none; border-radius: 50%; border: 1px solid var(--q-ice); background: radial-gradient(circle, var(--q-ice) 0 2.5px, transparent 3px); }
.q-roles__can li.is-no { color: var(--text-tertiary); }
.q-roles__can li.is-no::before { border-color: rgba(255, 255, 255, 0.18); background: linear-gradient(45deg, transparent 46%, rgba(255,255,255,0.3) 46% 54%, transparent 54%); }

.q-tree { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.q-tree__root,
.q-tree__bu span,
.q-tree__bu i {
  display: block;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-style: normal;
  font-size: 13px;
  text-align: center;
  color: var(--text-tertiary);
  opacity: 0.45;
  transition: all 0.4s ease;
}
.q-tree__root { font-weight: 600; position: relative; }
.q-tree__root::after { content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 14px; background: rgba(255, 255, 255, 0.12); }
.q-tree__bus { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.q-tree__bu { display: flex; flex-direction: column; gap: 8px; }
.q-tree__bu span { font-weight: 600; }
.q-tree__bu i { font-size: 12.5px; background: rgba(255, 255, 255, 0.015); }
.q-tree [data-n].is-in { opacity: 1; color: var(--text-primary); border-color: var(--q-ice-line); background: rgba(142, 197, 255, 0.06); }
.q-tree [data-n].is-ro { opacity: 1; color: var(--text-primary); border-style: dashed; border-color: rgba(255, 255, 255, 0.3); background: transparent; }
.q-tree__legend { display: flex; gap: 18px; font-family: var(--font-mono); font-size: 12px; color: var(--text-tertiary); }

/* =========================================
   11 · TRUST
   ========================================= */
.q-trust { padding: var(--section-gap) 0; }
.q-trust__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-bottom: clamp(56px, 8vh, 96px); }
.q-trust__lead { font-size: 18px; line-height: 1.6; color: var(--text-secondary); }

.q-bound { display: grid; grid-template-columns: 1fr 120px 0.9fr; align-items: center; }
.q-bound__net {
  position: relative;
  padding: 20px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
}
.q-bound__k { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; color: var(--text-tertiary); }
.q-bound__hosts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.q-bound__hosts i { aspect-ratio: 1.6; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.02); }
.q-bound__team { font-size: 12.5px; color: var(--text-secondary); }
.q-bound__pass { text-align: center; padding: 0 10px; }
.q-bound__pass span { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-tertiary); margin-bottom: 10px; }
.q-bound__beam { position: relative; height: 1px; background: rgba(142, 197, 255, 0.25); }
.q-bound__beam i { position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 2px; background: var(--q-ice); animation: qBeam 3s linear infinite; opacity: 0; }
.q-bound__beam i:nth-child(2) { animation-delay: 1s; }
.q-bound__beam i:nth-child(3) { animation-delay: 2s; }
@keyframes qBeam { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 7px); opacity: 0; } }
@keyframes qBeamV { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: calc(100% - 7px); opacity: 0; } }
.q-bound__bq {
  padding: 24px 20px;
  border-radius: 18px;
  border: 1px solid var(--q-ice-line);
  background: radial-gradient(circle at 50% 0%, rgba(142, 197, 255, 0.1), transparent 70%), var(--bg-surface);
  text-align: center;
}
.q-bound__bq b { display: block; font-weight: 600; font-size: 15px; }
.q-bound__bq small { font-size: 12.5px; color: var(--text-tertiary); }

.q-trust__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border-subtle); }
.q-trust__list li { padding: 28px 28px 28px 0; display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid var(--border-subtle); }
.q-trust__list li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--border-subtle); }
.q-trust__list b { font-weight: 600; font-size: 16px; }
.q-trust__list span { font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); }


/* =========================================
   13 · TWO WAYS TO START
   ========================================= */
.q-start { padding: calc(var(--section-gap) * 0.4) 0 var(--section-gap); }
.q-start .section-title { margin-bottom: clamp(32px, 5vh, 56px); }
.q-start__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.q-offer { position: relative; padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; overflow: hidden; }
.q-offer--service {
  border-color: var(--q-ice-line);
  background: radial-gradient(500px 300px at 100% 0%, rgba(142, 197, 255, 0.1), transparent 70%), var(--bg-surface);
}
.q-offer h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 14px; }
.q-offer > p { font-size: 16px; line-height: 1.65; color: var(--text-secondary); margin-bottom: 26px; }
.q-offer ul { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.q-offer li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.55; color: var(--text-primary); }
.q-offer li::before { content: ''; position: absolute; left: 1px; top: 7px; width: 10px; height: 5px; border-left: 1.5px solid var(--q-ice); border-bottom: 1.5px solid var(--q-ice); transform: rotate(-45deg); }
.q-offer--platform li::before { border-color: var(--text-secondary); }
.q-offer .btn { align-self: flex-start; }

/* =========================================
   14 · FAQ
   ========================================= */
.q-faqs { padding: var(--section-gap) 0; }
.q-faqs__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vh, 44px);
}
.q-faqs__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.q-faqs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.q-faqs__col { display: grid; gap: 12px; }

.q-faq {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--bg-surface);
  transition: border-color 0.3s ease, background 0.4s ease;
}
.q-faq:hover { border-color: rgba(255, 255, 255, 0.14); }
.q-faq.is-open {
  border-color: rgba(142, 197, 255, 0.22);
  background: linear-gradient(180deg, rgba(142, 197, 255, 0.045), rgba(142, 197, 255, 0) 70%), var(--bg-surface);
}
.q-faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
}
.q-faq summary::-webkit-details-marker { display: none; }
.q-faq summary:focus-visible { outline: 2px solid var(--q-ice); outline-offset: 3px; border-radius: 12px; }
.q-faq summary i {
  position: relative;
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.q-faq summary i::before,
.q-faq summary i::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 1.5px;
  margin: -0.75px 0 0 -5px;
  border-radius: 1px;
  background: var(--text-secondary);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.3s ease;
}
.q-faq summary i::after { transform: rotate(90deg); }
.q-faq.is-open summary i { border-color: var(--q-ice-line); background: var(--q-ice-dim); transform: rotate(180deg); }
.q-faq.is-open summary i::before,
.q-faq.is-open summary i::after { background: var(--q-ice-bright); }
.q-faq.is-open summary i::after { transform: rotate(0deg); }
.q-faq__a { overflow: hidden; }
.q-faq__a p {
  padding: 0 22px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* =========================================
   15 · CTA
   ========================================= */
.q-cta { position: relative; padding: clamp(120px, 18vh, 200px) 24px; text-align: center; overflow: hidden; }
.q-cta__rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.q-cta__rings i {
  position: absolute;
  left: 0; top: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(142, 197, 255, 0.12);
}
.q-cta__rings i:nth-child(1) { width: 420px; height: 420px; border-color: rgba(142, 197, 255, 0.2); }
.q-cta__rings i:nth-child(2) { width: 640px; height: 640px; border-style: dashed; animation: qSpinC 140s linear infinite; }
.q-cta__rings i:nth-child(3) { width: 900px; height: 900px; border-color: rgba(255, 255, 255, 0.04); }
@keyframes qSpinC { to { transform: translate(-50%, -50%) rotate(360deg); } }
.q-cta__inner { position: relative; max-width: 760px; margin: 0 auto; }
.q-cta__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 6.4vw, 96px); letter-spacing: -0.045em; line-height: 1; margin-bottom: 22px; }
.q-cta__sub { font-size: 18px; line-height: 1.6; color: var(--text-secondary); max-width: 520px; margin: 0 auto 36px; }
.q-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 26px; }
.q-cta__fallback { font-size: 14px; color: var(--text-tertiary); }
.q-cta__fallback a { color: var(--text-secondary); border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.q-cta__fallback a:hover { color: var(--text-primary); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1200px) {
  .q-dash { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 820px; }
  .q-dash__main { grid-column: 1 / -1; max-width: none; width: 100%; }
  .q-dash__float { position: relative; inset: auto; width: auto; }
}

@media (max-width: 1024px) {
  .q-harvest__grid,
  .q-flow__body,
  .q-judge__body,
  .q-prio-sec__grid,
  .q-src__grid,
  .q-scan__grid,
  .q-roles__panel,
  .q-trust__top,
  .q-faqs__grid { grid-template-columns: 1fr; }
  .q-faqs__col { display: contents; }
  .q-faq { order: var(--o); }
  .q-qs__grid { grid-template-columns: 1fr; max-width: 560px; }
  .q-verdict, .q-result { position: relative; top: 0; }
  .q-steps { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: none; }
  .q-steps::-webkit-scrollbar { display: none; }
  .q-steps li { flex: 0 0 auto; }
  .q-step { white-space: nowrap; padding: 10px 14px; }
  .q-step__d { display: none; }
  .q-step__bar { margin-top: 8px; }
  .q-trust__list { grid-template-columns: repeat(2, 1fr); }
  .q-trust__list li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .q-trust__list li:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--border-subtle); }
  .q-orbit { max-width: 520px; }
}

@media (max-width: 768px) {
  .q-stage { min-height: 540px; }
  .q-merge { grid-template-columns: 1fr; }
  .q-merge__arrow { width: 1px; height: 28px; margin: 0 auto; background: linear-gradient(180deg, rgba(255,255,255,0.05), var(--q-ice)); }
  .q-merge__arrow::after { right: -3px; top: auto; bottom: 0; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-top: 6px solid var(--q-ice); border-bottom: 0; }
  .q-stage__panel.is-active .q-merge__sightings span { animation: none; }
  .q-link { grid-template-columns: 1fr; }
  .q-link__rule { max-width: none; }
  .q-table__row { grid-template-columns: 1.6fr 1fr; }
  .q-table__row span:nth-child(2), .q-table__row span:nth-child(4), .q-table__row span:nth-child(5) { display: none; }
  .q-outputs { grid-template-columns: 1fr; }
  .q-spectrum span { font-size: 0; padding-top: 6px; }
  .q-verdict { padding: 20px; }
  .q-verdict__ring { width: 72px; height: 72px; }
  .q-dash { grid-template-columns: 1fr; }
  .q-dist__legend { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .q-dash__split { grid-template-columns: 1fr; }
  .q-apps li { grid-template-columns: 100px 1fr 30px; }
  .q-dash__bar { flex-wrap: wrap; }
  .q-dash__main { padding: 20px; }
  .q-orbit { max-width: 360px; }
  .q-node { width: 64px; }
  .q-node svg { width: 44px; height: 44px; padding: 12px; }
  .q-node span { display: none; }
  .q-orbit__core small { display: none; }
  .q-orbit__core b { font-size: 13px; }
  .q-console__row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .q-console__alg { grid-row: 2; }
  .q-console__row em { grid-row: 1 / span 2; grid-column: 2; }
  .q-console__out { grid-template-columns: auto 1fr; }
  .q-console__flow { display: none; }
  .q-console__dest { grid-column: 1 / -1; justify-self: start; }
  .q-tree__bus { grid-template-columns: 1fr; }
  .q-tree__bu { flex-direction: row; flex-wrap: wrap; }
  .q-tree__bu span { flex: 1 0 100%; }
  .q-tree__bu i { flex: 1 1 0; }
  .q-bound { grid-template-columns: 1fr; gap: 16px; }
  .q-bound__hosts i { aspect-ratio: 2.6; }
  .q-bound__beam { width: 1px; height: 40px; margin: 0 auto; }
  .q-bound__beam i { left: -3px; animation-name: qBeamV; }
  .q-trust__list { grid-template-columns: 1fr; }
  .q-trust__list li, .q-trust__list li:nth-child(2n) { padding: 22px 0; border-left: 0; }
  .q-start__grid { grid-template-columns: 1fr; }
  .q-offer .btn { align-self: stretch; justify-content: center; }
  .q-cta__actions .btn { flex: 1 1 100%; justify-content: center; }
  .q-cta__rings i:nth-child(1) { width: 300px; height: 300px; }
  .q-cta__rings i:nth-child(2) { width: 460px; height: 460px; }
}

@media (prefers-reduced-motion: reduce) {
  .q-bound__beam i, .q-console__status i, .q-verdict__arc, .q-orbit::before, .q-cta__rings i,
  .q-merge__sightings span, .q-finding, .q-owner { animation: none !important; }
}

/* Real code, ciphertext and file artefacts keep a monospace (Geist Mono) */
.q-code, .q-hn__text, .q-console__row, .q-console__out b, .q-merge__sightings span,
.q-finding--sm small, .q-link__rule, .q-file, .s-sheet__code { font-family: var(--q-font-code); }
.q-merge__sightings small { font-family: var(--font-body); }
