/* ==========================================================
   Preevit landing + store layer (loads after preevit.css)
   Mobile-first. Breakpoints use container queries on .lp,
   so the same markup works in a 390px or 1440px frame.
   In production .lp is the page root (width = viewport).
   ========================================================== */
.lp{container:lp / inline-size;display:flex;flex-direction:column;overflow:hidden;background:var(--bg)}
.lp-wrap{width:100%;max-width:1200px;margin:0 auto;padding:0 20px}
.lp-nav{flex-shrink:0;border-bottom:2px solid var(--line);background:var(--surface)}
.lp-nav .in{height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.lp-nav .links{display:none;align-items:center;gap:28px;font-weight:700;font-size:15px}
.pv .lp-nav .links a{color:var(--ink);text-decoration:none}
.lp-nav .cta-d{display:none}
.lp-menu{display:inline-flex}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.pv a.brand{color:var(--ink)}
.brand b{font:800 22px 'Bricolage Grotesque','Figtree',sans-serif;letter-spacing:-.02em}
.brand b span{color:var(--grape)}

.hero{display:grid;gap:40px;padding-top:40px;padding-bottom:56px}
.hero h1{font:800 42px/1.02 'Bricolage Grotesque','Figtree',sans-serif;letter-spacing:-.03em;margin:0}
.lead{font-size:17px;line-height:1.55;color:var(--ink-2);margin:0}
.cta-row{display:flex;flex-direction:column;gap:12px}
.cta-row .btn{width:100%}
.hero-art{position:relative;height:420px}

.sec{padding-top:56px;padding-bottom:56px}
.sec-h{font:800 32px/1.05 'Bricolage Grotesque','Figtree',sans-serif;letter-spacing:-.02em;margin:0}
.eyebrow-pill{display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 12px;border-radius:999px;border:2px solid var(--line);background:var(--surface);font-size:13px;font-weight:800;box-shadow:var(--e1)}
.grid3{display:grid;gap:20px}
.step-card{display:flex;flex-direction:column;gap:14px;padding:24px;border:2px solid var(--line);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--e2)}
.step-n{width:44px;height:44px;border-radius:50%;border:2px solid var(--line);display:flex;align-items:center;justify-content:center;font:800 20px 'Bricolage Grotesque',sans-serif;color:#1B1433;box-shadow:var(--e1)}
.step-demo{height:120px;border-radius:var(--r-md);border:2px dashed var(--hair);background:var(--surface-2);display:flex;align-items:center;justify-content:center;padding:12px}

.band{position:relative;overflow:hidden;border:2px solid var(--line);border-radius:28px;background:var(--grape);color:var(--on-grape);box-shadow:var(--e4);padding:36px 24px;display:flex;flex-direction:column;gap:20px;align-items:flex-start}

.plans{display:grid;gap:24px}
.plan{display:flex;flex-direction:column;gap:20px;padding:28px;border:2px solid var(--line);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--e3);position:relative}
.plan.hot{background:var(--tang-soft);box-shadow:var(--e4)}
.feat{display:flex;align-items:flex-start;gap:10px;font-size:15px;font-weight:600;line-height:1.4}
.feat .i{margin-top:1px}
.cmp{width:100%;border-collapse:separate;border-spacing:0;border:2px solid var(--line);border-radius:var(--r-lg);overflow:hidden;background:var(--surface);box-shadow:var(--e2);font-size:14px}
.cmp th,.cmp td{padding:14px 12px;text-align:left;border-bottom:2px dashed var(--hair)}
.cmp tr:last-child td{border-bottom:0}
.cmp thead th{background:var(--surface-2);border-bottom:2px solid var(--line);font-weight:800}
.cmp td:not(:first-child),.cmp th:not(:first-child){text-align:center;width:28%}

.faq{display:flex;flex-direction:column;gap:12px}
.faq details{border:2px solid var(--line);border-radius:var(--r-md);background:var(--surface);box-shadow:var(--e2)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;font-weight:800;font-size:16px}
.faq summary::-webkit-details-marker{display:none}
.faq details[open] summary{border-bottom:2px dashed var(--hair)}
.faq details p{margin:0;padding:14px 18px 18px;color:var(--ink-2);line-height:1.55}

.legal{display:grid;gap:32px;padding-top:40px;padding-bottom:64px}
.legal h1{font:800 36px/1.05 'Bricolage Grotesque',sans-serif;letter-spacing:-.02em;margin:0}
.legal h2{font:800 22px/1.2 'Bricolage Grotesque',sans-serif;margin:0 0 8px}
.legal .body{display:flex;flex-direction:column;gap:28px;max-width:720px}
.legal p{margin:0;line-height:1.65;color:var(--ink-2)}
.legal .ph{color:var(--muted);font-style:italic}
.toc{display:none}

.lp-foot{margin-top:auto;border-top:2px solid var(--line);background:var(--surface)}
.lp-foot .in{display:flex;flex-direction:column;gap:20px;padding:32px 20px}
.lp-foot nav{display:flex;flex-wrap:wrap;gap:12px 24px;font-weight:700;font-size:14px}
.pv .lp-foot nav a{color:var(--ink);text-decoration:none}

@container lp (min-width: 900px){
  .lp-wrap{padding:0 48px}
  .lp-nav .in{height:80px}
  .lp-nav .links,.lp-nav .cta-d{display:flex}
  .lp-menu{display:none}
  .hero{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:56px;padding-top:88px;padding-bottom:112px}
  .hero h1{font-size:68px}
  .lead{font-size:20px}
  .cta-row{flex-direction:row;align-items:center}
  .cta-row .btn{width:auto}
  .hero-art{height:520px}
  .sec{padding-top:96px;padding-bottom:96px}
  .sec-h{font-size:48px}
  .grid3{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
  .band{padding:56px 64px;flex-direction:row;align-items:center;justify-content:space-between}
  .plans{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px;margin:0 auto;gap:32px}
  .cmp{font-size:15px}
  .cmp th,.cmp td{padding:16px 24px}
  .legal{grid-template-columns:240px minmax(0,1fr);gap:64px;padding-top:72px;padding-bottom:96px}
  .legal h1{font-size:48px}
  .toc{display:flex;flex-direction:column;gap:6px;position:sticky;top:24px;align-self:start;padding:18px;border:2px solid var(--line);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--e2);font-size:14px;font-weight:700}
  .pv .toc a{color:var(--ink-2);text-decoration:none;padding:6px 8px;border-radius:8px}
  .pv .toc a.on{background:var(--grape-soft);color:var(--ink)}
  .lp-foot .in{flex-direction:row;align-items:center;justify-content:space-between;padding:32px 48px}
}

/* ---------- store assets ---------- */
.shot{position:relative;overflow:hidden;display:grid;grid-template-columns:440px minmax(0,1fr);gap:48px;align-items:center;padding:64px 64px 64px 72px;background:var(--bg)}
.shot h1{font:800 54px/1.02 'Bricolage Grotesque',sans-serif;letter-spacing:-.03em;margin:0}
.shot p{margin:0;font-size:20px;line-height:1.5;color:var(--ink-2)}
.shot .num{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:2px solid var(--line);background:var(--lemon);color:#1B1433;font:800 20px 'Bricolage Grotesque',sans-serif;box-shadow:var(--e2)}
.blob{position:absolute;border-radius:50%;border:2px solid var(--line)}
.win{border:2px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--e4);overflow:hidden}
.win-bar{height:40px;display:flex;align-items:center;gap:8px;padding:0 14px;border-bottom:2px solid var(--line);background:var(--surface-2)}
.win-bar i{width:12px;height:12px;border-radius:50%;border:2px solid var(--line);display:block}
.win-url{flex-grow:1;height:24px;border-radius:999px;background:var(--surface);border:1.5px solid var(--hair);font:600 12px 'JetBrains Mono',monospace;color:var(--muted);display:flex;align-items:center;padding:0 12px;margin-left:8px}

/* ---------- product demos: browser window, host signup form, popup snapshot ----------
   The browser and the form stand in for a real website, so they use fixed neutral
   colors. The Preevit pill and popup use the real extension styling. */
.cw{position:relative;border:2px solid var(--line);border-radius:14px;background:#FFFFFF;box-shadow:var(--e4);overflow:hidden;color:#202124;font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif}
.cw-tabs{height:36px;display:flex;align-items:flex-end;gap:6px;padding:0 10px;background:#DFE3EB}
.cw-dots{display:flex;gap:6px;align-self:center;margin-right:6px}
.cw-dots i{width:10px;height:10px;border-radius:50%;display:block}
.cw-tab{height:29px;display:flex;align-items:center;gap:7px;padding:0 12px;min-width:0;max-width:190px;border-radius:9px 9px 0 0;background:#FFFFFF;font-size:12px;white-space:nowrap}
.cw-tab span{overflow:hidden;text-overflow:ellipsis}
.cw-fv{width:15px;height:15px;flex-shrink:0;border-radius:4px;background:#0F766E;color:#FFFFFF;font:800 9px/15px system-ui,sans-serif;text-align:center}
.cw-newtab{align-self:center;color:#5F6368;font-size:16px;line-height:1;padding:0 4px}
.cw-bar{height:42px;display:flex;align-items:center;gap:4px;padding:0 8px;border-bottom:1px solid #DADCE0;background:#FFFFFF}
.cw-ic{width:26px;height:26px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#5F6368}
.cw-ic svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cw-omni{flex-grow:1;min-width:0;height:30px;display:flex;align-items:center;gap:7px;margin:0 4px;padding:0 12px;border-radius:999px;background:#F1F3F4;font-size:12.5px;color:#202124;white-space:nowrap;overflow:hidden}
.cw-omni b{font-weight:400;color:#5F6368}
.cw-ext{position:relative;width:28px;height:28px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:50%}
.cw-ext.on{background:#E3E6EB}
.cw-badge{position:absolute;right:-3px;bottom:-1px;min-width:15px;height:14px;padding:0 3px;border-radius:4px;background:#FF7A3D;color:#1B1433;font:800 9px/14px system-ui,sans-serif;text-align:center}
.cw-avatar{width:24px;height:24px;flex-shrink:0;border-radius:50%;margin:0 2px;background:linear-gradient(160deg,#F6C7A6 0 38%,#3B6FD8 38%);position:relative;overflow:hidden;box-shadow:inset 0 0 0 1.5px #FFFFFF,0 0 0 1px #DADCE0}
.cw-avatar::before{content:"";position:absolute;left:7px;top:3px;width:10px;height:10px;border-radius:50%;background:#7A4A2E}
.cw-avatar::after{content:"";position:absolute;left:4px;top:13px;width:16px;height:14px;border-radius:50% 50% 0 0;background:#3B6FD8}
.cw-page{position:relative;padding:18px;background:#F4F5F8}

.sf{display:flex;flex-direction:column;gap:10px;padding:18px;border-radius:12px;background:#FFFFFF;color:#111827;box-shadow:0 1px 3px rgba(17,24,39,.12);font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif}
.sf-t{font-size:16px;font-weight:700;line-height:1.2}
.sf-s{font-size:11.5px;color:#6B7280;margin-top:-6px}
.sf-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
.sf-f{display:flex;flex-direction:column;gap:4px;min-width:0}
.sf-l{font-size:11px;font-weight:600;color:#374151}
.sf-in{height:36px;display:flex;align-items:center;gap:6px;padding:0 5px 0 10px;border:1.5px solid #C9CDD6;border-radius:8px;background:#FFFFFF;font-size:12.5px;color:#111827;min-width:0}
.sf-in .v{flex-grow:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sf-in .ph{color:#9CA3AF}
.sf-in .mono-v{font:600 11.5px 'JetBrains Mono',monospace}
.sf-in .pw{letter-spacing:2px}
.sf-in.focus{border-color:#4F46E5;box-shadow:0 0 0 3px rgba(79,70,229,.18)}
.sf-btn{height:38px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#111827;color:#FFFFFF;font-size:13px;font-weight:600;margin-top:2px}
.sf-btn.ready{background:#0F766E}

/* the injected pill, demo size (real: 32px tall in a 46px field) */
.pvb-d{display:inline-flex;flex-shrink:0;height:26px;border:2px solid #1B1433;border-radius:9px;overflow:hidden;box-shadow:0 0 0 2px #FFFFFF,2px 2px 0 2px #1B1433;font-family:'Figtree',system-ui,sans-serif}
.pvb-d .m{width:28px;display:flex;align-items:center;justify-content:center;background:#FFFFFF}
.pvb-d .m.focus{box-shadow:inset 0 0 0 2px #FF7A3D}
.pvb-d .ok{display:flex;align-items:center;gap:4px;padding:0 8px;background:#35C28F;color:#10251C;font-size:11px;font-weight:800}
.pvb-d .ok svg{width:12px;height:12px}
.pvb-d .c{width:18px;display:flex;align-items:center;justify-content:center;border-left:2px solid #1B1433;background:#FFF6EA;color:#1B1433}
.pvb-d .c svg{width:12px;height:12px}
.cursor-d{position:absolute;width:18px;height:18px;filter:drop-shadow(1px 1px 0 rgba(0,0,0,.25))}

/* popup snapshot: the real 360px popup, scaled */
.pop-shot{--s:.66;--ph:505px;position:relative;width:calc(360px * var(--s));height:calc(var(--ph,470px) * var(--s));flex-shrink:0}
.pop-shot>.popup{position:absolute;left:0;top:0;height:var(--ph,470px);transform:scale(var(--s));transform-origin:top left;box-shadow:var(--e4)}
.pop-shot .pop-body{overflow:hidden}

/* hero demo */
.hero>*,.grid3>*{min-width:0}
.cw-tabs{overflow:hidden}
.hero-demo{height:auto;display:flex;flex-direction:column;min-width:0}
.hero-demo .cw{width:100%}
.hero-demo .pop-shot{--s:.62;align-self:flex-end;margin-top:-28px;margin-right:-6px;z-index:2}
.hero-demo .mascot{position:absolute;left:-12px;bottom:-18px;width:84px;height:84px;transform:rotate(-8deg);filter:drop-shadow(4px 4px 0 #1B1433);z-index:3}

/* step demos */
.step-demo.tall{height:432px;min-width:0;padding:12px;flex-direction:column;align-items:stretch;justify-content:center;overflow:hidden}
.cw.compact .cw-ic.opt{display:none}
.step-demo.tall .sf{width:100%;padding:14px;gap:8px}
.step-demo.tall .cw{width:100%;box-shadow:var(--e2)}
.step-demo.tall .cw-page{height:324px;padding:12px}
.step-demo.tall .pop-shot{--s:.6;position:absolute;right:10px;top:82px}
.step-demo.tall .pop-shot>.popup{box-shadow:0 6px 18px rgba(0,0,0,.18),var(--e2)}

@container lp (min-width: 900px){
  .hero-art.hero-demo{height:556px;display:block}
  .hero-demo .cw{position:absolute;left:0;top:24px;width:calc(100% + 72px)}
  .hero-demo .cw-page{height:424px;padding:20px}
  .hero-demo .cw-page .sf{width:300px}
  .hero-demo .pop-shot{--s:.64;position:absolute;right:-60px;top:102px;margin:0}
  .hero-demo .mascot{left:-58px;bottom:-26px;width:112px;height:112px}
}

/* ---------- live-site additions ---------- */
html,body{margin:0;background:#FFF6EA}
@media (prefers-color-scheme: dark){html,body{background:#15101F}}
html{color-scheme:light dark}
.lp{min-height:100vh}
.lp-nav{position:relative;z-index:20}
.lp-nav .in{position:relative}
.lp-nav.open .links{display:flex;flex-direction:column;align-items:flex-start;gap:18px;position:absolute;left:0;right:0;top:68px;padding:20px;background:var(--surface);border-bottom:2px solid var(--line);box-shadow:var(--e3)}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}

/* Legal pages: lists and sub-headings (added with the full policy text) */
.legal ul{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:6px;color:var(--ink-2);line-height:1.65}
.legal h3{font:800 17px/1.3 'Bricolage Grotesque',sans-serif;margin:16px 0 4px}
.legal section{scroll-margin-top:96px}
.legal .body a{color:var(--grape);text-decoration:underline;text-underline-offset:3px}
