/* =========================================================
   QeRetail — Revenue Leak Scan (CRO Landing Page)
   Brand tokens per branding.md
   ========================================================= */

:root{
  /* Brand */
  --brand:#367df9;
  --brand-dark:#2566d6;
  --brand-darker:#1c50ad;
  --brand-soft:#eaf2ff;

  /* Neutrals */
  --bg:#ffffff;
  --bg-soft:#f7f9fc;
  --text:#1a1a1a;
  --text-mid:#5f6b7a;
  --border:#e3e8ef;

  /* Accents — sparing use */
  --orange:#ffb84d;
  --mint:#4cd4b0;
  --yellow:#fff4cc;

  /* Shape */
  --r-sm:8px;
  --r-md:12px;
  --r-lg:16px;
  --r-xl:24px;
  --r-2xl:40px;

  /* Elevation */
  --sh-sm:0 2px 8px rgba(26,26,26,.05);
  --sh-md:0 10px 30px rgba(26,26,26,.07);
  --sh-lg:0 24px 60px rgba(26,26,26,.10);
  --sh-brand:0 12px 28px rgba(54,125,249,.28);

  /* Editorial accent face — italic serif used for punch lines only */
  --font-accent:"Instrument Serif","Playfair Display",Georgia,"Times New Roman",serif;

  --ease:cubic-bezier(.4,0,.2,1);
  --t:.35s var(--ease);

  --container:1180px;
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body{
  margin:0;
  font-family:"Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:17px;
  font-weight:400;
  line-height:1.65;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4{margin:0 0 .6em;font-weight:700;line-height:1.18;letter-spacing:-.02em;}
h1{font-size:clamp(2.15rem,4.6vw,3.25rem);}
h2{font-size:clamp(1.72rem,3.1vw,2.25rem);}
h3{font-size:clamp(1.18rem,1.7vw,1.4rem);font-weight:600;}
p{margin:0 0 1.05em;}
ul{margin:0;padding:0;list-style:none;}
a{color:var(--brand);text-decoration:none;transition:color var(--t);}
img,svg{max-width:100%;}
strong{font-weight:700;}
::selection{background:var(--brand);color:#fff;}

/* ---------- Layout helpers ---------- */
.container{width:100%;max-width:var(--container);margin-inline:auto;padding-inline:24px;}
.center{text-align:center;}
section{position:relative;}
.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;
}

.section-label{
  display:inline-block;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--brand);
  background:var(--brand-soft);
  padding:6px 14px;
  border-radius:999px;
  margin-bottom:18px;
}
.section-head{max-width:720px;margin-bottom:52px;}
.section-head.center{margin-inline:auto;}
.section-sub{color:var(--text-mid);font-size:clamp(1rem,1.3vw,1.09rem);margin-bottom:0;}
.micro-note{font-size:13.5px;color:var(--text-mid);margin-top:14px;}

.grad-text{
  background:linear-gradient(100deg,var(--brand) 0%,#6aa2ff 55%,var(--brand-darker) 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
}
.grad-text-light{
  background:linear-gradient(100deg,#ffffff 0%,#cfe1ff 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
}
.muted-strike{color:var(--text-mid);}

/* ---------- Editorial accent + highlighter ----------
   .accent   → italic serif punch line inside a sans heading
   .hl       → marker highlight behind a key phrase in body copy
   Use at most one of each per section, or neither reads as special. */
.accent{
  font-family:var(--font-accent);
  font-style:italic;
  font-weight:400;
  color:var(--brand);
  letter-spacing:-.005em;
  /* the serif sits optically smaller beside the bold sans — nudge it back up.
     line-height must stay above the heading's 1.18 or a two-line accent collides. */
  font-size:1.12em;
  line-height:1.22;
}
.accent-light{color:#c3d9ff;}
.accent-dark{color:var(--brand-darker);}
.accent-mint{color:#1f9c7c;}

/* modifiers are doubled (.hl.hl-x) so they outrank section rules like
   ".why-highlight strong" that would otherwise recolour the phrase */
.hl,.accent.hl{
  font-weight:700;color:var(--text);
  background:linear-gradient(180deg,transparent 58%,rgba(255,184,77,.48) 58%);
  padding:0 .12em;
}
.hl.hl-brand{color:var(--brand-darker);background:linear-gradient(180deg,transparent 58%,rgba(54,125,249,.20) 58%);}
.hl.hl-mint{color:#177a61;background:linear-gradient(180deg,transparent 58%,rgba(76,212,176,.36) 58%);}
.hl.hl-light{color:#fff;background:linear-gradient(180deg,transparent 58%,rgba(255,255,255,.24) 58%);}

/* ---------- Buttons ---------- */
.btn{
  --btn-bg:var(--brand);
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font-family:inherit;font-size:15.5px;font-weight:600;line-height:1;
  padding:15px 26px;border:1.5px solid transparent;border-radius:var(--r-md);
  cursor:pointer;white-space:nowrap;
  transition:transform var(--t),box-shadow var(--t),background var(--t),color var(--t),border-color var(--t);
}
.btn-primary{background:var(--brand);color:#fff;box-shadow:var(--sh-brand);}
.btn-primary:hover{background:var(--brand-dark);color:#fff;transform:translateY(-2px);box-shadow:0 16px 34px rgba(54,125,249,.34);}
.btn-secondary{background:#fff;color:var(--brand);border-color:var(--brand);}
.btn-secondary:hover{background:var(--brand-soft);transform:translateY(-2px);}
.btn-light{background:#fff;color:var(--brand);box-shadow:0 14px 34px rgba(0,0,0,.22);}
.btn-light:hover{transform:translateY(-2px);box-shadow:0 20px 42px rgba(0,0,0,.28);color:var(--brand-dark);}
.btn-lg{font-size:17px;padding:18px 34px;border-radius:var(--r-md);}
.btn-sm{font-size:14.5px;padding:11px 20px;border-radius:var(--r-sm);}
.btn-block{display:flex;width:100%;margin-top:8px;}
.btn-arrow{width:18px;height:18px;transition:transform var(--t);}
.btn:hover .btn-arrow{transform:translateX(4px);}

/* ---------- Scan box (URL + submit) ----------
   Used in the hero and the final CTA. Every other button on the page
   scrolls to #scan instead of carrying its own field. */
.scan-box{
  display:flex;align-items:center;gap:8px;
  width:100%;max-width:580px;
  background:#fff;border:1.5px solid var(--border);border-radius:999px;
  padding:7px 7px 7px 18px;box-shadow:var(--sh-md);
  transition:border-color var(--t),box-shadow var(--t);
}
.scan-box:focus-within{border-color:var(--brand);box-shadow:0 0 0 4px rgba(54,125,249,.14),var(--sh-md);}
.scan-box.is-invalid{border-color:#e4696b;}
.scan-box-icon{flex:none;display:grid;place-items:center;color:#9aa6b6;}
.scan-box-icon svg{width:19px;height:19px;}
.scan-input{
  flex:1;min-width:0;
  border:0;background:transparent;outline:none;
  font-family:inherit;font-size:16px;font-weight:500;color:var(--text);
  padding:13px 2px;
}
.scan-input::placeholder{color:#9aa6b6;font-weight:400;}
.scan-box .scan-submit{flex:none;border-radius:999px;padding:14px 24px;}
.scan-error{margin:12px 0 0;font-size:13.5px;font-weight:600;color:#d93a3d;}

/* Dark variant — sits on the final CTA panel.
   position:relative keeps it above .final-glow, like the panel's other children. */
.final-card .scan-box{
  position:relative;
  background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.30);
  box-shadow:none;margin:0 auto 22px;
}
.final-card .scan-box:focus-within{border-color:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.16);}
.final-card .scan-box-icon{color:rgba(255,255,255,.7);}
.final-card .scan-input{color:#fff;}
.final-card .scan-input::placeholder{color:rgba(255,255,255,.62);}
.final-card .scan-box .scan-submit{margin-bottom:0;}
.final-card .scan-error{
  position:relative;margin:-12px 0 18px;
  color:#ffd9d9;text-align:center;
}

/* Below ~600px the pill can't hold a field and a button side by side */
@media (max-width:600px){
  .scan-box{
    flex-direction:column;align-items:stretch;gap:10px;
    border-radius:var(--r-lg);padding:12px;
  }
  .scan-box-icon{display:none;}
  .scan-input{
    padding:13px 15px;border:1px solid var(--border);border-radius:var(--r-md);
    background:var(--bg-soft);
  }
  .final-card .scan-input{border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.10);}
  .scan-box .scan-submit{width:100%;}
}

/* ---------- Ticks & badges ---------- */
.tick{
  width:17px;height:17px;flex:none;border-radius:50%;
  background:var(--brand-soft);position:relative;
}
.tick::after{
  content:"";position:absolute;left:5px;top:4.5px;
  width:4px;height:8px;border:solid var(--brand);border-width:0 2px 2px 0;transform:rotate(45deg);
}
.trust-ticks{display:flex;flex-wrap:wrap;gap:10px 24px;font-size:14.5px;font-weight:500;color:var(--text-mid);}
.trust-ticks li{display:flex;align-items:center;gap:8px;}
.trust-ticks.light{color:rgba(255,255,255,.85);justify-content:center;}
.trust-ticks.light .tick{background:rgba(255,255,255,.22);}
.trust-ticks.light .tick::after{border-color:#fff;}

.pulse-dot{
  width:8px;height:8px;border-radius:50%;background:#ff4d4f;flex:none;
  box-shadow:0 0 0 0 rgba(255,77,79,.55);animation:pulse 2s infinite;
}
.pulse-dot.sm{width:6px;height:6px;}
@keyframes pulse{
  70%{box-shadow:0 0 0 9px rgba(255,77,79,0);}
  100%{box-shadow:0 0 0 0 rgba(255,77,79,0);}
}

.chip{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:5px 11px;border-radius:999px;}
.chip-live{background:#fff1f1;color:#d93a3d;}
.chip-warn{background:var(--yellow);color:#8a5a00;}

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(255,255,255,.82);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color var(--t),box-shadow var(--t);
}
.site-header.is-stuck{border-bottom-color:var(--border);box-shadow:0 4px 20px rgba(26,26,26,.04);}
.header-inner{display:flex;align-items:center;gap:24px;min-height:72px;}

.brand{display:flex;align-items:center;gap:11px;color:var(--text);flex:none;}
.brand-mark{
  width:38px;height:38px;flex:none;display:grid;place-items:center;
  border-radius:11px;background:linear-gradient(140deg,var(--brand),#6aa2ff);
  color:#fff;box-shadow:var(--sh-brand);
}
.brand-mark svg{width:20px;height:20px;}
.brand-text{display:flex;flex-direction:column;line-height:1.1;}
.brand-text strong{font-size:17px;font-weight:800;letter-spacing:-.02em;}
.brand-text em{font-style:normal;font-size:11px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--text-mid);}
.brand.small .brand-mark{width:34px;height:34px;}

.site-nav{display:flex;gap:28px;margin-left:auto;}
.site-nav a{font-size:15px;font-weight:500;color:var(--text-mid);}
.site-nav a:hover{color:var(--brand);}
.header-cta{flex:none;}

.nav-toggle{
  display:none;flex-direction:column;gap:5px;margin-left:auto;
  background:none;border:0;padding:8px;cursor:pointer;
}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--text);border-radius:2px;transition:var(--t);}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.mobile-nav{
  display:none;flex-direction:column;gap:4px;padding:8px 24px 22px;
  border-top:1px solid var(--border);background:#fff;
}
.mobile-nav a{padding:12px 0;font-weight:600;color:var(--text);border-bottom:1px solid var(--border);}
.mobile-nav .btn{margin-top:14px;border-bottom:0;color:#fff;}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  padding:clamp(48px,7vw,86px) 0 clamp(70px,9vw,110px);
  background:
    radial-gradient(1100px 520px at 78% -8%, #eaf2ff 0%, rgba(234,242,255,0) 62%),
    linear-gradient(180deg,#fbfcff 0%,#ffffff 100%);
  overflow:hidden;
}
.hero-glow{position:absolute;border-radius:50%;filter:blur(70px);pointer-events:none;}
.hero-glow-a{width:420px;height:420px;background:rgba(54,125,249,.13);top:-120px;left:-140px;}
.hero-glow-b{width:340px;height:340px;background:rgba(76,212,176,.10);bottom:-140px;right:6%;}

.hero-inner{position:relative;z-index:1;}
.hero-copy{
  max-width:880px;margin-inline:auto;
  display:flex;flex-direction:column;align-items:center;text-align:center;
}

.live-badge{
  display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;
  background:#fff;border:1px solid var(--border);border-radius:999px;
  padding:8px 16px 8px 14px;box-shadow:var(--sh-sm);
  font-size:13.5px;font-weight:600;color:var(--text-mid);margin-bottom:26px;
}
.live-badge-label{color:#d93a3d;letter-spacing:.1em;font-size:11.5px;font-weight:800;}
.live-badge-sep{width:1px;height:14px;background:var(--border);}
.live-badge-text strong{color:var(--text);font-weight:800;}

.hero h1{margin-bottom:22px;}
/* the hero accent line is long — sized down so it sits under the sans line
   instead of shouting over it. Nudge this one value to retune it. */
.hero h1 .accent{font-size:.86em;}
.hero-lead{font-size:clamp(1.06rem,1.5vw,1.16rem);color:var(--text-mid);margin-bottom:16px;}

/* one-column centred hero: every child spans the column, content centres inside */
.hero-copy > *{width:100%;}
/* …except the badge, which is a pill and must hug its own text */
.hero-copy > .live-badge{width:auto;max-width:100%;}
.hero h1,
.hero-lead,
.hero-support{text-wrap:balance;}
.hero .leak-list,
.hero .trust-ticks{justify-content:center;}
.hero .hero-support{margin-inline:auto;}
.hero .hero-actions{flex-direction:column;gap:12px;margin-bottom:26px;}

.leak-list{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px;}
.leak-list li{
  display:flex;align-items:center;gap:8px;
  font-size:14.5px;font-weight:600;color:var(--text);
  background:#fff;border:1px solid var(--border);border-radius:999px;padding:8px 15px;
  box-shadow:var(--sh-sm);
}
.leak-icon{width:7px;height:7px;border-radius:50%;background:var(--orange);flex:none;}
.leak-list li:nth-child(2) .leak-icon{background:#ff6b6b;}
.leak-list li:nth-child(3) .leak-icon{background:var(--brand);}
.leak-list li:nth-child(4) .leak-icon{background:var(--mint);}

.hero-support{font-size:clamp(1.02rem,1.4vw,1.12rem);color:var(--text-mid);max-width:56ch;margin-bottom:28px;}
.hero-support strong{color:var(--text);}

.hero-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:22px;}
.hero-actions-note{font-size:13.5px;color:var(--text-mid);font-weight:500;}
.platform-note{font-size:13.5px;color:var(--text-mid);margin:16px 0 0;}
.platform-note strong{color:var(--text);font-weight:600;}

/* =========================================================
   TRUST BAND
   ========================================================= */
/* closed slab on all four corners — the white sample band now follows it,
   so it no longer runs straight into the problem section */
.trust-band{
  background:var(--bg-soft);
  border-radius:var(--r-2xl);
  padding:clamp(46px,6vw,70px) 0 clamp(46px,6vw,66px);
  margin-top:-28px;
}
.trust-band-line{
  text-align:center;max-width:840px;margin:0 auto 40px;
  font-size:clamp(1.06rem,1.6vw,1.22rem);font-weight:600;color:var(--text-mid);
}
.trust-band-line strong{color:var(--text);}

.stats{
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px;
  background:#fff;border:1px solid var(--border);border-radius:var(--r-xl);
  padding:clamp(24px,3vw,34px);box-shadow:var(--sh-sm);
}
.stat{text-align:center;position:relative;}
.stat + .stat::before{content:"";position:absolute;left:0;top:12%;height:76%;width:1px;background:var(--border);}
.stat strong{display:block;font-size:clamp(1.7rem,3.4vw,2.35rem);font-weight:800;letter-spacing:-.03em;color:var(--brand);line-height:1.1;}
.stat span{font-size:14px;font-weight:600;color:var(--text-mid);}

.platform-strip{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:32px;}
.platform-strip-label{font-size:12.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--text-mid);}
.platform-strip ul{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;}
.platform-strip li{
  display:flex;align-items:center;gap:8px;
  font-size:14px;font-weight:600;color:var(--text-mid);
  background:#fff;border:1px solid var(--border);border-radius:999px;padding:8px 16px;
  transition:transform var(--t),color var(--t),border-color var(--t);
}
.platform-strip li:hover{transform:translateY(-2px);color:var(--text);border-color:#cfd9e8;}
.platform-strip li.is-primary{border-color:var(--brand);color:var(--brand);background:var(--brand-soft);}
.platform-strip li em{font-style:normal;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;background:var(--brand);color:#fff;border-radius:999px;padding:2px 7px;}

/* =========================================================
   SAMPLE REPORT
   Sized to sit inside one viewport fold: copy left, tabbed
   report right. Panels share a fixed height so switching
   tabs never shifts the page.
   ========================================================= */
/* White band with a brand tint — sits between two soft-grey sections
   (trust band above, problem below) and needs to read as its own. */
.sample{
  background:
    radial-gradient(860px 400px at 80% -6%, #eaf2ff 0%, rgba(234,242,255,0) 62%),
    var(--bg);
  padding:clamp(42px,4.6vw,58px) 0;
}
.sample .section-head{margin-bottom:clamp(22px,2.6vw,30px);}
.sample .section-head h2{margin-bottom:12px;font-size:clamp(1.6rem,2.8vw,2.1rem);}

.sample-cta{
  display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;
  margin-top:clamp(20px,2.4vw,26px);
}
.sample-cta .micro-note{margin:0;}

/* ---- The document ---- */
.report-doc{
  max-width:900px;margin:0 auto;
  background:#fff;border:1px solid var(--border);border-radius:var(--r-xl);
  box-shadow:var(--sh-lg);overflow:hidden;
}
.report-doc-bar{
  display:flex;align-items:center;gap:12px;
  padding:13px clamp(16px,2vw,22px);
  border-bottom:1px solid var(--border);background:#fbfcff;
}
.report-doc-tag{
  flex:none;font-size:12px;font-weight:700;color:#fff;background:var(--brand-darker);
  border-radius:999px;padding:6px 14px;
}
.report-doc-store{
  font-size:14px;color:var(--text-mid);font-weight:500;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.report-doc-store strong{color:var(--text);font-weight:700;}
.report-doc-label{font-style:normal;}
.report-doc-flag{
  flex:none;margin-left:auto;
  font-size:10.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
  color:var(--text-mid);background:var(--bg-soft);border:1px solid var(--border);
  border-radius:999px;padding:4px 10px;
}

/* ---- Tabs ---- */
.rp-tabs{display:flex;gap:2px;padding:0 clamp(10px,1.4vw,16px);border-bottom:1px solid var(--border);}
.rp-tab{
  position:relative;flex:1;
  background:none;border:0;cursor:pointer;
  font-family:inherit;font-size:14px;font-weight:700;color:var(--text-mid);
  padding:14px 10px;
  transition:color var(--t);
}
.rp-tab::after{
  content:"";position:absolute;left:10px;right:10px;bottom:-1px;height:2.5px;
  background:var(--brand);border-radius:3px 3px 0 0;
  transform:scaleX(0);transition:transform .3s var(--ease);
}
.rp-tab:hover{color:var(--text);}
.rp-tab.is-active{color:var(--brand);}
.rp-tab.is-active::after{transform:scaleX(1);}

.rp-panels{padding:clamp(18px,2.4vw,24px);}
.rp-panel{min-height:250px;}
.rp-panel:focus-visible{outline-offset:-2px;}

/* ---- Panel 1: overall score ---- */
.rp-score{display:flex;align-items:center;gap:clamp(18px,2.4vw,28px);flex-wrap:wrap;}
.rp-ring{position:relative;width:116px;height:116px;flex:none;}
.rp-ring svg{width:100%;height:100%;transform:rotate(-90deg);}
.rp-ring circle{fill:none;stroke-width:9;stroke-linecap:round;}
.rp-ring-track{stroke:var(--border);}
.rp-ring-value{
  stroke:var(--brand);
  stroke-dasharray:327;stroke-dashoffset:327;
  transition:stroke-dashoffset 1.4s var(--ease);
}
.rp-ring.is-on .rp-ring-value{stroke-dashoffset:var(--offset,327);}
.rp-ring-center{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:2px;}
.rp-ring-center strong{font-size:34px;font-weight:800;letter-spacing:-.03em;line-height:1;}
.rp-ring-center small{font-size:13px;font-weight:600;color:var(--text-mid);margin-top:8px;}
.rp-score-meta{flex:1;min-width:210px;}
.rp-eyebrow{
  display:block;font-size:10.5px;font-weight:800;letter-spacing:.14em;
  text-transform:uppercase;color:var(--text-mid);margin-bottom:6px;
}
.rp-score-meta h3{margin:0 0 7px;font-size:clamp(1.1rem,1.7vw,1.3rem);color:#1f9c7c;}
.rp-score-meta p{margin:0;font-size:14.5px;color:var(--text-mid);}

.rp-facts{
  display:grid;grid-template-columns:repeat(3,1fr);gap:12px;
  margin-top:22px;padding-top:20px;border-top:1px solid var(--border);
}
.rp-facts li{text-align:center;}
.rp-facts strong{
  display:block;font-size:24px;font-weight:800;letter-spacing:-.03em;
  color:var(--brand);line-height:1.15;
}
.rp-facts span{font-size:13px;font-weight:600;color:var(--text-mid);}

/* ---- Panel 2: area scores ---- */
.rp-areas{display:flex;flex-direction:column;gap:8px;}
.rp-area{
  display:flex;align-items:center;gap:14px;
  border:1px solid var(--border);border-radius:var(--r-md);padding:10px 14px;
}
.rp-area-score{flex:none;width:62px;font-size:12px;font-weight:600;color:var(--text-mid);}
.rp-area-score em{font-style:normal;font-size:23px;font-weight:800;letter-spacing:-.03em;margin-right:1px;}
.rp-area-copy{flex:1;min-width:0;display:flex;flex-direction:column;}
.rp-area-copy strong{font-size:14.5px;font-weight:700;line-height:1.3;}
.rp-area-copy em{
  font-style:normal;font-size:10.5px;font-weight:800;letter-spacing:.08em;
  text-transform:uppercase;color:var(--text-mid);margin-top:2px;
}
.rp-chip{
  flex:none;font-size:10.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;
  border-radius:999px;padding:4px 10px;
}
.rp-area.is-good{background:#f4fbf8;border-color:#cfeee2;}
.rp-area.is-good .rp-area-score em{color:#1f9c7c;}
.rp-area.is-good .rp-chip{background:#e0f6ee;color:#1f9c7c;}
.rp-area.is-warn{background:#fffbf3;border-color:#f3e2bd;}
.rp-area.is-warn .rp-area-score em{color:#a06a00;}
.rp-area.is-warn .rp-chip{background:var(--yellow);color:#8a5a00;}
.rp-area.is-bad{background:#fff6f6;border-color:#f6d5d5;}
.rp-area.is-bad .rp-area-score em{color:#d93a3d;}
.rp-area.is-bad .rp-chip{background:#ffe9e9;color:#d93a3d;}

/* Narrow screens: the score/copy/chip row can't hold three columns. As flex,
   the copy (flex-basis 0) just collapsed and wrapped one word per line while
   the chip kept its full width. Grid gives the copy the whole remaining
   column and drops the chip to a second row under it. */
@media (max-width:560px){
  /* the bar can't fit the pill, the "Your Store:" label and the domain —
     drop the label so the domain itself is never the part that truncates */
  .report-doc-label{display:none;}
  .report-doc-tag{font-size:11.5px;padding:5px 12px;}
  .report-doc-bar{gap:10px;padding-inline:14px;}

  .rp-area{
    display:grid;grid-template-columns:auto minmax(0,1fr);
    column-gap:14px;row-gap:8px;align-items:center;padding:12px 14px;
  }
  .rp-area-score{grid-column:1;grid-row:1 / span 2;width:auto;align-self:center;}
  .rp-area-copy{grid-column:2;grid-row:1;}
  .rp-area-copy em{letter-spacing:.05em;}
  .rp-chip{grid-column:2;grid-row:2;justify-self:start;}

  /* Same treatment for the fix rows: the copy owns the full second column and
     the rating sits inline beneath it, aligned to the copy — not floated right
     in a column too narrow to hold it. */
  .rp-fixes li{
    display:grid;grid-template-columns:auto minmax(0,1fr);
    column-gap:12px;row-gap:7px;align-items:start;padding:12px 14px;
  }
  .rp-fix-num{grid-column:1;grid-row:1;}
  .rp-fix-copy{grid-column:2;grid-row:1;}
  .rp-prio{
    grid-column:2;grid-row:2;
    display:flex;align-items:center;gap:8px;text-align:left;
  }
  .rp-dots{margin-top:0;}

  /* keep the area title and its score pill on one line, note underneath */
  .rp-fix-head{align-items:flex-start;}
  .rp-fix-area{display:flex;flex-direction:column;min-width:0;}
  .rp-fix-area em{margin:1px 0 0;}
}

/* ---- Panel 3: prioritized fixes ---- */
.rp-fix-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding-bottom:10px;margin-bottom:12px;border-bottom:1px solid var(--border);
}
.rp-fix-area{font-size:15px;font-weight:700;color:var(--brand-darker);}
.rp-fix-area em{font-style:normal;font-weight:500;font-size:13px;color:var(--text-mid);margin-left:6px;}
.rp-fix-score{
  flex:none;font-size:12px;font-weight:800;color:#d93a3d;
  background:#ffe9e9;border-radius:999px;padding:4px 11px;
}
.rp-fixes{display:flex;flex-direction:column;gap:8px;}
.rp-fixes li{
  display:flex;align-items:flex-start;gap:12px;
  border:1px solid var(--border);border-radius:var(--r-md);padding:11px 14px;
  transition:border-color var(--t),box-shadow var(--t);
}
.rp-fixes li:hover{border-color:#cfdcf3;box-shadow:var(--sh-sm);}
.rp-fix-num{
  flex:none;width:24px;height:24px;border-radius:50%;
  display:grid;place-items:center;
  background:#ffe9e9;color:#d93a3d;font-size:12px;font-weight:800;
}
.rp-fix-copy{flex:1;min-width:0;display:flex;flex-direction:column;}
.rp-fix-copy strong{font-size:14.5px;line-height:1.3;}
.rp-fix-copy em{font-style:normal;font-size:13px;color:var(--text-mid);margin-top:2px;}
.rp-prio{
  flex:none;text-align:right;
  font-size:10.5px;font-weight:800;color:#d93a3d;letter-spacing:.02em;
}
.rp-dots{display:flex;gap:3px;justify-content:flex-end;margin-top:4px;}
.rp-dots i{width:6px;height:6px;border-radius:50%;background:#f3d4d4;}
.rp-dots i.on{background:#d93a3d;}
.rp-more{margin:12px 0 0;font-size:13.5px;color:var(--text-mid);}
.rp-more-count{font-weight:800;color:var(--brand-darker);}

/* =========================================================
   PROBLEM
   ========================================================= */
.problem{
  background:var(--bg-soft);
  padding:clamp(56px,8vw,100px) 0;
  border-radius:var(--r-2xl);
}
.problem-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(32px,5vw,60px);align-items:center;}
.problem-copy p{color:var(--text-mid);}
.problem-copy p strong{color:var(--text);}

.big-question{
  position:relative;margin:0 0 26px;padding:22px 26px 22px 30px;
  background:#fff;border-left:4px solid var(--brand);border-radius:0 var(--r-lg) var(--r-lg) 0;
  font-size:clamp(1.2rem,2.2vw,1.55rem);font-weight:700;letter-spacing:-.02em;line-height:1.35;
  box-shadow:var(--sh-md);
}
.quote-mark{position:absolute;top:-6px;right:18px;font-size:64px;line-height:1;color:var(--brand-soft);font-weight:800;}
.problem-punch{font-size:1.06rem;font-weight:600;color:var(--text)!important;}

.note-card{
  display:flex;align-items:center;gap:14px;
  background:var(--brand-soft);border-radius:var(--r-lg);padding:16px 20px;margin:0 0 26px;
}
.note-card p{margin:0;font-size:15px;color:var(--brand-darker);font-weight:500;}
.note-icon{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:10px;background:#fff;color:var(--brand);}
.note-icon svg{width:18px;height:18px;}

.hesitation-card{
  background:#fff;border:1px solid var(--border);border-radius:var(--r-xl);
  padding:24px;box-shadow:var(--sh-lg);
}
.hesitation-head{display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--border);margin-bottom:18px;}
.hesitation-head strong{display:block;font-size:15px;}
.hesitation-head small{font-size:12.5px;color:var(--text-mid);}
.mini-avatar{
  width:40px;height:40px;flex:none;border-radius:50%;
  background:linear-gradient(140deg,#dfe9f8,#c3d8f7);
  position:relative;
}
.mini-avatar::after{
  content:"?";position:absolute;inset:0;display:grid;place-items:center;
  font-weight:800;color:var(--brand);font-size:17px;
}
.thought-list{display:flex;flex-direction:column;gap:10px;}
.thought-list li{
  font-size:14.5px;font-weight:500;color:var(--text-mid);
  background:var(--bg-soft);border-radius:14px 14px 14px 4px;padding:11px 15px;
  animation:driftIn .5s var(--ease) both;animation-delay:var(--d);
}
@keyframes driftIn{from{opacity:0;transform:translateX(-10px);}to{opacity:1;transform:none;}}
.hesitation-foot{margin-top:18px;padding-top:16px;border-top:1px dashed var(--border);}
.exit-chip{
  display:inline-flex;align-items:center;gap:8px;
  background:#ffe9e9;color:#d93a3d;font-size:13px;font-weight:700;
  border-radius:999px;padding:8px 15px;
}
.exit-chip svg{width:15px;height:15px;}

/* =========================================================
   ANALYSIS CHECKLIST
   ========================================================= */
.analysis{padding:clamp(60px,8vw,104px) 0;}
.check-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:46px;}
.check-item{
  position:relative;
  background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);
  padding:26px 24px 24px;box-shadow:var(--sh-sm);
  transition:transform var(--t),box-shadow var(--t),border-color var(--t);
}
.check-item:hover{transform:translateY(-4px);box-shadow:var(--sh-md);border-color:#cfdcf3;}
.check-item h3{margin-bottom:8px;font-size:1.06rem;}
.check-item p{margin:0;font-size:14.5px;color:var(--text-mid);}
.check-num{
  position:absolute;top:20px;right:22px;
  font-size:13px;font-weight:800;color:var(--border);letter-spacing:.02em;
}
.check-tick{
  display:block;width:34px;height:34px;border-radius:10px;
  background:var(--brand-soft);position:relative;margin-bottom:16px;
  transition:background var(--t);
}
.check-tick::after{
  content:"";position:absolute;left:12px;top:10px;
  width:7px;height:13px;border:solid var(--brand);border-width:0 2.5px 2.5px 0;transform:rotate(45deg);
  transition:border-color var(--t);
}
.check-item:hover .check-tick{background:var(--brand);}
.check-item:hover .check-tick::after{border-color:#fff;}
/* Asymmetric accents — avoid a rigid grid feel */
.check-item:nth-child(3n+2) .check-tick{background:#fff3e0;}
.check-item:nth-child(3n+2) .check-tick::after{border-color:#c47a00;}
.check-item:nth-child(3n+2):hover .check-tick{background:var(--orange);}
.check-item:nth-child(3n+3) .check-tick{background:#e6f9f3;}
.check-item:nth-child(3n+3) .check-tick::after{border-color:#1f9c7c;}
.check-item:nth-child(3n+3):hover .check-tick{background:var(--mint);}
.check-item:nth-child(3n+2):hover .check-tick::after,
.check-item:nth-child(3n+3):hover .check-tick::after{border-color:#fff;}

/* "39+ more checks" tile — closes the grid without pretending to be a category */
.check-more{background:linear-gradient(160deg,var(--brand-soft) 0%,#fff 78%);border-color:#cfdcf3;}
.check-more-num{
  display:block;margin-bottom:14px;
  font-size:38px;font-weight:800;line-height:1;letter-spacing:-.03em;
  color:var(--brand-darker);
}
.check-more-num em{font-style:normal;font-size:24px;color:var(--brand);margin-left:1px;}

/* =========================================================
   ROADMAP
   ========================================================= */
.roadmap{
  background:
    radial-gradient(900px 420px at 92% 4%, #eaf2ff 0%, rgba(234,242,255,0) 60%),
    var(--bg-soft);
  border-radius:var(--r-2xl);
  padding:clamp(56px,8vw,100px) 0;
  margin:0 12px;
}
.roadmap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.rm-card{
  background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);
  padding:28px 26px;box-shadow:var(--sh-sm);
  transition:transform var(--t),box-shadow var(--t);
}
.rm-card:hover{transform:translateY(-5px);box-shadow:var(--sh-md);}
.rm-card h3{margin-bottom:9px;}
.rm-card p{margin:0;font-size:14.8px;color:var(--text-mid);}
.rm-icon{
  display:grid;place-items:center;width:46px;height:46px;border-radius:13px;
  background:var(--brand-soft);color:var(--brand);margin-bottom:18px;
}
.rm-icon svg{width:22px;height:22px;}
.rm-icon.warn{background:#fff3e0;color:#c47a00;}
.rm-icon.mint{background:#e6f9f3;color:#1f9c7c;}
/* Asymmetry: first card spans two columns */
.rm-lg{grid-column:span 2;background:linear-gradient(120deg,#fff 60%,var(--brand-soft) 100%);}
.rm-lg h3{font-size:1.3rem;}
/* Conversion Score closes the grid as a full-width banner card */
.rm-score{
  grid-column:span 3;
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px 24px;
  background:linear-gradient(120deg,var(--brand-darker) 0%,var(--brand) 62%,#5a95ff 100%);
  border-color:transparent;color:#fff;
  box-shadow:var(--sh-brand);
}
.rm-score h3{color:#fff;margin:0 0 4px;grid-column:2;}
.rm-score p{color:rgba(255,255,255,.88);grid-column:2;grid-row:2;}
.rm-score .rm-icon{background:rgba(255,255,255,.18);color:#fff;margin:0;grid-row:span 2;}
.rm-score-pill{
  grid-column:3;grid-row:span 2;justify-self:end;white-space:nowrap;
  font-size:12.5px;font-weight:700;
  background:rgba(255,255,255,.18);border-radius:999px;padding:8px 15px;
}

/* =========================================================
   WHY IT MATTERS
   ========================================================= */
.why{padding:clamp(60px,8vw,104px) 0;}
.why-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,5vw,64px);align-items:center;}
.why-copy p{color:var(--text-mid);}
.why-highlight{
  font-size:clamp(1.08rem,1.7vw,1.24rem);font-weight:600;line-height:1.5;
  color:var(--text)!important;border-left:4px solid var(--mint);
  padding-left:20px;margin-top:26px;
}
.why-highlight strong{color:var(--brand-darker);}

.compare-bars{
  background:#fff;border:1px solid var(--border);border-radius:var(--r-xl);
  padding:clamp(24px,3vw,32px);box-shadow:var(--sh-lg);
  display:flex;flex-direction:column;gap:28px;
}
.cb-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px;}
.cb-head span{font-size:15px;font-weight:700;}
.cb-head em{font-style:normal;font-size:13px;font-weight:700;color:var(--text-mid);}
.cb-track{height:12px;border-radius:999px;background:var(--bg-soft);overflow:hidden;}
.cb-fill{height:100%;width:0;border-radius:999px;transition:width 1.2s var(--ease);}
.cb.is-on .cb-fill{width:var(--w);}
.cb-a{background:linear-gradient(90deg,#cfd9e8,#aebdd4);}
.cb-b{background:linear-gradient(90deg,var(--brand),#6aa2ff);}
.cb small{display:block;margin-top:10px;font-size:13px;color:var(--text-mid);}

/* =========================================================
   COMPARISON
   ========================================================= */
.compare{
  background:var(--bg-soft);
  border-radius:var(--r-2xl);
  margin:0 12px;
  padding:clamp(56px,8vw,96px) 0;
}
.compare-grid{
  display:grid;grid-template-columns:1fr auto 1fr;gap:22px;align-items:center;
  max-width:940px;margin-inline:auto;
}
.cmp-card{
  background:#fff;border:1px solid var(--border);border-radius:var(--r-xl);
  padding:30px 28px;box-shadow:var(--sh-sm);
}
.cmp-tag{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--text-mid);}
.cmp-price{display:block;font-size:clamp(1.9rem,3.4vw,2.4rem);font-weight:800;letter-spacing:-.03em;margin:8px 0 12px;line-height:1.1;}
.cmp-card p{font-size:14.8px;color:var(--text-mid);}
.cmp-list{display:flex;flex-direction:column;gap:11px;margin-top:18px;}
.cmp-list li{position:relative;padding-left:28px;font-size:14.5px;font-weight:500;}
.cmp-list li::before{
  content:"";position:absolute;left:0;top:2px;width:19px;height:19px;border-radius:50%;
}
.cmp-list li.no{color:var(--text-mid);}
.cmp-list li.no::before{background:#ffe9e9;}
.cmp-list li.no::after{content:"";position:absolute;left:6.5px;top:8.5px;width:8px;height:2px;background:#d93a3d;border-radius:2px;}
.cmp-list li.yes::before{background:#e6f9f3;}
.cmp-list li.yes::after{content:"";position:absolute;left:6.5px;top:6px;width:4px;height:8px;border:solid #1f9c7c;border-width:0 2px 2px 0;transform:rotate(45deg);}

.cmp-them{opacity:.92;}
.cmp-them .cmp-price{color:var(--text-mid);text-decoration:line-through;text-decoration-thickness:2px;}
.cmp-us{
  border:2px solid var(--brand);box-shadow:var(--sh-lg);
  background:linear-gradient(160deg,#fff 55%,var(--brand-soft) 100%);
  transform:translateY(-8px);
}
.cmp-us .cmp-tag{color:var(--brand);}
.cmp-us .cmp-price{color:var(--brand);}
.cmp-vs{
  display:grid;place-items:center;width:48px;height:48px;border-radius:50%;
  background:#fff;border:1px solid var(--border);box-shadow:var(--sh-sm);
  font-size:13px;font-weight:800;text-transform:uppercase;color:var(--text-mid);
}

/* =========================================================
   TESTIMONIAL
   ========================================================= */
.testimonial{padding:clamp(56px,7vw,92px) 0;}
.quote-card{
  max-width:780px;margin:0 auto;text-align:center;
  background:#fff;border:1px solid var(--border);border-radius:var(--r-xl);
  padding:clamp(30px,4vw,46px);box-shadow:var(--sh-md);
}
.stars{display:flex;justify-content:center;gap:4px;margin-bottom:20px;}
.stars svg{width:19px;height:19px;fill:var(--orange);}
.quote-card blockquote{
  margin:0 0 24px;font-size:clamp(1.12rem,2.1vw,1.42rem);font-weight:600;
  line-height:1.5;letter-spacing:-.015em;
}
.quote-card figcaption{display:flex;align-items:center;justify-content:center;gap:12px;}
.quote-card figcaption strong{display:block;font-size:15px;}
.quote-card figcaption small{font-size:13px;color:var(--text-mid);}
.quote-card figcaption span:last-child{text-align:left;}
.avatar{
  width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:50%;
  background:linear-gradient(140deg,var(--brand),#6aa2ff);color:#fff;font-weight:800;font-size:17px;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq{
  background:var(--bg-soft);
  border-radius:var(--r-2xl);margin:0 12px;
  padding:clamp(56px,8vw,96px) 0;
}
.faq-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(32px,5vw,60px);align-items:start;}
.faq-intro .section-sub{margin-bottom:24px;}

.accordion{display:flex;flex-direction:column;gap:12px;}
.acc-item{
  background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);
  overflow:hidden;transition:border-color var(--t),box-shadow var(--t);
}
.acc-item.is-open{border-color:var(--brand);box-shadow:var(--sh-md);}
.acc-trigger{
  display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;
  background:none;border:0;padding:20px 22px;cursor:pointer;text-align:left;
  font-family:inherit;font-size:16.5px;font-weight:700;color:var(--text);letter-spacing:-.01em;
  transition:color var(--t);
}
.acc-trigger:hover{color:var(--brand);}
.acc-icon{
  position:relative;width:26px;height:26px;flex:none;border-radius:50%;
  background:var(--brand-soft);transition:background var(--t),transform var(--t);
}
.acc-icon::before,.acc-icon::after{
  content:"";position:absolute;left:50%;top:50%;background:var(--brand);border-radius:2px;
  transform:translate(-50%,-50%);transition:opacity var(--t),background var(--t);
}
.acc-icon::before{width:11px;height:2px;}
.acc-icon::after{width:2px;height:11px;}
.acc-item.is-open .acc-icon{background:var(--brand);transform:rotate(180deg);}
.acc-item.is-open .acc-icon::before{background:#fff;}
.acc-item.is-open .acc-icon::after{opacity:0;}
.acc-panel{height:0;overflow:hidden;transition:height .38s var(--ease);}
.acc-panel-inner{padding:0 22px 22px;}
.acc-panel-inner p{margin:0;font-size:15px;color:var(--text-mid);}

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta{padding:clamp(60px,8vw,110px) 0;}
.final-card{
  position:relative;overflow:hidden;text-align:center;
  background:linear-gradient(145deg,var(--brand-darker) 0%,var(--brand) 55%,#5a95ff 100%);
  border-radius:var(--r-2xl);
  padding:clamp(40px,6vw,72px) clamp(24px,5vw,64px);
  color:#fff;box-shadow:0 30px 70px rgba(54,125,249,.32);
}
.final-glow{
  position:absolute;width:520px;height:520px;border-radius:50%;
  background:rgba(255,255,255,.12);filter:blur(60px);
  top:-220px;right:-120px;pointer-events:none;
}
.final-card h2{color:#fff;margin-inline:auto;font-size:clamp(1.65rem,3.4vw,2.5rem);}
/* the 20ch measure belongs to the sans lines only — the accent needs the full
   width to stay on one line, which nowrap guarantees whatever font loads */
.final-card h2 .final-h2-main{display:block;max-width:20ch;margin-inline:auto;}
.final-card h2 .accent{display:block;font-size:.7em;white-space:nowrap;}
.final-card > p{
  max-width:60ch;margin:0 auto 28px;color:rgba(255,255,255,.88);
  font-size:clamp(1rem,1.4vw,1.1rem);position:relative;
}
.final-steps{
  display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:32px;position:relative;
}
.final-steps li{
  display:flex;align-items:center;gap:9px;
  background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.2);
  border-radius:999px;padding:9px 18px 9px 9px;
  font-size:14.5px;font-weight:600;color:#fff;
}
.final-steps li span{
  width:24px;height:24px;flex:none;display:grid;place-items:center;border-radius:50%;
  background:#fff;color:var(--brand);font-size:12.5px;font-weight:800;
}
.final-card .btn{position:relative;margin-bottom:24px;}
.final-card .trust-ticks{position:relative;}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{border-top:1px solid var(--border);padding:32px 0;background:#fff;}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;}
.footer-note{margin:0;font-size:13.5px;color:var(--text-mid);}

/* =========================================================
   STICKY MOBILE CTA
   ========================================================= */
.sticky-cta{
  position:fixed;left:12px;right:12px;bottom:12px;z-index:70;
  display:none;align-items:center;justify-content:space-between;gap:14px;
  background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);
  padding:12px 14px;box-shadow:0 12px 34px rgba(26,26,26,.16);
  transform:translateY(140%);transition:transform .4s var(--ease);
}
.sticky-cta strong{display:block;font-size:14px;line-height:1.2;}
.sticky-cta small{font-size:12px;color:var(--text-mid);}
.sticky-cta.is-visible{transform:translateY(0);}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
[data-reveal]{opacity:0;transform:translateY(26px);transition:opacity .6s var(--ease),transform .6s var(--ease);}
[data-reveal].is-visible{opacity:1;transform:none;}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1024px){
  .hero-copy{max-width:640px;}
  .problem-grid,.why-grid,.faq-grid{grid-template-columns:1fr;gap:40px;}
  .check-grid,.roadmap-grid{grid-template-columns:repeat(2,1fr);}
  .rm-lg{grid-column:span 2;}
  .rm-score{grid-column:span 2;}
  .site-nav{display:none;}
  .header-cta{margin-left:auto;}
}

@media (max-width:768px){
  body{font-size:16px;}
  .header-cta{display:none;}
  .nav-toggle{display:flex;}
  .mobile-nav:not([hidden]){display:flex;}
  .check-grid,.roadmap-grid{grid-template-columns:1fr;}
  /* headings carry the list on phones — the descriptions make it a long scroll.
     The number takes over as the icon so it sits on the heading's baseline row,
     instead of a meaningless tick left and a number right. */
  .check-item p{display:none;}
  .check-item{display:flex;align-items:center;gap:14px;padding:15px 18px;}
  .check-tick{display:none;}
  .check-item h3{margin:0;font-size:1.02rem;}
  .check-num{
    position:static;flex:none;
    display:grid;place-items:center;
    min-width:34px;height:34px;padding:0 7px;border-radius:10px;
    background:var(--brand-soft);color:var(--brand);font-size:13px;
  }
  /* keep the three-colour rhythm the ticks used to carry */
  .check-item:nth-child(3n+2) .check-num{background:#fff3e0;color:#c47a00;}
  .check-item:nth-child(3n+3) .check-num{background:#e6f9f3;color:#1f9c7c;}
  /* block + line-height, not grid: grid made "39" and the "+" two separate
     items and stacked them. Inline layout keeps them on one baseline. */
  .check-more-num{
    flex:none;display:block;
    min-width:34px;height:34px;padding:0 7px;border-radius:10px;
    line-height:34px;text-align:center;
    background:#fff;color:var(--brand-darker);font-size:14px;margin:0;
  }
  .check-more-num em{font-size:12px;}
  .rm-lg{grid-column:span 1;}
  .rm-score{grid-column:span 1;grid-template-columns:1fr;}
  .rm-score h3,.rm-score p{grid-column:1;}
  .rm-score h3{grid-row:auto;}
  .rm-score p{grid-row:auto;}
  .rm-score .rm-icon{grid-row:auto;margin-bottom:16px;}
  .rm-score-pill{grid-column:1;grid-row:auto;justify-self:start;margin-top:14px;}
  .compare-grid{grid-template-columns:1fr;}
  /* the "first-time visitor" card repeats the copy above it — drop it on phones */
  .problem-visual{display:none;}

  /* sample report: the heading says enough on a phone — the sub-line just
     pushes the report itself further down the screen */
  .sample .section-sub{display:none;}
  .sample .section-head h2{margin-bottom:0;}
  .report-doc-flag{display:none;}
  .cmp-us{transform:none;}
  .cmp-vs{margin-inline:auto;}
  .stats{grid-template-columns:1fr;gap:24px;}
  .stat + .stat::before{display:none;}
  .stat + .stat{border-top:1px solid var(--border);padding-top:22px;}
  .sticky-cta{display:flex;}
  .trust-band,.roadmap,.compare,.faq,.final-card{border-radius:var(--r-xl);}
  .problem{border-radius:var(--r-xl);}
  .roadmap,.compare,.faq{margin-inline:0;}
  /* wrapping centred pills gave every step a different width and broke step 2
     onto two lines — stack them as equal-width rows so the numbers line up */
  .final-steps{
    flex-direction:column;align-items:stretch;gap:8px;
    max-width:360px;margin-inline:auto;margin-bottom:28px;
  }
  .final-steps li{font-size:13.5px;justify-content:flex-start;text-align:left;}
  .footer-inner{justify-content:center;text-align:center;}
}

@media (max-width:480px){
  /* one line no longer fits inside the card — let it wrap rather than overflow */
  .final-card h2 .accent{white-space:normal;}

  /* The badge can't hold both halves on one line here. Capping its width wraps
     it deliberately into two centred lines — without the cap, flex-wrap broke
     it mid-pill, stretched it full width and orphaned the divider.
     Row direction is kept so the pulse dot stays beside its label. */
  .hero-copy > .live-badge{
    justify-content:center;text-align:center;
    max-width:270px;gap:3px 8px;
    padding:9px 18px;border-radius:var(--r-lg);
    font-size:13px;
  }
  .live-badge-sep{display:none;}

  /* The 64px quote glyph is decorative but it crowds the quote once the card
     narrows — shrink it and reserve room on the right so text can't run under it. */
  .big-question{padding:18px 48px 18px 22px;}
  .quote-mark{top:0;right:12px;font-size:42px;}

  .rp-tab{font-size:13px;padding:12px 6px;}
  .rp-panel{min-height:0;}
}

@media (max-width:420px){
  .container{padding-inline:18px;}
  .hero-actions .btn{width:100%;}
  .leak-list li{font-size:13.5px;padding:7px 13px;}
}

/* Accessibility */
:focus-visible{outline:3px solid rgba(54,125,249,.45);outline-offset:3px;border-radius:6px;}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms!important;animation-iteration-count:1!important;
    transition-duration:.001ms!important;scroll-behavior:auto!important;
  }
  [data-reveal]{opacity:1;transform:none;}
}
