/* ============================================================
   consistency.css — design-system normalization layer.
   Loads LAST so it wins. Re-points the iterated CSS at the shared
   tokens in colors_and_type.css so spacing, type, colour, and
   surfaces are uniform across every section.
   ============================================================ */

/* ---------- 1. Section rhythm (one vertical scale) ---------- */
/* padding-block only — the shorthand's horizontal 0 was killing .site's 28px
   gutter, so sections touched the screen edge on mobile. */
.sec-pad{padding-block:clamp(64px,8vw,96px)}
.sec-head{margin-bottom:36px}
.stats .site{padding-block:clamp(44px,5vw,60px)}

/* ---------- 2. Headings: one display scale ---------- */
.sec-head h2,.demo-card h2,.calc h2,.why h2,.pocket h2,.compare h2,.fieldband h2{
  font-family:var(--font-display);text-transform:uppercase;
  font-size:clamp(34px,4.4vw,56px);line-height:.95;letter-spacing:.005em;margin-top:12px;
}
.final h2{font-size:clamp(40px,5vw,64px);line-height:.95}   /* closing line: intentionally larger */
.hero h1{font-size:clamp(52px,6.4vw,92px);line-height:.92;letter-spacing:.005em}

/* ---------- 3. Eyebrows + mono labels: one style ---------- */
.eyebrow{font-family:var(--font-mono);font-size:12px;font-weight:800;
  letter-spacing:.1em;text-transform:uppercase;color:var(--yellow)}
.compare .eyebrow{color:var(--muted-deep)}

/* ---------- 4. Lead / intro copy -> tokens ---------- */
.hero-sub,.why-lead,.calc .lead,.demo-lead{
  font-family:var(--font-body);font-size:18px;line-height:1.55;color:var(--light-grey)}
.why-lead{max-width:46ch}
.calc .lead{max-width:440px}

/* ---------- 5. Secondary / tertiary text -> tokens ---------- */
.stat .l,.dsub,.drouted .r,.hero-trust{color:var(--muted-text)}
.stat .s,.player .time,.player .cap,.calc-readout .sub,.calc-mini .m .ml,.calc-disc,
.dmsg .who,.tline .who,.demo-tag,.why-stat .src,.cmp-note,.scr-meta,.calc-readout .rlabel{color:var(--muted-deep)}
.dmsg .txt,.tline .txt,.why-rep{color:var(--light-grey)}

/* light-section text -> tokens */
.step h3,.ind h3{color:var(--black)}
.step p,.ind p{color:var(--fg-on-light-2)}

/* ---------- 6. Dark cards: one surface (bg / border / radius) ---------- */
.dispatch,.demo-card,.player,.price,.calc-readout,.transcript{
  background:var(--charcoal);border:1px solid var(--hairline);border-radius:var(--r-lg)}

/* ---------- 7. Stat numbers: consistent Anton display ---------- */
.stat .n,.calc-readout .big,.demo-num,.calc-mini .m .mv,.why-stat .n{
  font-family:var(--font-display);line-height:1;letter-spacing:.005em}

/* ---------- 8. Section surface rhythm ---------- */
/* Three tiers — black (D1), charcoal (D2), off-white (L) — alternating so
   no two neighbouring sections share a surface. */
.stats{background:var(--black);border-block:1px solid var(--hairline-dim)}  /* D1 — proof band before pricing */
.calc{background:var(--charcoal)}          /* D2 */
#demo{background:var(--black)}             /* D1 — fixes the off-white bleed bar */
.pocket{background:var(--charcoal)}        /* D2 */
.fieldband{background:var(--black)}        /* D1 */
.compare{background:var(--charcoal);color:var(--white)}  /* D2 — was off-white (double-light) */
#pricing{background:var(--black)}          /* D1 */
/* (.why = D2, How/Industries/FAQ = L, Final = D1+photo already set) */

/* Compare on dark: yellow accents, lighter note; white table card pops */
.compare .eyebrow{color:var(--yellow)}
.cmp-note{color:var(--muted-text)}

/* ReplyFirst column header: black cell with the real logo + "best for trades" flag */
.cmp thead th.rf{background:var(--black);color:#fff;border-radius:12px 12px 0 0;padding-top:14px;padding-bottom:14px}
.cmp-logo{display:block;width:auto;height:30px;max-width:88%;margin:0 auto;object-fit:contain}
.cmp-flag{display:inline-block;margin-bottom:10px;background:var(--yellow);color:#050505;
  font-family:var(--font-mono);font-size:9.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
  padding:4px 9px;border-radius:999px}

/* ---------- 20. Compare: brand the section + feature the ReplyFirst column ---------- */
/* branded backdrop — faint bolt watermark + a soft glow behind the table */
.compare{position:relative;overflow:hidden}
.compare::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:radial-gradient(60% 55% at 50% 38%,rgba(255,212,0,.10),transparent 70%)}
.compare::after{content:"";position:absolute;z-index:0;pointer-events:none;
  top:-90px;right:-130px;width:520px;height:520px;opacity:.05;transform:rotate(10deg);
  background:url("assets/logo-bolt.svg") no-repeat center/contain}
.compare .site{position:relative;z-index:1}
.compare .cmp-card{position:relative;z-index:1}

/* featured column: yellow ring framing the ReplyFirst column top-to-bottom */
.cmp td.rf,.cmp th.rf{border-left:2px solid var(--yellow);border-right:2px solid var(--yellow)}
.cmp thead th.rf{border-top:2px solid var(--yellow)}
.cmp tbody tr:last-child td.rf{border-bottom:2px solid var(--yellow)}
.cmp .rf{background:#FFF7D6}

/* selling subhead */
.cmp-sub{max-width:62ch;margin:14px auto 0;font-family:var(--font-body);font-size:16px;
  line-height:1.55;color:var(--light-grey);text-align:center}

/* payoff strip — value-stack close under the table */
.cmp-payoff{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px;margin-top:26px}
.cmp-payoff-t{font-family:var(--font-display);text-transform:uppercase;letter-spacing:.01em;
  font-size:21px;color:#fff;line-height:1}
.cmp-payoff .btn{flex:none}
.cmp-note{margin-top:16px}

/* ---------- 21. Demo transcript: typewriter reveal ---------- */
/* reserve exactly the finished height so the card neither jumps while typing nor leaves dead space */
.transcript{min-height:248px}
/* the .tline rise-in (opacity + translateY) is already defined; we just drive .show in sequence */
.tw-caret{display:inline-block;width:2px;height:1.05em;margin-left:2px;vertical-align:-2px;
  background:var(--yellow);animation:twcaret .9s steps(1,end) infinite}
@keyframes twcaret{0%,49%{opacity:1}50%,100%{opacity:0}}
/* status pill fades in once the call is fully transcribed */
.demo-tag{opacity:0;transform:translateY(6px);transition:opacity .4s ease,transform .4s ease}
.demo-tag.show{opacity:1;transform:none}

/* Crisp 1px seam between adjacent dark sections */
.why,.calc,#demo,.pocket,.fieldband,.compare,#pricing,.final{
  border-top:1px solid var(--hairline-dim)}

/* ---------- 9. Demo: constrain to container + restore vertical rhythm ---------- */
/* (was full-bleed max-width:none -> looked stretched; no top padding) */
#demo .site{max-width:1180px;width:auto;margin-inline:auto;padding:clamp(64px,8vw,96px) 28px}

/* ---------- 10. Why image: frame the subject in the tall crop + even overlay ---------- */
.why-photo img{object-position:50% 28%}
.why-ostats{padding:22px 22px}

/* ---------- 11. Light-section accents (yellow is illegible on off-white) ---------- */
.light .eyebrow{color:#9A7A00}
.light .yl{color:#C29400}

/* ---------- 12. How it works: tidy, consistent card flow ---------- */
.how{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;align-items:stretch}
.how-wrap{display:block}
.how-arrow{display:none}                 /* numbered badges carry the sequence */
.step{background:#fff;border:1px solid #E4DECF;border-radius:var(--r-lg);
  padding:0 22px 24px;display:flex;flex-direction:column;gap:13px;height:100%;overflow:hidden;
  transition:transform .16s var(--ease,cubic-bezier(.2,.7,.2,1)),box-shadow .16s}
.step:hover{transform:translateY(-3px);box-shadow:0 16px 40px -24px rgba(0,0,0,.35)}
/* small photo banner — gives each step life without dominating the card */
.step-img{position:relative;margin:0 -22px 4px;height:104px;overflow:hidden;background:#0c0c0c}
.step-img img{width:100%;height:100%;object-fit:cover;display:block;
  filter:brightness(.72) contrast(1.08) saturate(.92);
  transition:transform .4s var(--ease,cubic-bezier(.2,.7,.2,1)),filter .3s ease}
/* darkening + warm-to-black gradient so the set reads as one cohesive treatment */
.step-img::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(5,5,5,.28) 0%,rgba(5,5,5,.10) 42%,rgba(5,5,5,.62) 100%)}
.step:hover .step-img img{transform:scale(1.04);filter:brightness(.82) contrast(1.06) saturate(1)}
.step-no{position:absolute;top:9px;left:9px;z-index:2;width:26px;height:26px;border-radius:7px;
  background:var(--yellow);color:#050505;font-family:var(--font-display);font-size:15px;line-height:26px;
  text-align:center;box-shadow:0 4px 12px -4px rgba(0,0,0,.5)}
.step .ico{width:46px;height:46px;font-size:20px;margin-top:-26px;position:relative;z-index:1;
  border:3px solid #fff;background:#111;color:var(--yellow)}
.step h3{font-size:15.5px;margin:0}
.step p{font-size:13.5px;line-height:1.5;color:var(--fg-on-light-2);margin:0}
/* selling subhead under the How headline */
.how-sub{max-width:60ch;margin:16px auto 0;font-family:var(--font-body);font-size:16.5px;
  line-height:1.55;color:var(--fg-on-light-2);text-align:center}
/* result kicker — the outcome line that sells each step; aligns to card bottom */
.step-result{margin-top:auto;padding-top:13px;border-top:1px solid #ECE6D7;
  display:flex;gap:8px;align-items:flex-start;
  font-family:var(--font-body);font-weight:700;font-size:12.5px;line-height:1.4;color:#0a0a0a}
.step-result::before{content:"";flex:none;margin-top:4px;width:8px;height:8px;border-radius:2px;
  background:var(--yellow);box-shadow:0 0 0 3px rgba(255,212,0,.2)}
@media (max-width:880px){.how{grid-template-columns:1fr 1fr}}

/* ---------- 12b. Calculator: daytime vs after-hours loss breakdown ---------- */
.calc-split{margin-top:18px;display:grid;gap:10px}
.csplit{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;background:var(--black);border:1px solid var(--hairline);border-radius:10px}
.csplit.ah{border-color:rgba(255,212,0,.45);background:linear-gradient(0deg,rgba(255,212,0,.05),rgba(255,212,0,.05)),var(--black)}
.csplit .l{font-family:var(--font-mono);font-size:10.5px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted-text)}
.csplit .l b{display:block;font-family:var(--font-body);font-weight:600;text-transform:none;letter-spacing:0;font-size:12.5px;color:#fff;margin-top:3px}
.csplit .v{font-family:var(--font-display);font-size:23px;color:#fff;line-height:1;white-space:nowrap}
.csplit .v span{font-family:var(--font-mono);font-size:10px;color:var(--muted-deep);margin-left:4px}
.csplit.ah .v{color:var(--yellow)}

/* ---------- 13. Calculator slider: yellow filled track (and it actually drags now) ---------- */
.rng::-webkit-slider-runnable-track{background:linear-gradient(90deg,var(--yellow) var(--p,0%),#2a2a2a var(--p,0%))}
.rng::-moz-range-track{background:linear-gradient(90deg,var(--yellow) var(--p,0%),#2a2a2a var(--p,0%))}

/* ---------- 14. Motion (live, never decorative; killed by reduced-motion block) ---------- */
@keyframes eq{0%,100%{transform:scaleY(.30)}50%{transform:scaleY(1)}}
@keyframes cappulse{
  0%,100%{box-shadow:0 0 0 0 rgba(39,196,106,0);border-color:rgba(39,196,106,.35)}
  50%{box-shadow:0 0 16px 0 rgba(39,196,106,.22);border-color:rgba(39,196,106,.75)}
}
/* phone: voice level moving up and down */
.scr-wave i{transform-origin:center;animation:eq 1s ease-in-out infinite;will-change:transform}
/* phone: "capturing job details" pill pulsing */
.scr-cap{animation:cappulse 1.9s ease-in-out infinite}
/* hero dispatch card: live audio equalizer */
.deq{display:flex;align-items:center;gap:3px;height:16px;margin:10px 0 4px}
.deq i{flex:1;max-width:4px;height:100%;border-radius:2px;background:var(--green);opacity:.8;
  transform-origin:center;animation:eq 1s ease-in-out infinite;will-change:transform}
@keyframes recpulse{0%,100%{opacity:1}50%{opacity:.45}}

/* ---------- 15. Hero: less vertical, more horizontal ---------- */
.hero .site{grid-template-columns:1.28fr .85fr;gap:44px;padding-top:78px;padding-bottom:92px}
.hero .site > div:first-child{width:100%;min-width:0}
.hero.layout-split h1{max-width:none}   /* was capped at 11ch, forcing the 4-line wrap */
.hero h1{font-size:clamp(40px,4.6vw,66px);line-height:.95;width:100%}
.hero-sub{font-size:19px;max-width:540px;margin-top:24px}
.hero-eyebrow{margin-bottom:26px}
.hero-cta{margin-top:30px}
.hero-trust{margin-top:26px}
/* Hormozi: clarify the CTA (what "test" means) + remove friction */
.hero-cta-note{display:inline-flex;align-items:center;gap:7px;margin-top:14px;
  font-family:var(--font-mono);font-size:11.5px;letter-spacing:.02em;color:var(--muted-text)}
.hero-cta-note svg{color:var(--yellow);flex:none}
/* Value-equation proof row: speed + low-effort + risk reversal, with a price anchor */
.hero-proof{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:22px 0 0;padding:0}
.hero-proof li{display:inline-flex;align-items:center;gap:7px;font-family:var(--font-body);
  font-size:13.5px;font-weight:600;color:var(--light-grey)}
.hero-proof li svg{color:var(--green);flex:none}
.hero-proof li.anchor{color:#050505;background:var(--yellow);border-radius:999px;
  padding:7px 14px;font-weight:800;box-shadow:0 8px 22px -10px rgba(255,212,0,.55)}
.hero-proof li.anchor svg{color:#050505}
.hero{overflow-x:clip}
body{overflow-x:clip}  /* catch minor sub-pixel overflow on small screens; clip keeps sticky header working */

/* ---------- 17. Lighten the hero photo + final-CTA photo so the image reads ---------- */
.hero-photo .hero-img{filter:brightness(1.08) contrast(1.05) saturate(1.05)}
.hero-photo .scrim{background:
  linear-gradient(90deg,rgba(5,5,5,.74) 0%,rgba(5,5,5,.57) 28%,rgba(5,5,5,.33) 54%,rgba(5,5,5,.22) 76%,rgba(5,5,5,.42) 100%),
  linear-gradient(0deg,rgba(5,5,5,.58),transparent 52%),
  linear-gradient(180deg,rgba(5,5,5,.34),transparent 24%) !important}
.final::before{opacity:.72}
.final::after{background:linear-gradient(0deg,rgba(5,5,5,.8) 0%,rgba(5,5,5,.52) 52%,rgba(5,5,5,.68) 100%)}

/* ---------- 16. Dispatch card: console header + inline equalizer ---------- */
.disp-head{display:flex;align-items:center;justify-content:space-between;margin:-20px -20px 16px;
  padding:12px 18px;border-bottom:1px solid var(--hairline);background:rgba(255,255,255,.025);border-radius:15px 15px 0 0}
.disp-brand{display:flex;align-items:center;gap:9px;font-family:var(--font-mono);font-weight:700;font-size:12px;letter-spacing:.02em;color:#fff}
.bolt-sm{width:23px;height:23px;border-radius:6px;background:var(--yellow);color:#050505;display:grid;place-items:center;flex:none}
.disp-rec{display:flex;align-items:center;gap:7px;font-family:var(--font-mono);font-size:11px;font-weight:700;letter-spacing:.05em;color:var(--red)}
.rec-dot{width:8px;height:8px;border-radius:50%;background:var(--red);animation:recpulse 1.2s ease-in-out infinite;flex:none}
.sig{display:inline-flex;align-items:flex-end;gap:2px;height:13px;margin-left:3px}
.sig i{width:3px;background:var(--green);border-radius:1px}
.sig i:nth-child(1){height:35%}.sig i:nth-child(2){height:58%}.sig i:nth-child(3){height:80%}.sig i:nth-child(4){height:100%}
.dnum-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:4px 0 6px}
.dnum-row .dnum{margin:0;font-size:30px}
.dnum-row .deq{width:98px;flex:none;height:18px;margin:0}

/* ---------- 18. Industries: dimensional black tiles with a yellow hard-shadow ---------- */
/* (was bare black glyphs on cream — flat. Tiles add depth + a pop of yellow,
   reusing the brand's hard-offset button shadow language.) */
.inds{gap:48px 22px}
.ind .ico{
  width:84px;height:84px;display:grid;place-items:center;font-size:33px;
  border-radius:var(--r-lg);color:var(--yellow);
  background:linear-gradient(155deg,#1d1d1d 0%,#050505 72%);
  box-shadow:5px 6px 0 0 var(--yellow),0 16px 28px -16px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.07);
  transition:transform .16s var(--ease,cubic-bezier(.2,.7,.2,1)),box-shadow .16s,color .16s}
.ind:hover .ico{
  transform:translate(3px,4px);color:#fff;
  box-shadow:2px 2px 0 0 var(--yellow),0 8px 16px -12px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.07)}
.ind h3{margin-top:4px}

/* ---------- 19. FAQ: lift rows into soft cards + a black CTA anchor for depth ---------- */
.faq{gap:16px 22px}
.qa{background:#fff;border:1px solid #E4DECF;border-radius:14px;padding:18px 20px;
  box-shadow:0 1px 0 rgba(0,0,0,.02),0 12px 26px -22px rgba(0,0,0,.55);
  transition:transform .18s var(--ease,cubic-bezier(.2,.7,.2,1)),box-shadow .18s,border-color .18s}
.qa:hover{transform:translateY(-2px);border-color:#d8cfb8;box-shadow:0 18px 34px -22px rgba(0,0,0,.45)}
.qa.open{border-color:rgba(255,212,0,.7);box-shadow:0 20px 38px -22px rgba(0,0,0,.42)}
.qa .q{font-size:15.5px}
/* plus turns into a yellow chip on open — a clear, tactile state */
.qa .ic{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;
  background:#F4F1EA;border:1px solid #E4DECF;color:#0a0a0a;height:28px}
.qa.open .ic{background:var(--yellow);border-color:var(--yellow)}
.qa.open .a{max-height:240px}

/* Section CTA anchor — black card fills the dead space + drives a booking */
.faq-cta{margin-top:34px;display:flex;align-items:center;gap:22px;flex-wrap:wrap;
  background:linear-gradient(155deg,#171717 0%,#050505 78%);border:1px solid var(--hairline-dim);
  border-radius:var(--r-lg);padding:24px 28px;box-shadow:0 26px 54px -32px rgba(0,0,0,.75)}
.faq-cta-bolt{flex:none;width:46px;height:46px;border-radius:12px;display:grid;place-items:center;
  background:var(--yellow);color:#050505;font-size:22px}
.faq-cta-copy{flex:1 1 320px;min-width:0}
.faq-cta-t{font-family:var(--font-display);text-transform:uppercase;letter-spacing:.01em;font-size:23px;line-height:1;color:#fff}
.faq-cta-s{font-size:14px;line-height:1.5;color:var(--light-grey);margin-top:7px;max-width:52ch}
.faq-cta .btn{flex:none}
@media (max-width:620px){.faq-cta{padding:22px 20px}.faq-cta .btn{width:100%}}

/* ---------- 22. Image zoom + microinteraction layer ---------- */
/* All transform/opacity only (GPU-cheap); every effect is disabled by the
   prefers-reduced-motion block in images.css. */

/* -- content images: slight zoom on hover (step + fieldband already had it) -- */
.why-photo img{transition:transform .55s var(--ease,cubic-bezier(.2,.7,.2,1))}
.why-photo:hover img{transform:scale(1.045)}

/* -- hero photo: gentle ambient drift so the hero never feels static -- */
@keyframes heroken{0%,100%{transform:scale(1.01)}50%{transform:scale(1.06)}}
.hero-photo .hero-img{animation:heroken 26s ease-in-out infinite;will-change:transform}

/* -- buttons: smooth the existing hover/press (was instant) -- */
.btn{transition:transform .12s var(--ease,cubic-bezier(.2,.7,.2,1)),box-shadow .12s ease,background .15s ease,border-color .15s ease,color .15s ease}

/* -- pricing cards: lift on hover; the popular card glows yellow -- */
.price{transition:transform .18s var(--ease,cubic-bezier(.2,.7,.2,1)),box-shadow .18s ease,border-color .18s ease}
.price:hover{transform:translateY(-4px);border-color:#4a4a4a;box-shadow:0 24px 46px -28px rgba(0,0,0,.75)}
.price.pop:hover{border-color:var(--yellow);box-shadow:0 0 0 1px var(--yellow),0 26px 52px -26px rgba(255,212,0,.28)}

/* -- demo play button: scale + soft ring on hover, press on click -- */
.play-btn{transition:transform .15s var(--ease,cubic-bezier(.2,.7,.2,1)),box-shadow .15s ease}
.play-btn:hover{transform:scale(1.08);box-shadow:0 0 0 6px rgba(255,212,0,.16)}
.play-btn:active{transform:scale(.95)}

/* -- nav + footer links: subtle yellow lift (transition only; color rules exist) -- */
.nav a,.foot a{transition:color .15s ease,opacity .15s ease}

/* -- brand logo: barely-there scale so the header feels alive -- */
.brand img.brand-logo{transition:transform .2s var(--ease,cubic-bezier(.2,.7,.2,1))}
.brand:hover img.brand-logo{transform:scale(1.04)}

/* -- responsive fix: §9 already centers #demo to a 1180 container, so the
   legacy full-bleed padding (max(48px,…) in site-extra) double-contained the
   card and overflowed on mobile. Restore normal, shrinkable padding. -- */
#demo .demo-card{padding:clamp(20px,3vw,34px)}
.demo-left,.demo-right{min-width:0}
/* range inputs carry a 2px browser-default inline margin that nudged past the edge */
.rng{margin-inline:0;max-width:100%}
