/* =========================================================================
   Tree Traction — Google Ads LP "Revamp" design system (2026-06)
   A from-scratch, calculator-led design language shared by the two broad-
   campaign pages (tree-service-marketing-v2 + tree-service-direct-mail).
   Brand tokens are kept for consistency; everything else is new.
   Premium / data-forward aesthetic, tasteful motion, mobile-first.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --g:        #28b270;   /* brand green               */
  --g-deep:   #1e9e60;   /* hover                     */
  --g-bright: #16c047;   /* CTAs + data highlights    */
  --forest:   #2b604c;   /* brand dark green          */
  --bark:     #223030;   /* charcoal                  */
  --ink:      #0b1310;   /* deepest background        */
  --ink-2:    #0f1813;
  --mint:     #ebfff7;
  --gold:     #efc867;
  --cream:    #ffffff;
  --bone:     #f5f6f3;
  --line:     #e4e6e1;
  --text:     #1d2723;
  --muted:    #5b6660;

  --d-surface: rgba(255,255,255,0.045);
  --d-border:  rgba(255,255,255,0.12);
  --d-text:    rgba(235,255,247,0.78);

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --wrap-narrow: 860px;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.21,.7,.25,1);

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.04; margin: 0; }
p { margin: 0; }
button { font-family: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s3); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.skip-link { position: absolute; left: -9999px; background: var(--g-bright); color: var(--bark); padding: 12px 18px; font-weight: 700; z-index: 2000; border-radius: 8px; }
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Motion primitives ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  font-family: var(--font-body); font-size: 16px; font-weight: 600; letter-spacing: .01em;
  border: 2px solid transparent; border-radius: 12px; cursor: pointer;
  transition: background-color .15s var(--ease), transform .06s var(--ease), box-shadow .2s var(--ease), border-color .15s;
}
.btn--primary { background: var(--g-bright); color: var(--bark); border-color: var(--g-bright); box-shadow: 0 10px 30px rgba(22,192,71,.30); }
.btn--primary:hover { background: var(--g-deep); border-color: var(--g-deep); color: #fff; box-shadow: 0 14px 38px rgba(22,192,71,.45); }
.btn--primary:active { transform: translateY(1px); }
.btn--xl { min-height: 62px; padding: 0 36px; font-size: 18px; font-weight: 700; }
.btn--block { display: flex; width: 100%; }
.btn--ghost { background: transparent; color: var(--mint); border-color: rgba(235,255,247,.32); box-shadow: none; }
.btn--ghost:hover { border-color: var(--mint); background: rgba(255,255,255,.05); }
.btn--light { background: transparent; color: var(--forest); border-color: var(--line); box-shadow: none; }
.btn--light:hover { border-color: var(--forest); }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: rgba(11,19,16,.72);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background-color .25s var(--ease);
}
.hdr__in { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--s3); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.brand img { width: 38px; height: 38px; }
.brand__wm { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; line-height: 1; color: #fff; }
.brand__sub { display: block; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--g); font-weight: 700; margin-top: 3px; }
@media (max-width: 560px) { .brand__sub { display: none; } }
.hdr__act { display: flex; align-items: center; gap: 14px; }
.hdr__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-weight: 600; font-size: 15px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; transition: border-color .15s; }
.hdr__phone svg { width: 17px; height: 17px; color: var(--g); }
.hdr__phone:hover { border-color: var(--g); }
.hdr__cta { min-height: 42px; padding: 0 18px; font-size: 14px; }
@media (max-width: 600px) { .hdr__phone span { display: none; } .hdr__cta { padding: 0 14px; } }

/* =========================================================================
   HERO — dark, premium, calculator as the centerpiece
   ========================================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(64px + var(--s7)) 0 var(--s7);
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(40,178,112,.20), transparent 60%),
    radial-gradient(900px 600px at 8% 110%, rgba(22,192,71,.12), transparent 55%),
    linear-gradient(180deg, #0a120f 0%, #0d1714 55%, #0b1310 100%);
  color: var(--mint);
}
.hero__grid { display: grid; grid-template-columns: 1fr; gap: var(--s5); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.02fr .98fr; gap: var(--s6); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--g);
  margin-bottom: var(--s3);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--g); display: inline-block; }
.eyebrow--center { justify-content: center; }

.hero h1 {
  font-size: clamp(40px, 6.4vw, 76px); line-height: .98; color: #fff; text-transform: none;
  margin-bottom: var(--s3);
}
.hero h1 .hl { color: var(--g-bright); }
.hero h1 .u { background: linear-gradient(transparent 64%, rgba(22,192,71,.32) 64%); }
.hero__sub { font-size: clamp(17px, 1.7vw, 20px); color: var(--d-text); max-width: 46ch; margin-bottom: var(--s4); }
.hero__sub strong { color: #fff; font-weight: 600; }

.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: var(--s4); font-size: 13.5px; font-weight: 600; color: rgba(235,255,247,.74); }
.hero__trust .stars { color: var(--gold); letter-spacing: 2px; }
.hero__trust .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.25); }

/* ---------- Heatmap motif (decorative, JS-built) ---------- */
.heatmap { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  display: grid; gap: 6px; padding: 40px; filter: blur(.2px);
  grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
  -webkit-mask-image: radial-gradient(120% 90% at 80% 10%, #000 25%, transparent 72%);
          mask-image: radial-gradient(120% 90% at 80% 10%, #000 25%, transparent 72%);
}
.hm-cell { aspect-ratio: 1; border-radius: 5px; background: rgba(255,255,255,.03); opacity: 0; transform: scale(.6); animation: hmIn .5s var(--ease) forwards; }
.hm-cell.h1 { background: rgba(40,178,112,.16); }
.hm-cell.h2 { background: rgba(40,178,112,.32); }
.hm-cell.h3 { background: rgba(22,192,71,.5); box-shadow: 0 0 14px rgba(22,192,71,.25); }
.hm-cell.h4 { background: rgba(22,192,71,.78); box-shadow: 0 0 18px rgba(22,192,71,.4); }
@keyframes hmIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hm-cell { animation: none; opacity: 1; transform: none; } }

/* =========================================================================
   CALCULATOR card
   ========================================================================= */
.calc {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid var(--d-border);
  border-radius: 20px;
  padding: var(--s4);
  box-shadow: 0 30px 70px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.calc__ribbon {
  position: absolute; top: -13px; left: var(--s4);
  background: var(--g-bright); color: var(--bark);
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 100px; box-shadow: 0 6px 16px rgba(22,192,71,.5);
}
.calc__h { color: #fff; font-size: clamp(20px, 2.3vw, 24px); margin-bottom: 4px; }
.calc__hint { color: rgba(235,255,247,.6); font-size: 13.5px; margin-bottom: var(--s3); }

.field { margin-bottom: var(--s3); }
.field__label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(235,255,247,.62); margin-bottom: 9px; }
.field__val { font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--g-bright); text-transform: none; }

/* revenue tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.tile { position: relative; display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 8px; text-align: center;
  background: rgba(255,255,255,.04); border: 1.5px solid rgba(255,255,255,.14); border-radius: 11px; cursor: pointer; transition: border-color .15s, background-color .15s, transform .05s; }
.tile input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.tile span { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--mint); }
.tile:hover { border-color: var(--g); background: rgba(40,178,112,.08); }
.tile:has(input:checked) { border-color: var(--g-bright); background: rgba(22,192,71,.16); }
.tile:has(input:checked) span { color: #fff; }
.tile:has(input:focus-visible) { outline: 2px solid var(--g-bright); outline-offset: 2px; }

/* range slider */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 6px; outline: none;
  background: linear-gradient(90deg, var(--g-bright) 0%, var(--g-bright) var(--fill,40%), rgba(255,255,255,.14) var(--fill,40%)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--g-bright); cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--g-bright); cursor: pointer; }
.range__scale { display: flex; justify-content: space-between; font-size: 11px; color: rgba(235,255,247,.45); margin-top: 6px; }

/* zip input */
.zip-in { width: 100%; padding: 15px 16px; font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: .14em; color: #fff;
  background: rgba(0,0,0,.25); border: 1.5px solid rgba(255,255,255,.16); border-radius: 12px; outline: none; transition: border-color .15s, background-color .15s; }
.zip-in::placeholder { color: rgba(235,255,247,.3); }
.zip-in:focus-visible { border-color: var(--g-bright); background: rgba(0,0,0,.35); }

/* result panel */
.calc__result { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s2); }
.res { }
.res__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4.6vw, 44px); line-height: 1; color: #fff; letter-spacing: -.02em; }
.res__num .unit { font-size: .42em; color: var(--g-bright); font-weight: 800; }
.res--opp .res__num { color: var(--g-bright); }
.res__lbl { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(235,255,247,.6); margin-top: 7px; line-height: 1.35; }
.calc__foot { grid-column: 1 / -1; font-size: 11.5px; line-height: 1.5; color: rgba(235,255,247,.5); }
.calc__cta { grid-column: 1 / -1; margin-top: 4px; }
.calc__cta .btn { width: 100%; }

/* =========================================================================
   Section scaffolding
   ========================================================================= */
.sec { padding: var(--s7) 0; }
@media (max-width: 720px) { .sec { padding: var(--s6) 0; } }
.sec--cream { background: var(--cream); }
.sec--bone  { background: var(--bone); }
.sec--ink   { background: radial-gradient(1000px 500px at 50% -10%, rgba(40,178,112,.12), transparent 60%), linear-gradient(180deg, #0d1714, #0b1310); color: var(--mint); }
.sec--forest{ background: linear-gradient(180deg, #16432f, #0f3122); color: var(--mint); }

.sec__head { max-width: 760px; margin: 0 auto var(--s5); text-align: center; }
.sec__head--left { margin-left: 0; text-align: left; }
.sec__h { font-size: clamp(30px, 4.4vw, 52px); color: var(--forest); }
.sec--ink .sec__h, .sec--forest .sec__h { color: #fff; }
.sec__h .hl { color: var(--g-bright); }
.sec__h .warn { color: #f59e0b; }
.sec__lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); margin-top: var(--s3); }
.sec--ink .sec__lede, .sec--forest .sec__lede { color: rgba(235,255,247,.72); }

/* ---------- Pain trio (problem) ---------- */
.pains { display: grid; grid-template-columns: 1fr; gap: var(--s3); }
@media (min-width: 800px) { .pains { grid-template-columns: repeat(3, 1fr); } }
.pain { padding: var(--s4); border-radius: var(--radius); background: var(--d-surface); border: 1px solid var(--d-border); border-top: 3px solid #f59e0b; }
.pain__ic { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: rgba(245,158,11,.16); color: #f59e0b; margin-bottom: var(--s3); }
.pain__ic svg { width: 26px; height: 26px; }
.pain h3 { font-size: 21px; color: #fff; margin-bottom: 8px; }
.pain p { font-size: 15px; color: rgba(235,255,247,.74); }
.pain-close { text-align: center; margin-top: var(--s5); font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.6vw, 28px); color: var(--g-bright); }

/* ---------- Pillars (why mail / why TT) ---------- */
.pillars { display: grid; grid-template-columns: 1fr; gap: var(--s5) var(--s4); }
@media (min-width: 860px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar__n { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--g); letter-spacing: .1em; }
.pillar h3 { font-size: 24px; color: var(--forest); margin: 10px 0; }
.sec--ink .pillar h3, .sec--forest .pillar h3 { color: #fff; }
.pillar p { font-size: 16px; color: var(--muted); }
.sec--ink .pillar p, .sec--forest .pillar p { color: rgba(235,255,247,.72); }
.pillar__ic { width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center; background: rgba(40,178,112,.14); color: var(--g); margin-bottom: var(--s2); }
.pillar__ic svg { width: 30px; height: 30px; }
.sec--ink .pillar__ic, .sec--forest .pillar__ic { background: rgba(22,192,71,.16); color: var(--g-bright); }

/* ---------- Mechanism / route data-viz ---------- */
.mech { display: grid; grid-template-columns: 1fr; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .mech { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
.mech__copy h2 { font-size: clamp(28px, 3.6vw, 42px); color: #fff; margin-bottom: var(--s3); }
.mech__copy h2 .hl { color: var(--g-bright); }
.mech__copy p { color: rgba(235,255,247,.76); font-size: 17px; margin-bottom: var(--s3); }
.mech__stat { display: flex; align-items: baseline; gap: 14px; padding: var(--s3); border-radius: var(--radius); background: var(--d-surface); border: 1px solid var(--d-border); }
.mech__stat b { font-family: var(--font-display); font-weight: 800; font-size: 44px; color: var(--g-bright); line-height: 1; }
.mech__stat span { font-size: 14px; color: rgba(235,255,247,.7); }

.routemap { background: var(--d-surface); border: 1px solid var(--d-border); border-radius: 18px; padding: var(--s4); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.routemap__bar { display: flex; align-items: center; gap: 8px; margin-bottom: var(--s3); font-size: 12px; color: rgba(235,255,247,.6); }
.routemap__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--g-bright); box-shadow: 0 0 10px var(--g-bright); }
.routemap__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 7px; }
.rm { aspect-ratio: 1; border-radius: 6px; background: rgba(255,255,255,.05); }
.rm.live { position: relative; }
.rm.l1 { background: rgba(40,178,112,.28); }
.rm.l2 { background: rgba(22,192,71,.55); }
.rm.l3 { background: rgba(22,192,71,.85); box-shadow: 0 0 12px rgba(22,192,71,.5); }
.rm.dead { background: rgba(245,158,11,.16); outline: 1px dashed rgba(245,158,11,.4); outline-offset: -2px; }
.routemap__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: var(--s3); font-size: 12px; color: rgba(235,255,247,.62); }
.routemap__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* ---------- Comparison strip ---------- */
.cmp { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: var(--cream); box-shadow: 0 14px 40px rgba(20,42,32,.07); }
.cmp__inner { min-width: 680px; }
.cmp__row { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); align-items: center; }
.cmp--3 .cmp__inner { min-width: 540px; }
.cmp--3 .cmp__row { grid-template-columns: 1.4fr repeat(3, 1fr); }
.cmp__row + .cmp__row { border-top: 1px solid var(--line); }
.cmp__row--head { background: var(--bone); border-bottom: 2px solid var(--line); }
.cmp__row--head .cmp__c { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--muted); text-transform: none; padding: 16px 10px; line-height: 1.15; }
.cmp__row--head .cmp__c--win { color: var(--forest); }
.cmp__rowlabel { padding: 14px 16px; font-weight: 600; font-size: 14px; color: var(--bark); }
.cmp__c { padding: 13px 10px; text-align: center; font-size: 13px; }
.cmp__c--win { background: rgba(22,192,71,.07); }
.mk { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-weight: 800; font-size: 14px; }
.mk--y { background: var(--g); color: #fff; }
.mk--n { background: rgba(120,53,15,.1); color: #92400e; }
.mk--p { background: rgba(245,158,11,.18); color: #b45309; }
.cmp__col-tag { position: absolute; }
.cmp-note { margin-top: var(--s3); font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- Stat band (count-up) ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4) var(--s3); text-align: center; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__n { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 5vw, 56px); line-height: 1; color: var(--g-bright); letter-spacing: -.02em; }
.sec--cream .stat__n, .sec--bone .stat__n { color: var(--forest); }
.stat__n .unit { font-size: .42em; color: var(--g); vertical-align: super; }
.stat__l { margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sec--ink .stat__l, .sec--forest .stat__l { color: rgba(235,255,247,.62); }

/* ---------- Proof / testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1fr; gap: var(--s3); }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.qcard { padding: var(--s4); border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); border-top: 3px solid var(--g); box-shadow: 0 8px 26px rgba(20,42,32,.05); display: flex; flex-direction: column; }
.qcard .stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; margin-bottom: 12px; }
.qcard blockquote { margin: 0 0 16px; font-size: 16px; line-height: 1.55; font-style: italic; color: var(--bark); }
.qcard figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.qav { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--g); color: #fff; font-family: var(--font-display); font-weight: 800; }
.qav--2 { background: var(--forest); } .qav--3 { background: var(--bark); color: var(--g); }
.qcard .who { font-weight: 700; color: var(--forest); font-size: 14px; }
.qcard .role { font-size: 12px; color: var(--muted); }
.senja-wrap { margin: 0 0 var(--s5); min-height: 180px; }

.miniproof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s4); }
.miniproof figure { flex: 1 1 220px; margin: 0; padding: 12px 16px; background: var(--bone); border-left: 3px solid var(--g); border-radius: 8px; }
.miniproof .stars { color: var(--gold); font-size: 11px; letter-spacing: 1.5px; }
.miniproof blockquote { margin: 4px 0 0; font-size: 14px; font-weight: 600; font-style: italic; color: var(--bark); }
.miniproof figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------- Fit ---------- */
.fit { display: grid; grid-template-columns: 1fr; gap: var(--s3); }
@media (min-width: 720px) { .fit { grid-template-columns: 1fr 1fr; gap: var(--s4); } }
.fitcard { padding: var(--s4); border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.fitcard--y { border: 2px solid var(--g); background: rgba(22,192,71,.05); }
.fitcard--n { background: var(--bone); }
.fitcard h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s2); }
.fitcard--y h3 { color: var(--g-deep); }
.fitcard ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.fitcard li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--bark); }
.fitcard--y li::before { content: "✓"; position: absolute; left: 0; top: -1px; font-weight: 800; color: var(--g); }
.fitcard--n li { color: var(--muted); }
.fitcard--n li::before { content: "✕"; position: absolute; left: 0; top: -1px; font-weight: 800; color: #92400e; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); background: var(--cream); border-radius: 12px; padding: 18px 22px; }
.faq details[open] { border-color: var(--g); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--forest); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; color: var(--g); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }

/* =========================================================================
   CAPTURE — the conversion form, restyled (light card on dark section)
   ========================================================================= */
.capture { position: relative; }
.capture__card {
  max-width: 560px; margin: var(--s5) auto 0;
  background: var(--cream); border-radius: 20px; padding: var(--s5);
  box-shadow: 0 30px 70px rgba(0,0,0,.4), 0 0 0 4px rgba(22,192,71,.22);
}
.capture__card .step.is-active { animation: stepIn .35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.capture__recap { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s3); }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 100px; background: rgba(22,192,71,.1); border: 1px solid rgba(22,192,71,.3); font-size: 13px; font-weight: 600; color: var(--g-deep); }
.chip svg { width: 13px; height: 13px; }
.capture__h { font-size: 24px; color: var(--forest); margin-bottom: 6px; }
.capture__p { font-size: 14.5px; color: var(--muted); margin-bottom: var(--s3); }
.in {
  width: 100%; padding: 15px 15px; font-size: 16px; font-family: var(--font-body); color: var(--bark);
  background: var(--bone); border: 2px solid var(--line); border-radius: 11px; outline: none; transition: border-color .15s, background-color .15s;
}
.in:focus-visible { border-color: var(--g); background: #fff; }
.in__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 7px; }
.in-row { margin-bottom: var(--s3); }
.capture__secure { display: flex; align-items: center; gap: 9px; margin: var(--s3) 0; padding: 11px 13px; background: rgba(22,192,71,.09); border: 1px solid rgba(22,192,71,.3); border-radius: 9px; font-size: 12.5px; font-weight: 600; color: var(--g-deep); }
.capture__secure svg { width: 16px; height: 16px; flex-shrink: 0; }
.capture__derisk { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); list-style: none; }
.capture__derisk li { font-size: 12px; font-weight: 700; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.capture__derisk svg { width: 14px; height: 14px; color: var(--g-deep); }
.capture__actions { display: flex; gap: 12px; align-items: center; }
.capture__actions .btn--primary { flex: 1 1 auto; }
.back { background: none; border: 0; color: var(--muted); font-weight: 600; font-size: 13px; cursor: pointer; padding: 6px 0; }
.back:hover { color: var(--forest); }
.miniq { margin: var(--s3) 0 0; padding: 11px 14px; background: var(--bone); border-left: 3px solid var(--gold); border-radius: 6px; font-size: 13px; font-style: italic; color: var(--text); }
.miniq strong { color: var(--forest); font-style: normal; }
.miniq .stars { color: var(--gold); font-size: 11px; letter-spacing: 1.5px; margin-right: 6px; font-style: normal; }
/* not-fit */
.notfit .capture__h { color: var(--forest); }
.notfit p { font-size: 14.5px; color: var(--text); margin-bottom: 12px; }
.notfit p strong { color: var(--forest); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* revenue tiles inside the light capture card */
.capture .tiles { margin-bottom: var(--s3); }
.capture .tile { background: var(--bone); border-color: var(--line); min-height: 52px; }
.capture .tile span { color: var(--forest); }
.capture .tile:hover { background: #fff; border-color: var(--g); }
.capture .tile:has(input:checked) { background: rgba(22,192,71,.1); border-color: var(--g-bright); }
.capture .tile:has(input:checked) span { color: var(--g-deep); }
.capture .field__label { color: var(--muted); }

/* ---------- Footer ---------- */
.ft { background: linear-gradient(180deg, #14241c, #0a120f); color: rgba(250,246,238,.72); position: relative; }
.ft::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(40,178,112,.7) 50%, transparent); opacity: .6; }
.ft__in { display: grid; grid-template-columns: 1fr; gap: var(--s4); padding: var(--s6) 0 var(--s3); }
@media (min-width: 720px) { .ft__in { grid-template-columns: 1.4fr 1fr; } }
.ft__tag { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: #fff; margin-top: var(--s3); max-width: 24ch; }
.ft__tag::before { content: ""; display: block; width: 34px; height: 3px; background: var(--g-bright); border-radius: 2px; margin-bottom: 12px; }
.ft__contact { display: grid; gap: 18px; align-content: start; }
.ft__contact > div { display: flex; flex-direction: column; gap: 4px; }
.ft__k { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--g); }
.ft__contact a, .ft__contact span + span { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.ft__legal { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: rgba(250,246,238,.45); }
.ft__legal a { color: rgba(250,246,238,.6); }

/* ---------- Sticky mobile CTA ---------- */
.sticky { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11,19,16,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,.08);
  transform: translateY(130%); transition: transform .25s var(--ease); }
.sticky.show { transform: none; }
.sticky a { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; border-radius: 11px; background: var(--g-bright); color: var(--bark); font-weight: 700; font-size: 16px; box-shadow: 0 6px 18px rgba(22,192,71,.4); }
@media (min-width: 900px) { .sticky { display: none; } }
body { padding-bottom: 80px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }

/* attention nudge (calculator when a required choice is missing) */
.nudge { animation: nudge .5s var(--ease); }
@keyframes nudge {
  0%,100% { box-shadow: 0 30px 70px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 0 rgba(22,192,71,0); }
  30% { box-shadow: 0 30px 70px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 5px rgba(22,192,71,.45); transform: translateY(-2px); }
}

*:focus-visible { outline: 2px solid var(--g-bright); outline-offset: 2px; }
