/* ==========================================================================
   Pro Trade Tech — shared stylesheet
   Design language: "field-tested" — workwear steel + hi-vis safety orange,
   spec-sheet / fight-card comparison layout. Built once, cached across pages.
   ========================================================================== */

:root {
  --ink:        #14181f;   /* steel near-black — nav, footer, hero      */
  --slate:      #2a3340;   /* secondary dark — table headers            */
  --paper:      #ecedef;   /* cool page background (not cream)          */
  --card:       #ffffff;
  --hi-vis:     #f1600f;   /* safety orange — the signature accent      */
  --hi-vis-dk:  #c94d0a;
  --hi-vis-tint:#fdf0e8;   /* faint orange wash for the winner column   */
  --confirm:    #2e7d5b;   /* muted green — "yes" / pros                 */
  --deny:       #b4433a;   /* muted brick — "no" / cons                 */
  --line:       #d9dbde;
  --line-soft:  #e7e8eb;
  --text:       #1b2028;
  --muted:      #626a76;
  --muted-inv:  #97a1b0;   /* muted text on dark                        */

  --wrap: 960px;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body:    "Barlow", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}

/* ---- reset / base ------------------------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.62;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--hi-vis-dk); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* visually hidden, still read by search engines & screen readers */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* accessible focus */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--hi-vis);
  outline-offset: 2px;
}

/* ---- top nav ------------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: var(--ink);
  border-bottom: 1px solid #262d38;
}
.nav-inner {
  display: flex; align-items: center; gap: 26px;
  height: 62px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 26px; height: 26px; flex: none;
  background: var(--hi-vis);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 50% 100%, 0 68%); /* stamped tag */
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px; letter-spacing: .04em;
  text-transform: uppercase; color: #fff; line-height: 1;
}
.brand-name b { color: var(--hi-vis); font-weight: 700; }
.nav-links { display: flex; gap: 20px; margin-left: auto; }
.nav-links a {
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .06em; font-size: 15px;
  font-weight: 600; color: var(--muted-inv);
}
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-cta {
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .06em; font-size: 15px;
  font-weight: 700; color: #fff !important; background: var(--hi-vis);
  padding: 8px 16px; border-radius: 2px;
}
.nav-cta:hover { background: var(--hi-vis-dk); text-decoration: none; }

/* ---- hero: the matchup card --------------------------------------------- */
.hero { background: var(--ink); color: #fff; padding: 46px 0 54px; }
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .18em; font-size: 15px;
  font-weight: 600; color: var(--hi-vis); margin: 0 0 20px;
}
.eyebrow .dot { color: #445; margin: 0 8px; }

.matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  border: 1px solid #2c3542;
  background: #1a2029;
  border-radius: 4px;
  overflow: hidden;
}
.plate { position: relative; padding: 26px 24px 22px; min-width: 0; }
.plate.win { background: #20272f; box-shadow: inset 0 4px 0 var(--hi-vis); }
.plate-role {
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .14em; font-size: 12px;
  font-weight: 600; color: var(--muted-inv); margin: 0 0 4px;
}
.plate.win .plate-role { color: var(--hi-vis); }
.plate-name {
  font-family: var(--font-display);
  font-weight: 700; font-size: clamp(30px, 6vw, 46px); line-height: .98;
  text-transform: uppercase; letter-spacing: .01em; margin: 0;
  overflow-wrap: break-word;
}
.plate-rating {
  font-family: var(--font-mono); font-weight: 500; font-size: 15px;
  color: var(--muted-inv); margin-top: 12px;
}
.plate-rating b { color: #fff; font-weight: 700; }
.stamp {
  position: absolute; top: 14px; right: 12px;
  transform: rotate(-5deg);
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .08em; font-weight: 700;
  font-size: 12px; color: var(--ink); background: var(--hi-vis);
  padding: 4px 9px; border: 2px solid #ffce9e; border-radius: 2px;
  box-shadow: 0 2px 0 rgba(0,0,0,.25);
}
.vs {
  display: flex; align-items: center; justify-content: center;
  padding: 0 6px; background: #12171d;
  border-left: 1px solid #2c3542; border-right: 1px solid #2c3542;
}
.vs span {
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  color: var(--hi-vis); letter-spacing: .04em; text-transform: uppercase;
}
.hero-dek {
  max-width: 62ch; margin: 26px auto 0; text-align: center;
  color: #d7dce2; font-size: 19px;
}
.hero-dek strong { color: #fff; }

/* ---- content shell ------------------------------------------------------ */
.main { padding: 46px 0 8px; }
.article { max-width: 720px; margin: 0 auto; }
.article h2 {
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .02em; font-weight: 700;
  font-size: 30px; line-height: 1.06; color: var(--ink);
  margin: 44px 0 14px;
}
.article h2:first-child { margin-top: 0; }
.article p { margin: 0 0 18px; }
.article strong { color: var(--ink); }

/* verdict callout */
.verdict {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 6px solid var(--hi-vis);
  border-radius: 3px;
  padding: 22px 24px;
  margin: 0 0 8px;
}
.verdict .tag {
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .14em; font-size: 14px;
  font-weight: 700; color: var(--hi-vis-dk); margin: 0 0 6px;
}
.verdict p { margin: 0; font-size: 19px; }

/* feature highlight inside prose */
.feature-flag {
  display: inline-block; background: var(--hi-vis-tint);
  border: 1px solid #f4c9ac; color: var(--hi-vis-dk);
  font-weight: 600; padding: 1px 8px; border-radius: 2px;
}

/* ---- scorecard (signature comparison table) ----------------------------- */
.scorecard-wrap { margin: 12px 0 8px; overflow-x: auto; }
.scorecard {
  width: 100%; border-collapse: collapse; background: var(--card);
  border: 1px solid var(--line); min-width: 520px;
}
.scorecard caption {
  caption-side: top; text-align: left;
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .1em; font-size: 14px;
  font-weight: 700; color: var(--muted); padding: 0 0 10px;
}
.scorecard th, .scorecard td {
  padding: 13px 16px; text-align: left; vertical-align: middle;
  border-bottom: 1px solid var(--line-soft);
}
.scorecard thead th { background: var(--slate); color: #fff; }
.scorecard thead .col-label { background: var(--ink); }
.scorecard thead .tool-name {
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .03em; font-weight: 700;
  font-size: 21px; line-height: 1; text-align: center;
}
.scorecard thead .tool-name .tick {
  display: block; font-family: var(--font-body);
  font-size: 11px; letter-spacing: .12em; font-weight: 600;
  text-transform: uppercase; margin-top: 5px; color: var(--muted-inv);
}
.scorecard thead .tool-name.win { background: var(--hi-vis); color: var(--ink); }
.scorecard thead .tool-name.win .tick { color: #6a2c05; }

.scorecard .row-label {
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .04em; font-weight: 600;
  font-size: 15px; color: var(--muted); white-space: nowrap;
}
.scorecard td.cell { text-align: center; }
.scorecard td.win-col { background: var(--hi-vis-tint); }
.scorecard .val-mono { font-family: var(--font-mono); font-weight: 500; font-size: 15px; }
.scorecard .val-strong { font-weight: 600; color: var(--ink); }
.section-row td {
  background: #f4f5f6; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .1em; font-weight: 700;
  font-size: 13px; color: var(--muted); padding: 8px 16px;
}
.mark-yes { color: var(--confirm); font-weight: 700; font-size: 19px; }
.mark-no  { color: #b9bcc2; font-weight: 700; font-size: 19px; }
.mark-txt { font-size: 14px; color: var(--muted); font-weight: 600; }

/* ---- pros / cons -------------------------------------------------------- */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 8px 0; }
.pc {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 3px; padding: 20px 22px;
}
.pc.win { border-top: 4px solid var(--hi-vis); }
.pc-name {
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .03em; font-weight: 700;
  font-size: 24px; color: var(--ink); margin: 0 0 14px; line-height: 1;
}
.pc h4 {
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .1em; font-size: 13px;
  font-weight: 700; margin: 16px 0 8px; color: var(--muted);
}
.pc h4:first-of-type { margin-top: 0; }
.pc ul { list-style: none; margin: 0; padding: 0; }
.pc li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: 16px; line-height: 1.5; }
.pc li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.pc .pros li::before { content: "✓"; color: var(--confirm); }
.pc .cons li::before { content: "–"; color: var(--deny); font-size: 20px; line-height: 1.2; }

/* ---- cta band ----------------------------------------------------------- */
.cta-band { background: var(--ink); color: #fff; margin-top: 46px; padding: 46px 0; }
.cta-band .inner { text-align: center; }
.cta-band h2 {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .02em; font-weight: 700; font-size: 32px; margin: 0 0 6px;
}
.cta-band p { color: var(--muted-inv); margin: 0 0 22px; }
.btn {
  display: inline-block; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
  font-size: 20px; color: #fff; background: var(--hi-vis);
  padding: 15px 34px; border-radius: 3px;
  transition: background .15s ease, transform .05s ease;
}
.btn:hover { background: var(--hi-vis-dk); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.cta-sub { margin-top: 14px; font-size: 13px; color: var(--muted-inv); }

/* ---- footer ------------------------------------------------------------- */
.footer { background: #0f1319; color: var(--muted-inv); padding: 40px 0 26px; font-size: 15px; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer h5 {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .1em; font-size: 14px; color: #fff; margin: 0 0 12px;
}
.footer .brand-name { font-size: 20px; margin-bottom: 10px; }
.footer p { margin: 0 0 10px; line-height: 1.55; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--muted-inv); }
.footer a:hover { color: #fff; }
.disclosure {
  font-size: 13px; color: #6b7482; border-top: 1px solid #202832;
  margin-top: 26px; padding-top: 18px;
}
.disclosure .legal { margin-top: 10px; }

/* ---- index / homepage --------------------------------------------------- */
.home-hero { background: var(--ink); color: #fff; padding: 60px 0 56px; }
.home-hero .eyebrow { text-align: left; }
.home-hero h1 {
  font-family: var(--font-display); text-transform: uppercase;
  font-weight: 700; font-size: clamp(38px, 7vw, 64px); line-height: .96;
  letter-spacing: .01em; margin: 0 0 18px; max-width: 16ch;
}
.home-hero h1 em { color: var(--hi-vis); font-style: normal; }
.home-hero .lede { max-width: 60ch; font-size: 20px; color: #d7dce2; margin: 0; }
.home-stats { display: flex; gap: 34px; margin-top: 30px; flex-wrap: wrap; }
.home-stat .n {
  font-family: var(--font-mono); font-weight: 700; font-size: 30px; color: var(--hi-vis);
}
.home-stat .l {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .08em; font-size: 13px; color: var(--muted-inv);
}

.grid-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 46px 0 20px; gap: 16px; flex-wrap: wrap;
}
.grid-head h2 {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .02em; font-weight: 700; font-size: 30px; color: var(--ink); margin: 0;
}
.grid-head .count { font-family: var(--font-mono); color: var(--muted); font-size: 15px; }

.card-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  padding-bottom: 20px;
}
.mcard {
  background: var(--card); border: 1px solid var(--line); border-radius: 4px;
  padding: 22px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .15s ease, transform .08s ease, box-shadow .15s ease;
}
.mcard:hover {
  border-color: var(--hi-vis); text-decoration: none;
  transform: translateY(-2px); box-shadow: 0 8px 22px rgba(20,24,31,.10);
}
.mcard .trade-tag {
  align-self: flex-start;
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .08em; font-size: 12px; font-weight: 700;
  color: var(--hi-vis-dk); background: var(--hi-vis-tint);
  border: 1px solid #f4c9ac; padding: 3px 10px; border-radius: 2px;
}
.mcard .mtitle {
  font-family: var(--font-display); text-transform: uppercase;
  font-weight: 700; font-size: 26px; line-height: 1.02; color: var(--ink); margin: 0;
}
.mcard .mtitle .vs-in { color: var(--muted); font-size: 18px; margin: 0 4px; }
.mcard .mmeta { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin: 0; }
.mcard .mmeta b { color: var(--confirm); }
.mcard .mdek { font-size: 15px; color: var(--text); margin: 0; flex: 1; }
.mcard .mgo {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .06em; font-weight: 700; font-size: 15px; color: var(--hi-vis-dk);
}

/* ---- responsive --------------------------------------------------------- */
@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav-links { display: none; }
  .matchup { grid-template-columns: 1fr; }
  .vs { padding: 8px 0; border-left: none; border-right: none;
        border-top: 1px solid #2c3542; border-bottom: 1px solid #2c3542; }
  .plate.win { box-shadow: inset 4px 0 0 var(--hi-vis); }
  .pc-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .mcard:hover { transform: none; }
}

/* --- static content pages: about, privacy, disclosure ------------------- */
.wrap.narrow { max-width: 760px; }
.page { padding: 44px 0 20px; }
.page .eyebrow { margin-bottom: 14px; }
.page-title {
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .01em; font-weight: 700;
  font-size: 40px; line-height: 1.02; color: var(--ink);
  margin: 0 0 8px;
}
.page-body { margin-top: 20px; font-size: 16.5px; color: var(--text); }
.page-body h2 {
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .02em; font-weight: 700;
  font-size: 24px; line-height: 1.1; color: var(--ink);
  margin: 34px 0 12px; padding-top: 4px;
  border-top: 2px solid var(--line);
}
.page-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 8px; }
.page-body p { margin: 0 0 16px; line-height: 1.62; }
.page-body ul { margin: 0 0 16px; padding-left: 22px; }
.page-body li { margin-bottom: 8px; line-height: 1.55; }
.page-body strong { color: var(--ink); }
.page-body a { color: var(--hi-vis-dk); font-weight: 600; }
.page-body .updated {
  font-family: var(--font-mono); font-size: 13px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 22px;
}
.page-body .lead {
  font-size: 18px; color: var(--slate); line-height: 1.55;
  border-left: 6px solid var(--hi-vis); padding-left: 16px; margin: 0 0 26px;
}
