/* ══════════════════════════════════════════════════════════════════════════════════════════════════
   FLAGSHIP TECH TEMPLATE (2026-11-09, Ryan's prompt D) - the gaming-PC flagship's design language for computer
   gear, applied ONLY on pages opted in through their own page_render_config row (body.flagship-tech, which also
   carries .category-tech-dark). Palette and type are the flagship's: #0a0a0c / #111114 surfaces, red #ff3a2c
   (hot #ff5a3c), gold #ffb86b, cyan #4dd4ff; Saira Condensed display, Inter body, JetBrains Mono data.
   Contrast: every text colour here measures >= 4.5:1 on the surface it sits on. The flagship's own white-on-
   #ff3a2c buttons measure 3.56:1, so solid buttons use #d62f22 (white text 4.9:1).
   No inline styles anywhere: bar widths are .ft-w-5 ... .ft-w-100 classes.
   ══════════════════════════════════════════════════════════════════════════════════════════════════ */
.flagship-tech {
  --ft-bg: #0a0a0c; --ft-bg-1: #111114; --ft-surface: #16161a; --ft-surface-2: #1d1d22; --ft-surface-3: #25252b;
  --ft-line: #2a2a31; --ft-line-2: #36363f;
  --ft-ink: #ffffff; --ft-ink-2: #c8c8cf; --ft-ink-3: #9aa0ac;
  --ft-red: #ff3a2c; --ft-red-hot: #ff5a3c; --ft-red-solid: #d62f22; --ft-gold: #ffb86b; --ft-cyan: #4dd4ff;
  --ft-display: "Saira Condensed", "Saira", "Roboto Condensed", system-ui, sans-serif;
  --ft-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Menlo, monospace;
  background:
    radial-gradient(1100px 600px at 90% -100px, rgba(255,58,44,0.07) 0%, transparent 60%),
    radial-gradient(800px 400px at -10% 200px, rgba(77,212,255,0.04) 0%, transparent 55%),
    var(--ft-bg);
}
.flagship-tech .page-header h1 {
  font-family: var(--ft-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em;
  line-height: 1.02; font-size: clamp(30px, 6vw, 52px); color: var(--ft-ink);
}
.flagship-tech .page-header h1::after {
  content: ""; display: block; width: 72px; height: 4px; margin-top: 12px; background: var(--ft-red);
}
.flagship-tech h2 {
  font-family: var(--ft-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--ft-ink);
}
.flagship-tech .quick-answer { border-left: 3px solid var(--ft-red); background: var(--ft-surface); }

/* ── Use-case hero ─────────────────────────────────────────────────────────────────────────────── */
.ft-usecases { margin: 22px 0 26px; }
.ft-kicker {
  font-family: var(--ft-mono) !important; font-size: 12px !important; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ft-gold) !important; margin: 0 0 12px;
}
.ft-uc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ft-uc {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px; min-width: 0;
  background: var(--ft-surface); border: 1px solid var(--ft-line); border-radius: 10px;
  border-top: 3px solid var(--ft-red); color: var(--ft-ink-2); text-decoration: none;
  transition: border-color 130ms ease, transform 130ms ease;
}
.ft-uc:hover, .ft-uc:focus-within { border-color: var(--ft-red-hot); }
.ft-uc-label {
  font-family: var(--ft-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ft-red-hot);
}
.flagship-tech .ft-uc-pick {
  font-family: var(--ft-display); font-size: 21px; font-weight: 700; line-height: 1.1; color: var(--ft-ink);
  text-decoration: none;
}
.flagship-tech .ft-uc-pick:hover, .flagship-tech .ft-uc-pick:focus-visible { color: var(--ft-red-hot); text-decoration: underline; }
.ft-uc-req { font-size: 12.5px; line-height: 1.45; color: var(--ft-ink-2); }
.ft-uc-why { font-family: var(--ft-mono); font-size: 13px; color: var(--ft-cyan); overflow-wrap: anywhere; }
.ft-uc-blurb { font-size: 13px; line-height: 1.5; color: var(--ft-ink-2); }

/* ── Evidence bars on each card ───────────────────────────────────────────────────────────────── */
.ft-evidence {
  margin: 12px 0 10px; padding: 12px 14px; background: var(--ft-bg-1); border: 1px solid var(--ft-line);
  border-radius: 8px;
}
.ft-evidence-head {
  margin: 0 0 8px; font-family: var(--ft-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ft-ink-3);
}
.ft-bar-row {
  display: grid; grid-template-columns: minmax(96px, 34%) 1fr auto; align-items: center; gap: 10px;
  padding: 4px 0; font-size: 13px;
}
.ft-bar-label { color: var(--ft-ink-2); min-width: 0; }
.ft-bar-track { height: 8px; background: var(--ft-surface-3); border-radius: 4px; overflow: hidden; min-width: 40px; }
.ft-bar-fill { height: 100%; background: var(--ft-cyan); border-radius: 4px; }
.ft-bar-fill--best { background: var(--ft-gold); }
.ft-bar-val { font-family: var(--ft-mono); font-size: 12.5px; color: var(--ft-ink); white-space: nowrap; }
.ft-nm { font-family: var(--ft-mono); font-size: 12px; font-style: italic; color: var(--ft-ink-3); }
.flagship-tech .ft-cite {
  font-family: var(--ft-mono); font-size: 11px; color: var(--ft-cyan); text-decoration: none; margin-left: 3px;
  vertical-align: super; line-height: 0;
}
.flagship-tech .ft-cite:hover { text-decoration: underline; }
.ft-w-5 { width: 5%; } .ft-w-10 { width: 10%; } .ft-w-15 { width: 15%; } .ft-w-20 { width: 20%; }
.ft-w-25 { width: 25%; } .ft-w-30 { width: 30%; } .ft-w-35 { width: 35%; } .ft-w-40 { width: 40%; }
.ft-w-45 { width: 45%; } .ft-w-50 { width: 50%; } .ft-w-55 { width: 55%; } .ft-w-60 { width: 60%; }
.ft-w-65 { width: 65%; } .ft-w-70 { width: 70%; } .ft-w-75 { width: 75%; } .ft-w-80 { width: 80%; }
.ft-w-85 { width: 85%; } .ft-w-90 { width: 90%; } .ft-w-95 { width: 95%; } .ft-w-100 { width: 100%; }

/* ── Measured comparison table ────────────────────────────────────────────────────────────────── */
.ft-table-section { margin: 26px 0; }
.ft-note { font-size: 13px; line-height: 1.55; color: var(--ft-ink-2); max-width: 760px; }
.ft-table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--ft-line); border-radius: 10px;
  background: var(--ft-surface); max-width: 100%;
}
.ft-table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 13px; }
.ft-table th, .ft-table td {
  padding: 10px 12px; border-bottom: 1px solid var(--ft-line); text-align: left; vertical-align: top;
  color: var(--ft-ink-2);
}
.ft-table thead th {
  font-family: var(--ft-display); font-size: 15px; font-weight: 700; color: var(--ft-ink); background: var(--ft-bg-1);
  border-bottom: 2px solid var(--ft-red);
}
.flagship-tech .ft-table thead th a { color: var(--ft-ink); text-decoration: none; }
.flagship-tech .ft-table thead th a:hover { color: var(--ft-red-hot); }
.ft-table tbody th {
  font-weight: 600; color: var(--ft-ink); background: var(--ft-bg-1); position: sticky; left: 0; z-index: 1;
  min-width: 128px;
}
.ft-table td { font-family: var(--ft-mono); font-size: 12.5px; }
.ft-table .ft-best { color: var(--ft-gold); font-weight: 700; }
.ft-unit { font-weight: 400; color: var(--ft-ink-3); }
.ft-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.flagship-tech .ft-buy {
  display: inline-block; padding: 7px 10px; border-radius: 6px; background: var(--ft-red-solid); color: #ffffff;
  font-family: var(--ft-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}
.flagship-tech .ft-buy:hover { background: #b8261b; }

/* ── How we choose ────────────────────────────────────────────────────────────────────────────── */
.ft-how {
  margin: 18px 0 24px; padding: 16px 18px; background: var(--ft-surface); border: 1px solid var(--ft-line);
  border-left: 3px solid var(--ft-gold); border-radius: 8px; font-size: 14px; line-height: 1.6; color: var(--ft-ink-2);
}
.ft-how h2 { font-size: 20px; margin: 0 0 8px; }
.ft-sources { margin: 10px 0 0; padding-left: 22px; font-size: 13px; }
.ft-sources li { margin: 3px 0; color: var(--ft-ink-2); }
.flagship-tech .ft-sources a { color: var(--ft-cyan); }

/* ── Standard pieces restyled in the flagship language ───────────────────────────────────────── */
.flagship-tech .product-card { background: var(--ft-surface); border: 1px solid var(--ft-line); border-radius: 12px; }
.flagship-tech .product-card h3, .flagship-tech .product-card h3 a {
  font-family: var(--ft-display); font-weight: 700; font-size: 22px; line-height: 1.12; color: var(--ft-ink);
}
.flagship-tech .product-card-label { font-family: var(--ft-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.flagship-tech .product-cta {
  background: var(--ft-red-solid) !important; color: #ffffff !important; border-color: var(--ft-red-solid) !important;
  font-family: var(--ft-mono); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 700;
}
.flagship-tech .product-cta:hover { background: #b8261b !important; }
.flagship-tech .product-price { font-family: var(--ft-mono); color: var(--ft-ink); }
.flagship-tech .faq-section h2, .flagship-tech .related-section h2 { font-family: var(--ft-display); }
@media (max-width: 480px) {
  .ft-bar-row { grid-template-columns: minmax(84px, 38%) 1fr auto; gap: 8px; font-size: 12.5px; }
  .flagship-tech .ft-uc-pick { font-size: 19px; }
}
