/* ==========================================================================
   TECHMATIC SYSTEMS — Quality Engineering & QA Solutions
   --------------------------------------------------------------------------
   INTEGRATION CONTRACT
     This page is a FRAGMENT. The live site supplies the header and the footer.
     Every rule below is scoped under .tmqa. Nothing targets html, body, * or a
     bare element, so nothing can leak into the host theme and the host's own
     resets cannot break this block. No Bootstrap, no jQuery.

   ART DIRECTION — "instrumented dark"
     Light    ONE anchored directional source: violet key upper-right, cyan
              fill lower-left, identical falloff logic on every section. Not
              drifting blobs, not ambient glow.
     Colour   Violet and cyan are LIGHT, never decoration. Green / amber / red
              carry test-result meaning only.
     Type     Schibsted Grotesk sets the voice. Emphasis inside a headline is
              Instrument Serif ITALIC — never gradient-filled text. JetBrains
              Mono carries every technical readout.
     Surface  Glass panels with a lit top edge, 14px radius, 1px hairlines.
              A fine SVG grain sits over every aurora field to kill banding.
     Rhythm   Deliberately varied per section — split, band, index list, orbit,
              vertical tabs, code compare, tabs, rail, dual panel, timeline.
   ========================================================================== */

.tmqa {
  /* ---- canvas → raised surface ---------------------------------------- */
  --void:  #07080F;
  --abyss: #0B0D18;
  --slate: #12151F;
  --steel: #171B27;

  --line:   rgba(255,255,255,.07);
  --line-2: rgba(255,255,255,.13);
  --line-3: rgba(255,255,255,.22);

  --text: #EEF0F6;
  /* Secondary-text ramp. Each step is set so that even 10px mono clears
     WCAG AA (4.5:1) on the --abyss panel background, and each step stays
     visibly distinct from the next. Measured, not guessed:
       --body  9.3:1   --mute  6.5:1   --faint  5.1:1
     The previous values (.62 / .40 / .24) measured 6.9 / 3.5 / 2.0 — the
     bottom two failed outright and --faint was effectively invisible at
     10px. Do not lower these without re-measuring; --faint carries real
     text in ~20 places, not decoration. */
  --body: rgba(238,240,246,.72);
  --mute: rgba(238,240,246,.60);
  --faint:rgba(238,240,246,.52);

  /* ---- aurora: key light + fill light --------------------------------- */
  --vio:    #7C5CFF;
  --vio-lo: #5B3FD6;
  --vio-hi: #B9A7FF;
  --cyan:   #22D3EE;
  --cyan-hi:#7DE8F7;

  /* ---- result semantics — functional colour only ---------------------- */
  --pass: #34D399;
  --warn: #F5B544;
  --fail: #FF6B5B;

  /* ---- type ----------------------------------------------------------- */
  --f-disp: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-em:   "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-mono: "JetBrains Mono", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;

  /* ---- geometry & motion ---------------------------------------------- */
  --r-lg: 14px;
  --r-md: 10px;
  --r-sm: 6px;
  --ease:    cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.4, 0, .2, 1);

  /* Clearance for the host site's fixed header, used when scrolling to an
     anchor so headings land below it rather than under it. The live header
     measures ~117px — retune this on integration. Read by main.js. */
  --tq-offset: 130px;

  /* Breathing room between the host site's header and the top of the hero.
     Deliberately its OWN value rather than a fraction of --tq-offset: the two
     are unrelated, and deriving one from the other meant a single number
     silently controlled both the anchor clearance and this gap. Raise it if
     the hero still feels tight under your header. */
  --tq-hero-top: clamp(72px, 8vw, 128px);

  position: relative;
  background: var(--void);
  color: var(--body);
  font-family: var(--f-disp);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Scoped reset. Explicit values only, so the host theme cannot shift us. */
.tmqa *, .tmqa *::before, .tmqa *::after { box-sizing: border-box; }
.tmqa h1, .tmqa h2, .tmqa h3, .tmqa h4, .tmqa h5, .tmqa h6 { margin: 0 0 .5em; font-weight: 700; }
.tmqa p { margin: 0 0 1em; }
.tmqa p:last-child { margin-bottom: 0; }
.tmqa ul, .tmqa ol { margin: 0; padding: 0; list-style: none; }
.tmqa figure, .tmqa blockquote { margin: 0; }
.tmqa img, .tmqa svg { max-width: 100%; }
.tmqa a { color: var(--cyan-hi); text-decoration: none; }
.tmqa strong, .tmqa b { color: var(--text); font-weight: 600; }
.tmqa button { font: inherit; color: inherit; }
.tmqa :focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
.tmqa .tq-num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.tmqa .tq-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}


/* ==========================================================================
   LAYOUT PRIMITIVES
   ========================================================================== */
.tmqa .tq-wrap {
  position: relative; z-index: 2;
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
}
.tmqa .tq-sec { position: relative; padding: clamp(72px, 9vw, 132px) 0; }
.tmqa .tq-sec-tight { padding: clamp(56px, 6vw, 84px) 0; }
.tmqa [id] { scroll-margin-top: var(--tq-offset); }

/* Asymmetric splits. Never a symmetric 3-up card row as the primary device. */
.tmqa .tq-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: center;
}
.tmqa .tq-split-top { align-items: start; }
.tmqa .tq-split-6 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tmqa .tq-split-5 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }


/* ==========================================================================
   SURFACES — one anchored light, a grain field, hairline panels
   ========================================================================== */

/* The light source. Violet key upper-right, cyan fill lower-left. Same
   geometry every time it appears, so it reads as one lamp lighting the page
   rather than as decoration scattered per section. */
.tmqa .tq-aura {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(52rem 34rem at 84% -10%, rgba(124,92,255,.20), transparent 68%),
    radial-gradient(42rem 30rem at 4% 106%, rgba(34,211,238,.10), transparent 70%);
}
.tmqa .tq-aura-soft {
  background:
    radial-gradient(46rem 30rem at 88% -14%, rgba(124,92,255,.11), transparent 70%),
    radial-gradient(38rem 26rem at 2% 108%, rgba(34,211,238,.06), transparent 72%);
}
.tmqa .tq-aura-flip {
  background:
    radial-gradient(48rem 32rem at 12% -12%, rgba(124,92,255,.13), transparent 70%),
    radial-gradient(40rem 28rem at 96% 104%, rgba(34,211,238,.08), transparent 72%);
}

/* Fine grain over every aurora field. Kills gradient banding and is the
   single strongest signal that a human graded these surfaces. */
.tmqa .tq-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: .038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

/* Hairline rules that fade rather than stopping dead. */
.tmqa .tq-hr {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-2) 18%, var(--line-2) 82%, transparent);
}

/* Glass panel with a lit top edge — light falls on the upper rim only. */
.tmqa .tq-panel {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}
.tmqa .tq-panel::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: linear-gradient(90deg,
    transparent, rgba(255,255,255,.24) 20%, rgba(255,255,255,.07) 62%, transparent);
}
.tmqa .tq-panel-blur { backdrop-filter: blur(16px); }

/* Gradient-stroke border. Reserved for exactly two moments: the hero console
   and the closing CTA. Used more than that it becomes the effect it replaces. */
.tmqa .tq-panel-lit {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(16,18,30,.92), rgba(9,11,20,.95)) padding-box,
    linear-gradient(155deg, rgba(124,92,255,.60), rgba(34,211,238,.30) 44%, rgba(255,255,255,.05) 76%) border-box;
}


/* ==========================================================================
   TYPE
   ========================================================================== */
.tmqa .tq-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--vio-hi);
  margin: 0 0 22px;
}
.tmqa .tq-eyebrow::before {
  content: ""; width: 6px; height: 6px; flex: none;
  background: currentColor; transform: rotate(45deg);
}
.tmqa .tq-eyebrow-cy { color: var(--cyan-hi); }

.tmqa .tq-h1 {
  font-family: var(--f-disp); font-weight: 700;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.05; letter-spacing: -.032em;
  color: var(--text);
}
.tmqa .tq-h2 {
  font-family: var(--f-disp); font-weight: 700;
  font-size: clamp(28px, 3.3vw, 46px);
  line-height: 1.1; letter-spacing: -.028em;
  color: var(--text);
}
.tmqa .tq-h3 {
  font-family: var(--f-disp); font-weight: 600;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.32; letter-spacing: -.018em;
  color: var(--text);
}
.tmqa .tq-h4 {
  font-family: var(--f-disp); font-weight: 600;
  font-size: 16px; line-height: 1.4; letter-spacing: -.012em;
  color: var(--text);
}

/* THE SIGNATURE MOVE — emphasis is a serif italic set inside the grotesk
   headline. This replaces gradient-filled text entirely. */
.tmqa .tq-em {
  font-family: var(--f-em);
  font-style: italic; font-weight: 400;
  font-size: 1.08em; letter-spacing: -.012em;
  color: var(--text);
}
/* The only place a gradient touches type: a 2px rule under the emphasis. */
.tmqa .tq-em-rule { position: relative; display: inline-block; }
.tmqa .tq-em-rule::after {
  content: ""; position: absolute; left: .03em; right: .03em; bottom: .06em; height: 2px;
  background: linear-gradient(90deg, var(--vio), var(--cyan));
  transform: scaleX(0); transform-origin: left center;
}
.tmqa.is-ready .tq-em-rule::after {
  transform: scaleX(1);
  transition: transform .95s var(--ease) .5s;
}

.tmqa .tq-lede {
  font-size: clamp(16.5px, 1.35vw, 19px);
  line-height: 1.68; color: var(--body);
  max-width: 46em; margin: 0;
}
.tmqa .tq-lede strong { color: var(--text); font-weight: 600; }
.tmqa .tq-note {
  font-family: var(--f-mono); font-size: 11.5px; line-height: 1.6;
  color: var(--mute); margin: 0;
}

/* Section index — "02 / Autonomous testing ......... 06 capabilities" */
.tmqa .tq-idx {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--mute);
  padding-bottom: 18px; margin: 0 0 clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.tmqa .tq-idx b { color: var(--text); font-weight: 500; }
.tmqa .tq-idx i { margin-left: auto; font-style: normal; color: var(--faint); }

.tmqa .tq-head { max-width: 62ch; margin: 0 0 clamp(36px, 5vw, 60px); }
/* As a column of a split, the grid already owns the measure and the spacing
   below, so hand both back - otherwise the heading wraps narrower than its
   own column and carries a stray 36-60px underneath it. */
.tmqa .tq-split > .tq-head { max-width: none; margin-bottom: 0; }


/* ==========================================================================
   BUTTONS, LINKS, CHIPS
   ========================================================================== */
.tmqa .tq-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-disp); font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  padding: 14px 24px; border: 1px solid transparent; border-radius: var(--r-sm);
  cursor: pointer; white-space: nowrap; text-align: center;
  transition: background-color .22s var(--ease-io), color .22s var(--ease-io),
              border-color .22s var(--ease-io), box-shadow .3s var(--ease-io),
              transform .16s var(--ease-io);
}
.tmqa .tq-btn:active { transform: translateY(1px); }
.tmqa .tq-btn svg { width: 15px; height: 15px; flex: none; transition: transform .28s var(--ease); }
.tmqa .tq-btn:hover svg { transform: translateX(3px); }

.tmqa .tq-btn-key {
  background: var(--text); color: var(--void);
  box-shadow: 0 0 0 0 rgba(124,92,255,0);
}
.tmqa .tq-btn-key:hover {
  background: #fff; color: var(--void);
  box-shadow: 0 8px 34px -10px rgba(124,92,255,.65);
}
.tmqa .tq-btn-ghost {
  background: rgba(255,255,255,.03); color: var(--text); border-color: var(--line-2);
}
.tmqa .tq-btn-ghost:hover { border-color: var(--line-3); background: rgba(255,255,255,.06); }
.tmqa .tq-btn-block { width: 100%; }

/* Closes a service section with a link out to that practice's detail view.
   A <p> wrapper rather than a bare <a> so the button keeps its own line and
   cannot be pulled into a preceding grid. */
/* Centred with flex AND text-align on purpose. text-align alone is fragile
   here: a host theme rule like `.entry-content p { text-align: left }` scores
   0,0,2,1 against this rule's 0,0,2,0 and silently wins, which leaves the
   button hard against the left edge inside WordPress but centred in a bare
   page. display:flex is not something a content style overrides. */
.tmqa .tq-more {
  margin-top: clamp(34px, 4vw, 52px);
  display: flex; justify-content: center;
  text-align: center;
}
@media (max-width: 560px) {
  .tmqa .tq-more .tq-btn { width: 100%; white-space: normal; }
}

.tmqa .tq-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--cyan-hi);
}
.tmqa .tq-link svg { width: 14px; height: 14px; transition: transform .28s var(--ease); }
.tmqa .tq-link:hover svg { transform: translateX(3px); }

.tmqa .tq-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em;
  padding: 6px 11px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  color: var(--body);
}
.tmqa .tq-chip b { color: var(--text); font-weight: 500; white-space: nowrap; }
.tmqa .tq-dot { width: 6px; height: 6px; border-radius: 50%; flex: none; background: var(--pass); }
.tmqa .tq-dot-live { animation: tqBeat 2.4s var(--ease-io) infinite; }
@keyframes tqBeat { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* Severity / verdict chips — semantic colour only. */
.tmqa .tq-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 4px; border: 1px solid;
  white-space: nowrap;
}
.tmqa .tq-tag-pass { color: var(--pass); border-color: rgba(52,211,153,.34); background: rgba(52,211,153,.09); }
.tmqa .tq-tag-warn { color: var(--warn); border-color: rgba(245,181,68,.34); background: rgba(245,181,68,.09); }
.tmqa .tq-tag-fail { color: var(--fail); border-color: rgba(255,107,91,.34); background: rgba(255,107,91,.09); }
.tmqa .tq-tag-info { color: var(--vio-hi); border-color: rgba(124,92,255,.34); background: rgba(124,92,255,.10); }

/* Monoline iconography, 1.25px stroke. Hand-set paths, no icon library. */
.tmqa .tq-ico {
  width: 20px; height: 20px; flex: none;
  stroke: currentColor; stroke-width: 1.25; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}


/* ==========================================================================
   SCROLL REVEAL
   Hidden states are gated on .tq-js, which main.js adds to <html>. If the
   script fails to load or throws before that line the class never lands and
   every block renders normally — a script failure can never blank this page
   inside the client's live site.
   ========================================================================== */
.tq-js .tmqa [data-rv] {
  opacity: 0; transform: translateY(16px);
  transition: opacity .72s var(--ease), transform .72s var(--ease);
}
.tq-js .tmqa [data-rv].is-in { opacity: 1; transform: none; }

.tq-js .tmqa .tq-up { opacity: 0; transform: translateY(18px); }
.tq-js .tmqa.is-ready .tq-up {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.tq-js .tmqa.is-ready .tq-up[data-up="1"] { transition-delay: .05s; }
.tq-js .tmqa.is-ready .tq-up[data-up="2"] { transition-delay: .13s; }
.tq-js .tmqa.is-ready .tq-up[data-up="3"] { transition-delay: .21s; }
.tq-js .tmqa.is-ready .tq-up[data-up="4"] { transition-delay: .29s; }
.tq-js .tmqa.is-ready .tq-up[data-up="5"] { transition-delay: .18s; }
.tq-js .tmqa.is-ready .tq-up[data-up="6"] { transition-delay: .40s; }


/* ==========================================================================
   HERO
   ========================================================================== */
.tmqa .tq-hero {
  position: relative;
  padding: var(--tq-hero-top) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.tmqa .tq-hero-copy { padding-right: clamp(0px, 2vw, 28px); }
.tmqa .tq-hero .tq-h1 { margin: 0 0 26px; }
/* Full-measure hero headline. Capped so a long line still breaks into a
   deliberate two-line shape rather than running the whole 1280px. */
.tmqa .tq-hero-h1 { max-width: 21ch; margin-bottom: clamp(30px, 3.6vw, 46px); }
.tmqa .tq-hero-lede { margin-bottom: 34px; }

.tmqa .tq-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

/* Proof row — hairline-divided cells, tabular figures. Not badges. */
.tmqa .tq-proof {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.tmqa .tq-proof li { padding: 18px 18px 0 0; }
.tmqa .tq-proof li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.tmqa .tq-proof-v {
  display: block; font-family: var(--f-disp); font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1; letter-spacing: -.03em;
  color: var(--text); margin-bottom: 7px;
}
.tmqa .tq-proof-k {
  display: block; font-family: var(--f-mono); font-size: 11px;
  line-height: 1.5; letter-spacing: .04em; color: var(--mute);
}

/* The console is allowed to break the grid on the right — a deliberate
   off-grid moment, not a centred card. */
.tmqa .tq-hero-visual { position: relative; }
.tmqa .tq-hero-visual .tq-agent { margin-right: clamp(-44px, -2.6vw, 0px); }

/* Toolchain strip */
.tmqa .tq-stack { margin-top: clamp(48px, 6vw, 78px); }
.tmqa .tq-stack-lab {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--faint); margin: 0 0 18px;
}
.tmqa .tq-stack-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
}
.tmqa .tq-stack-grid li {
  background: var(--void); padding: 18px 16px;
  transition: background-color .3s var(--ease-io);
}
.tmqa .tq-stack-grid li:hover { background: var(--abyss); }
.tmqa .tq-stack-grid b {
  display: block; font-family: var(--f-disp); font-size: 14.5px; font-weight: 600;
  letter-spacing: -.01em; color: var(--text); margin-bottom: 4px;
}
.tmqa .tq-stack-grid span {
  display: block; font-family: var(--f-mono); font-size: 13px;
  letter-spacing: .04em; color: var(--faint);
}


/* ==========================================================================
   AGENT CONSOLE — the hero's signature panel
   ========================================================================== */
.tmqa .tq-agent {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  font-family: var(--f-mono);
}
.tmqa .tq-agent-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.tmqa .tq-agent-id { font-size: 11px; color: var(--mute); letter-spacing: .04em; }
.tmqa .tq-agent-id b { color: var(--text); font-weight: 500; }
.tmqa .tq-agent-state {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--pass);
}

.tmqa .tq-agent-obj {
  padding: 15px 16px; border-bottom: 1px solid var(--line);
  font-size: 11.5px; line-height: 1.6; color: rgba(238,240,246,.76);
}
.tmqa .tq-agent-obj em { font-style: normal; color: var(--faint); }
.tmqa .tq-agent-obj b { color: var(--text); font-weight: 500; }

/* Reasoning trace */
.tmqa .tq-trace { padding: 8px 0; min-height: 232px; }
.tmqa .tq-trace li {
  display: grid; grid-template-columns: 62px 1fr auto; gap: 12px;
  align-items: baseline;
  padding: 7px 16px; font-size: 11.5px; line-height: 1.5;
  opacity: .40; transition: opacity .35s var(--ease-io);
}
.tmqa .tq-trace li.is-on { opacity: 1; }
.tmqa .tq-trace-ph {
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--vio-hi);
}
.tmqa .tq-trace-tx { color: rgba(238,240,246,.80); min-width: 0; word-break: break-word; }
.tmqa .tq-trace-tx b { color: var(--text); font-weight: 500; }
.tmqa .tq-trace-ms { font-size: 10.5px; color: rgba(238,240,246,.50); font-variant-numeric: tabular-nums; }
.tmqa .tq-trace li.is-heal .tq-trace-ph { color: var(--warn); }
.tmqa .tq-caret {
  display: inline-block; width: 7px; height: 13px; vertical-align: -2px;
  background: var(--cyan); margin-left: 3px;
  animation: tqBlink 1s steps(2, start) infinite;
}
@keyframes tqBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.tmqa .tq-agent-foot {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 13px 16px; border-top: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute);
}
.tmqa .tq-agent-foot b { font-weight: 500; font-variant-numeric: tabular-nums; }
.tmqa .tq-agent-foot .tq-f-pass b { color: var(--pass); }
.tmqa .tq-agent-foot .tq-f-heal b { color: var(--warn); }
.tmqa .tq-agent-foot .tq-f-w { margin-left: auto; color: var(--faint); }


/* ==========================================================================
   DATA BAND — counted metrics on hairline cells
   ========================================================================== */
.tmqa .tq-band {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--abyss);
}
.tmqa .tq-band-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.tmqa .tq-band-cell { padding: clamp(30px, 3.6vw, 46px) clamp(18px, 2vw, 30px); }
.tmqa .tq-band-cell + .tq-band-cell { border-left: 1px solid var(--line); }
.tmqa .tq-band-v {
  display: flex; align-items: baseline; gap: 2px;
  font-family: var(--f-disp); font-weight: 700;
  font-size: clamp(34px, 3.6vw, 50px); line-height: 1; letter-spacing: -.036em;
  color: var(--text); margin: 0 0 12px;
}
.tmqa .tq-band-v i { font-style: normal; font-size: .56em; color: var(--vio-hi); }
.tmqa .tq-band-k {
  font-family: var(--f-mono); font-size: 11px; line-height: 1.62;
  letter-spacing: .03em; color: var(--mute); margin: 0;
}


/* ==========================================================================
   SECTION 01 — CAPABILITY INDEX
   An editorial index list with a linked preview panel. Explicitly NOT a
   3x2 grid of identical frosted feature cards.
   ========================================================================== */
.tmqa .tq-caps {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(28px, 4vw, 66px);
  align-items: start;
}
.tmqa .tq-caplist { border-top: 1px solid var(--line); }
.tmqa .tq-caprow {
  position: relative; display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 22px;
  gap: 16px; align-items: center;
  width: 100%; padding: clamp(18px, 2vw, 24px) 6px;
  background: none; border: 0; border-bottom: 1px solid var(--line);
  text-align: left; cursor: pointer;
  transition: background-color .35s var(--ease-io);
}
.tmqa .tq-caprow::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--vio), var(--cyan));
  transform: scaleY(0); transform-origin: center top;
  transition: transform .4s var(--ease);
}
.tmqa .tq-caprow-no {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em;
  color: var(--faint); transition: color .3s var(--ease-io);
}
.tmqa .tq-caprow-t {
  font-family: var(--f-disp); font-weight: 600;
  font-size: clamp(16.5px, 1.55vw, 21px); line-height: 1.3; letter-spacing: -.018em;
  color: var(--body); transition: color .3s var(--ease-io);
}
.tmqa .tq-caprow-ar {
  width: 16px; height: 16px; color: var(--faint);
  stroke: currentColor; stroke-width: 1.4; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s var(--ease), color .3s var(--ease-io);
}
.tmqa .tq-caprow:hover { background: rgba(255,255,255,.022); }
.tmqa .tq-caprow:hover .tq-caprow-t { color: var(--text); }
.tmqa .tq-caprow:hover .tq-caprow-ar { color: var(--body); transform: translateX(3px); }
.tmqa .tq-caprow.is-on { background: linear-gradient(90deg, rgba(124,92,255,.10), transparent 72%); }
.tmqa .tq-caprow.is-on::before { transform: scaleY(1); }
.tmqa .tq-caprow.is-on .tq-caprow-no { color: var(--vio-hi); }
.tmqa .tq-caprow.is-on .tq-caprow-t { color: var(--text); }
.tmqa .tq-caprow.is-on .tq-caprow-ar { color: var(--cyan-hi); }

/* Preview column. Sticky on desktop; falls below the list on narrow screens,
   where it reads as the detail panel for the selected row — no duplicated
   content, no DOM reordering. */
.tmqa .tq-cappane-wrap { position: sticky; top: calc(var(--tq-offset) + 16px); }
.tmqa .tq-cappane { display: none; padding: clamp(24px, 2.6vw, 34px); }
.tmqa .tq-cappane.is-on { display: block; }
.tmqa .tq-cappane-kick {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--vio-hi); margin: 0 0 16px;
}
.tmqa .tq-cappane-kick s { text-decoration: none; color: var(--faint); }
.tmqa .tq-cappane h3 { margin: 0 0 12px; }
.tmqa .tq-cappane p { font-size: 15.5px; line-height: 1.66; color: var(--body); margin: 0 0 20px; }
.tmqa .tq-cappane .tq-ticks { margin-bottom: 22px; }

/* Tick lists — an em dash in mono, not a checkmark icon. */
.tmqa .tq-ticks li {
  position: relative; padding-left: 22px; margin-bottom: 9px;
  font-size: 14.5px; line-height: 1.6; color: var(--body);
}
.tmqa .tq-ticks li:last-child { margin-bottom: 0; }
.tmqa .tq-ticks li::before {
  content: "—"; position: absolute; left: 0; top: -1px;
  font-family: var(--f-mono); font-size: 12px; color: var(--vio);
}
.tmqa .tq-ticks-cy li::before { color: var(--cyan); }


/* ==========================================================================
   SECTION 02 — AUTONOMOUS AI TESTING · orbit, heal diff, responsibility split
   ========================================================================== */
.tmqa .tq-orbit-wrap { position: relative; display: grid; place-items: center; padding: 10px 0; }
.tmqa .tq-orbit { width: 100%; max-width: 420px; height: auto; overflow: visible; }
.tmqa .tq-orbit-track { stroke: rgba(255,255,255,.18); stroke-width: 1; fill: none; stroke-dasharray: 3 6; }
.tmqa .tq-orbit-arc {
  stroke: url(#tqOrbitGrad); stroke-width: 1.5; fill: none;
  stroke-linecap: round;
}
.tmqa .tq-orbit-node circle {
  fill: var(--abyss); stroke: var(--line-2); stroke-width: 1;
  transition: fill .35s var(--ease-io), stroke .35s var(--ease-io);
}
.tmqa .tq-orbit-node text {
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .1em;
  text-transform: uppercase; fill: var(--mute);
  transition: fill .35s var(--ease-io);
}
.tmqa .tq-orbit-node.is-on circle { fill: rgba(124,92,255,.22); stroke: var(--vio-hi); }
.tmqa .tq-orbit-node.is-on text { fill: var(--text); }
.tmqa .tq-orbit-node.is-done circle { stroke: rgba(124,92,255,.55); }
.tmqa .tq-orbit-mark { fill: var(--cyan-hi); }
.tmqa .tq-orbit-halo { fill: rgba(34,211,238,.20); }

.tmqa .tq-orbit-mid {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  text-align: center; width: 46%; pointer-events: none;
}
.tmqa .tq-orbit-ph {
  display: block; font-family: var(--f-disp); font-weight: 600;
  font-size: 17px; letter-spacing: -.015em; color: var(--text); margin-bottom: 6px;
}
.tmqa .tq-orbit-de {
  display: block; font-family: var(--f-mono); font-size: 10.5px; line-height: 1.55;
  color: var(--mute); word-break: break-word;
}

/* Self-healing diff — honest framing: proposed, logged, awaiting review. */
.tmqa .tq-diff { padding: clamp(20px, 2.2vw, 26px); font-family: var(--f-mono); }
.tmqa .tq-diff-h {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 16px;
}
.tmqa .tq-diff-row {
  display: grid; grid-template-columns: 16px 1fr; gap: 10px;
  padding: 9px 11px; border-radius: var(--r-sm); font-size: 11.5px; line-height: 1.5;
  word-break: break-all;
}
.tmqa .tq-diff-row + .tq-diff-row { margin-top: 6px; }
.tmqa .tq-diff-row s { text-decoration: none; }
.tmqa .tq-diff-out { background: rgba(255,107,91,.08); color: rgba(255,107,91,.86); }
.tmqa .tq-diff-out s { color: var(--fail); }
.tmqa .tq-diff-in  { background: rgba(52,211,153,.08); color: rgba(52,211,153,.86); }
.tmqa .tq-diff-in s { color: var(--pass); }
.tmqa .tq-diff-note {
  font-size: 10.5px; line-height: 1.6; color: var(--faint);
  margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line);
}

/* Confidence meter */
.tmqa .tq-conf { margin-top: 16px; }
.tmqa .tq-conf-h {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--mute); margin-bottom: 9px;
}
.tmqa .tq-conf-h b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.tmqa .tq-conf-track {
  position: relative; height: 5px; border-radius: 3px;
  background: rgba(255,255,255,.07); overflow: hidden;
}
.tmqa .tq-conf-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  border-radius: 3px; background: linear-gradient(90deg, var(--vio), var(--cyan));
  transition: width 1.1s var(--ease);
}

/* Responsibility split — what the agent does vs what a human owns. */
.tmqa .tq-resp {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  margin-top: clamp(40px, 5vw, 68px);
}
.tmqa .tq-resp-col { background: var(--abyss); padding: clamp(24px, 2.8vw, 36px); }
.tmqa .tq-resp-col h4 {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--vio-hi); margin: 0 0 20px;
}
.tmqa .tq-resp-col:last-child h4 { color: var(--cyan-hi); }
.tmqa .tq-resp-col:last-child .tq-ticks li::before { color: var(--cyan); }


/* ==========================================================================
   SECTION 03 — LLM / GENAI EVALUATION · vertical tabs, scorecard, evidence
   ========================================================================== */
.tmqa .tq-vtabs {
  display: grid; grid-template-columns: 246px minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 52px); align-items: start;
}
.tmqa .tq-vlist {
  position: relative; display: flex; flex-direction: column;
  border-left: 1px solid var(--line);
}
.tmqa .tq-vtab {
  position: relative; padding: 13px 18px; text-align: left;
  background: none; border: 0; cursor: pointer;
  font-family: var(--f-disp); font-size: 14.5px; font-weight: 500; letter-spacing: -.012em;
  color: var(--mute);
  transition: color .28s var(--ease-io), background-color .28s var(--ease-io);
}
.tmqa .tq-vtab span {
  display: block; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .06em; color: var(--faint); margin-top: 3px;
}
.tmqa .tq-vtab:hover { color: var(--body); }
.tmqa .tq-vtab.is-on { color: var(--text); background: rgba(255,255,255,.03); }
.tmqa .tq-vtab.is-on span { color: var(--vio-hi); }
.tmqa .tq-vink {
  position: absolute; left: -1px; top: 0; width: 2px; height: 0;
  background: linear-gradient(180deg, var(--vio), var(--cyan));
  transition: transform .42s var(--ease), height .42s var(--ease);
}

.tmqa .tq-vpane { display: none; }
.tmqa .tq-vpane.is-on { display: block; }
.tmqa .tq-vpane > h3 { margin: 0 0 12px; }
.tmqa .tq-vpane > p { font-size: 15.5px; line-height: 1.68; color: var(--body); margin: 0 0 28px; }

/* Scorecard */
.tmqa .tq-score { padding: clamp(22px, 2.4vw, 30px); margin-bottom: 20px; }
.tmqa .tq-score-h {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap; margin-bottom: 22px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.tmqa .tq-score-h p {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--mute); margin: 0;
}
.tmqa .tq-score-row + .tq-score-row { margin-top: 18px; }
.tmqa .tq-score-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 9px;
}
.tmqa .tq-score-lab { font-size: 14px; line-height: 1.4; color: var(--body); }
.tmqa .tq-score-fig {
  font-family: var(--f-mono); font-size: 12.5px; color: var(--text);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.tmqa .tq-score-fig i { font-style: normal; color: var(--faint); }
.tmqa .tq-score-track {
  position: relative; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,.06);
}
.tmqa .tq-score-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--vio), var(--cyan));
  transition: width 1s var(--ease);
}
.tmqa .tq-score-row.is-warn .tq-score-fill { background: linear-gradient(90deg, #B98A1E, var(--warn)); }
.tmqa .tq-score-row.is-fail .tq-score-fill { background: linear-gradient(90deg, #B24234, var(--fail)); }
/* Threshold tick — the gate the score has to clear. */
.tmqa .tq-score-tick {
  position: absolute; top: -5px; bottom: -5px; width: 1px;
  background: var(--line-3);
}
.tmqa .tq-score-tick::after {
  content: none; display: none; position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  font-family: var(--f-mono); font-size: 8.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--faint); white-space: nowrap;
}

/* Judged sample — the evidence behind the score. */
.tmqa .tq-evid { padding: clamp(20px, 2.2vw, 26px); font-family: var(--f-mono); }
.tmqa .tq-evid-h {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 18px;
}
.tmqa .tq-evid-row + .tq-evid-row { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.tmqa .tq-evid-k {
  display: block; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 7px;
}
.tmqa .tq-evid-v { font-size: 11.5px; line-height: 1.62; color: var(--body); margin: 0; }
.tmqa .tq-evid-v mark {
  background: rgba(255,107,91,.15); color: var(--fail);
  padding: 1px 3px; border-radius: 3px;
}
.tmqa .tq-evid-v b { color: var(--text); font-weight: 500; }


/* ==========================================================================
   SECTION 04 — PLAYWRIGHT MIGRATION · ladder, code compare, runtime bars
   ========================================================================== */
.tmqa .tq-ladder {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; margin-bottom: clamp(34px, 4vw, 52px);
}
.tmqa .tq-ladder-step {
  position: relative; background: var(--abyss);
  padding: clamp(18px, 2vw, 24px) clamp(14px, 1.6vw, 20px);
}
.tmqa .tq-ladder-step::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--vio), var(--cyan));
  transform: scaleX(0); transform-origin: left center;
  transition: transform .6s var(--ease);
}
.tmqa .tq-ladder-step.is-in::after { transform: scaleX(1); }
.tmqa .tq-ladder-no {
  display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em;
  color: var(--vio-hi); margin-bottom: 10px;
}
.tmqa .tq-ladder-t {
  display: block; font-family: var(--f-disp); font-size: 15px; font-weight: 600;
  letter-spacing: -.014em; color: var(--text); margin-bottom: 6px;
}
.tmqa .tq-ladder-s {
  display: block; font-family: var(--f-mono); font-size: 10.5px; line-height: 1.55;
  color: var(--mute);
}

/* Segmented control */
.tmqa .tq-seg {
  display: inline-flex; padding: 3px; gap: 2px;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: rgba(255,255,255,.03);
}
.tmqa .tq-seg button {
  padding: 8px 15px; border: 0; border-radius: 4px; background: none; cursor: pointer;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--mute);
  transition: background-color .25s var(--ease-io), color .25s var(--ease-io);
}
.tmqa .tq-seg button:hover { color: var(--body); }
.tmqa .tq-seg button.is-on { background: rgba(255,255,255,.09); color: var(--text); }

.tmqa .tq-compare-h {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin-bottom: 20px;
}
.tmqa .tq-compare {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px; align-items: start;
}
.tmqa .tq-compare.is-before { grid-template-columns: minmax(0, 1fr); }
.tmqa .tq-compare.is-before .tq-cmp-after { display: none; }
.tmqa .tq-compare.is-after { grid-template-columns: minmax(0, 1fr); }
.tmqa .tq-compare.is-after .tq-cmp-before { display: none; }

/* Runtime comparison bars */
.tmqa .tq-bars { padding: clamp(22px, 2.4vw, 30px); margin-top: clamp(28px, 3.4vw, 44px); }
.tmqa .tq-bars-h {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap; font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--mute);
  margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.tmqa .tq-bar + .tq-bar { margin-top: 18px; }
.tmqa .tq-bar-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 9px;
}
.tmqa .tq-bar-lab { font-size: 14px; color: var(--body); }
.tmqa .tq-bar-lab b { color: var(--text); font-weight: 600; }
.tmqa .tq-bar-fig {
  font-family: var(--f-mono); font-size: 13px; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.tmqa .tq-bar-track { height: 10px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.tmqa .tq-bar-fill {
  /* The fill is a <span>: it must be block-level or width/height are ignored
     outright. The other meters in this system are position:absolute, which
     blockifies them implicitly — this one is not, so it says so explicitly. */
  display: block;
  height: 100%; width: 0; border-radius: 3px;
  background: rgba(255,255,255,.28);
  transition: width 1.05s var(--ease);
}
.tmqa .tq-bar.is-key .tq-bar-fill { background: linear-gradient(90deg, var(--vio), var(--cyan)); }


/* ==========================================================================
   CODE PANEL
   ========================================================================== */
.tmqa .tq-code {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
}
.tmqa .tq-code-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em;
  background: rgba(255,255,255,.02);
}
.tmqa .tq-code-bar b { color: var(--text); font-weight: 500; }
.tmqa .tq-code-bar span { color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }
.tmqa .tq-code pre {
  margin: 0; padding: 18px 16px; overflow-x: auto;
  font-family: var(--f-mono); font-size: 11.8px; line-height: 1.78;
  color: var(--body); tab-size: 2;
}
.tmqa .tq-code code { font-family: inherit; font-size: inherit; background: none; padding: 0; }
/* Three hues, no more: violet keywords, cyan strings, warm figures. */
.tmqa .tq-code .c  { color: rgba(238,240,246,.46); font-style: italic; }
.tmqa .tq-code .kw { color: var(--vio-hi); }
.tmqa .tq-code .st { color: var(--cyan-hi); }
.tmqa .tq-code .fn { color: var(--text); }
.tmqa .tq-code .pr { color: rgba(238,240,246,.74); }
.tmqa .tq-code .nm { color: var(--warn); }
.tmqa .tq-code .del { color: rgba(255,107,91,.72); }


/* ==========================================================================
   HORIZONTAL TABS  (Section 05)
   ========================================================================== */
.tmqa .tq-tablist {
  position: relative; display: flex; gap: 4px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); margin-bottom: 28px;
}
.tmqa .tq-tab {
  position: relative; padding: 12px 16px 15px; background: none; border: 0; cursor: pointer;
  font-family: var(--f-disp); font-size: 14.5px; font-weight: 500; letter-spacing: -.012em;
  color: var(--mute); transition: color .26s var(--ease-io);
}
.tmqa .tq-tab:hover { color: var(--body); }
.tmqa .tq-tab.is-on { color: var(--text); }
.tmqa .tq-tabink {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--vio), var(--cyan));
  transition: transform .42s var(--ease), width .42s var(--ease);
}
.tmqa .tq-pane { display: none; }
.tmqa .tq-pane.is-on { display: block; }
.tmqa .tq-pane h3 { margin: 0 0 12px; }
.tmqa .tq-pane > p { font-size: 15.5px; line-height: 1.66; color: var(--body); margin: 0 0 20px; }


/* ==========================================================================
   COVERAGE MATRIX  (Section 05)
   ========================================================================== */
.tmqa .tq-matrix-scroll { overflow-x: auto; margin-top: clamp(34px, 4vw, 54px); }
.tmqa .tq-matrix {
  width: 100%; min-width: 620px;
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
}
.tmqa .tq-matrix-row {
  display: grid; grid-template-columns: minmax(160px, 1.5fr) repeat(3, minmax(110px, 1fr));
}
.tmqa .tq-matrix-row + .tq-matrix-row { border-top: 1px solid var(--line); }
.tmqa .tq-matrix-row > span {
  padding: 15px 18px; font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .04em; color: var(--mute);
}
.tmqa .tq-matrix-row > span + span { border-left: 1px solid var(--line); }
.tmqa .tq-matrix-head { background: rgba(255,255,255,.03); }
.tmqa .tq-matrix-head > span {
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
}
.tmqa .tq-matrix-j { color: var(--text) !important; }
.tmqa .tq-matrix-yes { color: var(--pass) !important; }
.tmqa .tq-matrix-no  { color: var(--faint) !important; }


/* ==========================================================================
   SECTION 06 — ERP · process rail + platform grid
   ========================================================================== */
.tmqa .tq-prail-scroll { overflow-x: auto; padding-bottom: 6px; margin-bottom: clamp(40px, 5vw, 64px); }
.tmqa .tq-prail {
  position: relative; display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  min-width: 780px; padding-top: 30px;
}
.tmqa .tq-prail::before {
  content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 1px;
  background: linear-gradient(90deg, var(--vio), var(--cyan));
  opacity: .4;
}
.tmqa .tq-prail-step { position: relative; padding: 0 14px 0 0; }
.tmqa .tq-prail-node {
  position: relative; z-index: 2; display: block;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--void); border: 1.5px solid var(--vio-hi);
  margin-bottom: 18px;
}
.tmqa .tq-prail-step.is-key .tq-prail-node { background: var(--cyan-hi); border-color: var(--cyan-hi); }
.tmqa .tq-prail-t {
  display: block; font-family: var(--f-disp); font-size: 14.5px; font-weight: 600;
  letter-spacing: -.014em; color: var(--text); margin-bottom: 6px;
}
.tmqa .tq-prail-s {
  display: block; font-family: var(--f-mono); font-size: 10.5px; line-height: 1.55;
  color: var(--mute);
}

.tmqa .tq-plat {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
}
.tmqa .tq-plat-cell {
  background: var(--abyss); padding: clamp(18px, 2.1vw, 26px);
  transition: background-color .3s var(--ease-io);
}
.tmqa .tq-plat-cell:hover { background: var(--slate); }
.tmqa .tq-plat-n {
  display: block; font-family: var(--f-disp); font-size: 16px; font-weight: 600;
  letter-spacing: -.016em; color: var(--text); margin-bottom: 5px;
}
.tmqa .tq-plat-k {
  display: block; font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: .04em; color: var(--faint);
}
.tmqa .tq-plat-cell.is-house .tq-plat-k { color: var(--cyan-hi); }

.tmqa .tq-assure { margin-top: clamp(34px, 4vw, 50px); display: grid; gap: 24px; }
.tmqa .tq-assure-item { padding-left: 20px; border-left: 2px solid rgba(124,92,255,.4); }
.tmqa .tq-assure-item h4 { margin: 0 0 7px; }
.tmqa .tq-assure-item p { font-size: 14.5px; line-height: 1.62; color: var(--body); margin: 0; }


/* ==========================================================================
   SECTION 07 — NFT · load curve + budgets | threat surface
   ========================================================================== */
.tmqa .tq-nft {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.tmqa .tq-nft-col { background: var(--abyss); padding: clamp(24px, 2.8vw, 38px); }
.tmqa .tq-nft-col > h3 { margin: 0 0 10px; }
.tmqa .tq-nft-col > p { font-size: 14.8px; line-height: 1.64; color: var(--body); margin: 0 0 26px; }

.tmqa .tq-curve { display: block; width: 100%; height: auto; margin-bottom: 22px; }
.tmqa .tq-curve-grid { stroke: var(--line); stroke-width: 1; }
.tmqa .tq-curve-area { fill: url(#tqCurveFill); }
.tmqa .tq-curve-line {
  fill: none; stroke: url(#tqCurveGrad); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.tmqa .tq-curve-knee { fill: var(--warn); }
.tmqa .tq-curve-kneeline { stroke: var(--warn); stroke-width: 1; stroke-dasharray: 3 4; opacity: .7; }
.tmqa .tq-curve-lab {
  font-family: var(--f-mono); font-size: 8.5px; letter-spacing: .08em;
  text-transform: uppercase; fill: var(--faint);
}
.tmqa .tq-curve-anno { font-family: var(--f-mono); font-size: 9px; fill: var(--warn); }

.tmqa .tq-budget { border-top: 1px solid var(--line); }
.tmqa .tq-budget-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px; align-items: center; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.tmqa .tq-budget-k { font-family: var(--f-mono); font-size: 11px; color: var(--body); }
.tmqa .tq-budget-v {
  font-family: var(--f-mono); font-size: 11.5px; color: var(--text);
  font-variant-numeric: tabular-nums;
}

.tmqa .tq-threat { border-top: 1px solid var(--line); }
.tmqa .tq-threat-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px; align-items: center; padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.tmqa .tq-threat-t { font-size: 14px; line-height: 1.45; color: var(--body); }
.tmqa .tq-threat-t span {
  display: block; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .06em; color: var(--faint); margin-top: 3px;
}
.tmqa .tq-scope {
  margin-top: 22px; padding: 15px 16px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: rgba(255,255,255,.025);
  font-family: var(--f-mono); font-size: 10.5px; line-height: 1.66; color: var(--mute);
}
.tmqa .tq-scope b { color: var(--text); font-weight: 500; }


/* ==========================================================================
   SECTION 08 — ENGAGEMENT TIMELINE
   ========================================================================== */
.tmqa .tq-steps { border-top: 1px solid var(--line); }
.tmqa .tq-step {
  display: grid; grid-template-columns: 128px minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 48px); align-items: start;
  padding: clamp(28px, 3.2vw, 42px) 0; border-bottom: 1px solid var(--line);
}
.tmqa .tq-step-no {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--vio-hi); padding-top: 5px;
}
.tmqa .tq-step-b h3 { margin: 0 0 10px; }
.tmqa .tq-step-b p { font-size: 15px; line-height: 1.66; color: var(--body); margin: 0; max-width: 54ch; }
.tmqa .tq-step-when {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em;
  color: var(--mute); white-space: nowrap; padding-top: 5px;
}


/* ==========================================================================
   CTA + FORM
   ========================================================================== */
.tmqa .tq-cta { position: relative; overflow: hidden; }
.tmqa .tq-cta-panel {
  padding: clamp(30px, 4vw, 60px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(30px, 4vw, 62px); align-items: start;
}
.tmqa .tq-cta-copy .tq-h2 { margin: 0 0 18px; }
.tmqa .tq-cta-copy .tq-lede { margin-bottom: 26px; }
.tmqa .tq-cta-meta { border-top: 1px solid var(--line); padding-top: 20px; }
.tmqa .tq-cta-meta li {
  display: flex; gap: 10px; align-items: flex-start;
  font-family: var(--f-mono); font-size: 11px; line-height: 1.6;
  color: var(--mute); margin-bottom: 9px;
}
.tmqa .tq-cta-meta li:last-child { margin-bottom: 0; }
.tmqa .tq-cta-meta svg { width: 13px; height: 13px; margin-top: 3px; color: var(--cyan); flex: none; }

.tmqa .tq-form { display: grid; gap: 16px; }
.tmqa .tq-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tmqa .tq-field { display: block; }
.tmqa .tq-field > span:first-child {
  display: block; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .13em; text-transform: uppercase; color: var(--mute);
  margin-bottom: 8px;
}
.tmqa .tq-form input,
.tmqa .tq-form select,
.tmqa .tq-form textarea {
  width: 100%; display: block;
  font-family: var(--f-disp); font-size: 15px; font-weight: 400; line-height: 1.5;
  color: var(--text);
  padding: 12px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  transition: border-color .22s var(--ease-io), background-color .22s var(--ease-io);
  -webkit-appearance: none; appearance: none;
}
.tmqa .tq-form textarea { min-height: 108px; resize: vertical; }
.tmqa .tq-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888E9E' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 38px;
}
.tmqa .tq-form select option { background: var(--slate); color: var(--text); }
.tmqa .tq-form input::placeholder,
.tmqa .tq-form textarea::placeholder { color: var(--faint); }
.tmqa .tq-form input:focus,
.tmqa .tq-form select:focus,
.tmqa .tq-form textarea:focus {
  border-color: rgba(124,92,255,.6); background: rgba(255,255,255,.06);
}
.tmqa .tq-form .is-bad { border-color: rgba(255,107,91,.65); }
.tmqa .tq-err {
  display: none; font-family: var(--f-mono); font-size: 10.5px;
  color: var(--fail); margin-top: 7px;
}
.tmqa .tq-err.is-on { display: block; }
.tmqa .tq-form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tmqa .tq-form-status {
  font-family: var(--f-mono); font-size: 11px; line-height: 1.5; color: var(--cyan-hi);
  margin: 0; min-height: 1.5em;
}


/* ==========================================================================
   SECTION RAIL + BACK TO TOP
   Both are position: fixed, so both are gated on .tmqa being in the viewport
   — they must never float over the host site's header or footer.
   ========================================================================== */
.tmqa .tq-dots {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
  z-index: 40; display: flex; flex-direction: column; gap: 3px;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-io);
}
.tmqa .tq-dots.is-on { pointer-events: auto; }
.tmqa .tq-dots.is-on { opacity: 1; }
.tmqa .tq-dot-btn {
  position: relative;                 /* so each label anchors to its own dot */
  display: flex; align-items: center; justify-content: flex-end;
  gap: 10px; padding: 6px 4px; background: none; border: 0; cursor: pointer;
}
.tmqa .tq-dot-btn i {
  display: block; width: 18px; height: 2px; border-radius: 1px;
  background: var(--line-3);
  transition: background-color .3s var(--ease-io), width .3s var(--ease);
}
.tmqa .tq-dot-btn span {
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .1em;
  text-transform: uppercase; color: transparent;
  white-space: nowrap; transition: color .3s var(--ease-io);
  position: absolute; right: 30px; pointer-events: none;
}
.tmqa .tq-dot-btn:hover i { background: var(--body); }
.tmqa .tq-dot-btn:hover span { color: var(--body); }
.tmqa .tq-dot-btn.is-on i { width: 26px; background: var(--cyan-hi); }

.tmqa .tq-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 40;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(11,13,24,.86);
  backdrop-filter: blur(10px);
  color: var(--body);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease-io), color .25s var(--ease-io), border-color .25s var(--ease-io);
}
.tmqa .tq-top.is-on { opacity: 1; pointer-events: auto; }
.tmqa .tq-top:hover { color: var(--text); border-color: var(--line-3); }
.tmqa .tq-top svg { width: 16px; height: 16px; }


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .tmqa .tq-dots { display: none !important; }
  .tmqa .tq-hero-visual .tq-agent { margin-right: 0; }
  .tmqa .tq-stack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .tmqa .tq-split,
  .tmqa .tq-split-6,
  .tmqa .tq-split-5 { grid-template-columns: minmax(0, 1fr); }
  .tmqa .tq-hero-copy { padding-right: 0; }
  .tmqa .tq-band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tmqa .tq-band-cell:nth-child(3) { border-left: 0; }
  .tmqa .tq-band-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tmqa .tq-vtabs { grid-template-columns: minmax(0, 1fr); }
  .tmqa .tq-vlist { flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); }
  .tmqa .tq-vtab { white-space: nowrap; }
  .tmqa .tq-vink { left: 0; top: auto; bottom: -1px; width: 0; height: 2px; }
  .tmqa .tq-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tmqa .tq-nft { grid-template-columns: minmax(0, 1fr); }
  .tmqa .tq-cta-panel { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  /* The capability preview falls below the list and reads as its detail
     panel. No duplicated markup, no DOM reordering. */
  .tmqa .tq-caps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .tmqa .tq-cappane-wrap { position: static; }
  .tmqa .tq-resp { grid-template-columns: minmax(0, 1fr); }
  .tmqa .tq-plat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tmqa .tq-compare { grid-template-columns: minmax(0, 1fr); }
  .tmqa .tq-step { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tmqa .tq-step-no { padding-top: 0; }
  .tmqa .tq-step-when { padding-top: 0; }
}

@media (max-width: 640px) {
  .tmqa { font-size: 16px; }
  .tmqa .tq-band-grid { grid-template-columns: minmax(0, 1fr); }
  .tmqa .tq-band-cell + .tq-band-cell { border-left: 0; border-top: 1px solid var(--line); }
  .tmqa .tq-proof { grid-template-columns: minmax(0, 1fr); }
  .tmqa .tq-proof li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .tmqa .tq-proof li { padding-right: 0; padding-bottom: 16px; }
  .tmqa .tq-stack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tmqa .tq-ladder { grid-template-columns: minmax(0, 1fr); }
  .tmqa .tq-plat { grid-template-columns: minmax(0, 1fr); }
  .tmqa .tq-field-row { grid-template-columns: minmax(0, 1fr); }
  .tmqa .tq-hero-cta .tq-btn { width: 100%; }
  .tmqa .tq-trace li { grid-template-columns: 52px 1fr; }
  .tmqa .tq-trace-ms { display: none; }
  .tmqa .tq-top { right: 14px; bottom: 16px; }
}


/* ==========================================================================
   MOTION PREFERENCES — static end states, never blank ones
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .tmqa *, .tmqa *::before, .tmqa *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .tq-js .tmqa [data-rv],
  .tq-js .tmqa .tq-up { opacity: 1 !important; transform: none !important; }
  .tmqa .tq-em-rule::after { transform: scaleX(1) !important; }
  .tmqa .tq-ladder-step::after { transform: scaleX(1) !important; }
  .tmqa .tq-caret { animation: none; opacity: 1; }
}


/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .tmqa { background: #fff; color: #111; }
  .tmqa .tq-aura, .tmqa .tq-grain, .tmqa .tq-dots, .tmqa .tq-top { display: none !important; }
  .tmqa .tq-h1, .tmqa .tq-h2, .tmqa .tq-h3, .tmqa .tq-h4, .tmqa .tq-em { color: #111; }
  .tmqa .tq-pane, .tmqa .tq-vpane, .tmqa .tq-cappane { display: block !important; }
  .tmqa .tq-panel, .tmqa .tq-code, .tmqa .tq-agent { border-color: #ccc; background: #fff; }
}


/* ==========================================================================
   REFINEMENTS
   ========================================================================== */

/* Horizontally scrolling rails get a thin, low-contrast scrollbar rather than
   the platform default. Hiding it entirely would remove the only affordance
   telling people there is more to the right. */
.tmqa .tq-vlist,
.tmqa .tq-matrix-scroll,
.tmqa .tq-prail-scroll,
.tmqa .tq-code pre {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.16) transparent;
}
.tmqa .tq-vlist::-webkit-scrollbar,
.tmqa .tq-matrix-scroll::-webkit-scrollbar,
.tmqa .tq-prail-scroll::-webkit-scrollbar,
.tmqa .tq-code pre::-webkit-scrollbar { height: 6px; width: 6px; }
.tmqa .tq-vlist::-webkit-scrollbar-track,
.tmqa .tq-matrix-scroll::-webkit-scrollbar-track,
.tmqa .tq-prail-scroll::-webkit-scrollbar-track,
.tmqa .tq-code pre::-webkit-scrollbar-track { background: transparent; }
.tmqa .tq-vlist::-webkit-scrollbar-thumb,
.tmqa .tq-matrix-scroll::-webkit-scrollbar-thumb,
.tmqa .tq-prail-scroll::-webkit-scrollbar-thumb,
.tmqa .tq-code pre::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.16); border-radius: 3px;
}

/* Five ladder steps in a two-column grid leave a dead cell. Let the last one
   span the row so the block reads as finished. */
@media (max-width: 1024px) {
  .tmqa .tq-ladder-step:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .tmqa .tq-ladder-step:last-child { grid-column: auto; }
}


/* ==========================================================================
   CLIENT CONTENT STRUCTURE — components added for the five-pillar taxonomy
   ========================================================================== */

/* Generic hairline-cell grid. Used for the belief statements and the
   "why Techmatic Systems" reasons, so neither becomes a row of glass cards. */
.tmqa .tq-cells {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.tmqa .tq-cells-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tmqa .tq-cells-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tmqa .tq-cells-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tmqa .tq-cell {
  background: var(--abyss); padding: clamp(22px, 2.6vw, 34px);
  transition: background-color .3s var(--ease-io);
}
.tmqa .tq-cell:hover { background: var(--slate); }
.tmqa .tq-cell-no {
  display: block; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--vio-hi);
  margin-bottom: 14px;
}
.tmqa .tq-cell h3, .tmqa .tq-cell h4 { margin: 0 0 10px; }
.tmqa .tq-cell p { font-size: 14.5px; line-height: 1.62; color: var(--body); margin: 0; }
.tmqa .tq-cell-v {
  display: block; font-family: var(--f-disp); font-weight: 700;
  font-size: clamp(30px, 3vw, 42px); line-height: 1; letter-spacing: -.034em;
  color: var(--text); margin: 0 0 12px;
}
.tmqa .tq-cell-v i { font-style: normal; font-size: .55em; color: var(--cyan-hi); }

/* Pull quote — serif italic, matching the headline emphasis face rather than
   introducing a new decorative treatment. */
.tmqa .tq-quote {
  position: relative; padding-left: clamp(20px, 2.4vw, 30px);
  margin: 0 0 clamp(30px, 3.6vw, 44px);
}
.tmqa .tq-quote::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px;
  background: linear-gradient(180deg, var(--vio), var(--cyan));
}
.tmqa .tq-quote p {
  font-family: var(--f-em); font-style: italic;
  font-size: clamp(19px, 1.9vw, 25px); line-height: 1.45; letter-spacing: -.01em;
  color: var(--text); margin: 0;
}

/* Legacy-vs-Playwright comparison. A real table, because the client's content
   IS a table — not three cards pretending to be one. */
.tmqa .tq-vs-scroll { overflow-x: auto; }
.tmqa .tq-vs {
  width: 100%; min-width: 700px;
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
}
.tmqa .tq-vs-row {
  display: grid;
  grid-template-columns: minmax(170px, .9fr) minmax(200px, 1.15fr) minmax(200px, 1.15fr);
}
.tmqa .tq-vs-row + .tq-vs-row { border-top: 1px solid var(--line); }
.tmqa .tq-vs-row > div { padding: 15px 18px; }
.tmqa .tq-vs-row > div + div { border-left: 1px solid var(--line); }
.tmqa .tq-vs-head { background: rgba(255,255,255,.03); }
.tmqa .tq-vs-head > div {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint);
}
.tmqa .tq-vs-head .tq-vs-win { color: var(--cyan-hi); }
.tmqa .tq-vs-k {
  font-family: var(--f-disp); font-size: 14.5px; font-weight: 600;
  letter-spacing: -.014em; color: var(--text);
}
.tmqa .tq-vs-old { font-size: 13.5px; line-height: 1.56; color: rgba(238,240,246,.56); }
.tmqa .tq-vs-new { font-size: 13.5px; line-height: 1.56; color: var(--body); }
.tmqa .tq-vs-new b { color: var(--text); font-weight: 600; }
/* The winning column carries a faint wash of the key light. */
.tmqa .tq-vs-row:not(.tq-vs-head) .tq-vs-new {
  background: linear-gradient(90deg, rgba(124,92,255,.07), transparent 70%);
}

/* AI code review — findings a bot posts on a pull request. */
.tmqa .tq-checks { padding: clamp(20px, 2.2vw, 28px); }
.tmqa .tq-checks-h {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--mute);
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.tmqa .tq-check {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 13px;
  align-items: start; padding: 13px 0; border-bottom: 1px solid var(--line);
}
.tmqa .tq-check:last-child { border-bottom: 0; padding-bottom: 0; }
.tmqa .tq-check-t { font-size: 13.8px; line-height: 1.52; color: var(--body); margin: 0; }
.tmqa .tq-check-t b { color: var(--text); font-weight: 600; }
.tmqa .tq-check-f {
  display: block; font-family: var(--f-mono); font-size: 10.5px;
  color: var(--faint); margin-top: 5px; word-break: break-all;
}

/* Four-stage variant of the process rail (Audit → Design → Gates → Telemetry) */
.tmqa .tq-prail-4 { grid-template-columns: repeat(4, minmax(150px, 1fr)); min-width: 600px; }

/* Chip rows — browser engines, CI platforms */
.tmqa .tq-chiprow { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 1024px) {
  .tmqa .tq-cells-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .tmqa .tq-cells-3,
  .tmqa .tq-cells-4 { grid-template-columns: minmax(0, 1fr); }
}
