/* ==========================================================
   BOOST BOX U3 — WHITE/BLUE DIRECT RESPONSE
   1. Tokens    2. Base      3. Icons     4. Header   5. Hero copy
   6. Scene     7. Decision  8. System    9. Value   10. Proof
  11. Guarantee 12. Trust   13. Responsive
   ========================================================== */

/* --- 1. TOKENS ------------------------------------------ */
:root{
  /* Brand. Only --accent is set from JS; the rest derive from it. */
  --accent:#2564d3;
  --accent-deep:#1d57b4;
  --accent-dark:#17458f;
  --accent-tint:#eef3fc;
  --accent-tint-2:#e9eef8;
  --accent-ring:#dbe5f7;
  --purple:#6761a8;

  /* Neutrals */
  --ink:#111729;
  --ink-2:#3d4655;
  --muted:#69707d;
  --line:#e6e9ef;
  --surface:#fff;
  --surface-2:#f6f6f6;

  /* Shape & rhythm */
  --radius:12px;
  --radius-sm:8px;
  --shadow-sm:0 1px 2px rgba(17,23,41,.05);
  --shadow:0 10px 30px rgba(17,23,41,.09);
  --wrap:1180px;
  --section-y:clamp(26px,3.6vw,44px);

  --font:system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;
  --font-head:var(--font);   /* swap in Poppins/Inter here to match comps */
}

/* Derive accent shades so offerConfig.accentColor recolours the whole page. */
@supports (color:color-mix(in srgb,red,blue)){
  :root{
    --accent-deep:color-mix(in srgb,var(--accent) 84%,#08172d);
    --accent-dark:color-mix(in srgb,var(--accent) 66%,#08172d);
    --accent-tint:color-mix(in srgb,var(--accent) 7%,#fff);
    --accent-tint-2:color-mix(in srgb,var(--accent) 10%,#fff);
    --accent-ring:color-mix(in srgb,var(--accent) 18%,#fff);
  }
}

/* --- 2. BASE -------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}

body{
  margin:0;
  font-family:var(--font);
  color:var(--ink-2);
  background:var(--surface);
  line-height:1.5;
  -webkit-text-size-adjust:100%;
}

img{max-width:100%;display:block}

h1,h2,h3{font-family:var(--font-head);color:var(--ink);text-wrap:balance}

ul{list-style:none;margin:0;padding:0}

:where(a,button):focus-visible{
  outline:3px solid var(--accent);
  outline-offset:3px;
  border-radius:4px;
}

.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

.wrap{width:min(var(--wrap),92vw);margin-inline:auto}

/* Small centred section label, e.g. YOUR 3-PART SYSTEM… */
.section-label{
  margin:0 0 18px;
  text-align:center;
  font-family:var(--font-head);
  font-size:clamp(13.5px,1.15vw,16px);
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--ink);
}
.section-label.is-accent{color:var(--accent)}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}
}

/* --- 3. ICONS ------------------------------------------- */
.ico{width:1em;height:1em;display:block;fill:none;stroke:currentColor;
     stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ico-solid{fill:currentColor;stroke:none}

/* Circular icon chip used by hero benefits + product headers */
.chip{
  display:grid;place-items:center;
  width:38px;height:38px;flex:0 0 38px;
  border-radius:50%;
  background:var(--accent-tint);
  border:1px solid var(--accent-ring);
  color:var(--accent);
  font-size:20.5px;
}
.chip-sm{width:24px;height:24px;flex-basis:24px;font-size:13.5px;
         background:var(--accent);border-color:var(--accent);color:#fff}

/* --- 4. HEADER ------------------------------------------ */
.topbar{
  display:flex;align-items:center;justify-content:center;gap:8px;
  padding:9px 15px;
  background:var(--surface-2);
  border-bottom:1px solid var(--line);
  font-size:14.5px;font-weight:700;letter-spacing:.04em;
  color:var(--ink-2);
}
.topbar .ico{font-size:17px;color:var(--accent)}

/* --- 5. HERO COPY --------------------------------------- */
.hero{padding:var(--section-y) 0}
.hero-grid{
  display:grid;
  grid-template-columns:1.12fr 1.05fr .95fr;
  gap:clamp(18px,2.2vw,28px);
  align-items:center;
}

.pill{
  display:inline-block;margin:0 0 14px;
  padding:6px 13px;
  border-radius:999px;
  background:#232c3d;
  color:#fff;
  font-size:12.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
}

.hero h1{
  margin:0 0 10px;
  font-size:clamp(1.95rem,1.2rem + 1.9vw,2.5rem);
  line-height:1.15;
  letter-spacing:-.02em;
  font-weight:800;
}
.hero h1 .free{color:var(--accent);display:block}

.hero-sub{margin:0 0 20px;font-size:17px;color:var(--ink-2)}
.hero-sub strong{color:var(--accent)}

.benefits{display:grid;gap:14px;margin:0 0 20px}
.benefit{display:flex;gap:12px;align-items:center}
.benefit b{color:var(--ink);font-weight:700}
.benefit p{margin:0;font-size:16.5px;line-height:1.35}
.benefit small{display:block;color:var(--muted);font-size:14.5px;margin-top:2px}

.shipline{
  display:inline-flex;align-items:center;gap:11px;
  width:fit-content;
  margin:0;padding:12px 18px;
  border-radius:var(--radius-sm);
  background:var(--accent-tint);
  font-size:16.5px;color:var(--ink-2);
}
.shipline .ico{font-size:22.5px;color:var(--accent);flex:none}
.shipline b{color:var(--ink)}

/* --- 6. PRODUCT SCENE ----------------------------------- */
.scene{text-align:center}
.scene-photo{
  width:100%;max-width:430px;height:auto;margin-inline:auto;
  filter:drop-shadow(0 16px 24px rgba(17,23,41,.15));
}
.scene-cap{
  max-width:340px;margin:14px auto 0;
  font-family:var(--font-head);
  font-size:16.5px;font-weight:800;line-height:1.3;
  color:var(--ink);
}

/* --- 7. DECISION CARD ----------------------------------- */
.decision{
  padding:22px 20px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  text-align:center;
}
.timer-label{
  margin:0;font-size:13px;font-weight:800;letter-spacing:.11em;
  text-transform:uppercase;color:var(--muted);
}

.timer{
  display:flex;justify-content:center;align-items:flex-start;
  gap:10px;margin:12px 0 18px;
  font-variant-numeric:tabular-nums;
}
.timer .unit{min-width:56px}
.timer strong{display:block;font-family:var(--font-head);font-size:34px;
              line-height:1.05;font-weight:800;color:var(--ink)}
.timer small{display:block;font-size:10.5px;letter-spacing:.11em;color:var(--muted);margin-top:3px}
.timer .sep{font-size:29.5px;line-height:1.15;color:#b9c2d0}

.cta{
  display:flex;align-items:center;justify-content:center;gap:10px;
  width:100%;padding:15px 10px;
  border:0;border-radius:var(--radius-sm);
  background:linear-gradient(180deg,var(--accent) 0%,var(--accent-deep) 100%);
  color:#fff;
  font-family:var(--font-head);
  font-size:16px;
  font-weight:800;letter-spacing:.01em;
  text-align:center;text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  box-shadow:0 4px 12px rgba(29,87,180,.32);
  transition:filter .14s ease,box-shadow .14s ease,transform .14s ease;
}
.cta .ico{font-size:19px;flex:none}
.cta:hover{filter:brightness(1.06);box-shadow:0 6px 18px rgba(29,87,180,.42)}
.cta:active{transform:translateY(1px);box-shadow:0 2px 8px rgba(29,87,180,.36)}

/* The 3-column hero pinches the decision card hardest between 1041px and
   1282px (above 1283 the .wrap caps at 1180 and stops shrinking; below 1041
   the grid drops to 2 columns and the card gets wider). Step the label down
   through that band so the CTA stays on one line at every width. */
@media (min-width:1041px) and (max-width:1282px){
  .cta{font-size:13.5px;gap:8px;padding-inline:8px}
  .cta .ico{font-size:17px}
}

/* Below 375px the nowrap label would be wider than the card, and because
   nowrap raises the button's min-content width that would stretch the whole
   hero column past the viewport. Step it down instead. */
@media (max-width:374px){
  .cta{font-size:14px;gap:8px}
  .cta .ico{font-size:17px}
}

.under-cta{margin:13px 0 0;font-size:16px;font-weight:600;color:var(--ink)}
.terms{font-size:14px;line-height:1.5;color:var(--muted);margin:12px 0 14px}
.decline{
  display:inline-block;margin:8px 0 0;padding:9px 8px;
  font-size:15px;font-weight:600;
  color:var(--ink-2);
  text-decoration:underline;text-underline-offset:3px;
}
.decline:hover{color:var(--ink)}

/* --- 8. 3-PART SYSTEM ----------------------------------- */
.system{padding:var(--section-y) 0;border-top:1px solid var(--line);background:var(--surface)}
.products{
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr;
  gap:14px;align-items:stretch;
}
.plus{
  align-self:center;
  display:grid;place-items:center;
  width:28px;height:28px;border-radius:50%;
  background:var(--surface-2);border:1px solid var(--line);
  color:var(--muted);font-size:18px;font-weight:700;line-height:1;
}
.product{
  display:flex;flex-direction:column;
  padding:16px 18px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
}
.pc-head{display:flex;align-items:center;gap:9px;margin-bottom:6px}
.pc-step{font-size:13.5px;font-weight:800;color:var(--muted);letter-spacing:.04em}
.pc-head h3{margin:0;font-size:17px;font-weight:800;letter-spacing:.07em;
            text-transform:uppercase;color:var(--accent)}
.purple .chip-sm{background:var(--purple);border-color:var(--purple)}
.purple h3{color:var(--purple)}

.pc-body{display:grid;grid-template-columns:125px 1fr;gap:16px;align-items:center}
.pc-body img{height:190px;width:auto;margin-inline:auto;object-fit:contain}

.checks{display:grid;gap:9px}
.checks li{display:flex;gap:8px;align-items:flex-start;font-size:15.5px;line-height:1.35}
.checks .ico{font-size:16px;color:var(--accent);flex:none;margin-top:2px;stroke-width:2.6}

.pc-value{
  margin:14px 0 0;padding-top:12px;
  border-top:1px solid var(--line);
  text-align:center;font-size:14px;font-weight:700;
  letter-spacing:.03em;color:var(--muted);
}
.pc-value b{color:var(--accent)}

/* --- 9. VALUE BAR --------------------------------------- */
.valuebar{
  display:grid;
  grid-template-columns:auto 1fr auto auto;
  gap:clamp(16px,2.4vw,30px);align-items:center;
  margin:18px auto 0;padding:16px 22px;
  border-radius:var(--radius);
  background:var(--accent-tint-2);
}
.valuebar .chip{width:44px;height:44px;flex-basis:44px;font-size:23.5px;background:#fff}
.vb-total strong{display:block;font-family:var(--font-head);font-size:22.5px;
                 font-weight:800;color:var(--ink);letter-spacing:.01em}
.vb-total small{display:block;font-size:14.5px;color:var(--ink-2)}
.vb-pay{text-align:center;padding-left:clamp(16px,2.4vw,30px);border-left:1px solid var(--accent-ring)}
.vb-pay span{display:block;font-size:12.5px;font-weight:800;letter-spacing:.1em;
             text-transform:uppercase;color:var(--ink)}
.vb-pay strong{display:block;font-family:var(--font-head);font-size:36px;
               line-height:1.1;font-weight:800;color:var(--accent)}
.vb-ship{font-size:14.5px;color:var(--ink-2);padding-left:clamp(16px,2.4vw,30px);
         border-left:1px solid var(--accent-ring)}
.vb-ship b{color:var(--ink)}

/* --- 10. PROOF ------------------------------------------ */
.proof{padding:var(--section-y) 0 0}
.reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.review{
  display:flex;gap:12px;
  padding:16px 18px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
}
.review .ico-quote{font-size:25px;color:var(--accent-ring);flex:none}
.review blockquote{margin:0;font-size:15.5px;line-height:1.5;font-style:italic}
.review footer{margin-top:10px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;
               font-style:normal;font-size:14.5px;color:var(--ink)}
.stars{display:flex;gap:2px;color:var(--accent)}
.stars .ico{font-size:13.5px}

/* --- 11. GUARANTEE -------------------------------------- */
.guarantee{padding:var(--section-y) 0}
.guarantee-grid{
  display:grid;grid-template-columns:auto 1fr;
  gap:clamp(18px,2.6vw,30px);align-items:center;
  max-width:920px;margin-inline:auto;
  padding:20px 24px;
  border:1px solid var(--accent-ring);
  border-radius:var(--radius);
  background:var(--accent-tint);
}
.guarantee img{width:104px;height:auto}
.guarantee .kicker{
  margin:0;font-size:13px;font-weight:800;letter-spacing:.11em;
  text-transform:uppercase;color:var(--accent);
}
.guarantee h2{margin:4px 0 8px;text-align:left;font-size:clamp(1.3rem,1.1rem + .75vw,1.6rem);font-weight:800}
.guarantee p{margin:0;font-size:16.5px;line-height:1.6}

/* --- 12. TRUST ------------------------------------------ */
.trust{border-top:1px solid var(--line);background:var(--surface-2)}
.trust-grid{
  display:grid;grid-template-columns:1.15fr 1fr .9fr;
  gap:clamp(18px,2.6vw,30px);
  padding:22px 0;align-items:center;
}
.trust-item{display:flex;gap:13px;align-items:center}
.trust-item b{display:block;font-size:14px;font-weight:800;letter-spacing:.05em;
              text-transform:uppercase;color:var(--ink)}
.trust-item small{display:block;font-size:14px;line-height:1.45;color:var(--muted);margin-top:3px}
.trust-item .ico{color:var(--muted)}

.seal{position:relative;width:59px;height:66px;flex:none;color:var(--muted)}
.seal .ico{width:100%;height:100%;font-size:0;stroke-width:1.4}
.seal span{
  position:absolute;inset:0;display:grid;place-content:center;text-align:center;
  font-size:15.5px;font-weight:800;line-height:1;color:var(--ink);
}
.seal span i{display:block;font-style:normal;font-size:8.5px;font-weight:700;
             letter-spacing:.12em;color:var(--muted);margin-top:3px}

.pay-methods b{display:block;font-size:14px;font-weight:800;letter-spacing:.05em;
               text-transform:uppercase;color:var(--ink);margin-bottom:9px}
.cards{display:flex;gap:6px;flex-wrap:nowrap;align-items:center}
.card-mark{
  display:block;width:36px;height:auto;aspect-ratio:56/36;flex:none;
  border-radius:3px;
  box-shadow:0 1px 2px rgba(17,23,41,.10);
}

.legal{padding:18px 0 22px;margin-top:4px;border-top:1px solid var(--line);text-align:center}
.copyright{margin:0 0 9px;font-size:13.5px;font-weight:600;color:var(--ink-2)}
.disclaimer{
  max-width:940px;margin:0 auto;
  font-size:12.5px;line-height:1.65;color:var(--muted);
  text-wrap:pretty;
}

/* --- 13. RESPONSIVE ------------------------------------- */
@media (max-width:1040px){
  .hero-grid{grid-template-columns:1fr 1fr;align-items:start}
  .scene{grid-column:2;grid-row:1 / span 2}
  .hero-copy{grid-column:1;grid-row:1}
  .decision{grid-column:1;grid-row:2}
  .products{grid-template-columns:1fr;gap:12px}
  .plus{display:none}
  .trust-grid{grid-template-columns:1fr 1fr}
}

@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr}
  .scene,.hero-copy,.decision{grid-column:1;grid-row:auto}
  .scene,.decision{max-width:620px;margin-inline:auto;width:100%}
  .valuebar{grid-template-columns:1fr;justify-items:center;text-align:center;gap:16px}
  .vb-pay,.vb-ship{border-left:0;padding-left:0}
  .vb-pay{border-top:1px solid var(--accent-ring);padding-top:14px;width:100%}
  .reviews{grid-template-columns:1fr}
  .guarantee-grid{grid-template-columns:1fr;justify-items:center;text-align:center}
  .guarantee h2{text-align:center}
  .trust-grid{grid-template-columns:1fr;gap:20px}
}

@media (max-width:560px){
  .hero{padding-top:20px}
  .decision{padding:18px 16px}
  .timer{gap:6px}
  .timer .unit{min-width:50px}
  .timer strong{font-size:29.5px}
  .product{padding:15px}
  .pc-body{grid-template-columns:102px 1fr;gap:12px}
  .pc-body img{height:155px}
}
