/* ==========================================================================
   TechBoilers Engine
   Design tokens live here so the plugin looks right in any theme. The
   TechBoilers theme loads after this file and can override any of them.
   ========================================================================== */

:root {
  --tb-ink:          #14181a;
  --tb-ink-soft:     #2a3336;
  --tb-steel:        #5c696e;
  --tb-mute:         #8b9599;
  --tb-line:         #dce0db;
  --tb-line-strong:  #c3c9c2;
  --tb-panel:        #edefec;
  --tb-panel-2:      #e4e8e2;
  --tb-paper:        #ffffff;

  --tb-hazard:       #c93a12;
  --tb-hazard-ink:   #8f2809;
  --tb-hazard-wash:  #fbeae4;
  --tb-brass:        #a87c25;
  --tb-brass-wash:   #f6edd8;
  --tb-go:           #1c6b45;
  --tb-go-wash:      #e6f2eb;

  --tb-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --tb-body:    "Newsreader", Georgia, "Times New Roman", serif;
  --tb-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --tb-r:    4px;
  --tb-r-lg: 10px;

  --tb-shadow:    0 1px 0 rgba(20,24,26,.05), 0 14px 34px -22px rgba(20,24,26,.45);
  --tb-shadow-lg: 0 2px 0 rgba(20,24,26,.05), 0 30px 60px -34px rgba(20,24,26,.5);

  --tb-max: 1180px;
}

/* --------------------------------------------------------------------------
   Shared primitives
   -------------------------------------------------------------------------- */

.tb-shell {
  width: 100%;
  max-width: var(--tb-max);
  margin-inline: auto;
  padding-inline: clamp(18px, 5vw, 40px);
}

.tb-eyebrow {
  font-family: var(--tb-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tb-brass);
  margin: 0 0 .6rem;
}

.tb-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--tb-display);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1;
  padding: .85em 1.4em;
  border: 1px solid var(--tb-ink);
  border-radius: var(--tb-r);
  background: var(--tb-ink);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease, border-color .16s ease;
}
.tb-btn:hover { background: var(--tb-hazard); border-color: var(--tb-hazard); color: #fff; }
.tb-btn:active { transform: translateY(1px); }
.tb-btn[disabled] { opacity: .35; cursor: not-allowed; }
.tb-btn--ghost { background: transparent; color: var(--tb-ink); }
.tb-btn--ghost:hover { background: var(--tb-ink); color: #fff; border-color: var(--tb-ink); }

.tb-link-back {
  border: 0;
  background: none;
  padding: 0;
  font-family: var(--tb-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tb-steel);
  cursor: pointer;
}
.tb-link-back:hover { color: var(--tb-hazard); }

.tb-fine, .tb-disclosure {
  font-family: var(--tb-mono);
  font-size: .74rem;
  line-height: 1.7;
  color: var(--tb-steel);
}

.tb-crumbs {
  font-family: var(--tb-mono);
  font-size: .72rem;
  letter-spacing: .05em;
  color: var(--tb-steel);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.4rem;
}
.tb-crumbs a { color: var(--tb-steel); text-decoration: none; }
.tb-crumbs a:hover { color: var(--tb-hazard); text-decoration: underline; }
.tb-crumbs [aria-current] { color: var(--tb-ink); }

/* --------------------------------------------------------------------------
   The buy button
   -------------------------------------------------------------------------- */

.tb-buy {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--tb-display);
  font-size: .95rem;
  font-weight: 700;
  padding: .85em 1.35em;
  border-radius: var(--tb-r);
  background: var(--tb-hazard);
  color: #fff !important;
  text-decoration: none !important;
  border: 1px solid var(--tb-hazard);
  box-shadow: 0 10px 22px -14px rgba(201,58,18,.9);
  transition: background .16s ease, transform .16s ease;
}
.tb-buy:hover { background: var(--tb-hazard-ink); border-color: var(--tb-hazard-ink); }
.tb-buy:active { transform: translateY(1px); }
.tb-buy svg { opacity: .85; flex: none; }

/* --------------------------------------------------------------------------
   Match engine
   -------------------------------------------------------------------------- */

.tb-engine {
  background: var(--tb-paper);
  border: 1px solid var(--tb-line-strong);
  border-radius: var(--tb-r-lg);
  box-shadow: var(--tb-shadow-lg);
  overflow: hidden;
}

.tb-engine__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--tb-line);
  background: var(--tb-panel);
}
.tb-engine__head .tb-eyebrow { margin: 0 0 .15rem; }

.tb-engine__gauge { width: 54px; flex: none; }
.tb-engine__gauge svg { width: 100%; height: auto; display: block; }
.tb-engine__arc-bg { stroke: var(--tb-line-strong); }
.tb-engine__arc {
  stroke: var(--tb-hazard);
  stroke-dasharray: 101;
  stroke-dashoffset: 76;
  transition: stroke-dashoffset .45s cubic-bezier(.4,0,.2,1);
}
.tb-engine__pin { fill: var(--tb-ink); }

.tb-engine__step {
  font-family: var(--tb-mono);
  font-size: .78rem;
  font-weight: 600;
  color: var(--tb-ink);
  margin: 0;
}

.tb-engine__restart {
  margin-left: auto;
  border: 1px solid var(--tb-line-strong);
  background: var(--tb-paper);
  border-radius: var(--tb-r);
  padding: .5em .9em;
  font-family: var(--tb-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tb-steel);
  cursor: pointer;
}
.tb-engine__restart:hover { color: var(--tb-hazard); border-color: var(--tb-hazard); }

.tb-engine__stage { padding: clamp(1.4rem, 3.5vw, 2.2rem); }

.tb-engine__panel { display: none; }
.tb-engine__panel.is-active { display: block; animation: tb-fade .28s ease both; }
@keyframes tb-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.tb-engine__q {
  font-family: var(--tb-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--tb-ink);
  margin: 0 0 .4rem;
}
.tb-engine__sub {
  font-family: var(--tb-body);
  font-size: 1rem;
  color: var(--tb-steel);
  margin: 0 0 1.3rem;
}

.tb-choices { display: grid; gap: .6rem; }
.tb-choices--device   { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.tb-choices--budget   { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.tb-choices--priority { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.tb-choices--platform { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

.tb-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .18rem;
  text-align: left;
  padding: .95rem 1rem;
  background: var(--tb-paper);
  border: 1px solid var(--tb-line-strong);
  border-radius: var(--tb-r);
  cursor: pointer;
  transition: border-color .14s ease, background .14s ease, transform .14s ease;
}
.tb-choice:hover { border-color: var(--tb-ink); transform: translateY(-1px); }
.tb-choice strong {
  font-family: var(--tb-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--tb-ink);
}
.tb-choice span {
  font-family: var(--tb-mono);
  font-size: .7rem;
  line-height: 1.4;
  color: var(--tb-steel);
}
.tb-choice.is-on {
  border-color: var(--tb-hazard);
  background: var(--tb-hazard-wash);
  box-shadow: inset 0 0 0 1px var(--tb-hazard);
}
.tb-choice.is-on strong { color: var(--tb-hazard-ink); }
.tb-choice[disabled] { opacity: .4; cursor: not-allowed; }

.tb-engine__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
}
.tb-engine__panel > .tb-link-back { margin-top: 1.4rem; display: inline-block; }

.tb-engine__loading {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-family: var(--tb-mono);
  font-size: .82rem;
  color: var(--tb-steel);
  padding: 2rem 0;
}
.tb-engine__loading[hidden] { display: none; }
.tb-engine__spinner {
  width: 18px; height: 18px;
  border: 2px solid var(--tb-line-strong);
  border-top-color: var(--tb-hazard);
  border-radius: 50%;
  animation: tb-spin .7s linear infinite;
}
@keyframes tb-spin { to { transform: rotate(360deg); } }

/* Results ---------------------------------------------------------------- */

.tb-results__note {
  font-family: var(--tb-mono);
  font-size: .78rem;
  line-height: 1.6;
  color: var(--tb-hazard-ink);
  background: var(--tb-hazard-wash);
  border-left: 3px solid var(--tb-hazard);
  padding: .8rem 1rem;
  margin: 0 0 1.2rem;
}

.tb-results__title {
  font-family: var(--tb-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 1.2rem;
  color: var(--tb-ink);
}

.tb-results__list { display: grid; gap: .9rem; }

.tb-result {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 1.1rem;
  padding: 1rem;
  border: 1px solid var(--tb-line);
  border-radius: var(--tb-r);
  background: var(--tb-paper);
  transition: border-color .14s ease, box-shadow .14s ease;
}
.tb-result:hover { border-color: var(--tb-line-strong); box-shadow: var(--tb-shadow); }
.tb-result.is-top { border-color: var(--tb-brass); background: linear-gradient(180deg, var(--tb-brass-wash), var(--tb-paper) 70%); }

.tb-result__media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--tb-r);
  overflow: hidden;
  background: var(--tb-panel);
}
.tb-result__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tb-result__mark {
  font-family: var(--tb-mono);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--tb-mute);
}

.tb-result__body { min-width: 0; }
.tb-result__meter { display: flex; align-items: baseline; gap: .4rem; margin-bottom: .25rem; }
.tb-result__pct {
  font-family: var(--tb-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--tb-hazard);
  line-height: 1;
}
.tb-result__pct small { font-size: .7rem; }
.tb-result__pctlabel {
  font-family: var(--tb-mono);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tb-mute);
}

.tb-result h3 {
  font-family: var(--tb-display);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  margin: 0 0 .35rem;
}
.tb-result h3 a { color: var(--tb-ink); text-decoration: none; }
.tb-result h3 a:hover { color: var(--tb-hazard); }
.tb-result p {
  font-family: var(--tb-body);
  font-size: .95rem;
  line-height: 1.55;
  color: var(--tb-steel);
  margin: 0 0 .6rem;
}

.tb-result__tags { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .7rem; padding: 0; }
.tb-result__tags li {
  font-family: var(--tb-mono);
  font-size: .66rem;
  letter-spacing: .04em;
  padding: .28em .6em;
  border-radius: 999px;
  background: var(--tb-panel);
  color: var(--tb-steel);
}

.tb-result__go {
  font-family: var(--tb-display);
  font-size: .85rem;
  font-weight: 700;
  color: var(--tb-ink);
  text-decoration: none;
  border-bottom: 2px solid var(--tb-hazard);
  padding-bottom: 1px;
}
.tb-result__go:hover { color: var(--tb-hazard); }

.tb-results__fine {
  font-family: var(--tb-mono);
  font-size: .7rem;
  line-height: 1.6;
  color: var(--tb-mute);
  margin-top: 1.2rem;
  padding-top: .9rem;
  border-top: 1px solid var(--tb-line);
}

.tb-results__empty, .tb-empty {
  text-align: center;
  padding: 2.4rem 1rem;
  border: 1px dashed var(--tb-line-strong);
  border-radius: var(--tb-r);
  background: var(--tb-panel);
}
.tb-results__empty h2, .tb-empty h2 {
  font-family: var(--tb-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 .5rem;
}
.tb-results__empty p, .tb-empty p {
  font-family: var(--tb-body);
  color: var(--tb-steel);
  max-width: 46ch;
  margin: 0 auto 1rem;
}

@media (max-width: 560px) {
  .tb-result { grid-template-columns: 84px 1fr; gap: .8rem; padding: .8rem; }
}

/* --------------------------------------------------------------------------
   The rating plate
   -------------------------------------------------------------------------- */

.tb-plate {
  position: relative;
  margin: 2.2rem 0;
  padding: 1.6rem 1.7rem 1.5rem;
  background:
    linear-gradient(180deg, var(--tb-panel) 0%, var(--tb-panel-2) 100%);
  border: 1px solid var(--tb-line-strong);
  border-radius: var(--tb-r);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), var(--tb-shadow);
}
.tb-plate::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(20,24,26,.1);
  border-radius: 2px;
  pointer-events: none;
}

.tb-plate__rivet {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--tb-line-strong) 60%, #a9b0a9);
  box-shadow: 0 1px 1px rgba(0,0,0,.2);
}
.tb-plate__rivet--tl { top: 11px; left: 11px; }
.tb-plate__rivet--tr { top: 11px; right: 11px; }
.tb-plate__rivet--bl { bottom: 11px; left: 11px; }
.tb-plate__rivet--br { bottom: 11px; right: 11px; }

.tb-plate__stamp {
  font-family: var(--tb-mono);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tb-brass);
  margin: 0 0 .8rem;
}

.tb-plate__pick {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  margin: 0 0 .8rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(20,24,26,.12);
}
.tb-plate__pick span {
  font-family: var(--tb-mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tb-steel);
}
.tb-plate__pick strong {
  font-family: var(--tb-display);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--tb-ink);
  line-height: 1.15;
}

.tb-plate__body { font-family: var(--tb-body); font-size: 1.04rem; line-height: 1.6; color: var(--tb-ink-soft); }
.tb-plate__body p:last-child { margin-bottom: 0; }

.tb-plate__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(20,24,26,.12);
}
.tb-plate__split dt {
  font-family: var(--tb-mono);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tb-steel);
  margin-bottom: .2rem;
}
.tb-plate__split dd {
  font-family: var(--tb-body);
  font-size: .96rem;
  line-height: 1.5;
  color: var(--tb-ink);
  margin: 0;
}
.tb-plate__split div:first-child dt { color: var(--tb-go); }
.tb-plate__split div:last-child dt { color: var(--tb-hazard); }

.tb-plate__cta { margin-top: 1.2rem; }
.tb-plate__checked {
  font-family: var(--tb-mono);
  font-size: .66rem;
  letter-spacing: .06em;
  color: var(--tb-mute);
  margin: .8rem 0 0;
}

@media (max-width: 560px) {
  .tb-plate__split { grid-template-columns: 1fr; gap: .8rem; }
}

/* --------------------------------------------------------------------------
   Ranked picks
   -------------------------------------------------------------------------- */

.tb-pick {
  margin: 2.6rem 0;
  padding-top: 1.4rem;
  border-top: 2px solid var(--tb-ink);
}

.tb-pick__head { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.1rem; }
.tb-pick__rank {
  font-family: var(--tb-mono);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--tb-hazard);
  flex: none;
  padding-top: .1em;
}
.tb-pick__tag {
  font-family: var(--tb-mono);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tb-brass);
  margin: 0 0 .2rem;
}
.tb-pick__name {
  font-family: var(--tb-display);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0;
  color: var(--tb-ink);
}

.tb-pick__grid { display: grid; grid-template-columns: 220px 1fr; gap: 1.6rem; align-items: start; }
.tb-pick__media {
  border: 1px solid var(--tb-line);
  border-radius: var(--tb-r);
  background: var(--tb-panel);
  padding: .8rem;
}
.tb-pick__media img { width: 100%; height: auto; display: block; border-radius: 2px; }

.tb-pick__body > p { font-family: var(--tb-body); }

.tb-pick__spec {
  list-style: none;
  margin: 1.1rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0;
  border: 1px solid var(--tb-line);
  border-radius: var(--tb-r);
  overflow: hidden;
}
.tb-pick__spec li {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .65rem .8rem;
  border-right: 1px solid var(--tb-line);
  background: var(--tb-panel);
}
.tb-pick__spec li:last-child { border-right: 0; }
.tb-pick__spec span {
  font-family: var(--tb-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tb-steel);
}
.tb-pick__spec strong { font-family: var(--tb-display); font-size: .95rem; font-weight: 700; color: var(--tb-ink); }

.tb-pick__pc { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.2rem 0; }
.tb-pc { padding: .9rem 1rem; border-radius: var(--tb-r); border: 1px solid var(--tb-line); }
.tb-pc p {
  font-family: var(--tb-mono);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 .5rem;
}
.tb-pc ul { margin: 0; padding-left: 1.1rem; }
.tb-pc li { font-family: var(--tb-body); font-size: .95rem; line-height: 1.5; margin-bottom: .25rem; }
.tb-pc--pro { background: var(--tb-go-wash); border-color: rgba(28,107,69,.28); }
.tb-pc--pro p { color: var(--tb-go); }
.tb-pc--con { background: var(--tb-hazard-wash); border-color: rgba(201,58,18,.24); }
.tb-pc--con p { color: var(--tb-hazard-ink); }

@media (max-width: 720px) {
  .tb-pick__grid { grid-template-columns: 1fr; gap: 1rem; }
  .tb-pick__media { max-width: 240px; }
  .tb-pick__pc { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Spec strip, notes, tables, FAQ
   -------------------------------------------------------------------------- */

.tb-specstrip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin: 1.8rem 0;
  border: 1px solid var(--tb-line-strong);
  border-radius: var(--tb-r);
  overflow: hidden;
  background: var(--tb-panel);
}
.tb-specstrip > div { padding: .8rem 1rem; border-right: 1px solid var(--tb-line); }
.tb-specstrip > div:last-child { border-right: 0; }
.tb-specstrip dt {
  font-family: var(--tb-mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tb-steel);
  margin-bottom: .2rem;
}
.tb-specstrip dd { font-family: var(--tb-display); font-size: 1rem; font-weight: 700; color: var(--tb-ink); margin: 0; }

.tb-note {
  margin: 1.8rem 0;
  padding: 1.1rem 1.3rem;
  border-radius: var(--tb-r);
  border: 1px solid var(--tb-line);
  border-left: 4px solid var(--tb-steel);
  background: var(--tb-panel);
}
.tb-note__title {
  font-family: var(--tb-mono);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 .5rem;
  color: var(--tb-steel);
}
.tb-note p:last-child { margin-bottom: 0; }
.tb-note--warning { border-left-color: var(--tb-hazard); background: var(--tb-hazard-wash); border-color: rgba(201,58,18,.2); }
.tb-note--warning .tb-note__title { color: var(--tb-hazard-ink); }
.tb-note--good { border-left-color: var(--tb-go); background: var(--tb-go-wash); border-color: rgba(28,107,69,.22); }
.tb-note--good .tb-note__title { color: var(--tb-go); }

.tb-table-wrap { margin: 2rem 0; }
.tb-table-scroll { overflow-x: auto; border: 1px solid var(--tb-line-strong); border-radius: var(--tb-r); }
.tb-table-scroll table, .tb-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--tb-display);
  font-size: .92rem;
}
.tb-table-scroll th, .tb-table-scroll td, .tb-table th, .tb-table td {
  padding: .8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--tb-line);
  vertical-align: top;
}
.tb-table-scroll thead th, .tb-table thead th {
  font-family: var(--tb-mono);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tb-steel);
  background: var(--tb-panel);
  border-bottom: 1px solid var(--tb-line-strong);
  white-space: nowrap;
}
.tb-table-scroll tbody tr:last-child td, .tb-table tbody tr:last-child td { border-bottom: 0; }
.tb-table tbody th { font-weight: 700; color: var(--tb-ink); }
.tb-table td { font-family: var(--tb-body); font-size: .95rem; color: var(--tb-steel); }
.tb-table__buy { color: var(--tb-hazard); font-weight: 700; }
.tb-table-wrap figcaption {
  font-family: var(--tb-mono);
  font-size: .7rem;
  color: var(--tb-mute);
  margin-top: .6rem;
}

.tb-faq { margin: 2.6rem 0; }
.tb-faq h2 { font-family: var(--tb-display); }
.tb-faq__item { border-bottom: 1px solid var(--tb-line); }
.tb-faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 2rem 1rem 0;
  position: relative;
  font-family: var(--tb-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--tb-ink);
}
.tb-faq__item summary::-webkit-details-marker { display: none; }
.tb-faq__item summary::after {
  content: "+";
  position: absolute;
  right: .3rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--tb-mono);
  font-size: 1.2rem;
  color: var(--tb-hazard);
}
.tb-faq__item[open] summary::after { content: "\2212"; }
.tb-faq__item > div { padding: 0 0 1.1rem; }
.tb-faq__item p { font-family: var(--tb-body); color: var(--tb-steel); margin: 0; }

/* --------------------------------------------------------------------------
   Recirculation + subscribe
   -------------------------------------------------------------------------- */

.tb-alsoneed { margin: 3rem 0; padding-top: 1.6rem; border-top: 2px solid var(--tb-ink); }
.tb-alsoneed h2 { font-family: var(--tb-display); font-size: 1.25rem; font-weight: 800; margin: 0 0 1.1rem; }
.tb-alsoneed__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .8rem; }
.tb-alsoneed__item {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1rem;
  border: 1px solid var(--tb-line);
  border-radius: var(--tb-r);
  background: var(--tb-paper);
  text-decoration: none;
  transition: border-color .14s ease, transform .14s ease;
}
.tb-alsoneed__item:hover { border-color: var(--tb-hazard); transform: translateY(-2px); }
.tb-alsoneed__kicker {
  font-family: var(--tb-mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tb-brass);
}
.tb-alsoneed__item strong { font-family: var(--tb-display); font-size: 1rem; line-height: 1.25; color: var(--tb-ink); }
.tb-alsoneed__sum { font-family: var(--tb-body); font-size: .88rem; line-height: 1.45; color: var(--tb-steel); }

.tb-inline-guides { margin: 2rem 0; padding: 1.2rem 1.4rem; background: var(--tb-panel); border-radius: var(--tb-r); }
.tb-inline-guides h2 { font-family: var(--tb-display); font-size: 1.05rem; margin: 0 0 .8rem; }
.tb-inline-guides ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.tb-inline-guides li { display: flex; flex-direction: column; gap: .1rem; }
.tb-inline-guides a { font-family: var(--tb-display); font-weight: 700; color: var(--tb-ink); text-decoration: none; }
.tb-inline-guides a:hover { color: var(--tb-hazard); }
.tb-inline-guides span { font-family: var(--tb-body); font-size: .9rem; color: var(--tb-steel); }

.tb-subscribe {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.6rem;
  align-items: center;
  margin: 3rem 0;
  padding: 1.6rem 1.8rem;
  background: var(--tb-ink);
  border-radius: var(--tb-r-lg);
  color: #fff;
}
.tb-subscribe h2 { font-family: var(--tb-display); font-size: 1.25rem; font-weight: 800; margin: 0 0 .4rem; color: #fff; }
.tb-subscribe p { font-family: var(--tb-body); font-size: .95rem; line-height: 1.55; color: rgba(255,255,255,.72); margin: 0; }
.tb-subscribe__form { display: flex; flex-wrap: wrap; gap: .5rem; }
.tb-subscribe__form input[type="email"] {
  flex: 1 1 180px;
  min-width: 0;
  padding: .8em 1em;
  border-radius: var(--tb-r);
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.07);
  color: #fff;
  font-family: var(--tb-display);
  font-size: .95rem;
}
.tb-subscribe__form input[type="email"]::placeholder { color: rgba(255,255,255,.42); }
.tb-subscribe__form input[type="email"]:focus { outline: 2px solid var(--tb-hazard); outline-offset: 1px; }
.tb-subscribe__form .tb-btn { background: var(--tb-hazard); border-color: var(--tb-hazard); }
.tb-subscribe__form .tb-btn:hover { background: #fff; color: var(--tb-ink); border-color: #fff; }
.tb-subscribe__msg {
  flex: 1 0 100%;
  font-family: var(--tb-mono);
  font-size: .74rem;
  color: rgba(255,255,255,.72);
  margin: .2rem 0 0;
}
.tb-subscribe__msg.is-bad { color: #ffb3a0; }

@media (max-width: 720px) {
  .tb-subscribe { grid-template-columns: 1fr; padding: 1.3rem; }
}

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */

.tb-form-card {
  padding: 1.6rem;
  border: 1px solid var(--tb-line-strong);
  border-radius: var(--tb-r-lg);
  background: var(--tb-paper);
  margin: 1.6rem 0 2.4rem;
}
.tb-form label { display: block; margin-bottom: 1rem; font-family: var(--tb-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tb-steel); }
.tb-form input, .tb-form select, .tb-form textarea {
  display: block;
  width: 100%;
  margin-top: .4rem;
  padding: .75em .9em;
  border: 1px solid var(--tb-line-strong);
  border-radius: var(--tb-r);
  background: var(--tb-paper);
  font-family: var(--tb-display);
  font-size: 1rem;
  color: var(--tb-ink);
}
.tb-form input:focus, .tb-form select:focus, .tb-form textarea:focus {
  outline: 2px solid var(--tb-hazard);
  outline-offset: 1px;
  border-color: var(--tb-hazard);
}
.tb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tb-check { display: flex; align-items: flex-start; gap: .6rem; text-transform: none; letter-spacing: 0; font-family: var(--tb-body); font-size: .92rem; color: var(--tb-steel); }
.tb-check input { width: auto; margin: .2rem 0 0; }
.tb-hp { position: absolute; left: -9999px; }
.tb-form-note { padding: .8rem 1rem; border-radius: var(--tb-r); font-family: var(--tb-mono); font-size: .8rem; margin-bottom: 1.2rem; }
.tb-form-note.is-good { background: var(--tb-go-wash); color: var(--tb-go); }
.tb-form-note.is-bad { background: var(--tb-hazard-wash); color: var(--tb-hazard-ink); }

@media (max-width: 560px) { .tb-form-row { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Hub pages
   -------------------------------------------------------------------------- */

.tb-hub__head { padding: clamp(2rem, 6vw, 3.4rem) 0 clamp(1.6rem, 4vw, 2.4rem); border-bottom: 1px solid var(--tb-line); background: var(--tb-panel); }
.tb-hub__head h1 {
  font-family: var(--tb-display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.02;
  margin: 0 0 .8rem;
  color: var(--tb-ink);
}
.tb-hub__lede { font-family: var(--tb-body); font-size: 1.1rem; line-height: 1.6; color: var(--tb-steel); max-width: 62ch; }
.tb-hub__lede p { margin: 0 0 .6rem; }

.tb-hub__body { padding: clamp(2rem, 5vw, 3.2rem) 0 4rem; display: grid; gap: 3rem; }
.tb-hub__body h2 { font-family: var(--tb-display); font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 1.1rem; }

.tb-hub__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .1rem; }
.tb-hub__links li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .2rem; border-bottom: 1px solid var(--tb-line); }
.tb-hub__links a { font-family: var(--tb-display); font-size: .98rem; font-weight: 600; color: var(--tb-ink); text-decoration: none; }
.tb-hub__links a:hover { color: var(--tb-hazard); }
.tb-hub__links span { font-family: var(--tb-mono); font-size: .7rem; color: var(--tb-mute); }

.tb-hub__group { margin-bottom: 2rem; }

.tb-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; }
.tb-card { display: flex; flex-direction: column; }
.tb-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border-radius: var(--tb-r);
  overflow: hidden;
  background: var(--tb-panel);
  margin-bottom: .9rem;
}
.tb-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.tb-card:hover .tb-card__media img { transform: scale(1.03); }
.tb-card__mark { font-family: var(--tb-mono); font-size: .9rem; letter-spacing: .1em; color: var(--tb-mute); }
.tb-card__kicker {
  font-family: var(--tb-mono);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tb-brass);
  margin: 0 0 .3rem;
}
.tb-card h3 { font-family: var(--tb-display); font-size: 1.1rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 .4rem; }
.tb-card h3 a { color: var(--tb-ink); text-decoration: none; }
.tb-card h3 a:hover { color: var(--tb-hazard); }
.tb-card p { font-family: var(--tb-body); font-size: .95rem; line-height: 1.55; color: var(--tb-steel); margin: 0 0 .5rem; }
.tb-card__meta { font-family: var(--tb-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tb-mute); }

.tb-hub__cta {
  text-align: center;
  padding: 2.4rem 1.4rem;
  border: 1px solid var(--tb-line-strong);
  border-radius: var(--tb-r-lg);
  background: var(--tb-panel);
}
.tb-hub__cta h2 { margin-bottom: .5rem; }
.tb-hub__cta p { font-family: var(--tb-body); color: var(--tb-steel); max-width: 50ch; margin: 0 auto 1.2rem; }

/* --------------------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------------------- */

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:where(.tb-engine, .tb-plate, .tb-pick, .tb-subscribe) :focus-visible,
.tb-choice:focus-visible,
.tb-buy:focus-visible,
.tb-btn:focus-visible {
  outline: 3px solid var(--tb-hazard);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
