/* ============================================================
   Firefighter Dealer Opportunity — firefighters.aitcoh.com
   Fire-forged dark edition. Visual system matches the
   2026-07 firefighter recruitment email for message match:
     canvas #0b0c0d, liquid-glass #141416 cards, two accents
     (red pair #B31217/#E5372E, Radiant Gold #fdd841),
     Light Linen text, Montserrat + Source Sans 3.
   Card rails: red = offer/urgent, gold = warm/community.
   Fonts self-hosted (assets/fonts variable TTFs). No CDN.
   ============================================================ */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/Montserrat-VariableFont_wght.ttf') format('truetype-variations');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../assets/fonts/SourceSans3-VariableFont_wght.ttf') format('truetype-variations');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url('../assets/fonts/SourceSans3-Italic-VariableFont_wght.ttf') format('truetype-variations');
}

:root {
  /* Fire-forged palette (email parity) */
  --canvas:        #0b0c0d;
  --canvas-2:      #101112;
  --card:          #141416;
  --card-line:     rgba(255, 252, 229, .15);
  --card-line-2:   rgba(255, 252, 229, .30);

  --red:           #B31217;
  --red-bright:    #E5372E;
  --gold:          #fdd841;
  --gold-deep:     #e8b219;

  --linen:         #fffce5;
  --text:          #d8cfc7;
  --text-dim:      #b7afa6;
  --text-faint:    #9a938c;
  --charcoal:      #333333;

  --maxw:          1120px;
  --radius:        16px;
  --radius-sm:     10px;
  --shadow-red:    0 12px 28px rgba(210, 4, 45, .35);
  --shadow-card:   0 18px 44px rgba(0, 0, 0, .45);
  --glass:         linear-gradient(180deg, rgba(255,255,255,.055) 0%, rgba(255,255,255,.015) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans Pro', 'Segoe UI', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  letter-spacing: -.02em;
  color: var(--linen);
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
em { font-style: italic; }
.brand-name { font-style: italic; }
sup { font-size: .6em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Fire microbar under the top of the page (email masthead motif) */
.fire-bar {
  height: 5px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red-bright) 45%, var(--gold) 100%);
}

/* ---------- Eyebrows / shared type ---------- */
.eyebrow {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--red-bright);
}
.eyebrow--gold { color: var(--gold); }

.section {
  padding: 76px 0;
  position: relative;
  scroll-margin-top: 88px; /* clear the 74px sticky header on anchor jumps */
}
.section--tint { background: var(--canvas-2); border-top: 1px solid #1f2224; border-bottom: 1px solid #1f2224; }

.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 800; margin: 10px 0 14px; }
.section-head p { font-size: 18px; color: var(--text-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800; font-size: 16px; letter-spacing: .2px;
  padding: 16px 34px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background-position .35s ease;
  line-height: 1;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Primary = red glow (email hero button hierarchy) */
.btn--red {
  color: #fff;
  background-color: var(--red);
  background-image: linear-gradient(180deg, var(--red-bright) 0%, var(--red) 100%);
  border-color: var(--red-bright);
  box-shadow: var(--shadow-red);
}
.btn--red:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(210, 4, 45, .55); }

/* Gold = C-Easy button rule: charcoal text on Radiant Gold, never blue */
.btn--gold {
  color: var(--charcoal);
  background-color: var(--gold);
  background-image: linear-gradient(180deg, #fde98f 0%, var(--gold) 100%);
  border-color: var(--gold-deep);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(253, 216, 65, .35); }

/* Ghost = secondary/dark */
.btn--ghost {
  color: var(--linen);
  background-color: #2a2d2f;
  background-image: linear-gradient(180deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.02) 100%);
  border-color: var(--card-line-2);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--gold); }

.btn--lg { font-size: 18px; padding: 19px 44px; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Liquid-glass card ---------- */
.card {
  background-color: var(--card);
  background-image: var(--glass);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.card--rail-red { border-left: 5px solid var(--red); }
.card--rail-gold { border-left: 5px solid var(--gold); }
.card__top-red { height: 6px; background: linear-gradient(90deg, var(--red), var(--red-bright)); }
.card__top-gold { height: 6px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }

/* ---------- Top highlight band ---------- */
.topline {
  background-image: linear-gradient(100deg, #fde98f 0%, var(--gold) 46%, var(--gold-deep) 100%);
  color: var(--charcoal);
  border-bottom: 2px solid rgba(0, 0, 0, .18);
}
.topline__inner {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 13px 24px; text-align: center; flex-wrap: wrap;
}
.topline__icon { height: 46px; width: auto; flex-shrink: 0; }
.topline .no {
  font-family: 'Montserrat', Arial, sans-serif; font-weight: 900;
  font-size: clamp(28px, 5.4vw, 46px); letter-spacing: -.03em; line-height: 1;
}
.topline .rest {
  font-family: 'Montserrat', Arial, sans-serif; font-weight: 800;
  font-size: clamp(15px, 3.1vw, 26px); letter-spacing: -.01em; line-height: 1.1;
}
@media (max-width: 560px) {
  .topline__inner { gap: 9px; padding: 11px 16px; }
  .topline__icon { height: 36px; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 12, 13, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1c1e20;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.header-logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; font-size: 14px; color: var(--linen); transition: color .2s; }
.nav a:hover { color: var(--red-bright); }
.nav .btn { padding: 11px 22px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--linen); cursor: pointer; }
.mobile-nav { display: none; flex-direction: column; padding: 10px 0 18px; border-top: 1px solid #1c1e20; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; text-align: center; color: var(--linen); padding: 12px; }
.mobile-nav a:hover { background: rgba(255,255,255,.06); }
.mobile-nav .btn { margin: 8px auto 0; width: 84%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; background: #000;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(circle at 82% 4%, rgba(229,45,39,.30), transparent 55%),
    radial-gradient(circle at 8% 96%, rgba(253,216,65,.12), transparent 45%),
    radial-gradient(ellipse 70% 60% at 50% 52%, rgba(0,0,0,.62), transparent 75%),
    linear-gradient(180deg, rgba(0,0,0,.60) 0%, rgba(0,0,0,.72) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 120px 24px; max-width: 900px; }
.hero .badge-pill {
  display: inline-block; padding: 8px 18px; margin-bottom: 22px;
  border: 1px solid rgba(253,216,65,.5); border-radius: 999px; background: rgba(253,216,65,.08);
  font-family: 'Montserrat', Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
}
.hero h1 {
  font-size: clamp(38px, 7vw, 76px); font-weight: 900; letter-spacing: -.02em;
  text-shadow: 2px 2px 10px rgba(0,0,0,.7); margin-bottom: 18px;
}
.hero h1 .accent { color: var(--red-bright); }
.hero__sub {
  font-size: clamp(17px, 2.3vw, 22px); color: #e7ded5; max-width: 720px; margin: 0 auto 30px;
  text-shadow: 1px 1px 6px rgba(0,0,0,.6);
}
.hero__note { margin-top: 18px; font-size: 14px; color: #cfc7bf; }
.hero__note a { color: var(--gold); text-decoration: underline; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  text-align: center; padding: 26px 14px; border-radius: 14px;
  background-color: var(--card); background-image: var(--glass);
  border: 1px solid var(--card-line); border-bottom: 3px solid var(--red);
}
.stat__num { font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; font-size: clamp(28px, 4vw, 40px); color: var(--gold); }
.stat__lab { font-weight: 600; font-size: 14px; color: var(--text-dim); margin-top: 6px; }
.stats-note { text-align: center; margin-top: 18px; font-size: 12px; color: var(--text-faint); }

/* ---------- Feature grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.feature { padding: 28px; border-radius: var(--radius); background-color: var(--card); background-image: var(--glass); border: 1px solid var(--card-line); }
.feature .icon { width: 30px; height: 30px; color: var(--red-bright); margin-bottom: 14px; }
.feature h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.feature p { font-size: 15.5px; color: var(--text-dim); }
.feature--head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.feature--head .icon { margin-bottom: 0; }
.feature--head h3 { margin-bottom: 0; }

/* Included / receive list */
.receive { display: flex; gap: 16px; padding: 26px; align-items: flex-start; }
.receive .badge {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--red-bright), var(--red)); color: #fff;
}
.receive .badge svg { width: 24px; height: 24px; }
.receive h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.receive p { font-size: 15.5px; color: var(--text-dim); }

/* Marketing package detail */
.pkg { margin-top: 26px; padding: 32px; }
.pkg h3 { font-size: 24px; font-weight: 800; margin-bottom: 18px; }
.pkg .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pkg h4 { font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.pkg ul { list-style: none; }
.pkg li { position: relative; padding-left: 22px; margin-bottom: 7px; font-size: 15px; color: var(--text); }
.pkg li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--red-bright); }

/* ---------- Two-column feature card (game + financing) ---------- */
.split { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 8px; overflow: hidden; }
.split__body { padding: 40px 30px 40px 40px; }
.split__body h3 { font-size: clamp(24px, 3.4vw, 30px); font-weight: 800; margin: 10px 0 12px; }
.split__body h3 .accent-gold { color: var(--gold); }
.split__body p { color: var(--text-dim); margin-bottom: 20px; }
.split__media { padding: 26px; display: flex; justify-content: center; }
.split__media img { border-radius: 14px; border: 1px solid var(--card-line-2); max-width: 300px; width: 100%; }
.split__fine { font-size: 12.5px; color: var(--text-faint); margin-top: 14px; }

/* Financing highlight extras */
.fin-points { list-style: none; margin: 4px 0 22px; }
.fin-points li { position: relative; padding-left: 30px; margin-bottom: 11px; color: #e8e2da; font-size: 15.5px; }
.fin-points li svg { position: absolute; left: 0; top: 2px; width: 20px; height: 20px; color: var(--gold); }
.fin-figure {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 30px; height: 100%;
}
.fin-figure .amt { font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; font-size: clamp(40px, 6vw, 60px); color: var(--linen); line-height: 1; }
.fin-figure .amt-lab { font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); margin-top: 10px; }
.fin-figure .amt-sub { font-size: 13px; color: var(--text-faint); margin-top: 12px; }

/* ---------- Investment ---------- */
.invest { position: relative; overflow: hidden; }
.invest__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.invest__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,12,13,.86), rgba(11,12,13,.92)); }
.invest__inner { position: relative; z-index: 2; }
.invest-card { max-width: 640px; margin: 0 auto; text-align: center; padding: 44px 36px; border-top: 4px solid var(--red); }
.invest-card .price { font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; font-size: clamp(48px, 8vw, 74px); color: var(--linen); margin: 6px 0 12px; line-height: 1; }
.invest-card .tag {
  display: inline-flex; gap: 8px; align-items: center; margin-top: 8px;
  background: var(--red); color: #fff; font-weight: 700; padding: 12px 18px; border-radius: 10px; font-size: 15px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq__item { border-radius: 12px; background-color: var(--card); background-image: var(--glass); border: 1px solid var(--card-line); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; font-size: 17px; color: var(--linen);
}
.faq__q svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold); transition: transform .3s; }
.faq__item.open .faq__q svg { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a-inner { padding: 0 24px 22px; color: var(--text-dim); font-size: 15.5px; }

/* ---------- Apply ---------- */
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.apply-copy .flame { width: 58px; height: 58px; margin-bottom: 16px; }
.apply-copy h2 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 800; margin-bottom: 14px; }
.apply-copy p { color: var(--text); font-size: 18px; margin-bottom: 18px; }
.apply-copy .call-link { color: var(--gold); font-weight: 700; text-decoration: underline; }
.apply-copy .secondary { margin-top: 20px; font-size: 15px; color: var(--text-dim); }
.apply-copy .secondary a { color: var(--gold); text-decoration: underline; }

.form-card { padding: 34px; }
.form-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dim); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm);
  background: #0e0f10; border: 1px solid #2a2d2f; color: var(--linen);
  font-family: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #6f6b66; }
.field input:focus { outline: none; border-color: var(--red-bright); box-shadow: 0 0 0 3px rgba(229,45,39,.2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 14px; text-align: center; font-weight: 700; min-height: 22px; transition: opacity .3s; }
.form-msg.ok { color: #6ee7a8; }
.form-msg.err { color: #ff8a8a; }

/* ---------- Disclaimer ---------- */
.disclaimer { border-top: 1px solid #1c1e20; }
.disclaimer .container { max-width: 900px; }
.disclaimer p { font-size: 11px; line-height: 1.6; color: var(--text-faint); margin-bottom: 12px; }
.disclaimer strong { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--canvas); border-top: 1px solid #1c1e20; text-align: center; }
.site-footer .container { padding-top: 40px; padding-bottom: 40px; }
.footer-logo { height: 46px; margin: 0 auto 16px; width: auto; }
.footer-tagline { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; color: var(--gold); margin-bottom: 16px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 14px; }
.footer-links a { font-weight: 600; font-size: 14px; color: var(--linen); }
.footer-links a:hover { color: var(--red-bright); }
.footer-meta { font-size: 13px; color: var(--text-faint); }
.footer-meta a { color: var(--text-dim); }

/* ---------- Floating CTA ---------- */
.floating-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  border-radius: 999px; padding: 14px 22px; font-size: 15px;
  transition: opacity .3s, transform .3s;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease-out, transform .6s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .pkg .cols { grid-template-columns: 1fr; gap: 22px; }
  .split { grid-template-columns: 1fr; }
  .split__body { padding: 32px 26px 8px; }
  .split__media { padding: 8px 26px 32px; }
  .fin-figure { padding: 8px 26px 30px; }
  .apply-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .floating-cta span { display: none; }
  .floating-cta { padding: 15px; }
}
