/* ============================================================
   TraceZoo 2.0 — shared funnel-page stylesheet
   Every page sets its own accent via :root overrides in <style>.
   ============================================================ */

:root{
  --navy:#122b63;
  --navy-d:#0d2150;
  --purple:#7c3fd4;
  --purple-d:#5b21b6;
  --green:#4caf50;
  --green-d:#3a8f3e;
  --yellow:#ffc42e;
  --yellow-d:#eda600;
  --red:#e53935;
  --orange:#f57c1f;
  --pink:#ec4899;
  --blue:#2f80ed;
  --ink:#1f2540;
  --muted:#5f6b85;
  --line:#e5eaf3;
  --cream:#fdf8ea;
  --accent:var(--purple);        /* page accent — overridden per page */
  --hero-bg:linear-gradient(180deg,#fdfaf4,#fbf6ec);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:#fff;color:var(--ink);
  font-family:"Poppins",system-ui,-apple-system,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
svg{display:block}
ul{margin:0;padding:0;list-style:none}
a{text-decoration:none;color:inherit}
.wrap{width:min(1320px,94vw);margin-inline:auto}
.acc{color:var(--accent)}
.nv{color:var(--navy)}

.sec-title{
  font-weight:800;text-align:center;margin:0 0 6px;
  font-size:clamp(24px,3.3vw,42px);color:var(--navy);letter-spacing:-.2px;
}
.sec-sub{text-align:center;color:var(--muted);font-size:15px;margin:0 0 30px}

/* ============ image slot: real PNG if present, drawing otherwise ============ */
.slot{display:block;width:100%;line-height:0}
.slot img{width:100%;height:auto;display:block}
.slot__fb{display:block;width:100%;line-height:0}
.slot img + .slot__fb{display:none}          /* image loaded -> hide the drawing */
.slot__fb svg{width:100%;height:auto;display:block}

/* when the artwork already carries its own coloured circle, drop our chrome */
.usp__ico--img,.why__ico--img,.strip__ico--img{
  background:none!important;border:0!important;box-shadow:none!important;padding:0!important;
}
.usp__ico--img{width:78px;height:78px}
.usp--inline .usp__ico--img{width:70px;height:70px}
.why__ico--img{width:86px;height:86px}
.strip__ico--img{width:54px;height:54px}

/* ===================== TOP BAR ===================== */
.tb{background:var(--navy-d);color:#fff;padding:11px 0}
.tb__inner{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}
.tb__brand{display:flex;flex-direction:column;gap:2px}
.tb__brand img{height:34px;width:auto}
.tb__brand span{font-size:9.5px;color:#cbd8ef;letter-spacing:.2px}
.tb__trust{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.tb__trust li{display:flex;align-items:center;gap:8px}
.tb__ico{width:22px;height:22px;flex:none;color:var(--yellow)}
.tb__ico svg{width:100%;height:100%}
.tb__txt{display:flex;flex-direction:column;line-height:1.25;font-size:11.5px;color:#cbd8ef}
.tb__txt b{font-size:11px;color:#fff;font-weight:600}

/* ===================== HERO ===================== */
.hero{position:relative;overflow:hidden;padding:26px 0 34px;background:var(--hero-bg)}
.hero__grid{position:relative;z-index:2;display:grid;grid-template-columns:1.02fr .98fr;gap:20px;align-items:center}

.ribbon{
  display:inline-block;padding:9px 26px;border-radius:6px;color:#fff;
  font-weight:700;font-size:clamp(12px,1.5vw,16px);margin-bottom:14px;
  background:linear-gradient(180deg,#63c264,#41a545);
  clip-path:polygon(0 0,100% 0,96% 50%,100% 100%,0 100%,4% 50%);
  padding-inline:34px;
}
.ribbon--purple{background:linear-gradient(180deg,#9b5df0,#7c3fd4)}
.ribbon--yellow{background:linear-gradient(180deg,#ffd75c,var(--yellow));color:#3a2a00}

.eyebrow{font-weight:600;font-size:15px;color:var(--navy);margin:0 0 8px}
.hero h1{margin:0;line-height:.98;font-weight:900;letter-spacing:-1px}
.hero h1 .l1{display:block;font-size:clamp(40px,6.7vw,86px)}
.hero h1 .l2{display:block;font-size:clamp(30px,5vw,63px);margin-top:2px}

.tagline{
  display:inline-block;margin-top:14px;padding:9px 22px;border-radius:6px;
  font-weight:700;font-size:clamp(12px,1.4vw,15.5px);
  background:linear-gradient(180deg,#ffd75c,var(--yellow));color:#3a2a00;
  box-shadow:0 3px 0 #d09400;
}
.tagline--blue{background:linear-gradient(180deg,#4b95f5,#1e6fd9);color:#fff;box-shadow:0 3px 0 #145bb5}
.tagline--green{background:linear-gradient(180deg,#63c264,#41a545);color:#fff;box-shadow:0 3px 0 #2f7e33}

.hero__lead{margin:20px 0 0;font-size:clamp(14px,1.6vw,18.5px);color:#42496a;line-height:1.65;max-width:600px}
.hero__lead b{color:var(--navy)}

/* usp icon row */
.usp{display:flex;flex-wrap:wrap;gap:22px;margin-top:24px}
.usp li{display:flex;flex-direction:column;align-items:center;text-align:center;flex:1 1 110px;min-width:96px}
.usp--inline li{flex-direction:row;align-items:center;text-align:left;gap:10px;flex:1 1 180px}
.usp__ico{
  width:66px;height:66px;border-radius:50%;display:grid;place-items:center;padding:16px;
  color:#fff;margin-bottom:9px;box-shadow:0 5px 12px #0000001f;
}
.usp--inline .usp__ico{margin-bottom:0;flex:none;width:60px;height:60px;padding:14px}
.usp__ico svg{width:100%;height:100%}
.usp__t{font-size:14px;font-weight:700;color:var(--navy);line-height:1.35}
.usp__d{font-size:12.5px;color:var(--muted);line-height:1.4;margin-top:3px}

/* offer circle / price tag on hero */
.hero__right{position:relative;display:flex;justify-content:center;align-items:center;min-height:340px}
.oneonly{
  position:absolute;top:0;right:0;z-index:5;width:134px;height:134px;border-radius:50%;
  background:radial-gradient(circle at 35% 28%,#9b5df0,var(--purple) 60%,#5b21b6);
  color:#fff;display:grid;place-items:center;text-align:center;font-weight:800;
  font-size:13.5px;line-height:1.25;border:2px dashed #ffffffaa;
  box-shadow:0 10px 22px rgba(90,40,200,.35);
}
.pricetag{
  position:absolute;top:96px;right:-6px;z-index:5;background:#fdf3d8;
  border-radius:6px;padding:10px 18px;text-align:center;box-shadow:0 8px 18px #0000001f;
}
.pricetag b{display:block;font-size:14px;color:#2b2f45}
.pricetag .now{display:block;font-size:36px;font-weight:900;color:var(--red);line-height:1}
.pricetag .was{display:block;font-size:16px;color:#8b8fa3;text-decoration:line-through}

/* ===================== PRODUCT BOX MOCK ===================== */
.pbox{
  --bx1:#5b21b6;--bx2:#2e1065;
  display:flex;filter:drop-shadow(0 22px 30px rgba(20,10,60,.32));
  transform:perspective(1100px) rotateY(-13deg);
  width:min(260px,66%);
}
.pbox__spine{
  flex:0 0 34px;border-radius:6px 0 0 6px;
  background:linear-gradient(180deg,var(--bx2),#1b0940);
  display:grid;place-items:center;padding:10px 0;
}
.pbox__spine span{
  writing-mode:vertical-rl;transform:rotate(180deg);
  color:#fff;font-weight:800;font-size:10px;letter-spacing:1px;opacity:.9;text-align:center;
}
.pbox__face{
  flex:1;border-radius:0 8px 8px 0;padding:16px 14px 14px;color:#fff;text-align:center;
  background:
    radial-gradient(circle at 50% 18%, #ffffff22 0 30%, transparent 60%),
    linear-gradient(160deg,var(--bx1),var(--bx2));
  display:flex;flex-direction:column;gap:8px;min-height:300px;
}
.pbox__face img{height:20px;width:auto;margin-inline:auto}
.pbox__t{font-weight:900;font-size:20px;line-height:1.08;letter-spacing:-.3px;margin:2px 0 0}
.pbox__s{font-size:9px;opacity:.9;line-height:1.35}
.pbox__pill{
  align-self:center;background:#ffffff26;border:1px solid #ffffff55;border-radius:20px;
  padding:3px 12px;font-size:9.5px;font-weight:700;
}
.pbox__art{margin-top:auto;display:flex;justify-content:center;align-items:flex-end;gap:2px}
.pbox__art svg{width:52px;height:52px}

/* mascot / prop helpers */
.mascot{width:150px;height:150px}
.mascot--sm{width:110px;height:110px}
.blocks{display:flex;gap:5px;align-items:flex-end}
.blk{width:28px;height:28px;border-radius:6px;color:#fff;font-weight:800;font-size:14px;display:grid;place-items:center;box-shadow:0 4px 8px #00000026}
.blk--r{background:linear-gradient(180deg,#ff6f7a,#e8383d)}
.blk--g{background:linear-gradient(180deg,#5fd06e,#2f9d3f);transform:translateY(-7px)}
.blk--b{background:linear-gradient(180deg,#6bb6ff,#2b7fd6)}
.books{display:flex;flex-direction:column;gap:4px}
.bk{height:14px;border-radius:3px;box-shadow:0 3px 6px #00000026}
.bk--r{width:112px;background:linear-gradient(180deg,#ff6f7a,#e8383d)}
.bk--o{width:120px;background:linear-gradient(180deg,#ff9a4d,#f06e00)}
.bk--y{width:106px;background:linear-gradient(180deg,#ffd84d,#f0b400)}
.bk--g{width:116px;background:linear-gradient(180deg,#5fd06e,#2f9d3f)}
.bk--b{width:110px;background:linear-gradient(180deg,#6bb6ff,#2b7fd6)}

/* ===================== WHAT'S INSIDE ===================== */
.inside{padding:36px 0;background:linear-gradient(180deg,#f4f7fd,#eef3fb)}
.inside--plain{background:#fff}
.inside__grid{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center}
.inside__left{display:flex;justify-content:center;align-items:center;gap:12px;min-width:0}
/* box never shrinks; the sheet fan takes whatever room is left */
.boximg{flex:none}
.sheetstack{display:flex;min-width:0;flex:0 1 auto}
.sheetstack .sheetcard{flex:1 1 0;min-width:0;max-width:142px}
.sheetstack .sheetcard + .sheetcard{margin-left:-14px}
.sheetcard{
  background:#fff;border:1px solid var(--line);border-radius:5px;padding:6px;
  box-shadow:0 5px 14px #1a3b7714;
}
.sheetcard__cap{display:block;text-align:center;font-size:9px;font-weight:700;color:#3a4260;margin-bottom:4px}
.sheetcard svg{width:100%;aspect-ratio:3/4}
/* real coloring-page preview inside a sheet card */
.sheetcard > .slot{aspect-ratio:707/1000;overflow:hidden;border-radius:2px}
.sheetcard > .slot img{width:100%;height:100%;object-fit:cover}
.sheetcard > .slot > .slot__fb{height:100%;display:grid;place-items:center}
.sheetcard > .slot > .slot__fb svg{aspect-ratio:auto;height:100%}

.checks{display:grid;gap:9px}
.checks li{display:flex;gap:13px;align-items:flex-start;font-size:15.5px;color:#39405e;line-height:1.5}
.checks li::before{
  content:"";flex:none;width:19px;height:19px;margin-top:1px;border-radius:50%;
  background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ===================== SNEAK PEEK ===================== */
.peek{padding:34px 0}
.peek__wrap{position:relative;padding-inline:34px}
.peek__view{overflow:hidden}
.peek__track{display:flex;gap:12px;transition:transform .45s cubic-bezier(.4,0,.2,1)}
.peek__card{flex:0 0 calc((100% - 60px)/6);min-width:148px}
.peek__card .sheetcard{width:100%}
.peek__nav{
  position:absolute;top:50%;transform:translateY(-50%);z-index:4;
  width:34px;height:34px;border-radius:50%;border:0;cursor:pointer;padding:9px;
  background:var(--accent);color:#fff;display:grid;place-items:center;
  box-shadow:0 5px 12px #0003;transition:transform .15s;
}
.peek__nav svg{width:100%;height:100%}
.peek__nav:hover{transform:translateY(-50%) scale(1.08)}
.peek__nav--prev{left:0}
.peek__nav--next{right:0}

/* small feature strip under the peek row */
.strip{
  display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:22px;
  border:1px solid var(--line);border-radius:12px;padding:14px 10px;background:#fff;
}
.strip li{display:flex;align-items:center;gap:12px;font-size:13px;color:#4a5474;line-height:1.4}
.strip__ico{width:42px;height:42px;flex:none;border-radius:9px;display:grid;place-items:center;padding:8px}
.strip__ico svg{width:100%;height:100%}

/* ===================== WHY GRID ===================== */
.why{padding:34px 0}
.why__grid{display:grid;gap:18px;margin-top:22px}
.why__grid.c4{grid-template-columns:repeat(4,1fr)}
.why__grid.c5{grid-template-columns:repeat(5,1fr)}
.why__grid.c6{grid-template-columns:repeat(6,1fr)}
.why__grid li{text-align:center;padding:0 8px;position:relative}
.why__grid li + li::before{
  content:"";position:absolute;left:0;top:6px;bottom:6px;width:1px;background:var(--line);
}
.why__ico{width:72px;height:72px;margin:0 auto 15px;border-radius:50%;display:grid;place-items:center;padding:15px;color:#fff}
.why__ico svg{width:100%;height:100%}
.why__ico--ring{background:#fff;border:2px solid}
.why h3{font-size:13.5px;font-weight:700;color:var(--navy);margin:0 0 6px;line-height:1.35}
.why p{font-size:11.8px;color:var(--muted);margin:0;line-height:1.5}

/* ===================== OFFER BOX ===================== */
.offer{padding:10px 0 34px}
.offer__box{
  position:relative;background:linear-gradient(180deg,#fffdf3,var(--cream));
  border:2px dashed var(--yellow-d);border-radius:18px;padding:40px 210px;text-align:center;
}
.offer__box--dark{
  background:linear-gradient(160deg,#3b1f7a,#26124f);border-color:#8b5cf6aa;color:#fff;
}
.badge-circle{
  position:absolute;width:120px;height:120px;border-radius:50%;display:grid;place-items:center;
  text-align:center;font-weight:800;font-size:13px;line-height:1.2;color:#fff;border:2px dashed #ffffffcc;
}
.badge-circle--l{left:-10px;top:-14px;transform:rotate(-10deg);
  background:radial-gradient(circle at 35% 28%,#ff7a80,var(--red) 60%,#b62a2f);
  box-shadow:0 8px 20px rgba(200,40,50,.32);}
.badge-star{
  position:absolute;right:-6px;top:-14px;width:128px;height:128px;display:grid;place-items:center;
  text-align:center;font-weight:800;color:#fff;font-size:14px;line-height:1.15;
  background:var(--red);clip-path:polygon(50% 0,61% 12%,76% 5%,80% 22%,96% 22%,92% 38%,100% 50%,92% 62%,96% 78%,80% 78%,76% 95%,61% 88%,50% 100%,39% 88%,24% 95%,20% 78%,4% 78%,8% 62%,0 50%,8% 38%,4% 22%,20% 22%,24% 5%,39% 12%);
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.2));
}
.badge-star--y{background:linear-gradient(180deg,#ffd75c,var(--yellow));color:#3a2a00}
.badge-star b{font-size:30px;display:block;line-height:1}

.offer__h{font-size:clamp(16px,2.2vw,24px);font-weight:700;margin:0 0 10px;color:var(--navy)}
.offer__box--dark .offer__h{color:#fff}
.offer__h .yes{color:var(--green);font-weight:800}
.offer__box--dark .offer__h .yes{color:var(--yellow)}
.offer__price{margin:0 0 16px;display:flex;align-items:baseline;justify-content:center;gap:16px;flex-wrap:wrap}
.offer__now{font-size:clamp(36px,5.4vw,64px);font-weight:900;color:var(--red);line-height:1}
.offer__box--dark .offer__now{color:var(--yellow)}
.offer__was{font-size:clamp(17px,2.2vw,26px);color:#9aa0b5;text-decoration:line-through;font-weight:600}
.offer__note{font-size:12px;color:var(--muted)}

.cta{
  display:flex;align-items:center;justify-content:center;gap:14px;max-width:460px;margin:0 auto;
  background:linear-gradient(180deg,#5ec464,var(--green) 55%,var(--green-d));
  color:#fff;border-radius:9px;padding:13px 24px;
  box-shadow:0 5px 0 #2b7a2f,0 12px 24px rgba(40,140,60,.32);
  transition:transform .12s,box-shadow .12s;
}
.cta:hover{transform:translateY(2px);box-shadow:0 3px 0 #2b7a2f,0 9px 18px rgba(40,140,60,.32)}
.cta:active{transform:translateY(5px);box-shadow:0 0 0 #2b7a2f}
.cta svg{width:28px;height:28px;flex:none}
.cta__t{display:flex;flex-direction:column;line-height:1.25;text-align:left}
.cta__t b{font-size:clamp(15px,1.85vw,21px);font-weight:800}
.cta__t i{font-style:normal;font-size:9px;opacity:.92;letter-spacing:.4px}

.micro{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:12px;font-size:10.5px;color:#6b7390}
.offer__box--dark .micro{color:#c9bdf0}

/* "You Get" list used on oto5 */
.youget{
  background:#ffffff12;border:1px solid #ffffff33;border-radius:12px;padding:16px 18px;text-align:left;
}
.youget h4{margin:0 0 10px;font-size:14px;color:var(--yellow);font-weight:700}
.youget li{display:flex;gap:8px;font-size:11.5px;color:#e7e1ff;line-height:1.45;margin-bottom:7px}
.youget li::before{
  content:"";flex:none;width:15px;height:15px;margin-top:2px;border-radius:50%;
  background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ===================== GUARANTEES / ONE-TIME / FOOTER ===================== */
.gt{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:6px 0 24px}
.gt li{display:flex;gap:14px;align-items:flex-start}
.gt__ico{width:68px;height:68px;flex:none}
.gt__ico svg{width:100%;height:100%}
.gt h4{margin:0 0 5px;font-size:13.5px;font-weight:700;color:var(--navy)}
.gt p{margin:0;font-size:11.5px;color:var(--muted);line-height:1.5}

.onetime{
  border:1px dashed #c9b6f0;border-radius:10px;background:#faf7ff;
  text-align:center;padding:11px;font-size:13px;color:var(--purple-d);margin-bottom:30px;
}
.onetime b{font-weight:700}
.onetime .st{color:var(--purple)}
.onetime .rd{color:var(--red)}

.ft{background:var(--navy-d);color:#c3d2ec;padding:22px 0}
.ft__inner{display:flex;align-items:center;justify-content:space-between;gap:26px;flex-wrap:wrap}
.ft__brand{display:flex;flex-direction:column;gap:2px}
.ft__brand img{height:26px;width:auto}
.ft__brand span{font-size:9px}
.ft__brand small{font-size:9.5px;color:#8ba1c4;margin-top:5px}
.ft__badges{display:flex;gap:32px}
.ft__badges li{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:10px}
.ft__badges svg{width:22px;height:22px}
.ft__help{display:flex;flex-direction:column;gap:2px;text-align:right}
.ft__help b{color:#fff;font-size:12px}
.ft__help span{font-size:10px}
.ft__help a{color:var(--yellow);font-size:11px;font-weight:600;margin-top:2px}

/* ===================== RESPONSIVE ===================== */
@media (max-width:1080px){
  .peek__card{flex:0 0 calc((100% - 48px)/5)}
  .offer__box{padding:40px 90px}
  .why__grid.c5,.why__grid.c6{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:900px){
  .hero__grid{grid-template-columns:1fr}
  .hero__right{order:-1;min-height:auto;margin-bottom:8px}
  .oneonly{width:96px;height:96px;font-size:11px}
  .pricetag{top:auto;bottom:0}
  .inside__grid{grid-template-columns:1fr;gap:24px}
  .peek__card{flex:0 0 calc((100% - 36px)/4)}
  .strip{grid-template-columns:repeat(2,1fr)}
  .why__grid.c4{grid-template-columns:repeat(2,1fr)}
  .why__grid li + li::before{display:none}
  .gt{grid-template-columns:1fr}
  .offer__box{padding:70px 22px 26px}
  .badge-circle--l{left:50%;top:-40px;transform:translateX(-120%) rotate(-10deg)}
  .badge-star{right:50%;top:-40px;transform:translateX(120%)}
  .ft__inner{justify-content:center;text-align:center}
  .ft__help{text-align:center;align-items:center}
}
@media (max-width:620px){
  .tb__trust{gap:14px;justify-content:center;width:100%}
  .tb__trust li{flex:0 0 calc(50% - 7px)}
  .tb__inner{justify-content:center;text-align:center}
  .tb__brand{align-items:center}
  .peek__card{flex:0 0 calc((100% - 24px)/3)}
  .why__grid.c5,.why__grid.c6{grid-template-columns:repeat(2,1fr)}
  .cta{flex-direction:column;gap:5px}
  .cta__t{text-align:center}
  .usp li{flex:1 1 44%}
}
@media (max-width:430px){
  .peek__card{flex:0 0 calc((100% - 12px)/2)}
  .why__grid.c4,.why__grid.c5,.why__grid.c6{grid-template-columns:1fr}
}
