@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --bg:#0a0c0b; --bg2:#0e1211; --surface:#14191b; --surface2:#1a2024; --line:#283030;
  --text:#eef3f1; --muted:#97a39e;
  /* re-skinned to match Merv's red/blue/chrome logo (was orange/teal). Var names kept so the whole site cascades. */
  --orange:#ec2d3e; --orange2:#ff5d6b; --teal:#2f74f0; --teal2:#1f57d6;
  --radius:18px; --shadow:0 30px 70px rgba(0,0,0,.5);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font-family:'Inter',system-ui,sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased;position:relative}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:
  radial-gradient(60% 40% at 80% 0%,rgba(236,45,62,.10),transparent 60%),
  radial-gradient(50% 40% at 0% 30%,rgba(47,116,240,.07),transparent 60%)}
h1,h2,h3,h4{font-family:'Space Grotesk',sans-serif;letter-spacing:-.02em;line-height:1.08}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.eyebrow{display:inline-flex;align-items:center;gap:.6rem;text-transform:uppercase;letter-spacing:.22em;font-size:.74rem;font-weight:700;color:var(--orange)}
.eyebrow::before{content:"";width:30px;height:2px;background:linear-gradient(90deg,var(--orange),transparent)}
.grad{background:linear-gradient(120deg,var(--orange),var(--orange2) 50%,var(--teal));-webkit-background-clip:text;background-clip:text;color:transparent}
.muted{color:var(--muted)}
.center{text-align:center;margin-left:auto;margin-right:auto}

.btn{position:relative;overflow:hidden;display:inline-flex;align-items:center;gap:.5rem;border-radius:999px;font-family:'Space Grotesk',sans-serif;font-weight:700;padding:.95em 1.85em;cursor:pointer;border:none;transition:transform .15s ease,box-shadow .2s ease}
.btn:hover{transform:translateY(-3px)}
.btn-primary{background:linear-gradient(135deg,var(--orange),var(--orange2));color:#1a0a02;box-shadow:0 14px 34px rgba(236,45,62,.38)}
.btn-ghost{border:1.5px solid rgba(255,255,255,.22);color:var(--text);background:transparent}
.btn-ghost:hover{border-color:var(--orange);color:var(--orange)}
.btn-block{display:flex;width:100%;justify-content:center}
.btn::after{content:"";position:absolute;top:0;left:-120%;width:60%;height:100%;transform:skewX(-20deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);transition:left .55s}
.btn:hover::after{left:140%}

/* announcement + nav */
.ann{background:linear-gradient(90deg,rgba(236,45,62,.16),rgba(47,116,240,.1));border-bottom:1px solid var(--line);text-align:center;font-size:.85rem;font-weight:600;color:#ffd2d6;padding:.55rem 1rem}
.ann b{color:var(--orange)}
header.nav{position:sticky;top:0;z-index:50;background:rgba(10,12,11,.7);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;height:74px}
.brand{display:flex;align-items:center;gap:.55rem;font-family:'Space Grotesk';font-weight:700;font-size:1.3rem}
.brand b{color:var(--orange)} .logo{width:30px;height:30px}
nav.links{display:flex;gap:2rem;font-weight:600;font-size:.98rem;color:#d6ddda}
nav.links a:hover,nav.links a.active{color:var(--orange)}
.cart{display:inline-flex;align-items:center;gap:.4rem;border:1px solid var(--line);border-radius:999px;padding:.4rem .85rem;font-weight:700}
.cart .pip{background:var(--orange);color:#160a02;border-radius:999px;font-size:.72rem;font-weight:800;padding:0 .45rem}

/* hero */
.hero{position:relative;overflow:hidden;padding:80px 0 56px}
.hero::before{content:"";position:absolute;inset:-25%;z-index:0;background:
  radial-gradient(38% 48% at 16% 26%,rgba(236,45,62,.22),transparent 60%),
  radial-gradient(44% 54% at 88% 20%,rgba(47,116,240,.16),transparent 60%);
  animation:drift 20s ease-in-out infinite alternate;filter:blur(6px)}
@keyframes drift{from{transform:translate3d(-3%,-2%,0) scale(1)}to{transform:translate3d(3%,2%,0) scale(1.08)}}
.hero .wrap{position:relative;z-index:1;display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center}
.hero h1{font-size:clamp(2.5rem,5.2vw,4.4rem);font-weight:700;margin:.5rem 0 .4rem}
.hero p.sub{font-size:clamp(1.08rem,1.6vw,1.3rem);color:var(--muted);max-width:54ch;margin:1rem 0 1.7rem}
.cta-row{display:flex;gap:1rem;flex-wrap:wrap}
.trust{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1.7rem}
.chip{display:inline-flex;align-items:center;gap:.45rem;font-size:.84rem;font-weight:600;color:#c8d2ce;background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:999px;padding:.45rem .85rem}
.chip .c{color:var(--teal)}
.hero-vis{position:relative;display:grid;place-items:center;min-height:380px}
.ring{position:absolute;width:340px;height:340px;border:1px dashed rgba(47,116,240,.35);border-radius:50%;animation:spin 26s linear infinite}
.ring.r2{width:250px;height:250px;border-color:rgba(236,45,62,.35);animation-duration:18s;animation-direction:reverse}
@keyframes spin{to{transform:rotate(360deg)}}
.glow{position:absolute;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(236,45,62,.35),transparent 65%);filter:blur(20px)}
.vial{position:relative;z-index:2;animation:float 6s ease-in-out infinite}
@keyframes float{0%,100%{transform:translateY(-6px)}50%{transform:translateY(6px)}}
.dot{position:absolute;width:8px;height:8px;border-radius:50%;background:var(--teal);box-shadow:0 0 12px var(--teal)}
.dot.o{background:var(--orange);box-shadow:0 0 12px var(--orange)}

/* journals */
.journals{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:rgba(255,255,255,.015);padding:22px 0}
.journals .lab{text-align:center;color:#7f8c87;font-size:.74rem;text-transform:uppercase;letter-spacing:.18em;margin-bottom:12px}
.journals .row{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 34px;align-items:center}
.journals .row span{font-family:'Space Grotesk';font-weight:600;color:#aeb8b3;opacity:.8;font-size:1.02rem}

/* sections + cards */
section{padding:80px 0;position:relative}
.tight{padding:48px 0}
.alt{background:linear-gradient(180deg,var(--bg2),var(--bg))}
.sec-head{max-width:680px;margin-bottom:42px}
.sec-head.center{text-align:center}
.sec-head h2{font-size:clamp(2rem,3.4vw,2.8rem);font-weight:700}
.sec-head p{color:var(--muted);margin-top:.6rem}
.grid{display:grid;gap:20px}
.g2{grid-template-columns:repeat(2,1fr)} .g3{grid-template-columns:repeat(3,1fr)} .g4{grid-template-columns:repeat(4,1fr)}
@media(max-width:980px){.g4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.g3{grid-template-columns:repeat(2,1fr)}nav.links{display:none}.hero .wrap{grid-template-columns:1fr}.hero-vis{order:-1;min-height:300px}}
@media(max-width:560px){.g2,.g3,.g4{grid-template-columns:1fr}}
.card{position:relative;overflow:hidden;background:linear-gradient(180deg,var(--surface),var(--surface2));border:1px solid var(--line);border-radius:var(--radius);padding:26px;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.card:hover{transform:translateY(-6px);border-color:rgba(236,45,62,.55);box-shadow:var(--shadow)}
.card::before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:linear-gradient(90deg,var(--orange),var(--teal));transform:scaleX(0);transform-origin:left;transition:transform .25s}
.card:hover::before{transform:scaleX(1)}
.card .ico{width:54px;height:54px;display:grid;place-items:center;font-size:1.55rem;border-radius:14px;background:linear-gradient(135deg,rgba(236,45,62,.2),rgba(47,116,240,.16));margin-bottom:.7rem}
.card h3{font-size:1.2rem;margin-bottom:.4rem}
.card p{color:var(--muted);font-size:.96rem}
.card .more{display:inline-block;margin-top:.9rem;color:var(--orange);font-weight:700;font-family:'Space Grotesk'}
.badge{display:inline-block;font-family:'Space Grotesk';font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--orange);background:rgba(236,45,62,.12);border:1px solid rgba(236,45,62,.4);border-radius:999px;padding:.25em .7em;margin-bottom:.6rem}
.badge.t{color:var(--teal);background:rgba(47,116,240,.12);border-color:rgba(47,116,240,.4)}

/* stats */
.stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:18px;overflow:hidden;background:linear-gradient(180deg,var(--surface),var(--surface2))}
.stats .s{padding:26px 24px;border-left:1px solid var(--line)}
.stats .s:first-child{border-left:0}
.stats .num{font-family:'Space Grotesk';font-weight:700;font-size:2.1rem;background:linear-gradient(120deg,var(--orange),var(--orange2));-webkit-background-clip:text;background-clip:text;color:transparent}
.stats .lbl{color:var(--muted);font-size:.9rem;margin-top:.2rem}
@media(max-width:760px){.stats{grid-template-columns:repeat(2,1fr)}.stats .s:nth-child(3){border-left:0}}

/* steps */
.steps{position:relative}
.steps .line{position:absolute;top:38px;left:8%;right:8%;height:2px;background:linear-gradient(90deg,var(--orange),var(--teal));opacity:.4}
.step{position:relative;text-align:center;padding:0 10px}
.step .n{width:60px;height:60px;margin:0 auto .9rem;display:grid;place-items:center;border-radius:50%;font-family:'Space Grotesk';font-weight:700;font-size:1.3rem;color:#160a02;background:linear-gradient(135deg,var(--orange),var(--orange2));box-shadow:0 10px 24px rgba(236,45,62,.35);position:relative;z-index:1}
.step h3{font-size:1.15rem;margin-bottom:.3rem}
.step p{color:var(--muted);font-size:.95rem;max-width:34ch;margin:0 auto}
@media(max-width:900px){.steps .line{display:none}}

/* product list (shop) */
.shoplayout{display:grid;grid-template-columns:250px 1fr;gap:32px}
@media(max-width:900px){.shoplayout{grid-template-columns:1fr}}
.filters{background:linear-gradient(180deg,var(--surface),var(--surface2));border:1px solid var(--line);border-radius:16px;padding:22px;height:max-content;position:sticky;top:90px}
/* mobile: single-column shop, filters must NOT stay sticky or product cards scroll over them (placed after the base .filters rule so it wins by source order) */
@media(max-width:900px){.filters{position:static;top:auto}}
.filters h4{font-size:.8rem;text-transform:uppercase;letter-spacing:.12em;color:#8b9893;margin:14px 0 8px}
.filters h4:first-child{margin-top:0}
.filters label{display:flex;align-items:center;gap:.5rem;color:#cdd6d2;font-size:.95rem;padding:.25rem 0;cursor:pointer}
.filters a{display:block;color:#cdd6d2;font-size:.95rem;padding:.22rem 0}
.filters a:hover{color:var(--orange)}
.shoptop{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;flex-wrap:wrap;gap:10px}
.select{background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:10px;padding:.5rem .8rem;font-family:inherit}
.products{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media(max-width:1100px){.products{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.products{grid-template-columns:1fr}}
.pcard{position:relative;overflow:hidden;display:flex;flex-direction:column;background:linear-gradient(180deg,var(--surface),var(--surface2));border:1px solid var(--line);border-radius:16px;transition:transform .2s,border-color .2s,box-shadow .2s}
.pcard:hover{transform:translateY(-5px);border-color:rgba(236,45,62,.5);box-shadow:var(--shadow)}
.pcard .ph{position:relative;height:180px;display:grid;place-items:center;background:radial-gradient(circle at 50% 35%,rgba(236,45,62,.14),transparent 65%);border-bottom:1px solid var(--line)}
.pcard .pb{padding:16px 18px 18px;display:flex;flex-direction:column;gap:.35rem;flex:1}
.pcard h3{font-size:1.05rem}
.pcard .tag{font-size:.78rem;color:var(--muted)}
.pcard .pf{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:.6rem}
.pcard .pr{font-family:'Space Grotesk';font-weight:700;color:#fff;font-size:1.1rem}
.pcard .add{font-family:'Space Grotesk';font-weight:700;font-size:.82rem;color:#160a02;background:linear-gradient(135deg,var(--orange),var(--orange2));border-radius:999px;padding:.45rem .9rem}
.pcard .corner{position:absolute;top:10px;left:10px;z-index:2}

/* breadcrumb */
.crumb{color:var(--muted);font-size:.86rem;padding:18px 0}
.crumb a:hover{color:var(--orange)}

/* product detail */
.pdp{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:start;padding-top:10px}
@media(max-width:860px){.pdp{grid-template-columns:1fr}}
.gallery{background:radial-gradient(circle at 50% 30%,rgba(236,45,62,.16),transparent 60%),linear-gradient(180deg,var(--surface),var(--surface2));border:1px solid var(--line);border-radius:22px;min-height:440px;display:grid;place-items:center;position:relative;overflow:hidden}
.gallery .ring{width:300px;height:300px}
.opts{display:flex;gap:.5rem;flex-wrap:wrap;margin:.6rem 0 1rem}
.opt{border:1.5px solid var(--line);border-radius:12px;padding:.5rem .9rem;font-weight:700;font-family:'Space Grotesk';cursor:pointer;color:#cdd6d2}
.opt.sel{border-color:var(--orange);color:var(--orange);background:rgba(236,45,62,.08)}
.price-lg{font-family:'Space Grotesk';font-weight:700;font-size:2rem;color:#fff}
.qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.qty button{background:var(--surface);color:#fff;border:none;width:40px;height:44px;font-size:1.1rem;cursor:pointer}
.qty span{width:46px;text-align:center}
.tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin:34px 0 0;flex-wrap:wrap}
.tab{padding:.7rem 1.1rem;font-weight:700;font-family:'Space Grotesk';color:var(--muted);border-bottom:2px solid transparent;cursor:pointer}
.tab.sel{color:var(--orange);border-color:var(--orange)}
.tabpanel{padding:22px 0;color:#cdd6d2}
.tabpanel h4{color:#fff;margin:.8rem 0 .3rem}
.reflist{list-style:none;padding:0}
.reflist li{padding:.3rem 0;border-bottom:1px solid var(--line);font-size:.92rem}
.reflist a{color:var(--teal)}

/* article */
.article{max-width:760px;margin:0 auto}
.article h1{font-size:clamp(2rem,4vw,3rem);margin:.4rem 0 .6rem}
.article .meta{color:var(--muted);font-size:.9rem;margin-bottom:24px}
.article p{margin:1rem 0;color:#d4ddd9}
.article h2{font-size:1.6rem;margin:2rem 0 .6rem;color:#fff}
.article h3{font-size:1.2rem;margin:1.4rem 0 .4rem;color:#fff}
.article ul{margin:1rem 0 1rem 1.2rem;color:#d4ddd9}
.callout{background:linear-gradient(135deg,rgba(236,45,62,.1),rgba(47,116,240,.06));border:1px solid var(--line);border-left:3px solid var(--orange);border-radius:12px;padding:18px 20px;margin:1.4rem 0}

/* finder */
.finder-q{max-width:880px;margin:0 auto}
.qcard{background:linear-gradient(180deg,var(--surface),var(--surface2));border:1px solid var(--line);border-radius:20px;padding:34px}
.opt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}
@media(max-width:700px){.opt-grid{grid-template-columns:1fr 1fr}}
.opt-btn{text-align:left;background:var(--surface);border:1.5px solid var(--line);border-radius:14px;padding:18px;cursor:pointer;color:var(--text);transition:.18s}
.opt-btn:hover{border-color:var(--orange);transform:translateY(-3px)}
.opt-btn .e{font-size:1.5rem}
.opt-btn h4{margin:.4rem 0 .2rem}
.opt-btn p{color:var(--muted);font-size:.86rem}
.progress{height:6px;background:var(--line);border-radius:999px;overflow:hidden;margin-bottom:22px}
.progress i{display:block;height:100%;background:linear-gradient(90deg,var(--orange),var(--teal));transition:width .4s}

/* band + guarantee + footer */
.band{position:relative;overflow:hidden;border-radius:24px;padding:56px;background:linear-gradient(120deg,#1c0f06,#311a09,#1c0f06);background-size:300% 300%;animation:pan 12s ease infinite;border:1px solid rgba(236,45,62,.3)}
@keyframes pan{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}
.band h2{font-size:clamp(1.8rem,3vw,2.4rem)} .band p{color:#e9d8c7;margin:.6rem 0 1.4rem;max-width:60ch}
.form{display:flex;gap:.6rem;flex-wrap:wrap;max-width:520px}
.form input{flex:1;min-width:240px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:.9em 1.2em;color:#fff;font-size:1rem}
.code{font-family:'Space Grotesk';font-weight:800;letter-spacing:.06em;color:var(--orange)}
.guar{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.guar .g{display:flex;gap:.9rem;align-items:flex-start;background:linear-gradient(180deg,var(--surface),var(--surface2));border:1px solid var(--line);border-radius:16px;padding:22px}
.guar .gi{font-size:1.5rem} .guar h4{font-size:1.05rem;margin-bottom:.2rem} .guar p{color:var(--muted);font-size:.9rem}
@media(max-width:760px){.guar{grid-template-columns:1fr}}
footer{border-top:1px solid var(--line);background:#080a09;padding:64px 0 30px;color:#c2ccc8;margin-top:40px}
.fgrid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:32px}
@media(max-width:900px){.fgrid{grid-template-columns:1fr 1fr}}
footer h4{font-family:'Space Grotesk';font-size:.8rem;text-transform:uppercase;letter-spacing:.14em;color:#8b9893;margin-bottom:1rem}
footer a{display:block;color:#c2ccc8;padding:.28rem 0;font-size:.95rem} footer a:hover{color:var(--orange)}
.fbar{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;color:#7d8a85;font-size:.82rem;margin-top:30px;border-top:1px solid var(--line);padding-top:20px}
.pay{display:flex;gap:.5rem;align-items:center;color:#8b9893;font-weight:600;font-size:.82rem}
.pay .p{border:1px solid var(--line);border-radius:6px;padding:.15rem .5rem}

.mbar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:none;gap:8px;padding:10px 12px;background:rgba(10,12,11,.96);border-top:1px solid var(--line);backdrop-filter:blur(10px);transition:transform .24s ease,opacity .24s ease}
.mbar.hero-hidden{transform:translateY(120%);opacity:0;pointer-events:none}
.mbar a{flex:1;text-align:center;border-radius:999px;padding:.8em;font-weight:800;font-family:'Space Grotesk'}
.mbar .s1{background:linear-gradient(135deg,var(--orange),var(--orange2));color:#160a02} .mbar .s2{border:1.5px solid rgba(255,255,255,.25)}
@media(max-width:720px){.mbar{display:flex}body{padding-bottom:74px}}

/* sticky mobile add-to-cart (PDP): sits above the iOS/Android gesture bar */
.stickyatc{position:fixed;left:0;right:0;bottom:12px;z-index:65;display:none;align-items:center;gap:12px;margin:0 12px;padding:10px 14px;border-radius:16px;background:rgba(14,18,17,.97);border:1px solid var(--line);box-shadow:0 16px 40px rgba(0,0,0,.55);backdrop-filter:blur(12px);transform:translateY(140%);transition:transform .3s ease}
.stickyatc.show{transform:none}
.stickyatc .sai{display:flex;flex-direction:column;line-height:1.1}
.stickyatc .san{font-family:'Space Grotesk';font-weight:700;font-size:.92rem;color:#fff}
.stickyatc .sap{font-family:'Space Grotesk';font-weight:700;color:var(--orange);font-size:1.05rem}
.stickyatc .btn{margin-left:auto;padding:.7em 1.3em}
@media(max-width:720px){.stickyatc{display:flex}}

.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:none}
.fine{color:#7d8a85;font-size:.82rem;font-style:italic}

/* ---- long-form content components ---- */
.prose{max-width:780px}
.prose.center{margin:0 auto}
.prose p{color:#cdd6d2;margin:1rem 0;font-size:1.02rem}
.prose h2{font-size:1.7rem;margin:1.8rem 0 .5rem;color:#fff}
.prose h3{font-size:1.2rem;margin:1.3rem 0 .35rem;color:#fff}
.prose ul{margin:1rem 0 1rem 1.2rem;color:#cdd6d2}
.prose li{margin:.35rem 0}
.lead{font-size:1.15rem;color:#d4ddd9}
.twocol{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
@media(max-width:820px){.twocol{grid-template-columns:1fr}}
.infogrid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:1rem 0}
@media(max-width:560px){.infogrid{grid-template-columns:1fr}}
.infogrid .i{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px}
.infogrid .i b{color:#fff;font-family:'Space Grotesk'}
.infogrid .i span{display:block;color:var(--muted);font-size:.9rem;margin-top:.2rem}
.quote{font-family:'Space Grotesk';font-size:1.3rem;line-height:1.4;color:#fff;border-left:3px solid var(--orange);padding:.4rem 0 .4rem 1.2rem;margin:1.4rem 0}

/* ---- FAQ accordion ---- */
.faq{max-width:840px;margin:0 auto}
.faq-item{border:1px solid var(--line);border-radius:14px;margin-bottom:12px;background:linear-gradient(180deg,var(--surface),var(--surface2));overflow:hidden}
.faq-q{padding:18px 22px;font-family:'Space Grotesk';font-weight:700;cursor:pointer;display:flex;justify-content:space-between;gap:1rem;align-items:center}
.faq-q::after{content:"+";color:var(--orange);font-size:1.3rem;transition:transform .25s}
.faq-item.open .faq-q::after{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease}
.faq-item.open .faq-a{max-height:520px}
.faq-a div{padding:0 22px 20px;color:#cdd6d2}

/* table of contents */
.toc{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px 22px;margin:0 0 26px}
.toc h4{font-size:.78rem;text-transform:uppercase;letter-spacing:.14em;color:#8b9893;margin-bottom:.6rem}
.toc a{display:block;color:#cdd6d2;padding:.22rem 0;font-size:.95rem}
.toc a:hover{color:var(--orange)}

/* ---- free-shipping progress bar (announcement / cart) ---- */
.shipbar{background:rgba(255,255,255,.03);border-bottom:1px solid var(--line);padding:.5rem 1rem}
.shipbar .wrap{display:flex;align-items:center;gap:.9rem;justify-content:center;flex-wrap:wrap;max-width:760px}
.shipbar .txt{font-size:.82rem;font-weight:600;color:#c8d2ce;white-space:nowrap}
.shipbar .txt b{color:var(--orange)}
.shipbar .track{flex:1;min-width:160px;height:7px;background:var(--line);border-radius:999px;overflow:hidden}
.shipbar .track i{display:block;height:100%;background:linear-gradient(90deg,var(--orange),var(--teal));border-radius:999px;transition:width .5s ease}

/* ---- trust bar (PDP + home) ---- */
.trustbar{border:1px solid var(--line);border-radius:16px;background:linear-gradient(180deg,var(--surface),var(--surface2));display:grid;grid-template-columns:repeat(4,1fr)}
.trustbar .tb{display:flex;align-items:flex-start;gap:.7rem;padding:18px 20px;border-left:1px solid var(--line)}
.trustbar .tb:first-child{border-left:0}
.trustbar .tbi{font-size:1.3rem;line-height:1}
.trustbar .tb b{display:block;font-family:'Space Grotesk';font-size:.95rem;color:#fff}
.trustbar .tb span{display:block;color:var(--muted);font-size:.82rem;margin-top:.15rem}
@media(max-width:860px){.trustbar{grid-template-columns:1fr 1fr}.trustbar .tb:nth-child(3){border-left:0}}
@media(max-width:480px){.trustbar{grid-template-columns:1fr}.trustbar .tb{border-left:0;border-top:1px solid var(--line)}.trustbar .tb:first-child{border-top:0}}

/* ---- "how we handle quality" block ---- */
.quality{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
@media(max-width:680px){.quality{grid-template-columns:1fr}}
.quality .qi{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:20px 22px}
.quality .qi .qh{display:flex;align-items:center;gap:.6rem;margin-bottom:.4rem}
.quality .qi .qh .e{font-size:1.3rem}
.quality .qi h4{font-family:'Space Grotesk';font-size:1.05rem;color:#fff}
.quality .qi p{color:var(--muted);font-size:.92rem}

/* ---- verified-buyer reviews (handling only) ---- */
.reviews{display:grid;gap:14px}
.review{background:linear-gradient(180deg,var(--surface),var(--surface2));border:1px solid var(--line);border-radius:14px;padding:18px 20px}
.review .rtop{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:.4rem}
.review .who{display:flex;align-items:center;gap:.55rem;font-family:'Space Grotesk';font-weight:700;font-size:.95rem;color:#fff}
.review .vr{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--teal);background:rgba(47,116,240,.12);border:1px solid rgba(47,116,240,.4);border-radius:999px;padding:.18em .6em}
.review .stars{color:var(--orange);font-size:.9rem;letter-spacing:.08em}
.review p{color:#cdd6d2;font-size:.93rem}
.review .topic{font-size:.74rem;text-transform:uppercase;letter-spacing:.1em;color:#8b9893;margin-top:.5rem}
.review-note{color:#7d8a85;font-size:.82rem;font-style:italic;margin-top:.4rem}

/* ---- email-capture modal ---- */
.modal-bg{position:fixed;inset:0;z-index:200;background:rgba(4,6,5,.74);backdrop-filter:blur(6px);display:none;place-items:center;padding:20px}
.modal-bg.open{display:grid}
.modal{position:relative;max-width:460px;width:100%;background:linear-gradient(160deg,#16100a,#11201b);border:1px solid rgba(236,45,62,.35);border-radius:22px;padding:38px 34px;box-shadow:var(--shadow);animation:modalin .35s ease}
@keyframes modalin{from{opacity:0;transform:translateY(20px) scale(.97)}to{opacity:1;transform:none}}
.modal .x{position:absolute;top:14px;right:16px;width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:rgba(255,255,255,.04);color:#cdd6d2;font-size:1.1rem;cursor:pointer;display:grid;place-items:center}
.modal .x:hover{border-color:var(--orange);color:var(--orange)}
.modal h3{font-size:1.5rem;margin:.3rem 0 .5rem}
.modal p{color:var(--muted);font-size:.95rem;margin-bottom:1.1rem}
.modal .form{flex-direction:column;max-width:none}
.modal .form input{min-width:0;width:100%}
.modal .micro{color:#7d8a85;font-size:.78rem;margin-top:.8rem;margin-bottom:0}

/* Real BioRegen logo (added 2026-06-16) */
.brand{display:inline-flex;align-items:center;gap:.5rem}
.nav .brand,footer .brand{line-height:0;overflow:visible}
.nav .brand{width:190px;height:58px;flex:0 0 auto;justify-content:center}
.nav .brandimg{width:184px;height:54px;max-width:none;object-fit:contain;object-position:center center;display:block;filter:drop-shadow(0 4px 12px rgba(0,0,0,.36))}
footer .brand{width:220px;height:70px;justify-content:flex-start;margin-left:-8px}
footer .brandimg{width:210px;height:64px;max-width:none;object-fit:contain;object-position:center center;display:block;filter:drop-shadow(0 8px 18px rgba(0,0,0,.45))}
footer .fgrid>div:first-child p{margin-top:.35rem!important}
.hero-logo{height:64px;width:auto;display:block;margin:0 0 1.1rem;filter:drop-shadow(0 6px 20px rgba(0,0,0,.45))}
@media(max-width:900px){.nav .brand{width:174px;height:58px}.nav .brandimg{width:168px;height:52px}}
@media(max-width:600px){.nav .brand{width:164px;height:58px;margin-left:-4px}.nav .brandimg{width:158px;height:50px}.hero-logo{height:48px}footer .fgrid>div:first-child{grid-column:1/-1;text-align:center}footer .brand{width:204px;height:64px;margin:0 auto}footer .brandimg{width:196px;height:60px}footer .fgrid>div:first-child p{margin-left:auto;margin-right:auto}}

/* Animated powder-burst hero (added 2026-06-16) */
.hero-fx{position:relative;min-height:calc(100svh - 74px);display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;padding:54px 20px;background:radial-gradient(120% 90% at 50% 35%,rgba(236,45,62,.07),transparent 60%),radial-gradient(70% 60% at 16% 18%,rgba(47,116,240,.06),transparent 62%)}
.herofx{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}
.hero-inner{position:relative;z-index:2;max-width:860px;margin:0 auto;display:flex;flex-direction:column;align-items:center}
.hero-bigmark{width:auto;max-width:min(540px,78vw);max-height:min(260px,30vh);height:auto;object-fit:contain;display:block;margin:0 auto 1.05rem;opacity:0;clip-path:inset(0 100% 0 0);-webkit-clip-path:inset(0 100% 0 0);filter:drop-shadow(0 12px 46px rgba(236,45,62,.28))}
.hero-bigmark.settled{transition:filter .6s ease;animation:heroGlow 5s ease-in-out infinite}
@keyframes heroGlow{0%,100%{filter:drop-shadow(0 12px 40px rgba(236,45,62,.22))}50%{filter:drop-shadow(0 12px 56px rgba(47,116,240,.26))}}
.hero-fx .eyebrow,.hero-fx h1,.hero-fx .sub,.hero-fx .cta-row,.hero-fx .trust{opacity:0;animation:heroRise .7s cubic-bezier(.2,.7,.2,1) forwards}
.hero-fx .eyebrow{animation-delay:1.15s}
.hero-fx h1{animation-delay:1.30s;margin-top:.5rem}
.hero-fx .sub{animation-delay:1.45s}
.hero-fx .cta-row{animation-delay:1.60s;justify-content:center}
.hero-fx .trust{animation-delay:1.75s;justify-content:center}
@keyframes heroRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.hero-replay{position:absolute;right:14px;bottom:14px;z-index:3;width:38px;height:38px;border-radius:50%;border:1px solid var(--line2);background:rgba(20,25,27,.6);backdrop-filter:blur(6px);color:var(--muted);font-size:17px;cursor:pointer;transition:.2s;line-height:1}
.hero-replay:hover{color:var(--text);border-color:var(--orange);transform:rotate(-90deg)}
@media(prefers-reduced-motion:reduce){.hero-fx .eyebrow,.hero-fx h1,.hero-fx .sub,.hero-fx .cta-row,.hero-fx .trust{opacity:1;animation:none}.hero-bigmark{opacity:1;clip-path:none;-webkit-clip-path:none}}
@media(max-width:600px){.hero-fx{min-height:calc(100svh - 62px);padding-top:28px;padding-bottom:28px}.hero-bigmark{max-width:min(330px,86vw);max-height:190px;margin-bottom:.75rem}.hero-fx h1{font-size:clamp(2.05rem,9.5vw,2.85rem)!important;line-height:1.04}.hero-fx .sub{font-size:1rem;line-height:1.45;margin:.65rem auto 1rem}}

/* Research 101 agonist visual (added 2026-06-16) */
.agonist{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:30px 0 16px}
.agonist .ag{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:22px 18px;text-align:center;transition:.25s}
.agonist .ag:hover{transform:translateY(-3px)}
.agonist .ag.feat{border-color:rgba(236,45,62,.55);box-shadow:0 0 0 1px rgba(236,45,62,.22),0 22px 54px rgba(236,45,62,.12)}
.agname{font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:1.06rem;margin-bottom:13px}
.agdots{display:flex;gap:9px;justify-content:center;margin-bottom:13px}
.agdots i{width:15px;height:15px;border-radius:50%;background:var(--line2);display:inline-block}
.agdots i.on{background:linear-gradient(135deg,var(--orange),var(--orange2));box-shadow:0 0 13px rgba(236,45,62,.55)}
.aglbl{color:var(--muted);font-size:.82rem;line-height:1.45}
.ag-note{max-width:60ch;margin:0 auto;color:var(--muted);font-size:.95rem}
@media(max-width:680px){.agonist{grid-template-columns:1fr}}

/* ===== mobile menu (hamburger + dropdown) ===== */
.navtoggle{display:none;width:42px;height:42px;border:1px solid var(--line);border-radius:11px;background:var(--surface);cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0;margin-left:8px}
.navtoggle span{display:block;width:20px;height:2px;background:var(--text);border-radius:2px;transition:.25s}
.navtoggle.x span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.navtoggle.x span:nth-child(2){opacity:0}
.navtoggle.x span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobilemenu{display:none;flex-direction:column;padding:8px 22px 20px;background:var(--bg2);border-bottom:1px solid var(--line)}
.mobilemenu.open{display:flex}
.mobilemenu a{font-weight:600;font-size:17px;color:#d6ddda;padding:14px 4px;border-bottom:1px solid var(--line)}
.mobilemenu a:last-child{border:none}
.mobilemenu a:hover{color:var(--orange)}
@media(max-width:900px){.navtoggle{display:flex}}
@media(min-width:901px){.mobilemenu{display:none !important}}

/* ===== Research Library (blog index + migrated articles) ===== */
.bloghead{padding:42px 0 8px}
.bloghead .eyebrow{color:var(--orange)}
.bloghead h1{font-size:clamp(2rem,5vw,3rem);margin:.2em 0 .3em}
.bloghead .sub{color:var(--muted);max-width:62ch;font-size:1.02rem}
.blogsearch{width:100%;max-width:560px;margin:22px 0 6px;padding:13px 16px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--text);font-size:15px}
.blogsearch:focus{outline:none;border-color:var(--orange)}
.catchips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 4px}
.catchip{font-family:'Space Grotesk';font-weight:600;font-size:13px;padding:7px 13px;border-radius:999px;border:1px solid var(--line);background:var(--bg2);color:var(--muted);cursor:pointer;transition:.18s}
.catchip:hover{color:var(--text);border-color:var(--cc,var(--orange))}
.catchip.active{background:var(--cc,var(--orange));color:#0a0c0b;border-color:transparent}
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:26px 0 10px}
.postcard{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--bg2);text-decoration:none;transition:.2s;min-height:0}
.postcard:hover{transform:translateY(-3px);border-color:#3a4644;box-shadow:0 14px 40px rgba(0,0,0,.35)}
.pc-img{height:158px;background-size:cover;background-position:center;flex:0 0 auto}
.pc-ph{background:radial-gradient(120% 120% at 20% 10%,var(--cc) 0%,transparent 55%),linear-gradient(160deg,#1a2120,#0e1211)}
.pc-body{padding:16px 17px 18px;display:flex;flex-direction:column;gap:8px}
.pc-cat{font-family:'Space Grotesk';font-weight:700;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.postcard h3{font-size:1.07rem;line-height:1.3;color:var(--text);margin:0}
.pc-body p{color:var(--muted);font-size:.9rem;line-height:1.5;margin:0;flex:1}
.pc-meta{color:#6f7b77;font-size:.8rem;font-family:'Space Grotesk'}
.noresults{color:var(--muted);text-align:center;padding:40px 0}
/* migrated article body */
.articlehero{width:100%;border-radius:16px;margin:6px 0 18px;border:1px solid var(--line)}
.article img{max-width:100%;height:auto;border-radius:12px}
.article .ruoflag{background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--orange);border-radius:10px;padding:13px 16px;font-size:.9rem;color:#cdd6d2}
.article h2{margin-top:1.6em} .article h3{margin-top:1.3em}
.article ul,.article ol{padding-left:1.3em;color:#cdd6d2} .article li{margin:.35em 0}
.article table{width:100%;border-collapse:collapse;margin:1.2rem 0;font-size:.92rem;display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
.article th,.article td{border:1px solid var(--line);padding:.6rem .7rem;text-align:left}
.article th{background:var(--surface);font-family:'Space Grotesk';color:#fff} .article td{color:#cdd6d2}
@media(max-width:640px){.article th,.article td{padding:.5rem .55rem;font-size:.86rem;white-space:nowrap}}
@media(max-width:900px){.blog-grid{grid-template-columns:repeat(2,1fr);gap:15px}}
@media(max-width:600px){.blog-grid{grid-template-columns:1fr}}

/* ===== migrated catalog: real product images + working shop ===== */
.ph img{max-height:160px;width:auto;max-width:90%;object-fit:contain;display:block;margin:0 auto;filter:drop-shadow(0 10px 24px rgba(0,0,0,.45))}
.phvial,.ph .pvial{height:150px;width:auto}
.pvial{height:150px}
.pdpimg{max-width:300px;max-height:340px;width:auto;object-fit:contain;position:relative;z-index:2;filter:drop-shadow(0 18px 40px rgba(0,0,0,.5))}
.gallery .pvial{width:170px;height:290px;position:relative;z-index:2}
.pr-old{color:#6f7b77;text-decoration:line-through;font-size:.85em;margin-left:7px;font-weight:500}
.price-old{color:#6f7b77;text-decoration:line-through;font-size:1.1rem;font-weight:600}
/* shop filters/sort/search */
.catflist{display:flex;flex-direction:column;gap:2px}
.catf{display:block;padding:7px 10px;border-radius:9px;color:var(--muted);font-size:.92rem;text-decoration:none;border-left:2px solid transparent;cursor:pointer}
.catf:hover{color:var(--text);background:var(--bg2)}
.catf.active{color:var(--text);background:var(--surface);border-left-color:var(--cc,var(--orange));font-weight:600}
.shopsearch{flex:1;min-width:0;padding:11px 14px;border-radius:11px;border:1px solid var(--line);background:var(--surface);color:var(--text);font-size:14px}
.shopsearch:focus{outline:none;border-color:var(--orange)}
.shoptop{display:flex;gap:12px;align-items:center;margin-bottom:8px}
.shopcount{font-size:.88rem;margin-bottom:16px}
.noresults{color:var(--muted);text-align:center;padding:40px 0}

/* ===== full-viewport heroes (fill the screen on landing) ===== */
.hero-fx,.hero,.bloghead,.pagehero{min-height:calc(100svh - 74px) !important}
.hero{display:flex;flex-direction:column;justify-content:center}
.bloghead{display:flex;flex-direction:column;justify-content:center}
.pagehero{display:flex;flex-direction:column;justify-content:center;text-align:center;padding:clamp(52px,7vh,78px) 0 clamp(52px,7vh,78px);position:relative}
.pagehero .scrollcue{display:none!important}
@media(max-width:600px){
  .hero-fx,.hero,.bloghead,.pagehero{min-height:calc(100svh - 62px) !important;padding-top:38px;padding-bottom:38px}
}

/* ============ HERO STAGE: ambient animation + authority + action driver ============ */
/* uniform hero headline */
.hero h1,.hero-fx h1,.pagehero h1,.bloghead h1{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:clamp(2.5rem,5.4vw,4.4rem)!important;line-height:1.02;letter-spacing:-.015em;margin:.3rem 0 .4rem}
/* content sits above the animation */
.hero .wrap,.hero-fx .wrap,.pagehero .wrap,.bloghead>*{position:relative;z-index:3}
.hero,.hero-fx,.pagehero,.bloghead{position:relative;overflow:hidden}
/* aurora: slow drifting gradient blobs */
.hero-aurora{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.hero-aurora i{position:absolute;border-radius:50%;filter:blur(64px);opacity:.5;animation:auroraFloat 22s ease-in-out infinite}
.hero-aurora i:nth-child(1){width:44vw;height:44vw;left:-6vw;top:-12vw;background:radial-gradient(circle,rgba(236,45,62,.42),transparent 70%)}
.hero-aurora i:nth-child(2){width:38vw;height:38vw;right:-8vw;bottom:-10vw;background:radial-gradient(circle,rgba(47,116,240,.30),transparent 70%);animation-delay:-7s;animation-duration:28s}
.hero-aurora i:nth-child(3){width:28vw;height:28vw;left:42%;top:34%;background:radial-gradient(circle,rgba(47,116,240,.20),transparent 70%);animation-delay:-14s;animation-duration:34s}
@keyframes auroraFloat{0%,100%{transform:translate(0,0) scale(1)}33%{transform:translate(7%,-6%) scale(1.12)}66%{transform:translate(-6%,6%) scale(.93)}}
/* drifting particles */
.hero-particles{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.hero-particles span{position:absolute;bottom:-8px;width:4px;height:4px;border-radius:50%;background:var(--orange);opacity:.5;box-shadow:0 0 8px var(--orange);animation:partRise linear infinite}
@keyframes partRise{0%{transform:translateY(0);opacity:0}12%{opacity:.6}100%{transform:translateY(-86vh);opacity:0}}
@media(prefers-reduced-motion:reduce){.hero-aurora i,.hero-particles span{animation:none}}
/* authority stat strip */
.hero-stats{display:flex;gap:30px;justify-content:center;flex-wrap:wrap;margin-top:32px}
.hero-stat{text-align:center;min-width:88px}
.hero-stat b{display:block;font-family:'Space Grotesk';font-weight:700;font-size:1.55rem;color:#fff;line-height:1}
.hero-stat b .grad{background:linear-gradient(90deg,var(--orange),var(--teal));-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-stat span{font-size:.72rem;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);margin-top:5px;display:block}
/* in-flow action driver */
.hero-cue{display:none!important}
.hero-driver{--hd-a:var(--orange);--hd-b:var(--teal);position:relative;z-index:4;display:grid;grid-template-columns:42px minmax(0,1fr) 34px;align-items:center;gap:13px;width:min(430px,100%);margin:24px auto 0;padding:11px 12px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:linear-gradient(135deg,rgba(236,45,62,.10),rgba(47,116,240,.07));box-shadow:0 18px 45px rgba(0,0,0,.24),inset 0 0 0 1px rgba(255,255,255,.025);color:var(--text);text-decoration:none;overflow:hidden;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.hero-driver:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.10),transparent);transform:translateX(-120%);animation:driverSweep 4.8s ease-in-out infinite;pointer-events:none}
.hero-driver:hover,.hero-driver:focus-visible{transform:translateY(-2px);border-color:rgba(236,45,62,.42);background:linear-gradient(135deg,rgba(236,45,62,.16),rgba(47,116,240,.10));outline:none}
.hero-driver-orbit{position:relative;width:42px;height:42px;border-radius:50%;background:radial-gradient(circle,rgba(236,45,62,.22),rgba(47,116,240,.08) 54%,transparent 70%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.13),0 0 24px rgba(236,45,62,.22)}
.hero-driver-orbit i{position:absolute;border-radius:50%;background:var(--hd-a);box-shadow:0 0 14px var(--hd-a);animation:driverOrbit 3.4s linear infinite}
.hero-driver-orbit i:nth-child(1){width:7px;height:7px;left:18px;top:2px}
.hero-driver-orbit i:nth-child(2){width:5px;height:5px;right:5px;top:22px;background:var(--hd-b);box-shadow:0 0 14px var(--hd-b);animation-delay:-1.1s}
.hero-driver-orbit i:nth-child(3){width:4px;height:4px;left:9px;bottom:7px;animation-delay:-2.2s}
.hero-driver-copy{min-width:0;text-align:left}
.hero-driver-copy b{display:block;font-family:'Space Grotesk';font-size:.86rem;line-height:1.1;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-driver-copy small{display:block;margin-top:3px;color:var(--muted);font-size:.72rem;line-height:1.1}
.hero-driver-arr{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--hd-a),#ff5b6c);color:#170708;font-family:'Space Grotesk';font-weight:800;line-height:1;transition:transform .18s ease}
.hero-driver:hover .hero-driver-arr,.hero-driver:focus-visible .hero-driver-arr{transform:translateX(3px)}
@keyframes driverSweep{0%,56%{transform:translateX(-120%)}78%,100%{transform:translateX(120%)}}
@keyframes driverOrbit{to{transform:rotate(360deg);transform-origin:3px 20px}}
@media(max-width:600px){
  .hero-fx .cta-row{flex-wrap:nowrap;gap:.55rem;width:100%;justify-content:center}
  .hero-fx .cta-row .btn{padding:.82em 1.18em;font-size:.9rem;white-space:nowrap}
  .hero-stats{gap:20px;margin-top:24px}
  .hero-stat b{font-size:1.3rem}
  .hero-driver{display:none!important}
}
@media(max-height:820px) and (min-width:760px){
  .hero-fx{padding-top:30px!important;padding-bottom:30px!important}
  .hero-bigmark{max-width:min(400px,58vw);max-height:20vh;margin-bottom:.65rem}
  .hero-fx h1{font-size:clamp(2.1rem,3.9vw,3.25rem)!important;margin:.18rem 0 .22rem}
  .hero-fx .sub{font-size:.98rem;line-height:1.46;margin:.45rem auto .78rem}
  .hero-fx .cta-row{gap:.75rem}
  .hero-driver{margin-top:10px;padding:7px 9px;grid-template-columns:30px minmax(0,1fr) 28px}
  .hero-driver-orbit{width:30px;height:30px}
  .hero-driver-copy small{display:none}
  .hero-driver-arr{width:28px;height:28px}
  .hero-stats{margin-top:20px}
}
@media(prefers-reduced-motion:reduce){.hero-driver:before,.hero-driver-orbit i{animation:none}.hero-driver,.hero-driver-arr{transition:none}}

/* ============ MOBILE HARDENING (global safety net) ============ */
/* never let the page itself scroll sideways; individual wide elements (tables, code) opt into their own overflow-x:auto.
   overflow-x:clip (not :hidden) avoids creating a scroll container, so position:sticky nav + summary keep working. */
html{max-width:100%;overflow-x:clip}
body{max-width:100%;overflow-x:clip}
img,svg,video,canvas{max-width:100%;height:auto}
/* CSS-grid children default to min-width:auto and can force tracks wider than the screen. Pin the shared grids to min-width:0 so their content wraps instead of overflowing. */
.grid>*,.products>*,.guar>*,.quality>*,.infogrid>*,.twocol>*,.stats>*,.trustbar>*,.steps>*,.fgrid>*,.blog-grid>*,.agonist>*{min-width:0}
.shoplayout,.pdp,.twocol,.fgrid{min-width:0}
.shoplayout>*,.pdp>*{min-width:0}
/* long unbreakable strings (DOIs, emails, codes) must wrap rather than push the layout */
.prose p,.article p,.card p,.review p,.faq-a div,.toc a,footer a{overflow-wrap:break-word}
@media(max-width:600px){
  /* clamp any stray oversized headings so they can't overflow narrow screens */
  h1{font-size:clamp(1.8rem,7.5vw,2.6rem)}
  .sec-head h2,.prose h2,.article h2{font-size:clamp(1.5rem,6vw,2rem)}
  /* roomier tap targets for the most-used links */
  footer a{padding:.5rem 0}
  .mobilemenu a{padding:15px 4px}
  nav.links a{padding:.4rem 0}
  /* keep CTA rows from overflowing when buttons are wide */
  .cta-row .btn{max-width:100%}
}
