/* ═══ INDEX PAGE — Variables + Reset + Nav + Sections + Hero ═══ */
/* These override quantos-shared.css where needed for index page */

:root {
  --nav-h: 56px;
  --page-max: 1200px;
  --sec-pad: 80px;
}

/* ═══ SECTIONS ═══ */
.s { padding: var(--sec-pad) 0; }
.s__c { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.s__h {
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.08; letter-spacing: -0.04em;
  font-weight: 500; color: var(--ink-1);
  margin: 0 0 16px; text-wrap: balance;
}
.s__h em { font-style: normal; color: var(--em); }
.s__p {
  font-size: 16px; line-height: 1.6;
  color: var(--ink-3); max-width: 560px; margin: 0 auto;
}
.s__p strong { color: var(--ink-2); font-weight: 500; }

/* ═══ HERO ═══ */
.hero { padding: calc(var(--nav-h) + 72px) 0 0; }
.hero__c { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__text { max-width: 760px; margin-bottom: 64px; }
.hero__h1 {
  font-size: clamp(36px, 4.2vw, 48px);
  line-height: 1.1; letter-spacing: -0.04em;
  font-weight: 600; color: #fff; margin: 0 0 24px;
  text-wrap: balance;
}
.hero__subrow {
  display: flex; align-items: baseline; justify-content: space-between;
  width: 100%; max-width: 760px; flex-wrap: wrap; gap: 16px;
}
.hero__sub { font-size: 14px; color: rgba(255,255,255,0.65); margin: 0; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--em); white-space: nowrap;
}
.hero__pill::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--em); flex-shrink: 0;
}
.hero__pill span { transition: transform 160ms ease; }
.hero__pill:hover span { transform: translateX(3px); }
.hero__product { width: 92%; max-width: 1100px; margin: 0 auto; }
.hero__shot {
  position: relative; aspect-ratio: 16 / 10.58;
  background: #111114; overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 24px 64px -16px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.06);
}
.hero__shot img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  opacity: 0; transition: opacity 500ms ease;
}
.hero__shot img.active { opacity: 1; }
.hero__dots { display: flex; justify-content: center; gap: 6px; padding: 24px 0 0; }
.hero__dots button {
  width: 24px; height: 2px; border-radius: 1px;
  background: rgba(255,255,255,0.08);
  transition: background 200ms ease, width 200ms ease;
}
.hero__dots button.active { background: var(--em); width: 36px; }

/* ═══ STATS ═══ */
.stats { padding: 24px 0 0; }
.stats__row { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.stats__item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stats__val { font-family: 'IBM Plex Mono', monospace; font-size: 16px; font-weight: 600; color: var(--ink-1); }
.stats__val--em { color: var(--em); }
.stats__label { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); }

/* ═══ PROBLEM ═══ */
.problems { display: flex; flex-direction: column; gap: 16px; max-width: 800px; margin: 0 auto; }
.prob {
  padding: 32px; border: 1px solid var(--line); border-radius: 12px;
  display: flex; gap: 32px; align-items: flex-start;
}
.prob__cost { font-family: 'IBM Plex Mono', monospace; font-size: 28px; font-weight: 600; color: var(--red); letter-spacing: -0.02em; flex-shrink: 0; min-width: 120px; }
.prob__cost-label { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); display: block; margin-bottom: 4px; }
.prob__body h3 { font-size: 17px; font-weight: 600; color: var(--ink-1); margin: 0 0 8px; letter-spacing: -0.01em; line-height: 1.35; }
.prob__body p { font-size: 14px; color: var(--ink-3); line-height: 1.6; margin: 0 0 12px; }
.prob__bridge { font-size: 14px; color: var(--em); font-weight: 500; display: flex; align-items: flex-start; gap: 8px; }
.prob__bridge::before { content: '→'; flex-shrink: 0; }

/* ═══ VS ═══ */
.vs__wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.vs { width: 100%; min-width: 860px; border-collapse: collapse; }
.vs th, .vs td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.vs thead th { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); background: rgba(255,255,255,0.02); }
.vs thead th.vs__hero { color: var(--em); }
.vs thead th span { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-5); margin-top: 2px; }
.vs thead th.vs__hero span { color: var(--em-40); }
.vs tbody tr:last-child td { border-bottom: none; }
.vs__cap { font-size: 13px; font-weight: 600; color: var(--ink-1); width: 26%; }
.vs__cell { font-size: 13px; color: var(--ink-3); }
.vs__cell.hero { color: var(--em-hi); font-weight: 500; }
.vs__mark { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.vs__mark--no { background: var(--red); opacity: 0.5; }
.vs__mark--partial { background: var(--amber); opacity: 0.7; }
.vs__mark--yes { background: var(--em); }
.vs__em { color: var(--em); }
.vs__legend { margin-top: 12px; text-align: center; font-size: 11px; color: var(--ink-4); }

/* ═══ TRUST ═══ */
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.trust__cell { background: var(--bg); padding: 28px 24px; }
.trust__cell h4 { font-size: 15px; font-weight: 600; color: var(--ink-1); margin: 0 0 8px; }
.trust__cell p { font-size: 13px; color: var(--ink-3); line-height: 1.55; margin: 0; }

/* ═══ PILOTS ═══ */
.proof__row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.proof__stat { padding: 28px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.proof__stat:last-child { border-right: none; }
.proof__stat-val { font-family: 'IBM Plex Mono', monospace; font-size: 28px; font-weight: 600; color: var(--em); }
.proof__stat-label { font-size: 12px; color: var(--ink-3); line-height: 1.4; }
.proof__pilot { margin-top: 20px; padding: 28px 32px; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.proof__pilot-text { flex: 1; min-width: 280px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.proof__pilot-text b { color: var(--ink-1); font-weight: 600; }

/* ═══ CTA ═══ */
.cta { padding: var(--sec-pad) 0; text-align: center; }
.cta__h { font-size: clamp(26px, 3vw, 38px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.15; color: var(--ink-1); margin: 0 0 16px; }
.cta__h em { font-style: normal; color: var(--em); }
.cta__p { font-size: 16px; color: var(--ink-3); max-width: 520px; margin: 0 auto 32px; line-height: 1.6; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ═══ OVERRIDES ═══ */
#governance .trust__cell { background: var(--bg); }
.s:first-of-type { padding-top: 56px; }
.arch.sec { background: var(--bg); }

/* ═══ MOBILE ═══ */
@media (max-width: 760px) {
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .hero__h1 { font-size: clamp(26px, 7vw, 36px); }
  .hero__subrow { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero__sub { white-space: normal; }
  .hero__product { width: 100%; }
}
@media (max-width: 640px) {
  .prob { padding: 20px; flex-direction: column; gap: 16px; }
  .prob__cost { font-size: 22px; min-width: 0; }
  .s__h { font-size: clamp(22px, 6vw, 30px); }
  .s__p { font-size: 14px; }
  .s__c { margin-bottom: 28px; }
  .trust__grid { grid-template-columns: 1fr; }
  .proof__row { grid-template-columns: 1fr 1fr; }
  .proof__stat-val { font-size: 20px; }
  .cta__h { font-size: clamp(22px, 6vw, 30px); }
  .cta__actions { flex-direction: column; align-items: stretch; }
  .cta__actions .btn { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   QUANTOS — Linear-exact global stylesheet
   One file. Zero inline styles. Pure black. Total discipline.
   ═══════════════════════════════════════════════════════════════ */


/* ═══ INTERACTIVE MODULE STYLES (DET, FVR, CALC, VOL) ═══ */
.det { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.det__bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.det__bar-title { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.det__bar-title::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--em); }
.det__bar-badge { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--em); padding: 3px 8px; border-radius: 99px; border: 1px solid var(--em-20); }
.det__grid { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .det__grid { grid-template-columns: 1fr; } }
.det__col { padding: 24px; border-right: 1px solid var(--line); }
.det__col:last-child { border-right: none; }
@media (max-width: 760px) { .det__col { border-right: none; border-bottom: 1px solid var(--line); } .det__col:last-child { border-bottom: none; } }
.det__col-h { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 12px; }
.det__col-h b { color: var(--ink-1); }
.det__run { padding: 14px; background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 8px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; line-height: 1.7; color: var(--ink-3); min-height: 200px; }
.det__run-line { display: flex; gap: 10px; padding: 1px 0; opacity: 0; transform: translateY(2px); transition: opacity 200ms ease, transform 200ms ease; }
.det__run-line.in { opacity: 1; transform: translateY(0); }
.det__run-k { color: var(--ink-5); flex-shrink: 0; min-width: 40px; }
.det__run-v { color: var(--ink-2); } .det__run-v b { color: var(--ink-1); } .det__run-v em { color: var(--em); font-style: normal; } .det__run-v .red { color: var(--red); }
.det__hash { margin-top: 14px; padding: 12px; border-radius: 8px; background: var(--em-08); border: 1px solid var(--em-20); font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--em-hi); word-break: break-all; line-height: 1.5; opacity: 0; transition: opacity 300ms ease; }
.det__hash.in { opacity: 1; } .det__hash.mismatch { background: var(--red-dim); border-color: rgba(239,68,68,0.3); color: #ff9288; }
.det__hash-label { font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-4); display: block; margin-bottom: 4px; }
.det__verdict { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--em-08); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: 'IBM Plex Mono', monospace; opacity: 0; transition: opacity 400ms ease; }
.det__verdict.in { opacity: 1; } .det__verdict.mismatch { background: var(--red-dim); }
.det__verdict-l { font-size: 13px; font-weight: 600; color: var(--em-hi); } .det__verdict.mismatch .det__verdict-l { color: #ff9288; }
.det__verdict-r { font-size: 11px; letter-spacing: 0.1em; color: var(--ink-3); text-transform: uppercase; }
.det__controls { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.det__controls-help { margin-left: auto; font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--ink-4); }

/* FVR */
.fvr__strip { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.fvr__strip-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); }
.fvr__strip-bar b { color: var(--em); }
.fvr__pill-accuracy { color: var(--em); }
.fvr__table { width: 100%; border-collapse: collapse; font-family: 'IBM Plex Mono', monospace; font-size: 12px; }
.fvr__table th { text-align: left; padding: 12px 20px; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-5); border-bottom: 1px solid var(--line); }
.fvr__table th:last-child { text-align: right; }
.fvr__table td { padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.fvr__table td:last-child { text-align: right; }
.fvr__table tr:last-child td { border-bottom: none; }
.fvr__table td b { color: var(--ink-1); font-weight: 600; }
.fvr__date { color: var(--ink-4); font-size: 11px; } .fvr__ind { color: var(--ink-4); } .fvr__signal { color: var(--ink-1); }
.fvr__pred b { color: var(--em-hi); }
.fvr__err { font-weight: 600; } .fvr__err.good { color: var(--em); } .fvr__err.ok { color: var(--amber); } .fvr__err.bad { color: var(--red); }
.fvr__foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; gap: 24px; flex-wrap: wrap; font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--ink-4); }
.fvr__foot-stat { display: inline-flex; align-items: baseline; gap: 6px; }
.fvr__foot-stat b { color: var(--ink-1); font-weight: 600; font-size: 14px; }
.fvr__foot-stat em { color: var(--em); font-style: normal; font-weight: 600; font-size: 14px; }
.fvr__foot-stat:last-child { margin-left: auto; }

/* CALC */
.calc__frame { display: grid; grid-template-columns: 1fr 1.2fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
@media (max-width: 860px) { .calc__frame { grid-template-columns: 1fr; } }
.calc__inputs { padding: 32px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 860px) { .calc__inputs { border-right: none; border-bottom: 1px solid var(--line); } }
.calc__field { display: flex; flex-direction: column; gap: 10px; }
.calc__field-label { font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-4); }
.calc__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.calc__chip { padding: 8px 14px; font-size: 13px; font-weight: 500; color: var(--ink-3); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; transition: all 140ms ease; }
.calc__chip:hover { color: var(--ink-1); border-color: var(--line-2); }
.calc__chip.active { background: var(--em); color: #0a0a0b; border-color: var(--em); }
.calc__slider { width: 100%; accent-color: var(--em); }
.calc__slider-val { display: flex; justify-content: space-between; margin-top: 10px; font-family: 'IBM Plex Mono', monospace; }
.calc__slider-val-big { font-size: 20px; font-weight: 600; color: var(--em); }
.calc__slider-val-sub { font-size: 10px; color: var(--ink-4); letter-spacing: 0.12em; text-transform: uppercase; }
.calc__note { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--ink-4); line-height: 1.6; }
.calc__note b { color: var(--ink-3); }
.calc__results { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.calc__cost { padding: 20px; border: 1px solid rgba(239,68,68,0.2); border-radius: 10px; }
.calc__cost-label { font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.calc__cost-val { font-family: 'IBM Plex Mono', monospace; font-size: clamp(28px, 4vw, 44px); font-weight: 600; color: var(--red); line-height: 1; }
.calc__cost-sub { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--ink-4); margin-top: 10px; line-height: 1.5; }
.calc__cost-sub b { color: var(--ink-3); }
.calc__surface { padding: 20px; border: 1px solid var(--em-20); border-radius: 10px; background: var(--em-08); }
.calc__surface-label { font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--em); margin-bottom: 8px; }
.calc__surface-val { font-family: 'IBM Plex Mono', monospace; font-size: clamp(24px, 3.4vw, 36px); font-weight: 600; color: var(--em); line-height: 1; }
.calc__surface-sub { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--ink-3); margin-top: 10px; line-height: 1.5; }
.calc__surface-sub b { color: var(--ink-1); font-weight: 600; }
.calc__cta { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.calc__assumptions { padding: 14px 20px; border-top: 1px solid var(--line); grid-column: 1 / -1; font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--ink-4); line-height: 1.6; }
.calc__assumptions b { color: var(--ink-3); }

/* VOL */
.vol__recorder { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.vol__bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); font-family: 'IBM Plex Mono', monospace; }
.vol__bar-title { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; }
.vol__bar-title::before { content: 'REC'; font-size: 9px; font-weight: 700; letter-spacing: 0.2em; padding: 3px 7px; border-radius: 99px; background: var(--em-12); color: var(--em); border: 1px solid var(--em-20); }
.vol__bar-signal { font-size: 11px; color: var(--ink-4); } .vol__bar-signal b { color: var(--ink-2); font-weight: 500; }
.vol__timeline { padding: 24px 28px; display: flex; flex-direction: column; }
.vol__event { display: grid; grid-template-columns: 100px 40px 1fr; gap: 16px; padding: 14px 0; position: relative; align-items: start; }
.vol__event::before { content: ''; position: absolute; top: 0; bottom: 0; left: 119px; width: 1px; background: var(--line); }
.vol__event:first-child::before { top: 18px; } .vol__event:last-child::before { bottom: calc(100% - 18px); }
.vol__event-t { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); padding-top: 2px; }
.vol__event-t b { display: block; font-size: 10px; letter-spacing: 0.16em; color: var(--ink-5); }
.vol__event-dot { position: relative; z-index: 2; width: 10px; height: 10px; border-radius: 50%; background: var(--em); border: 2px solid var(--bg); justify-self: center; margin-top: 6px; }
.vol__event.risk .vol__event-dot { background: var(--red); } .vol__event.amber .vol__event-dot { background: var(--amber); } .vol__event.mute .vol__event-dot { background: var(--ink-5); }
.vol__event-body { font-family: 'IBM Plex Mono', monospace; font-size: 12px; line-height: 1.6; color: var(--ink-2); }
.vol__event-label { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--em); margin-bottom: 2px; }
.vol__event.risk .vol__event-label { color: var(--red); } .vol__event.amber .vol__event-label { color: var(--amber); }
.vol__event-body b { color: var(--ink-1); font-weight: 600; } .vol__event-body em { color: var(--em); font-style: normal; }
.vol__foot { padding: 16px 24px; border-top: 1px solid var(--line); font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-2); }
.vol__foot b { color: var(--em); }

/* Direct edit overrides */
#governance .trust__cell { background-color: rgb(20, 18, 18); }
.footer__links { line-height: 1.5; }
#heroStage .active { border: 2px solid rgb(84, 81, 81) !important; }

/* ═══════════════════════════════════════════════════════════════
   MOBILE — 640px and below
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {

  /* PAGE PADDING */
  .hero-industries .page { padding: 0 !important; }

  /* NAV */
  .nav__mobile { display: none; }
  .nav__mobile.open { display: block; bottom: auto; max-height: calc(100svh - var(--nav-h)); overflow-y: auto; }
  .nav__cta { font-size: 12px; padding: 6px 12px; }
  .nav__brand img { height: 32px; }

  /* HERO */
  .ind-cards { height: calc(100svh - var(--nav-h)) !important; overflow: hidden !important; }
  body { overflow-x: hidden; }
  #indCards .ind-panel__content {
    width: 100% !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 220px !important;
    padding: 28px 20px 28px 20px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%) !important;
    z-index: 2 !important;
  }
  #indCards .ind-panel__top { flex: 0 !important; }
  .ind-panel__pain {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
    padding-right: 0 !important;
  }
  .ind-panel__head { font-size: 22px !important; margin-bottom: 12px !important; overflow-wrap: break-word !important; }
  .ind-panel__pain { font-size: 12px !important; margin-bottom: 16px !important; word-break: break-word !important; }
  .ind-panel__stats {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    height: 220px !important;
    width: 100% !important;
    border-left: none !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    padding: 12px 20px 0 !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    background: rgba(0,0,0,0.75) !important;
    backdrop-filter: blur(8px) !important;
    display: flex !important;
    z-index: 3 !important;
  }
  .ind-stat { width: 50% !important; padding: 6px 8px 6px 0 !important; border-bottom: none !important; }
  .ind-stat__k { font-size: 8px !important; }
  .ind-stat__v { font-size: 11px !important; }
  .ind-panel__overlay {
    background: rgba(0,0,0,0.55) !important;
  }
  .ind-counter { bottom: 16px !important; right: 20px !important; }
  .ind-stat__k { font-size: 8px !important; color: rgba(255,255,255,0.7) !important; }
  .ind-stat__v { font-size: 11px !important; color: #fff !important; }
  .hero-ind__head { display: none !important; }

  /* STATS */
  .stats { padding: 32px 0 0; }
  .stats__row { gap: 28px; justify-content: flex-start; }
  .stats__item { align-items: flex-start; }

  /* SECTIONS */
  .s { padding: 48px 0; }
  .s__h { font-size: clamp(22px, 6vw, 30px); }
  .s__p { font-size: 14px; }
  .s__c { margin-bottom: 28px; }

  /* INTRO */
  section#intro { overflow: hidden; }
  section#intro .hero__c { display: flex !important; flex-direction: column !important; gap: 32px; }
  .hero__product { width: 100%; max-width: 100%; overflow: hidden; }
  .hero__shot { width: 100%; }
  .proof__pilot { flex-direction: column; }
  .proof__pilot-text { min-width: 0; width: 100%; overflow-wrap: break-word; word-break: break-word; }
  .det__controls { flex-direction: column; align-items: flex-start; }
  .det__controls-help { margin-left: 0; }
  .fvr__foot { flex-direction: column; gap: 8px; }
  .fvr__foot-stat:last-child { margin-left: 0; }
  .arch__detail-left { padding: 20px; }

  /* ARCH LOG */
  .arch__log-head { font-size: 9px; color: rgba(255,255,255,0.7) !important; flex-direction: column; gap: 4px; }
  .arch__log-t { color: rgba(255,255,255,0.6) !important; }
  .arch__log-msg { color: rgba(255,255,255,0.85) !important; }
  
  section#intro .hero__h1 { font-size: clamp(22px, 5vw, 32px) !important; }
/* LIFECYCLE TIMELINE */
  .vol__timeline { padding: 16px; }
  .vol__event { grid-template-columns: 60px 24px 1fr; gap: 8px; }
  .vol__event::before { left: 76px; }
  .vol__event-t { font-size: 9px; }
  .vol__event-body { font-size: 11px; }
  /* PROBLEM */
  .prob { padding: 20px; flex-direction: column; gap: 16px; }
  .prob__cost { font-size: 22px; min-width: 0; }

  /* ARCHITECTURE */
  .arch__svg { display: none !important; }
  .arch__frame { display: none !important; }
  .arch__legend { display: none !important; }
  .arch__controls { display: none !important; }
  .arch__detail { grid-template-columns: 1fr !important; }
  .arch__head { grid-template-columns: 1fr !important; gap: 20px; }

  /* VS TABLE */
  .vs__wrap { overflow-x: auto; }
  .vs { min-width: 600px; }

  /* FVR TABLE */
  .fvr__strip { overflow-x: auto; }
  .fvr__table { min-width: 560px; }

  /* GOVERNANCE */
  .trust__grid { grid-template-columns: 1fr; }

  /* PILOTS */
  .proof__row { grid-template-columns: 1fr 1fr; }
  .proof__stat-val { font-size: 20px; }
  .proof__pilot { padding: 20px; }

  /* CALC */
  .calc__frame { grid-template-columns: 1fr; }
  .calc__inputs { border-right: none; border-bottom: 1px solid var(--line); }

  /* CTA */
  .cta__h { font-size: clamp(22px, 6vw, 30px); }
  .cta__actions { flex-direction: column; align-items: stretch; }
  .cta__actions .btn { justify-content: center; }

  /* FOOTER */
  .footer--quantos { padding: 56px 0 32px; }
  .footerQ__brand { margin-left: 0; }
  .footerQ__brand img { height: 40px; }
  .footerQ__headline { font-size: clamp(18px, 5vw, 26px); }
  .footerQ__metaRow { gap: 32px; }
  .footerQ__bottom { flex-direction: column; align-items: flex-start; }
  .footerQ__grid { grid-template-columns: 1fr; gap: 36px; }

}
/* ═══ NEXT-ALIGNED HOME HERO ═══ */

.qx-hero {
  position: relative;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

.qx-hero__inner {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 72px);
  max-width: 1500px;
  margin: 0 auto;
  padding: 112px 80px 120px;
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(0, 680px);
  align-items: center;
  justify-content: space-between;
  gap: 96px;
}

.qx-hero__logo {
  display: none;
  margin-bottom: 36px;
}

.qx-hero__logo img {
  width: min(78vw, 420px);
  height: auto;
  opacity: 0.95;
}

.qx-hero__title {
  white-space: pre-line;
  max-width: 760px;
  color: var(--ink-1);
  font-size: clamp(10rem, 15vw, 18rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.08em;
}

.qx-hero__title.is-planning {
  font-size: clamp(5.2rem, 8vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.qx-hero__title.is-quantos {
  display: none;
}

.qx-hero__action {
  margin-top: 28px;
  max-width: 760px;
  font-size: clamp(5rem, 8vw, 8rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--ink-1);
}

.qx-hero__action.is-quantos {
  margin-top: 20px;
  font-size: clamp(2.7rem, 4vw, 4.4rem);
}

.qx-hero__layer {
  color: var(--ink-4);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.qx-hero__category {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.qx-hero__body {
  margin-top: 32px;
  color: var(--ink-3);
  font-size: 18px;
  font-weight: 400;
  line-height: 2.05;
  letter-spacing: -0.01em;
}

.qx-hero__gap-label {
  margin-top: 40px;
  color: var(--ink-4);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.qx-hero__gap {
  margin-top: 20px;
  color: var(--ink-3);
  font-size: 17px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: -0.01em;
}

.qx-hero__result {
  margin-top: 28px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: -0.01em;
}

.qx-hero__proof {
  display: none;
  margin-top: 36px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  color: var(--ink-4);
  font-size: 13px;
  line-height: 2;
}

.qx-hero__proof.is-visible {
  display: grid;
}

.qx-hero__bottom {
  position: absolute;
  left: 80px;
  right: 80px;
  bottom: 32px;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.qx-hero__dots {
  display: flex;
  gap: 8px;
}

.qx-hero__dot {
  height: 2px;
  width: 44px;
  border: 0;
  background: var(--line-2);
  cursor: pointer;
}

.qx-hero__dot.active {
  background: var(--ink-1);
}

.qx-hero__meta {
  color: var(--ink-4);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .qx-hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 64px 36px 104px;
  }

  .qx-hero__bottom {
    left: 36px;
    right: 36px;
  }

  .qx-hero__title {
    font-size: clamp(4rem, 16vw, 7rem);
  }
}

@media (max-width: 640px) {
  .qx-hero__inner {
    padding: 48px 22px 104px;
  }

  .qx-hero__bottom {
    left: 22px;
    right: 22px;
    grid-template-columns: 1fr;
  }

  .qx-hero__dot {
    width: 34px;
  }

  .qx-hero__proof {
    grid-template-columns: 1fr;
  }
}

/* QUANTOS INDEX HERO ALIGNMENT START */

.qx-hero {
  min-height: calc(100svh - var(--nav-h));
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.012) 0%,
      rgba(255, 255, 255, 0) 38%
    ),
    var(--bg);
}

.qx-hero__inner {
  width: min(100%, 1440px);
  min-height: calc(100svh - var(--nav-h));
  margin: 0 auto;
  padding: clamp(88px, 9vh, 128px) 64px 112px;
  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(420px, 0.92fr);
  gap: clamp(72px, 7vw, 116px);
  align-items: center;
}

.qx-hero__left {
  min-width: 0;
  align-self: center;
}

.qx-hero__right {
  min-width: 0;
  max-width: 610px;
  padding-left: clamp(36px, 4vw, 64px);
  border-left: 1px solid var(--line);
  align-self: center;
}

.qx-hero__title {
  max-width: 100%;
  font-size: clamp(7.5rem, 11vw, 12.5rem);
  line-height: 0.84;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.qx-hero__title.is-planning {
  font-size: clamp(4.4rem, 6.7vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.qx-hero__action {
  margin-top: 24px;
  max-width: 680px;
  font-size: clamp(3.8rem, 6vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.qx-hero__action.is-quantos {
  margin-top: 24px;
  max-width: 640px;
  font-size: clamp(2.6rem, 3.7vw, 4rem);
  line-height: 1.02;
}

.qx-hero__logo {
  margin-bottom: 30px;
}

.qx-hero__logo img {
  width: min(100%, 400px);
}

.qx-hero__layer,
.qx-hero__gap-label,
.qx-hero__meta {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

.qx-hero__category {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.14em;
}



.qx-hero__body {
  margin-top: 28px;
  color: rgba(244, 244, 239, 0.76);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.006em;
}

.qx-hero__gap-label {
  margin-top: 34px;
}

.qx-hero__gap {
  margin-top: 14px;
  color: rgba(244, 244, 239, 0.68);
  font-size: 15px;
  line-height: 1.72;
  letter-spacing: -0.004em;
}

.qx-hero__result {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: rgba(244, 244, 239, 0.9);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.68;
}

.qx-hero__proof {
  margin-top: 26px;
  gap: 10px 22px;
  color: rgba(244, 244, 239, 0.64);
  font-size: 13px;
  line-height: 1.55;
}

.qx-hero__proof div {
  position: relative;
  padding-left: 14px;
}

.qx-hero__proof div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 1px;
  background: var(--ink-3);
}

.qx-hero__bottom {
  left: 50%;
  right: auto;
  bottom: 30px;
  width: min(calc(100% - 128px), 1312px);
  transform: translateX(-50%);
}

.qx-hero__dot {
  width: 48px;
  height: 2px;
  border-radius: 1px !important;
  transition:
    width 180ms ease,
    background 180ms ease,
    opacity 180ms ease;
}

.qx-hero__dot.active {
  width: 68px;
}

@media (max-width: 1180px) {
  .qx-hero__inner {
    padding-left: 40px;
    padding-right: 40px;
    grid-template-columns:
      minmax(0, 1fr)
      minmax(380px, 0.88fr);
    gap: 56px;
  }

  .qx-hero__right {
    padding-left: 36px;
  }

  .qx-hero__bottom {
    width: calc(100% - 80px);
  }
}

@media (max-width: 980px) {
  .qx-hero {
    min-height: auto;
  }

  .qx-hero__inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 72px 36px 112px;
    align-items: start;
  }

  .qx-hero__left {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .qx-hero__right {
    max-width: 720px;
    padding-left: 0;
    padding-top: 36px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .qx-hero__title {
    font-size: clamp(5.5rem, 17vw, 8.5rem);
  }

  .qx-hero__title.is-planning {
    font-size: clamp(3.8rem, 11vw, 6rem);
  }

  .qx-hero__action {
    font-size: clamp(3rem, 9vw, 5rem);
  }

  .qx-hero__bottom {
    width: calc(100% - 72px);
  }
}

@media (max-width: 640px) {
  .qx-hero__inner {
    gap: 38px;
    padding: 52px 22px 118px;
  }

  .qx-hero__left {
    min-height: 210px;
  }

  .qx-hero__right {
    padding-top: 28px;
  }

  .qx-hero__title {
    font-size: clamp(4.2rem, 22vw, 6.2rem);
    line-height: 0.88;
  }

  .qx-hero__title.is-planning {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .qx-hero__action {
    margin-top: 18px;
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .qx-hero__action.is-quantos {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .qx-hero__logo img {
    width: min(82vw, 340px);
  }

  .qx-hero__body {
    font-size: 15px;
    line-height: 1.65;
  }

  .qx-hero__gap {
    font-size: 14px;
    line-height: 1.68;
  }

  .qx-hero__result {
    font-size: 14px;
    line-height: 1.65;
  }

  .qx-hero__proof {
    grid-template-columns: 1fr;
  }

  .qx-hero__bottom {
    width: calc(100% - 44px);
    bottom: 24px;
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .qx-hero__dots {
    gap: 5px;
  }

  .qx-hero__dot {
    width: 22px;
  }

  .qx-hero__dot.active {
    width: 34px;
  }

  .qx-hero__meta {
    font-size: 9px;
    letter-spacing: 0.16em;
  }
}

/* QUANTOS INDEX HERO ALIGNMENT END */

/* QUANTOS FINAL RESPONSIVE HOME HERO START */

/* The homepage hero must reveal the shared site background. */
body.home-page #homeHero.qx-hero {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

body.home-page #homeHero.qx-hero::before,
body.home-page #homeHero.qx-hero::after {
  content: none !important;
  display: none !important;
}

body.home-page #homeHero .qx-hero__inner,
body.home-page #homeHero .qx-hero__left,
body.home-page #homeHero .qx-hero__right,
body.home-page #homeHero .qx-hero__bottom {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

@media (max-width: 980px) {
  body.home-page #homeHero.qx-hero {
    min-height: 920px !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
  }

  body.home-page #homeHero .qx-hero__inner {
    width: 100% !important;
    min-height: 920px !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 220px minmax(520px, 1fr) !important;
    align-items: start !important;
    gap: 32px !important;
    padding: 56px 28px 92px !important;
  }

  body.home-page #homeHero .qx-hero__left {
    min-height: 220px !important;
    padding: 0 !important;
  }

  /* JS controls visibility: the logo appears only on the Quantos slide. */
  body.home-page #homeHero .qx-hero__logo {
    margin: 0 0 28px !important;
  }

  body.home-page #homeHero .qx-hero__right {
    width: 100% !important;
    max-width: 720px !important;
    min-height: 520px !important;
    padding: 26px 0 0 !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(255,255,255,.11) !important;
  }

  body.home-page #homeHero .qx-hero__title {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(58px, 12vw, 82px) !important;
    line-height: .92 !important;
    letter-spacing: -.065em !important;
  }

  body.home-page #homeHero .qx-hero__title.is-planning {
    font-size: clamp(46px, 9vw, 66px) !important;
    line-height: .96 !important;
  }

  body.home-page #homeHero .qx-hero__action {
    margin-top: 14px !important;
    font-size: clamp(38px, 8vw, 56px) !important;
    line-height: 1 !important;
    letter-spacing: -.04em !important;
  }

  body.home-page #homeHero .qx-hero__action.is-quantos {
    font-size: clamp(34px, 7vw, 48px) !important;
  }

  body.home-page #homeHero .qx-hero__body,
  body.home-page #homeHero .qx-hero__gap,
  body.home-page #homeHero .qx-hero__result {
    max-width: 68ch !important;
    font-size: 15px !important;
    line-height: 1.72 !important;
  }

  body.home-page #homeHero .qx-hero__body {
    margin-top: 22px !important;
  }

  body.home-page #homeHero .qx-hero__gap-label {
    margin-top: 26px !important;
  }

  body.home-page #homeHero .qx-hero__gap {
    margin-top: 11px !important;
  }

  body.home-page #homeHero .qx-hero__result {
    margin-top: 20px !important;
    padding-top: 18px !important;
  }

  body.home-page #homeHero .qx-hero__bottom {
    left: 28px !important;
    right: 28px !important;
    bottom: 20px !important;
    width: auto !important;
    transform: none !important;
  }
}

@media (max-width: 640px) {
  body.home-page #homeHero.qx-hero {
    min-height: 900px !important;
  }

  body.home-page #homeHero .qx-hero__inner {
    min-height: 900px !important;
    grid-template-rows: 205px minmax(525px, 1fr) !important;
    gap: 26px !important;
    padding: 42px 20px 82px !important;
  }

  body.home-page #homeHero .qx-hero__left {
    min-height: 205px !important;
  }

  body.home-page #homeHero .qx-hero__right {
    min-height: 525px !important;
    padding-top: 20px !important;
  }

  body.home-page #homeHero .qx-hero__logo img {
    width: min(78vw, 300px) !important;
  }

  body.home-page #homeHero .qx-hero__title {
    font-size: clamp(48px, 14vw, 60px) !important;
    line-height: .92 !important;
  }

  body.home-page #homeHero .qx-hero__title.is-planning {
    font-size: clamp(38px, 10.5vw, 48px) !important;
    line-height: .97 !important;
  }

  body.home-page #homeHero .qx-hero__action {
    margin-top: 11px !important;
    font-size: clamp(31px, 9vw, 40px) !important;
    line-height: 1.02 !important;
  }

  body.home-page #homeHero .qx-hero__action.is-quantos {
    font-size: clamp(28px, 8vw, 36px) !important;
  }

  body.home-page #homeHero .qx-hero__layer,
  body.home-page #homeHero .qx-hero__gap-label {
    font-size: 8px !important;
    letter-spacing: .18em !important;
  }

  body.home-page #homeHero .qx-hero__category {
    margin-top: 8px !important;
    font-size: 9px !important;
    line-height: 1.5 !important;
    letter-spacing: .11em !important;
  }

  body.home-page #homeHero .qx-hero__body,
  body.home-page #homeHero .qx-hero__gap,
  body.home-page #homeHero .qx-hero__result {
    font-size: 14px !important;
    line-height: 1.68 !important;
  }

  body.home-page #homeHero .qx-hero__bottom {
    left: 20px !important;
    right: 20px !important;
    bottom: 17px !important;
  }
}

/* QUANTOS FINAL RESPONSIVE HOME HERO END */
