/* ==========================================================================
   TruckingCalc.com — "Diesel & High-Vis" design system
   Industrial dashboard aesthetic: warm paper surfaces, DOT safety-amber,
   steel blue, hazard-stripe accents, highway-signage type, odometer readouts.
   Built for older, blue-collar owner-operators on Windows desktop.
   ========================================================================== */

/* ---------- Fonts ---------- */
/* Anton = billboard display, Oswald = highway signage, Public Sans = readable
   body (US gov typeface, DOT-adjacent), Space Mono = odometer readouts. */

:root {
  /* Surfaces */
  --paper:        #f4f1e9;   /* warm off-white base */
  --paper-2:      #eae5d8;   /* recessed panel */
  --card:         #fffdf8;   /* raised card */
  --ink:          #16130f;   /* near-black warm */
  --ink-2:        #423b31;   /* secondary text */
  --ink-3:        #6b6255;   /* muted / captions */
  --line:         #16130f;   /* stamped borders are ink-black */
  --line-soft:    #d8d0be;   /* hairline dividers */

  /* Brand */
  --amber:        #ff7a00;   /* DOT safety amber — primary CTA */
  --amber-dark:   #e05e00;
  --amber-light:  #ff9a3d;
  --amber-soft:   #ffedd6;
  --hi-vis:       #ff9a3d;   /* light amber accent on dark surfaces */
  --steel:        #234a6b;   /* diesel steel blue */
  --steel-dark:   #16324b;
  --steel-soft:   #dde8f1;
  --money:        #1f7a4d;   /* profit green */
  --money-soft:   #d9efe3;
  --loss:         #b3261e;   /* loss red */
  --loss-soft:    #f6dcda;
  --sign-green:   #1c5c3a;   /* interstate mile-marker green */

  /* Type */
  --f-display: "Anton", "Oswald", Impact, sans-serif;
  --f-head:    "Oswald", "Arial Narrow", sans-serif;
  --f-body:    "Public Sans", system-ui, "Segoe UI", Arial, sans-serif;
  --f-mono:    "IBM Plex Mono", "Consolas", ui-monospace, monospace;

  /* Metrics */
  --wrap: 1120px;
  --wrap-narrow: 760px;
  --radius: 4px;                          /* hard, stamped, not pill */
  --shadow: 5px 5px 0 var(--ink);         /* offset placard shadow */
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow-amber: 5px 5px 0 var(--amber-dark);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;         /* 17px — comfortable for older eyes */
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  /* subtle diagonal "checker plate" texture */
  background-image:
    radial-gradient(var(--line-soft) 0.5px, transparent 0.5px);
  background-size: 22px 22px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-underline-offset: 3px; }
a:hover { color: var(--amber-dark); }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.08;
  letter-spacing: 0.005em; margin: 0 0 0.5em; text-wrap: balance; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: var(--wrap-narrow); }
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }

/* Clean amber rule (replaces the old hazard-stripe divider) */
.hazard { height: 5px; background: var(--amber); }
.hazard-thin { height: 3px; }

/* ---------- Skip link ---------- */
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink);
  color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Header / nav ---------- */
.site-header { background: var(--ink); color: var(--paper);
  position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--amber); }
.site-header .wrap { display: flex; align-items: center; gap: 24px;
  min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-size: 1.6rem; letter-spacing: 0.02em;
  color: var(--paper); text-decoration: none; text-transform: uppercase; }
.brand:hover { color: #fff; }
.brand .mark { display: inline-grid; place-items: center; width: 34px; height: 34px;
  background: var(--amber); color: var(--ink); border-radius: 3px;
  font-size: 1.2rem; transform: skewX(-6deg); }
.brand .mark span { transform: skewX(6deg); }
.nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { font-family: var(--f-head); text-transform: uppercase; font-size: 0.9rem;
  letter-spacing: 0.04em; color: var(--paper); text-decoration: none;
  padding: 8px 12px; border-radius: 3px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--amber); color: var(--ink); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--steel-dark); color: var(--paper);
  overflow: hidden; border-bottom: 3px solid var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px; }
.hero .wrap { position: relative; padding: 72px 20px 80px; }
.hero .kicker { display: inline-block; font-family: var(--f-head);
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.82rem;
  color: var(--ink); background: var(--amber); padding: 5px 12px;
  border-radius: 3px; margin-bottom: 20px; }
.hero h1 { font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 0.98;
  text-transform: uppercase; letter-spacing: 0.01em; color: var(--paper);
  max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .sub { font-size: 1.2rem; max-width: 52ch; color: #e7e0d2; margin-top: 18px; }
.hero .cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-head); text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer;
  padding: 13px 22px; border: 2.5px solid var(--ink); border-radius: var(--radius);
  background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .08s ease, box-shadow .08s ease; }
.btn:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink); }
.btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--hi-vis); }
.btn-steel { background: var(--steel); color: #fff; }
.btn-steel:hover { background: var(--steel-dark); color: #fff; }
.btn-lg { font-size: 1.12rem; padding: 16px 28px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Calculator hub grid ---------- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.calc-card { position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 22px; text-decoration: none; color: var(--ink);
  transition: transform .1s ease, box-shadow .1s ease; }
.calc-card:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow);
  color: var(--ink); }
.calc-card .tag { align-self: flex-start; font-family: var(--f-head);
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.68rem;
  padding: 3px 9px; border-radius: 3px; margin-bottom: 14px; font-weight: 600; }
.tag-pro { background: var(--amber-soft); color: var(--amber-dark);
  border: 1.5px solid var(--amber); }
.tag-consumer { background: var(--steel-soft); color: var(--steel-dark);
  border: 1.5px solid var(--steel); }
.calc-card .ico { font-size: 1.9rem; line-height: 1; margin-bottom: 12px; }
.calc-card h3 { font-family: var(--f-head); font-size: 1.35rem;
  text-transform: uppercase; margin-bottom: 6px; }
.calc-card p { color: var(--ink-2); font-size: 0.98rem; margin: 0; }
.calc-card .go { margin-top: 16px; font-family: var(--f-head); font-weight: 600;
  text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em;
  color: var(--amber-dark); }

/* Section header w/ mile-marker motif */
.mile-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.mile-head .marker { flex: none; font-family: var(--f-head); font-weight: 700;
  background: var(--sign-green); color: #fff; border: 2px solid #fff;
  outline: 2px solid var(--sign-green); text-transform: uppercase;
  padding: 6px 12px; text-align: center; line-height: 1; border-radius: 3px;
  font-size: 0.72rem; letter-spacing: 0.08em; }
.mile-head h2 { font-family: var(--f-display); font-weight: 400;
  text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0; letter-spacing: 0.01em; }
.mile-head .marker small { display: block; font-size: 1.4rem; letter-spacing: 0; }

/* ---------- Calculator tool ---------- */
.calc-shell { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 26px;
  align-items: start; }
.calc-panel { background: var(--card); border: 2.5px solid var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.calc-panel h2 { font-family: var(--f-head); text-transform: uppercase;
  font-size: 1.5rem; margin-bottom: 4px; }
.calc-panel .lead { color: var(--ink-2); margin-bottom: 20px; font-size: 0.98rem; }

.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--f-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.82rem;
  color: var(--ink); margin-bottom: 6px; }
.field .hint { font-family: var(--f-body); text-transform: none; letter-spacing: 0;
  font-weight: 400; color: var(--ink-3); font-size: 0.8rem; }
.input-wrap { position: relative; display: flex; align-items: stretch; }
.input-wrap .affix { display: inline-grid; place-items: center; padding: 0 12px;
  background: var(--paper-2); border: 2px solid var(--ink); font-family: var(--f-mono);
  font-size: 0.95rem; }
.input-wrap .affix.pre { border-right: 0; border-radius: var(--radius) 0 0 var(--radius); }
.input-wrap .affix.post { border-left: 0; border-radius: 0 var(--radius) var(--radius) 0; }
input[type="number"], input[type="text"], input[type="email"], select, textarea {
  width: 100%; font-family: var(--f-mono); font-size: 1.05rem; color: var(--ink);
  padding: 11px 12px; background: #fff; border: 2px solid var(--ink);
  border-radius: var(--radius); }
textarea { font-family: var(--f-body); resize: vertical; }
input:focus, textarea:focus { outline: 3px solid var(--amber); outline-offset: 1px; }
.input-wrap .affix.pre + input { border-radius: 0 var(--radius) var(--radius) 0; border-left: 0; }
.input-wrap input:not(:last-child) { border-radius: var(--radius) 0 0 var(--radius); }
input:focus, select:focus { outline: 3px solid var(--amber); outline-offset: 1px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
fieldset { border: 2px dashed var(--line-soft); border-radius: var(--radius);
  padding: 16px; margin: 0 0 18px; }
fieldset legend { font-family: var(--f-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 0.9rem; padding: 0 8px; color: var(--steel-dark); }

/* ---------- Result / odometer readout ---------- */
.readout { position: sticky; top: 88px; background: var(--ink); color: var(--paper);
  border: 2.5px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-amber); padding: 24px; }
.readout .rlabel { font-family: var(--f-head); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.8rem; color: var(--hi-vis); margin-bottom: 6px; }
.odometer { font-family: var(--f-mono); font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 3.4rem); line-height: 1; color: var(--paper);
  letter-spacing: 0.02em; background: #000; border: 2px solid #333;
  padding: 12px 14px; border-radius: 3px; display: inline-block; min-width: 100%;
  text-align: right; }
.odometer .unit { font-size: 1rem; color: var(--hi-vis); }
.readout .rnote { font-size: 0.9rem; color: #cfc7b6; margin-top: 14px; }
.readout .breakdown { margin-top: 18px; border-top: 1px solid #3a3428; padding-top: 14px; }
.readout .breakdown div { display: flex; justify-content: space-between; gap: 10px;
  font-family: var(--f-mono); font-size: 0.9rem; padding: 4px 0; color: #e7e0d2; }
.readout .breakdown div span:last-child { color: #fff; font-weight: 700; }
.result-good { color: var(--money) !important; }
.result-bad { color: #ff6b5e !important; }

/* Small stat tiles */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.stat { background: var(--paper-2); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 14px; text-align: center; }
.stat .n { font-family: var(--f-mono); font-weight: 700; font-size: 1.5rem; display: block; }
.stat .l { font-family: var(--f-head); text-transform: uppercase; font-size: 0.72rem;
  letter-spacing: 0.05em; color: var(--ink-3); }

/* ---------- Prose / content ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--f-head); font-size: 1.8rem; text-transform: uppercase;
  margin-top: 2em; padding-bottom: 8px; border-bottom: 3px solid var(--amber);
  display: inline-block; }
.prose h3 { font-family: var(--f-head); font-size: 1.3rem; text-transform: uppercase;
  margin-top: 1.6em; color: var(--steel-dark); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.prose a { font-weight: 600; }
/* Markdown tables inside prose (blog posts) — scoped so hand-built .data tables keep their own styling */
.prose table:not(.data) { display: block; overflow-x: auto; border-collapse: collapse; width: 100%;
  margin: 24px 0; border: 2.5px solid var(--ink); border-radius: var(--radius);
  font-size: 0.96rem; box-shadow: var(--shadow-sm); }
.prose table:not(.data) thead { background: var(--ink); }
.prose table:not(.data) th, .prose table:not(.data) td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.prose table:not(.data) thead th { background: var(--ink); color: var(--paper); font-family: var(--f-head);
  text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.82rem; }
.prose table:not(.data) tbody tr:nth-child(even) { background: var(--paper); }
.prose pre { background: var(--ink); color: var(--paper); padding: 16px 18px;
  border-radius: var(--radius); overflow-x: auto; font-family: var(--f-mono); font-size: 0.9rem; }
.prose :not(pre) > code { background: var(--paper-2); border: 1px solid var(--line-soft);
  padding: 1px 5px; border-radius: 3px; font-family: var(--f-mono); font-size: 0.9em; }
.prose blockquote { border-left: 6px solid var(--steel); background: var(--steel-soft);
  margin: 22px 0; padding: 12px 20px; border-radius: 0 var(--radius) var(--radius) 0; }

.callout { background: var(--amber-soft); border-left: 6px solid var(--amber);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.callout.steel { background: var(--steel-soft); border-color: var(--steel); }
.callout strong { color: var(--ink); }

/* ---------- Tables ---------- */
.tbl-scroll { overflow-x: auto; margin: 22px 0; border: 2.5px solid var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.data { border-collapse: collapse; width: 100%; background: var(--card);
  font-size: 0.96rem; min-width: 480px; }
table.data th, table.data td { padding: 11px 14px; text-align: left;
  border-bottom: 1px solid var(--line-soft); }
table.data thead th { background: var(--ink); color: var(--paper);
  font-family: var(--f-head); text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 0.82rem; }
table.data tbody tr:nth-child(even) { background: var(--paper); }
table.data td.num { font-family: var(--f-mono); text-align: right; }

/* ---------- FAQ ---------- */
.faq details { background: var(--card); border: 2px solid var(--ink);
  border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; padding: 16px 20px; font-family: var(--f-head);
  font-weight: 600; text-transform: uppercase; font-size: 1.02rem; list-style: none;
  display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--amber-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 2px solid var(--line-soft); }
.faq .a { padding: 16px 20px; color: var(--ink-2); }

/* ---------- Affiliate product card ---------- */
.gear { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.product { display: flex; flex-direction: column; background: var(--card);
  border: 2.5px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  overflow: hidden; text-decoration: none; color: var(--ink);
  transition: transform .1s ease, box-shadow .1s ease; }
.product:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow); color: var(--ink); }
.product .pic { background: #fff; aspect-ratio: 4/3; display: grid; place-items: center;
  border-bottom: 2px solid var(--ink); padding: 14px; }
.product .pic img { max-height: 100%; width: auto; }
.product .body { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.product .plabel { font-family: var(--f-head); text-transform: uppercase;
  font-size: 0.68rem; letter-spacing: 0.06em; color: var(--amber-dark);
  font-weight: 700; margin-bottom: 4px; }
.product h4 { font-family: var(--f-head); font-size: 1.05rem; margin: 0 0 8px;
  text-transform: none; }
.product .why { font-size: 0.88rem; color: var(--ink-2); flex: 1; }
.product .pbtn { margin-top: 12px; text-align: center; font-family: var(--f-head);
  text-transform: uppercase; font-weight: 600; letter-spacing: 0.04em;
  background: var(--amber); color: var(--ink); border: 2px solid var(--ink);
  border-radius: 3px; padding: 9px; font-size: 0.9rem; }
.product:hover .pbtn { background: var(--hi-vis); }

/* ---------- Best-of review block ---------- */
.review { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: start;
  background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 20px; margin: 20px 0; }
.review-pic { display: grid; place-items: center; background: #fff; border: 2px solid var(--ink);
  border-radius: 3px; aspect-ratio: 1; padding: 12px; }
.review-pic img { max-width: 100%; max-height: 100%; width: auto; }
.review-award { display: inline-block; font-family: var(--f-head); text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 0.72rem; font-weight: 700; color: var(--ink);
  background: var(--hi-vis); border: 1.5px solid var(--ink); padding: 3px 10px; border-radius: 3px; margin-bottom: 10px; }
.review-body h3 { font-family: var(--f-head); font-size: 1.3rem; margin: 0 0 8px; text-transform: none; }
.review-body h3 a { color: var(--ink); text-decoration: none; }
.review-body h3 a:hover { color: var(--amber-dark); }
.review-body p { color: var(--ink-2); margin-bottom: 14px; }
@media (max-width: 620px) { .review { grid-template-columns: 1fr; }
  .review-pic { max-width: 200px; } }

/* ---------- Newsletter ---------- */
.optin { background: var(--steel-dark); color: var(--paper); border: 3px solid var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.optin h2 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  color: var(--paper); font-size: 2rem; margin-bottom: 8px; }
.optin p { color: #d7cfbf; margin: 0; }
.optin form { display: flex; gap: 10px; flex-wrap: wrap; }
.optin input[type="email"] { flex: 1; min-width: 200px; border-color: var(--ink); }
.optin-wrap { display: flex; flex-direction: column; gap: 10px; }
.optin-thanks { margin: 0; font-family: var(--f-head); text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--ink); background: var(--amber);
  border: 2px solid var(--ink); border-radius: var(--radius); padding: 12px 16px; }

/* ---------- Breadcrumb ---------- */
.crumb { font-family: var(--f-head); text-transform: uppercase; font-size: 0.78rem;
  letter-spacing: 0.04em; color: var(--ink-3); padding: 14px 0; }
.crumb a { color: var(--steel); text-decoration: none; }
.crumb a:hover { color: var(--amber-dark); }

/* ---------- Disclosure / disclaimer ---------- */
.disclosure { background: var(--paper-2); border: 1.5px dashed var(--ink-3);
  border-radius: var(--radius); padding: 12px 16px; font-size: 0.85rem;
  color: var(--ink-2); margin: 22px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc7b6; margin-top: 60px;
  border-top: 4px solid var(--amber); }
.site-footer .wrap { padding: 48px 20px 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { font-family: var(--f-head); text-transform: uppercase; color: var(--paper);
  font-size: 0.95rem; letter-spacing: 0.05em; margin-bottom: 14px; }
.site-footer a { color: #cfc7b6; text-decoration: none; display: block; padding: 4px 0;
  font-size: 0.92rem; }
.site-footer a:hover { color: var(--amber); }
.foot-brand { font-family: var(--f-display); text-transform: uppercase; font-size: 1.5rem;
  color: var(--paper); }
.foot-bottom { border-top: 1px solid #332e24; margin-top: 34px; padding-top: 20px;
  font-size: 0.82rem; color: #8c8371; display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; }

/* ---------- Site-wide footer gear strip (affiliate) ---------- */
.foot-gear { background: var(--paper-2); border-top: 3px solid var(--ink); }
.foot-gear .wrap { padding: 22px 20px; }
.foot-gear-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.foot-gear-title { font-family: var(--f-head); text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 1rem; font-weight: 700; }
.foot-gear-all { font-family: var(--f-head); text-transform: uppercase; font-size: 0.8rem;
  letter-spacing: 0.04em; text-decoration: none; color: var(--amber-dark); }
.foot-gear-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.foot-gear-item { display: flex; align-items: center; gap: 12px; background: var(--card);
  border: 2px solid var(--ink); border-radius: var(--radius); padding: 10px; text-decoration: none;
  color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .1s ease, box-shadow .1s ease; }
.foot-gear-item:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--ink); color: var(--ink); }
.foot-gear-pic { flex: none; width: 56px; height: 56px; background: #fff; border: 1.5px solid var(--ink);
  border-radius: 3px; display: grid; place-items: center; overflow: hidden; }
.foot-gear-pic img { max-width: 100%; height: auto; }
.foot-gear-name { font-size: 0.9rem; font-weight: 600; line-height: 1.25; }
.foot-gear-cta { display: block; font-family: var(--f-head); text-transform: uppercase; font-weight: 600;
  font-size: 0.68rem; letter-spacing: 0.04em; color: var(--amber-dark); margin-top: 3px; }
.foot-gear-disc { margin: 12px 0 0; font-size: 0.78rem; color: var(--ink-3); }
@media (max-width: 720px) { .foot-gear-row { grid-template-columns: 1fr; } }

/* ---------- Starter-kit popup ---------- */
.kit-popup { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: rgba(11,10,8,0.7); padding: 16px; }
.kit-popup-card { position: relative; width: 100%; max-width: 440px; background: var(--card);
  border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 26px; }
.kit-popup-card .kicker { display: inline-block; font-family: var(--f-head); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.72rem; color: var(--ink); background: var(--amber);
  padding: 4px 10px; border-radius: 3px; margin-bottom: 12px; }
.kit-popup-card h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: 1.7rem; line-height: 1; margin-bottom: 8px; }
.kit-popup-card p { color: var(--ink-2); font-size: 0.98rem; margin-bottom: 16px; }
.kit-popup-card form { display: flex; flex-direction: column; gap: 10px; }
.kit-popup-close { position: absolute; top: 8px; right: 10px; background: none; border: 0;
  font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--ink-3); }
.kit-popup-close:hover { color: var(--ink); }
.kit-skip { display: inline-block; margin-top: 14px; font-size: 0.85rem; color: var(--ink-3); }
.kit-thanks { font-family: var(--f-head); text-transform: uppercase; color: var(--money); }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 200;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
  background: var(--ink); color: var(--paper); border: 2px solid var(--amber);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 18px; }
.cookie-banner p { margin: 0; font-size: 0.92rem; max-width: 62ch; }
.cookie-banner a { color: var(--amber); }
.cookie-banner .btn { flex: none; padding: 9px 18px; font-size: 0.9rem; }
@media (max-width: 620px) { .cookie-banner { flex-direction: column; text-align: center; } }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-3); }
.reveal { opacity: 0; transform: translateY(14px); animation: rise .6s ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .12s; }
.d3 { animation-delay: .19s; } .d4 { animation-delay: .26s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .gear { grid-template-columns: repeat(2, 1fr); }
  .calc-shell { grid-template-columns: 1fr; }
  .readout { position: static; }
  .optin { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .section { padding: 44px 0; }
  .grid-3, .grid-2, .gear, .stat-row { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; background: var(--ink); padding: 8px; gap: 2px;
    border-bottom: 3px solid var(--amber); }
  .nav.open { display: flex; }
  .nav-toggle { display: inline-grid; place-items: center; margin-left: auto;
    width: 44px; height: 44px; background: var(--amber); color: var(--ink);
    border: 2px solid var(--paper); border-radius: 3px; font-size: 1.3rem;
    cursor: pointer; }
  .field-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
