/* ============================================================
   Numivo calculators — /tools/*
   ------------------------------------------------------------
   Loaded only on the tool and comparison pages, after styles.css.
   Every class is prefixed t- so nothing here can collide with the
   marketing site's stylesheet (which already owns .field, .card,
   .chip and .tag).
   ============================================================ */

:root {
  --accent: #19C7FF;
  --accent-hi: #52D8FF;
  --accent-ink: #A3ECFF;
  --good: #A3ECFF;
  --radius: 2px;
  --radius-lg: 2px;
}

body::after { display: none; }
::selection { color: #0d0f08; background: var(--accent); }
main { background: var(--bg); }

.btn-primary {
  color: #101200;
  background: var(--accent);
  box-shadow: none;
  border-radius: 3px;
}
.btn-primary::after { display: none; }
.btn-primary:hover {
  color: #101200;
  background: var(--accent-hi);
  box-shadow: none;
  transform: none;
  filter: none;
}

.t-wrap { max-width: 1240px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }

/* ---------------------------------------------------------------- masthead */

.t-head {
  padding-top: calc(clamp(48px, 8vw, 88px) + var(--header-content-air));
  padding-bottom: clamp(24px, 4vw, 40px);
}

.t-crumbs {
  display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
  margin: -7px 0 22px -10px;
  color: var(--ink-faint);
  font-size: 15px;
  font-weight: 600;
}
.t-crumbs a,
.t-crumbs > span:not([aria-hidden]) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
}
.t-crumbs a {
  color: var(--ink-dim);
  text-decoration: none;
  cursor: pointer;
  transition: color 120ms ease, background-color 120ms ease, border-color 120ms ease;
}
.t-crumbs a:hover {
  color: #101200;
  background: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}
.t-crumbs a:focus-visible {
  color: #101200;
  background: var(--accent);
  border-color: var(--accent);
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.t-crumbs > span:not([aria-hidden]) {
  color: var(--ink);
  background: #151719;
  border-color: var(--line-strong);
}
.t-crumbs span[aria-hidden] {
  opacity: 0.55;
  font-size: 14px;
  pointer-events: none;
}

.t-head h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02; letter-spacing: -0.04em; font-weight: 760;
  max-width: 17ch;
}

/* The answer block. Deliberately the first prose on the page and deliberately
   40–60 words: that is the window an AI Overview or a chat assistant lifts
   whole. Anything longer gets cut mid-sentence and reads as a fragment. */
.t-answer {
  margin-top: 7px;
  max-width: 68ch;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.6;
  color: var(--ink-dim);
}
.t-answer-label {
  margin-top: 28px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}
.t-kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.2;
  margin: 0 0 13px;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- layout */

.t-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
  padding-bottom: clamp(64px, 9vw, 120px);
}
.t-layout > * { min-width: 0; }
@media (max-width: 980px) { .t-layout { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- the rail */

.t-rail { position: sticky; top: calc(var(--nav-h) + 20px); }
.t-rail section + section { margin-top: 20px; }
.t-rail h3 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 8px; padding-inline: 12px;
}
.t-rail ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.t-rail-all {
  display: block;
  margin-bottom: 22px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.t-rail-all::after { content: " ↗"; color: var(--accent); }
.t-rail a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--radius);
  color: var(--ink-dim); text-decoration: none;
  font-size: 14.5px; line-height: 1.3;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.t-rail a:hover { background: var(--bg-raise); color: var(--ink); }
.t-rail a[aria-current="page"] {
  background: #1b1d20; color: var(--ink);
  border-color: var(--line-strong); font-weight: 600;
}
.t-rail svg { width: 16px; height: 16px; flex: none; opacity: 0.75; }
.t-rail a[aria-current="page"] svg { opacity: 1; color: var(--accent-hi); }

@media (max-width: 980px) {
  .t-rail { position: static; min-width: 0; max-width: 100%; margin-bottom: 8px; }
  .t-rail section { min-width: 0; }
  .t-rail section:not(.is-current-category) { display: none; }
  .t-rail-all { display: inline-block; margin-bottom: 12px; }
  .t-rail section + section { margin-top: 12px; }
  .t-rail h3 { padding-inline: 0; margin-bottom: 6px; }
  .t-rail ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 7px;
    overflow: visible;
    margin: 0;
    padding: 0;
  }
  .t-rail a { min-width: 0; white-space: normal; border-color: var(--line); background: var(--bg-card); }
}

/* ---------------------------------------------------------------- the panel */

.t-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #151719;
  overflow: hidden;
}
.t-panel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); }
@media (max-width: 820px) { .t-panel-grid { grid-template-columns: 1fr; } }
/* The scale reference has controls but no result column: it rewrites the tables
   underneath instead. */
.t-panel-grid.t-panel--single { grid-template-columns: 1fr; }
.t-panel--single .t-inputs { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); align-items: start; }

.t-inputs { padding: clamp(20px, 2.6vw, 30px); display: grid; gap: 18px; align-content: start; }
.t-results {
  padding: clamp(20px, 2.6vw, 30px);
  background: #101112;
  border-left: 1px solid var(--line);
  display: grid; gap: 16px; align-content: start;
}
@media (max-width: 820px) { .t-results { border-left: 0; border-top: 1px solid var(--line); } }

.t-field { display: grid; gap: 7px; }
.t-field > label { font-size: 14px; font-weight: 600; color: var(--ink); }
.t-field .t-hint { font-size: 12.5px; line-height: 1.45; color: var(--ink-faint); }

.t-input { position: relative; display: flex; align-items: center; }
.t-input input[type="text"],
.t-input select {
  width: 100%;
  appearance: none;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 10px 12px;
  font: inherit; font-size: 15px;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.t-input select { padding-right: 34px; cursor: pointer; }
.t-input input:focus-visible,
.t-input select:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgb(0 174 239 / 0.2);
}
.t-input .t-unit {
  position: absolute; right: 12px;
  font-size: 13px; color: var(--ink-faint);
  pointer-events: none; font-variant-numeric: tabular-nums;
}
.t-input:has(.t-unit) input { padding-right: 62px; }
.t-input .t-chev {
  position: absolute; right: 12px; width: 16px; height: 16px;
  color: var(--ink-faint); pointer-events: none;
}

/* switch */
.t-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.t-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.t-toggle .t-track {
  width: 40px; height: 23px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line-strong);
  position: relative; transition: background 0.18s ease, border-color 0.18s ease;
  flex: none;
}
.t-toggle .t-track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--ink-faint); transition: transform 0.18s ease, background 0.18s ease;
}
.t-toggle input:checked + .t-track { background: var(--accent); border-color: var(--accent); }
.t-toggle input:checked + .t-track::after { transform: translateX(17px); background: #111; }
.t-toggle input:focus-visible + .t-track { box-shadow: 0 0 0 2px rgb(0 174 239 / 0.24); }

/* ---------------------------------------------------------------- results */

.t-results h2 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint);
}
.t-outs { display: grid; gap: 16px; }
.t-out { display: grid; gap: 3px; }
.t-out dt { font-size: 13px; color: var(--ink-dim); }
/* The row carries the font size so the unit can size itself in em against the
   number it belongs to, whether that number is 19px or the 40px headline one. */
.t-outrow {
  display: flex; align-items: baseline; gap: 5px;
  font-size: 19px; line-height: 1.25; margin: 0;
}
.out-value {
  font-weight: 650; color: var(--ink);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.t-out.is-primary { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.t-out.is-primary .t-outrow { font-size: clamp(30px, 3.6vw, 40px); }
.t-out.is-primary .out-value {
  font-weight: 700; letter-spacing: -0.02em; color: var(--accent-hi);
}
.t-outunit { font-size: 0.5em; font-weight: 500; color: var(--ink-faint); }
.t-out.is-primary .t-outunit { font-size: 0.34em; }

.out-value.is-good { color: #6ee7a8; }
.out-value.is-warn { color: #f0c674; }
.out-value.is-bad  { color: #f28a8a; }
.t-out.is-primary .out-value.is-good,
.t-out.is-primary .out-value.is-warn,
.t-out.is-primary .out-value.is-bad { color: inherit; }

.t-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.t-actions button {
  font: inherit; font-size: 13.5px; font-weight: 600;
  padding: 8px 14px; border-radius: var(--radius); cursor: pointer;
  background: transparent; color: var(--ink-dim);
  border: 1px solid var(--line-strong);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.t-actions button:hover { color: var(--ink); border-color: var(--ink-faint); background: var(--bg); }
.t-actions button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* stacked millisecond bar, frame budget only */
.t-bar {
  position: relative; height: 12px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line-strong);
  overflow: hidden; display: flex;
}
.t-bar .bar-seg { height: 100%; border-right: 1px solid var(--bg-raise); }
.t-bar .bar-seg:nth-child(1) { background: var(--accent); }
.t-bar .bar-seg:nth-child(2) { background: #b8d900; }
.t-bar .bar-seg:nth-child(3) { background: #90aa00; }
.t-bar .bar-seg:nth-child(4) { background: #687c00; }
.t-bar .bar-seg:nth-child(5) { background: #465300; }
.t-barwrap { position: relative; }
.t-barmark {
  position: absolute; top: -4px; bottom: -4px; width: 2px;
  background: #f28a8a; border-radius: 2px;
}
.t-barlegend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12px; color: var(--ink-faint); }
.t-barlegend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; }

/* ---------------------------------------------------------------- prose */

.t-prose { max-width: 78ch; margin-top: clamp(40px, 5vw, 64px); }
.t-prose h2 {
  font-family: var(--font-display); font-size: clamp(21px, 2.3vw, 27px);
  letter-spacing: -0.015em; margin-bottom: 14px;
}
.t-prose h3 { font-size: 17px; margin-bottom: 6px; }
.t-prose p { color: var(--ink-dim); margin-bottom: 14px; }
.t-prose p:last-child { margin-bottom: 0; }
.t-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em; background: var(--bg-card);
  border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px;
  color: var(--accent-ink); white-space: nowrap;
}
.t-sources {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.t-sources a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
.t-sources a::after { content: "↗"; color: var(--accent); text-decoration: none; }
.t-sources a:hover { text-decoration-color: var(--accent); }

.t-faq { display: grid; gap: 0; margin-top: 12px; }
.t-faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.t-faq details:first-child { border-top: 1px solid var(--line); }
.t-faq summary {
  cursor: pointer; font-weight: 600; font-size: 16px; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
}
.t-faq summary::-webkit-details-marker { display: none; }
.t-faq summary::after {
  content: "+"; color: var(--ink-faint); font-weight: 400; font-size: 20px; line-height: 1;
}
.t-faq details[open] summary::after { content: "\2013"; }
.t-faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.t-faq details p { margin-top: 10px; margin-bottom: 0; color: var(--ink-dim); }

/* ---------------------------------------------------------------- tables */

.t-tablewrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.t-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 460px; }
.t-table caption { text-align: left; padding: 14px 18px 0; color: var(--ink-faint); font-size: 13px; }
.t-table th, .t-table td { padding: 11px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.t-table thead th {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--ink-faint); font-weight: 700; background: var(--bg-raise);
}
.t-table tbody tr:last-child td { border-bottom: 0; }
.t-table tbody tr:hover { background: var(--bg-raise); }
.t-table td:not(:first-child) { font-variant-numeric: tabular-nums; color: var(--ink-dim); }
.t-table td[data-metres] { color: var(--ink); font-weight: 600; }
.t-note { font-size: 13.5px; color: var(--ink-faint); margin-top: 12px; line-height: 1.55; }

.t-group { margin-top: 26px; }
.t-group h3 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 8px;
}

/* ---------------------------------------------------------------- hub grid */

.t-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  padding-bottom: clamp(64px, 9vw, 120px);
}
.t-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #141619; text-decoration: none; color: inherit;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.t-card:hover { border-color: #4a520d; background: #181a1c; }
.t-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.t-card svg { width: 20px; height: 20px; color: var(--accent-hi); }
.t-card h2 { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.t-card p { font-size: 14px; color: var(--ink-dim); line-height: 1.5; margin: 0; }

/* ---------------------------------------------------------------- searchable hub */

.t-hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 1px;
  padding-top: calc(clamp(44px, 7vw, 88px) + var(--header-content-air));
  padding-bottom: clamp(44px, 7vw, 88px);
}
.t-hub-copy,
.t-hub-proof {
  border: 1px solid var(--line-strong);
  background: #141617;
}
.t-hub-copy { padding: clamp(28px, 5vw, 64px); }
.t-hub-copy .t-crumbs { margin-bottom: clamp(32px, 6vw, 72px); }
.t-hub-copy h1 {
  max-width: 13ch;
  font-family: var(--font-display);
  font-size: clamp(42px, 6.7vw, 84px);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 0.94;
}
.t-hub-copy .t-answer {
  max-width: 64ch;
  margin-top: 28px;
}
.t-hub-cta,
.t-request a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  min-width: 220px;
  padding: 11px 14px;
  background: var(--accent);
  color: #101200;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}
.t-hub-cta:hover,
.t-request a:hover { background: var(--accent-hi); }
.t-hub-cta:focus-visible,
.t-request a:focus-visible { outline-color: #fff; }
.t-hub-proof {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
}
.t-hub-proof div {
  display: grid;
  align-content: end;
  gap: 4px;
  min-height: 150px;
  padding: clamp(22px, 3vw, 34px);
  border-bottom: 1px solid var(--line-strong);
}
.t-hub-proof div:last-child { border-bottom: 0; }
.t-hub-proof strong {
  color: var(--accent);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1;
}
.t-hub-proof span {
  color: var(--ink-dim);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.t-library {
  border-block: 1px solid var(--line);
  background: #101112;
  scroll-margin-top: calc(var(--nav-h) + 12px);
}
.t-find {
  position: relative;
  z-index: 2;
  padding-block: 28px 22px;
  border-bottom: 1px solid var(--line);
  background: #101112;
}
.t-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, 180px) 1fr;
  align-items: center;
  border: 1px solid var(--line-strong);
  background: #0d0f10;
}
.t-search label {
  padding: 14px 16px;
  border-right: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.t-search input {
  width: 100%;
  min-width: 0;
  padding: 13px 42px 13px 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.t-search input::placeholder { color: var(--ink-faint); }
.t-search input:focus-visible { box-shadow: inset 0 -2px var(--accent); }
.t-search > span {
  position: absolute;
  right: 15px;
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  pointer-events: none;
}
.t-filters {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-block: 14px 2px;
  scrollbar-width: thin;
}
.t-filters button {
  flex: none;
  padding: 8px 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink-dim);
  background: transparent;
  font-size: 12.5px;
  font-weight: 650;
}
.t-filters button span { color: var(--ink-faint); margin-left: 5px; }
.t-filters button:hover { color: var(--ink); border-color: var(--ink-faint); }
.t-filters button.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #101200;
}
.t-filters button.is-active span { color: #00384D; }
.t-result-count {
  margin-top: 12px;
  color: var(--ink-faint);
  font-size: 12px;
}

.t-categories { padding-block: clamp(30px, 5vw, 64px) clamp(64px, 8vw, 100px); }
.t-category {
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1.6fr);
  gap: 1px;
  border: 1px solid var(--line-strong);
  background: var(--line-strong);
}
.t-category + .t-category { margin-top: 22px; }
.t-category-head {
  padding: clamp(24px, 3.4vw, 42px);
  background: #151718;
}
.t-category-head p {
  margin-bottom: clamp(42px, 7vw, 84px);
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.t-category-head h2 {
  max-width: 11ch;
  font-size: clamp(26px, 3.3vw, 42px);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1;
}
.t-category-head span {
  display: block;
  max-width: 34ch;
  margin-top: 18px;
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.55;
}
.t-category-list { display: grid; gap: 1px; background: var(--line-strong); }
.t-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  padding: 22px 24px;
  border: 0;
  border-radius: 0;
  background: #101112;
}
.t-card:hover { border-color: transparent; background: #17191a; }
.t-card-no {
  padding-top: 3px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}
.t-card-copy { display: grid; gap: 7px; }
.t-card-copy strong {
  color: var(--ink);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.t-card-copy small {
  max-width: 66ch;
  color: var(--ink-dim);
  font-size: 13.5px;
  line-height: 1.5;
}
.t-card-arrow { color: var(--ink-faint); font-size: 18px; }
.t-card:hover .t-card-arrow { color: var(--accent); }
.t-card[hidden],
.t-category[hidden] { display: none; }

.t-empty {
  padding: clamp(30px, 5vw, 60px);
  border: 1px solid var(--line-strong);
  text-align: center;
  background: #151718;
}
.t-empty strong { display: block; font-size: 22px; }
.t-empty p { margin-top: 6px; color: var(--ink-dim); }
.t-empty button {
  margin-top: 18px;
  padding: 9px 13px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.t-request {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 7vw, 100px);
  margin-block: clamp(64px, 9vw, 120px);
  padding-block: clamp(34px, 5vw, 64px);
  border-block: 1px solid var(--line-strong);
}
.t-request h2 {
  max-width: 10ch;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.t-request > div:last-child { align-self: end; }
.t-request p { max-width: 53ch; color: var(--ink-dim); }
.t-hub-note {
  max-width: 820px;
  padding-bottom: clamp(64px, 9vw, 120px);
}
.t-hub-note h2 { margin-bottom: 12px; font-size: 24px; }
.t-hub-note p { color: var(--ink-dim); }

/* ---------------------------------------------------------------- related */

.t-related {
  margin-top: clamp(46px, 6vw, 72px);
  padding-top: 30px;
  border-top: 1px solid var(--line-strong);
}
.t-related .t-kicker { margin-bottom: 10px; }
.t-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line-strong);
  background: var(--line-strong);
}
.t-related-grid a {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 170px;
  padding: 18px;
  background: #141617;
  text-decoration: none;
}
.t-related-grid a:hover { background: #191b1d; }
.t-related-grid span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.t-related-grid strong { color: var(--ink); font-size: 15px; line-height: 1.3; }
.t-related-grid small { color: var(--ink-dim); font-size: 12.5px; line-height: 1.45; }

@media (max-width: 820px) {
  .t-hub-hero { grid-template-columns: 1fr; }
  .t-hub-proof { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
  .t-hub-proof div { min-height: 120px; border-right: 1px solid var(--line-strong); border-bottom: 0; }
  .t-hub-proof div:last-child { border-right: 0; }
  .t-category { grid-template-columns: 1fr; }
  .t-category-head p { margin-bottom: 28px; }
  .t-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body.has-promo .t-hub-hero,
  body.has-promo .t-head {
    padding-top: calc(var(--nav-h) + var(--promo-h) + 24px + var(--header-content-air));
  }
  body:not(.has-promo) .t-head {
    padding-top: calc(var(--nav-h) + 24px + var(--header-content-air));
  }
  .t-hub-copy { padding: 24px 20px 30px; }
  .t-hub-copy .t-crumbs { margin-bottom: 36px; }
  .t-hub-copy h1 { font-size: clamp(39px, 13vw, 58px); }
  .t-hub-proof { grid-template-columns: 1fr; }
  .t-hub-proof div {
    grid-template-columns: 64px 1fr;
    align-items: end;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }
  .t-hub-proof strong { font-size: 36px; }
  .t-search { grid-template-columns: 1fr; }
  .t-search label { padding-bottom: 0; border-right: 0; }
  .t-card { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 11px; padding: 18px 16px; }
  .t-card-copy small { font-size: 12.5px; }
  .t-request { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- compare */

.t-verdict {
  display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 26px;
}
.t-verdict > div {
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg-card);
}
.t-verdict h3 { font-size: 14px; margin-bottom: 8px; color: var(--accent-hi); }
.t-verdict p { font-size: 14.5px; color: var(--ink-dim); line-height: 1.55; margin: 0; }
.t-verdict ul { margin: 8px 0 0; padding-left: 18px; font-size: 14.5px; color: var(--ink-dim); line-height: 1.65; }

.t-yes { color: #6ee7a8; font-weight: 600; }
.t-no { color: var(--ink-faint); }
.t-partial { color: #f0c674; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .t-card, .t-rail a, .t-actions button, .t-toggle .t-track, .t-toggle .t-track::after { transition: none; }
}

/* Cyan is used as navigation feedback, not as a blanket decoration. */
.t-crumbs a:hover,
.t-crumbs a:focus-visible {
  color: var(--ink);
  background: #1b1d20;
  border-color: var(--line-strong);
}

.t-answer-label,
.t-kicker,
.t-category-head p,
.t-related-grid span,
.t-hub-proof strong,
.t-verdict h3 {
  color: var(--ink-dim);
}

.t-card:hover {
  border-color: var(--line-strong);
  background: #17191a;
}

.t-card-no,
.t-card:hover .t-card-arrow {
  color: var(--ink-faint);
}
