/* IntelliQuality product page. Loads after styles.css and extras.css and uses the site's tokens only. */
.iq-hero { min-height: 620px; }
.iq-hero::before { opacity: .55; }
.iq-tagline { margin: -6px 0 18px; color: var(--teal-deep); font: 600 clamp(16px, 1.4vw, 19px)/1.3 var(--display); letter-spacing: -.01em; }
.iq-hero-fig { margin: 0; align-content: center; gap: 10px; }
.iq-card { position: relative; border: 1px solid rgba(8, 111, 115, .19); background: #fff; box-shadow: 0 18px 44px rgba(30, 60, 56, .08); }
.iq-hero-card { width: min(100%, 580px); padding: 18px 18px 8px; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .92); }
.iq-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.iq-card-title { color: var(--ink); font: 600 14px/1.2 var(--display); }
.iq-chip { display: inline-flex; padding: 4px 8px; border: 1px solid rgba(8, 111, 115, .3); color: var(--teal-deep); font: 700 10px/1 var(--sans); letter-spacing: .14em; }
.iq-chip.coral { border-color: rgba(179, 58, 41, .45); color: #b33a29; background: rgba(241, 87, 67, .07); }
.iq-note { max-width: 760px; margin: 18px 0 0; color: #5d6865; font-size: 12px; line-height: 1.6; }
.page-hero-visual .iq-note { max-width: 560px; margin: 0; }

/* SVG figures */
.iq-svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.iq-svg .g { stroke: rgba(47, 55, 55, .09); stroke-width: 1; }
.iq-svg .ax { fill: #5d6865; font-size: 11px; }
.iq-svg .ax.at, .iq-svg .yt { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.iq-svg .xl { font-size: 12px; fill: var(--ink-soft); }

.iq-hero-svg .thr { stroke: #b33a29; stroke-width: 1.2; stroke-dasharray: 5 5; }
.iq-hero-svg .thr-l { fill: #b33a29; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.iq-hero-svg .area { fill: url(#none); fill: rgba(7, 143, 145, .1); }
.iq-hero-svg .ln { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.iq-hero-svg .pt { fill: #fff; stroke: var(--teal); stroke-width: 2.5; }
.iq-hero-svg .pt.hot { fill: var(--coral); stroke: #fff; stroke-width: 2.5; }
.iq-hero-svg .st { stroke: rgba(47, 55, 55, .3); }
.iq-hero-svg .note line { stroke: rgba(47, 55, 55, .35); stroke-dasharray: 2 3; }
.iq-hero-svg .note text { fill: var(--ink-soft); font-size: 12px; }
.iq-hero-svg .note .k { fill: var(--ink); font-weight: 700; }
.iq-hero-svg .flag rect { fill: var(--coral); }
.iq-hero-svg .flag text { fill: #fff; font-size: 11px; font-weight: 700; letter-spacing: .14em; }

.iq-cc .cc-t { fill: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.iq-cc .cc-s { fill: #5d6865; font-size: 11px; }
.iq-cc .cc-ok { fill: var(--teal-deep); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.iq-cc .spec { stroke: #b33a29; stroke-width: 1.1; stroke-dasharray: 6 4; }
.iq-cc .ctl { stroke: var(--teal); stroke-width: 1; stroke-dasharray: 2 3; }
.iq-cc .mean { stroke: rgba(47, 55, 55, .4); stroke-width: 1; }
.iq-cc .lim { font-size: 9.5px; font-weight: 700; fill: #5d6865; }
.iq-cc .spec-t { fill: #b33a29; }
.iq-cc .trace { fill: none; stroke: rgba(7, 143, 145, .35); stroke-width: 1; }
.iq-cc .pts circle { fill: var(--teal-deep); }

.iq-sc .rest circle { fill: rgba(8, 111, 115, .32); }
.iq-sc .hot circle { fill: var(--coral); stroke: #fff; stroke-width: .8; }
.iq-sc .zone { fill: rgba(241, 87, 67, .07); stroke: #b33a29; stroke-width: 1.3; stroke-dasharray: 5 4; }
.iq-sc .zone-l text { fill: var(--ink-soft); font-size: 12px; }
.iq-sc .zone-l .big { fill: #b33a29; font: 600 30px/1 var(--display); letter-spacing: -.04em; }

.iq-gain .rand { stroke: rgba(47, 55, 55, .3); stroke-dasharray: 4 4; fill: none; }
.iq-gain .c1 { fill: none; stroke: var(--teal-deep); stroke-width: 2.6; }
.iq-gain .c2 { fill: none; stroke: var(--coral); stroke-width: 2.6; }
.iq-gain .m1 { fill: var(--teal-deep); stroke: #fff; stroke-width: 2; }
.iq-gain .m2 { fill: var(--coral); stroke: #fff; stroke-width: 2; }
.iq-gain .lab1 { fill: var(--teal-deep); font-size: 12px; font-weight: 700; }
.iq-gain .lab2 { fill: #b33a29; font-size: 12px; font-weight: 700; }
.iq-gain .rl { font-size: 10px; }

.iq-bench .b rect { fill: var(--teal); }
.iq-bench .b.blind rect { fill: var(--teal-deep); }
.iq-bench .b.blind .pl { fill: var(--teal-deep); font-weight: 700; }
.iq-bench .pl { fill: var(--ink-soft); font-size: 12px; }
.iq-bench .v { fill: var(--ink); font-size: 12px; font-weight: 700; }
.iq-bench .med { stroke: #b33a29; stroke-width: 1.2; stroke-dasharray: 4 4; }
.iq-bench .med-t { fill: #b33a29; font-size: 11px; font-weight: 700; }

.iq-arch .col { fill: #5d6865; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.iq-arch .node rect { fill: var(--paper); stroke: rgba(8, 111, 115, .3); }
.iq-arch .node.out rect { fill: #fff; stroke: var(--teal-deep); }
.iq-arch .nt { fill: var(--ink); font: 600 14px/1 var(--display); }
.iq-arch .ns { fill: #5d6865; font-size: 12px; }
.iq-arch .wire { fill: none; stroke: rgba(7, 143, 145, .55); stroke-width: 1.4; stroke-dasharray: 3 4; }
.iq-arch .core > rect { fill: var(--teal-deep); }
.iq-arch .ct { fill: #fff; font: 600 13px/1 var(--sans); letter-spacing: .22em; }
.iq-arch .step rect { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .25); }
.iq-arch .step .nt { fill: #fff; }
.iq-arch .step .ns { fill: rgba(255, 255, 255, .78); }

/* Motion: draw the hero trace once; flow along the wires. Off when the visitor prefers reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .iq-hero-svg .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: iq-draw 1.8s .5s cubic-bezier(.6, .1, .2, 1) forwards; }
  .iq-hero-svg .draw-fade, .iq-hero-svg .pt, .iq-hero-svg .note, .iq-hero-svg .flag { opacity: 0; animation: iq-fade .6s forwards; }
  .iq-hero-svg .draw-fade { animation-delay: 1.6s; }
  .iq-hero-svg .pt { animation-delay: 1.4s; }
  .iq-hero-svg .note.n1 { animation-delay: 1.1s; }
  .iq-hero-svg .note.n2, .iq-hero-svg .flag { animation-delay: 2.2s; }
  .iq-arch .wire { animation: iq-flow 1.6s linear infinite; }
}
@keyframes iq-draw { to { stroke-dashoffset: 0; } }
@keyframes iq-fade { to { opacity: 1; } }
@keyframes iq-flow { to { stroke-dashoffset: -14; } }

/* Proof strip under the hero */
.iq-proof { padding-top: clamp(36px, 4vw, 56px); padding-bottom: clamp(36px, 4vw, 56px); }
.iq-proof .proof-strip { margin-top: 0; }

/* 01: problem */
.iq-problem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.iq-problem figure, .iq-proof-grid figure, .iq-arch-card { margin: 0; }
.iq-cc-pair, .iq-sc-card { display: grid; gap: 12px; padding: 20px; align-content: start; }
.iq-cc-pair .iq-cc + .iq-cc { padding-top: 12px; border-top: 1px solid var(--rule); }
.iq-card figcaption { color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.iq-card figcaption strong { color: var(--ink); }
.iq-key { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; color: #5d6865; font-size: 12px; white-space: nowrap; }
.iq-key i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.iq-key .k-hot { background: var(--coral); }
.iq-key .k-rest { margin-left: 8px; background: rgba(8, 111, 115, .4); }

/* 03: product views */
.iq-product { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.iq-panel { padding: 0 22px 22px; }
.iq-alert { grid-column: span 5; }
.iq-rc { grid-column: span 7; }
.iq-perf { grid-column: span 12; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); column-gap: 32px; align-items: center; }
.iq-perf .iq-panel-bar { grid-column: 1 / -1; }
.iq-perf h3 { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.05; letter-spacing: -.05em; font-weight: 500; }
.iq-perf .iq-why { grid-column: 1; }
.iq-perf .iq-gain { grid-column: 2; grid-row: 2 / span 2; }
.iq-panel-bar { display: flex; align-items: center; gap: 10px; margin: 0 -22px 18px; padding: 12px 22px; border-bottom: 1px solid var(--rule); background: var(--mist); color: var(--teal-deep); font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.iq-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px rgba(241, 87, 67, .16); }
.iq-time { margin-left: auto; color: #5d6865; font-weight: 600; letter-spacing: .04em; }
.iq-alert-head { display: flex; justify-content: space-between; gap: 16px; }
.iq-alert-head h3 { margin: 10px 0 4px; font-size: 20px; line-height: 1.2; letter-spacing: -.03em; }
.iq-alert-head p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.iq-gauge { --v: .5; position: relative; display: grid; width: 92px; height: 92px; flex: 0 0 92px; place-content: center; text-align: center; border-radius: 50%; background: conic-gradient(var(--coral) calc(var(--v) * 360deg), var(--mist) 0); }
.iq-gauge::before { position: absolute; inset: 9px; border-radius: 50%; background: #fff; content: ""; }
.iq-gauge b, .iq-gauge span { position: relative; }
.iq-gauge b { color: #b33a29; font: 600 26px/1 var(--display); letter-spacing: -.04em; }
.iq-gauge span { color: #5d6865; font-size: 10px; }
.iq-sub { margin: 20px 0 10px; color: #5d6865; font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.iq-readings { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.rd-top { display: flex; justify-content: space-between; font-size: 14px; }
.rd-top span { font-weight: 700; font-variant-numeric: tabular-nums; }
.rd-band { --p: .5; position: relative; height: 8px; margin: 8px 0 6px; background: linear-gradient(90deg, rgba(241, 87, 67, .18), rgba(7, 143, 145, .14) 25%, rgba(7, 143, 145, .14) 75%, rgba(241, 87, 67, .18)); }
.rd-band i { position: absolute; top: -4px; left: calc(var(--p) * 100%); width: 4px; height: 16px; margin-left: -2px; background: var(--ink); }
.iq-readings small { color: #5d6865; font-size: 12px; }
.iq-why { margin: 16px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.iq-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.iq-btn { padding: 9px 14px; border: 1px solid rgba(8, 111, 115, .35); color: var(--teal-deep); font-size: 12px; font-weight: 700; }
.iq-btn.primary { border-color: var(--ink); background: var(--ink); color: #fff; }
.iq-btn.ghost { border-color: transparent; }
.iq-rc table { width: 100%; border-collapse: collapse; font-size: 13px; }
.iq-rc th { padding: 0 8px 10px 0; color: #5d6865; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.iq-rc td { padding: 11px 8px 11px 0; border-top: 1px solid var(--rule); vertical-align: middle; font-variant-numeric: tabular-nums; }
.iq-rc td strong { font-weight: 600; }
.iq-rc .rk { display: inline-grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--teal-deep); color: #fff; font-size: 11px; font-weight: 700; }
.iq-rc .lift { --w: .5; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.iq-rc .lift i { display: inline-block; width: calc(var(--w) * 70px); height: 8px; background: var(--coral); }
.iq-rc .own { padding: 3px 7px; background: var(--mist); color: var(--teal-deep); font-size: 11px; font-weight: 700; }

/* 04: facility */
.iq-industries { display: flex; flex-wrap: wrap; gap: 8px; margin: -14px 0 30px; padding: 0; list-style: none; }
.iq-industries li { padding: 9px 14px; border: 1px solid rgba(8, 111, 115, .28); background: rgba(255, 255, 255, .6); color: var(--teal-deep); font-size: 13px; font-weight: 600; }
.iq-timeline { margin-top: 28px; padding: 22px 24px; border: 1px solid rgba(8, 111, 115, .19); background: #fff; }
.iq-timeline .iq-sub { margin-top: 0; }
.iq-timeline ol { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.iq-timeline li { --w: 30; flex: var(--w) 1 0; min-width: 120px; padding: 14px 14px 12px; background: var(--teal-pale); }
.iq-timeline li:last-child { background: var(--teal-deep); color: #fff; }
.iq-timeline li b { display: block; font: 600 15px/1.2 var(--display); }
.iq-timeline li span { font-size: 12px; opacity: .85; }

/* 05: integration */
.iq-arch-card { padding: 24px; overflow-x: auto; }
.iq-arch-card .iq-svg { min-width: 760px; }
.iq-detail { margin-top: 30px; }

/* 06: proof */
.iq-proof-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 14px; }
.iq-proof-grid > figure { display: grid; gap: 12px; padding: 22px; }
.iq-compare { padding: 22px; }
.iq-compare .iq-sub { margin-top: 0; }
.iq-bar { display: grid; grid-template-columns: 110px 1fr 46px; align-items: center; gap: 10px; margin: 14px 0; font-size: 13px; }
.iq-bar i { display: block; height: 22px; width: calc(var(--w) * 100% / .3); max-width: 100%; background: var(--teal-deep); }
.iq-bar.muted i { background: rgba(47, 55, 55, .25); }
.iq-bar b { font: 600 20px/1 var(--display); letter-spacing: -.03em; }
.iq-credit { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--ink-soft); font-size: 13px; line-height: 1.6; }

@media (max-width: 1080px) {
  .iq-alert, .iq-rc { grid-column: span 12; }
  .iq-perf { grid-template-columns: minmax(0, 1fr); }
  .iq-perf .iq-gain, .iq-perf .iq-why { grid-column: 1; grid-row: auto; }
  .iq-proof-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .iq-problem { grid-template-columns: minmax(0, 1fr); }
  .iq-timeline ol { flex-direction: column; }
  .iq-timeline li { flex: none; }
  .iq-rc { overflow-x: auto; }
  .iq-rc table { min-width: 560px; }
}
.iq-mini { display: grid; gap: 0; margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.iq-mini li { display: grid; grid-template-columns: 112px 1fr; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.iq-mini b { color: var(--teal-deep); font: 500 26px/1 var(--display); letter-spacing: -.05em; }
.iq-mini span { color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
