/* =========================================================
   RetaQR — Relaunch home page  ·  dark · glass · prismatic
   Scoped under .rx (content) and html.rx-dark (shared chrome)
   ========================================================= */

.rx{
    --bg:#05060b;
    --ink:#eef1f8;
    --muted:#9aa6bf;
    --faint:#6b7590;
    --glass:rgba(255,255,255,.045);
    --glass-2:rgba(255,255,255,.08);
    --stroke:rgba(255,255,255,.12);
    --stroke-2:rgba(255,255,255,.22);
    --cyan:#22d3ee;--blue:#3b82f6;--violet:#8b5cf6;--pink:#ec4899;
    --prism:linear-gradient(120deg,#22d3ee,#3b82f6,#8b5cf6,#ec4899);
    --prism-soft:linear-gradient(120deg,rgba(34,211,238,.9),rgba(139,92,246,.9) 55%,rgba(236,72,153,.9));
    --r:24px;
    --ease:cubic-bezier(.2,.7,.2,1);
    position:relative;
    color:var(--ink);
    overflow-x:clip;
}

/* base typography overrides (beat the global light-theme rules) */
.rx h1,.rx h2,.rx h3,.rx h4,.rx h5,.rx h6{color:var(--ink);padding-bottom:0;line-height:1.15;font-weight:700;}
.rx p{color:var(--muted);font-size:1.075rem;line-height:1.7;}
.rx a{text-decoration:none;}
.rx .container{position:relative;z-index:1;}
.rx ::selection{background:rgba(139,92,246,.45);color:#fff;}

/* ---------- shared bits ---------- */
.holo{
    background:linear-gradient(100deg,#22d3ee,#a78bfa,#ec4899,#22d3ee);
    background-size:200% auto;-webkit-background-clip:text;background-clip:text;
    color:transparent;animation:holo 7s linear infinite;
}
@keyframes holo{to{background-position:200% center;}}

.glass{
    background:var(--glass);
    border:1px solid var(--stroke);
    border-radius:var(--r);
    -webkit-backdrop-filter:blur(20px) saturate(150%);
    backdrop-filter:blur(20px) saturate(150%);
    box-shadow:0 40px 90px -50px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.07);
}
/* prismatic gradient border that lights up on hover */
.prism-border{position:relative;}
.prism-border::after{
    content:"";position:absolute;inset:0;border-radius:inherit;padding:1.4px;z-index:2;
    background:var(--prism);
    -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    -webkit-mask-composite:xor;mask-composite:exclude;
    opacity:0;transition:opacity .45s var(--ease);pointer-events:none;
}
.prism-border:hover::after{opacity:1;}

.rx-eyebrow{
    display:inline-block;font-size:.8rem;font-weight:700;letter-spacing:.22em;text-transform:uppercase;
    background:var(--prism);-webkit-background-clip:text;background-clip:text;color:transparent;
    margin-bottom:.9rem;
}
.rx-h2{font-size:clamp(2rem,3.6vw,3rem);letter-spacing:-1px;}
.rx-head{margin-bottom:2.6rem;}
.rx-section{padding:clamp(3.5rem,7vw,6.5rem) 0;position:relative;}

/* buttons */
.rx-btn{
    display:inline-flex;align-items:center;gap:.6rem;font-weight:700;letter-spacing:.3px;
    padding:14px 26px;border-radius:14px;transition:all .35s var(--ease);cursor:pointer;border:0;
    position:relative;overflow:hidden;
}
.rx-btn-primary{
    color:#04121a;
    background:linear-gradient(120deg,#5ee7ff,#22d3ee 40%,#7c9bff);
    box-shadow:0 18px 40px -16px rgba(34,211,238,.8), inset 0 1px 0 rgba(255,255,255,.5);
}
.rx-btn-primary:hover{transform:translateY(-2px);box-shadow:0 26px 50px -18px rgba(34,211,238,.95);color:#04121a;}
.rx-btn-primary svg{transition:transform .35s var(--ease);}
.rx-btn-primary:hover svg{transform:translateX(4px);}
.rx-btn-ghost{
    color:var(--ink);background:var(--glass-2);border:1px solid var(--stroke-2);
    -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
.rx-btn-ghost:hover{color:#fff;background:rgba(255,255,255,.16);transform:translateY(-2px);}
.rx-btn-light{color:#0a0f1f;background:#fff;box-shadow:0 18px 40px -16px rgba(255,255,255,.4);}
.rx-btn-light:hover{transform:translateY(-2px);color:#0a0f1f;background:#eef2ff;}
.rx-btn::before{
    content:"";position:absolute;top:0;left:-130%;width:55%;height:100%;
    background:linear-gradient(120deg,transparent,rgba(255,255,255,.45),transparent);
    transform:skewX(-20deg);transition:left .6s var(--ease);
}
.rx-btn:hover::before{left:150%;}

/* ---------- ambient prismatic background ---------- */
.rx-bg{position:fixed;inset:0;z-index:-1;overflow:hidden;
    background:radial-gradient(130% 100% at 50% -20%, #0b1734 0%, #070912 52%, #05060b 100%);}
.rx-aurora{position:absolute;border-radius:50%;filter:blur(95px);opacity:.45;mix-blend-mode:screen;}
.rx-aurora.a1{width:48vw;height:48vw;left:-12vw;top:-14vw;background:radial-gradient(circle,#1f7bff,transparent 60%);animation:floatA 26s var(--ease) infinite;}
.rx-aurora.a2{width:40vw;height:40vw;right:-10vw;top:6vw;background:radial-gradient(circle,#8b5cf6,transparent 60%);animation:floatB 30s var(--ease) infinite;}
.rx-aurora.a3{width:42vw;height:42vw;left:30vw;top:80vh;background:radial-gradient(circle,#22d3ee,transparent 62%);opacity:.3;animation:floatA 34s var(--ease) infinite reverse;}
.rx-grid{position:absolute;inset:0;opacity:.5;
    background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
    background-size:56px 56px;
    -webkit-mask:radial-gradient(120% 75% at 50% 0,#000,transparent 72%);mask:radial-gradient(120% 75% at 50% 0,#000,transparent 72%);}
.rx-noise{position:absolute;inset:0;opacity:.04;pointer-events:none;
    background-image:url(%22data%3Aimage/svg%20xml,%3Csvg%20xmlns%3D'http%3A/www.w3.org/2000/svg'%20width%3D'160'%20height%3D'160'%3E%3Cfilter%20id%3D'n'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'0.85'%20numOctaves%3D'2'/%3E%3C/filter%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20filter%3D'url(%23n)'/%3E%3C/svg%3E");}
@keyframes floatA{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(5vw,4vw) scale(1.1);}}
@keyframes floatB{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(-4vw,3vw) scale(1.14);}}

/* ---------- HERO ---------- */
.rx-hero{padding:clamp(3rem,8vh,7rem) 0 0;}
.rx-hero-inner{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,5vw,4rem);align-items:center;}
.rx-pill{
    display:inline-flex;align-items:center;gap:.6rem;padding:.5rem 1rem;border-radius:999px;
    background:var(--glass-2);border:1px solid var(--stroke);font-weight:600;font-size:.92rem;color:#cdd6ea;
    -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
.rx-pill .dot{width:.6rem;height:.6rem;border-radius:50%;background:#22d3ee;box-shadow:0 0 0 4px rgba(34,211,238,.2);animation:pulse 2.2s ease-in-out infinite;}
@keyframes pulse{50%{box-shadow:0 0 0 8px rgba(34,211,238,0);}}
.rx-h1{
    font-size:clamp(2.6rem,6vw,5rem);font-weight:800;letter-spacing:-2px;line-height:1.02;
    margin:1.4rem 0 1.2rem;text-shadow:0 10px 50px rgba(0,90,160,.35);
}
.rx-lead{font-size:1.18rem;max-width:52ch;color:#c2cbe0;}
.rx-cta{display:flex;flex-wrap:wrap;gap:14px;margin:2rem 0 1.6rem;}
.rx-trust{list-style:none;display:flex;flex-wrap:wrap;gap:.6rem .7rem;padding:0;margin:0;}
.rx-trust li{
    display:inline-flex;align-items:center;gap:.5rem;font-size:.92rem;font-weight:600;color:#cdd6ea;
    background:var(--glass);border:1px solid var(--stroke);padding:.4rem .85rem;border-radius:999px;
}
.rx-trust li::before{content:"\2713";color:#22d3ee;font-weight:800;}

/* hero visual: prismatic glass scan card + floating chips */
.rx-hero-visual{position:relative;display:flex;justify-content:center;align-items:center;min-height:380px;}
.rx-scan-card{
    position:relative;width:min(360px,80%);aspect-ratio:1/1.08;border-radius:30px;padding:30px;
    display:flex;align-items:center;justify-content:center;
    background:linear-gradient(160deg,rgba(255,255,255,.12),rgba(255,255,255,.03));
    border:1px solid var(--stroke-2);
    box-shadow:0 60px 120px -50px rgba(34,120,255,.7), inset 0 1px 0 rgba(255,255,255,.18);
    -webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%);
    animation:floaty 7s ease-in-out infinite;
}
.rx-scan-card::after{
    content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;
    background:var(--prism);
    -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    -webkit-mask-composite:xor;mask-composite:exclude;opacity:.7;
}
.rx-qr{width:78%;height:78%;filter:drop-shadow(0 8px 24px rgba(34,211,238,.45));}
.rx-scanline{
    position:absolute;left:8%;right:8%;height:42%;top:8%;border-radius:14px;pointer-events:none;
    background:linear-gradient(180deg,rgba(34,211,238,0),rgba(34,211,238,.22) 70%,rgba(34,211,238,.5));
    box-shadow:0 0 22px 2px rgba(34,211,238,.45);mix-blend-mode:screen;
    animation:scanY 3.2s ease-in-out infinite;
}
@keyframes scanY{0%,100%{transform:translateY(0);opacity:.5;}50%{transform:translateY(105%);opacity:1;}}
@keyframes floaty{0%,100%{transform:translateY(0) rotate(-.6deg);}50%{transform:translateY(-14px) rotate(.6deg);}}
.rx-chip{
    position:absolute;display:flex;flex-direction:column;line-height:1.05;padding:.7rem 1rem;border-radius:16px;
    background:var(--glass-2);border:1px solid var(--stroke-2);
    -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
    box-shadow:0 30px 60px -30px rgba(0,0,0,.9);animation:floaty 6s ease-in-out infinite;
}
.rx-chip b{font-size:1.4rem;font-weight:800;background:var(--prism);-webkit-background-clip:text;background-clip:text;color:transparent;}
.rx-chip span{font-size:.78rem;color:var(--muted);font-weight:600;letter-spacing:.04em;}
.rx-chip.c1{top:6%;left:-2%;animation-delay:.2s;}
.rx-chip.c2{bottom:14%;right:-4%;animation-delay:1s;}
.rx-chip.c3{bottom:-2%;left:14%;animation-delay:.6s;}

/* marquee */
.rx-marquee{margin-top:clamp(3rem,6vw,5rem);border-top:1px solid var(--stroke);border-bottom:1px solid var(--stroke);
    -webkit-mask:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);overflow:hidden;}
.rx-marquee-track{display:flex;gap:2.4rem;white-space:nowrap;width:max-content;padding:1.1rem 0;animation:marquee 26s linear infinite;}
.rx-marquee-track span{font-size:1.05rem;font-weight:700;color:#aeb9d3;letter-spacing:.02em;}
.rx-marquee-track span.sep{color:#22d3ee;}
@keyframes marquee{to{transform:translateX(-50%);}}

/* ---------- split (why + video) ---------- */
.rx-split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:center;}
.rx-xlist{list-style:none;padding:0;margin:1.2rem 0;display:grid;gap:.7rem;}
.rx-xlist li{display:flex;align-items:flex-start;gap:.7rem;color:#cdd6ea;font-weight:600;}
.rx-xlist li::before{
    content:"\2715";flex:none;width:1.5rem;height:1.5rem;border-radius:8px;display:grid;place-items:center;
    background:rgba(236,72,153,.16);color:#ff86c2;font-weight:800;font-size:.85rem;margin-top:.1rem;
}
.rx-video-frame{padding:14px;}
.rx-video-frame .vid-holder{aspect-ratio:16/9;position:relative;width:100%;border-radius:16px;overflow:hidden;}
.rx-video-frame iframe{border-radius:16px;}

/* ---------- stats ---------- */
.rx-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;}
.rx-stat{padding:2rem;text-align:center;transition:transform .45s var(--ease);}
.rx-stat:hover{transform:translateY(-6px);}
.rx-stat .n{font-size:clamp(2rem,3.4vw,2.9rem);font-weight:800;letter-spacing:-1px;}
.rx-stat .l{margin:.5rem 0 0;color:var(--muted);font-size:1rem;}

/* ---------- bento benefits ---------- */
.rx-bento{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:1fr;gap:18px;}
.rx-cell{
    position:relative;overflow:hidden;border-radius:22px;min-height:235px;padding:24px;
    display:flex;flex-direction:column;justify-content:flex-end;
    background:var(--glass);border:1px solid var(--stroke);
    box-shadow:0 40px 90px -55px rgba(0,0,0,.9);
    transition:transform .5s var(--ease),box-shadow .5s var(--ease);
}
.rx-cell:hover{transform:translateY(-8px);box-shadow:0 50px 100px -45px rgba(0,0,0,1);}
.rx-cell .bgimg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.32;transition:transform .7s var(--ease),opacity .5s;}
.rx-cell::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,6,11,.15) 0%,rgba(5,6,11,.55) 45%,rgba(5,6,11,.92) 100%);}
.rx-cell:hover .bgimg{transform:scale(1.09);opacity:.46;}
.rx-cell>*{position:relative;z-index:1;}
.rx-cell h3{font-size:1.2rem;margin:0 0 .55rem;line-height:1.25;}
.rx-cell h3 span{color:#7ee7ff;}
.rx-cell p{font-size:.95rem;color:#aab4cd;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.rx-cell.lg{grid-column:span 2;grid-row:span 2;}
.rx-cell.wide{grid-column:span 2;}
.rx-cell.lg h3{font-size:1.7rem;}
.rx-cell.lg p{-webkit-line-clamp:5;font-size:1.02rem;}
.rx-cell.lg .bgimg,.rx-cell.wide .bgimg{opacity:.42;}

/* ---------- consult steps ---------- */
.rx-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px;counter-reset:s;}
.rx-step{padding:2.2rem 2rem;position:relative;transition:transform .45s var(--ease);}
.rx-step:hover{transform:translateY(-8px);}
.rx-step .num{
    width:58px;height:58px;border-radius:18px;display:grid;place-items:center;font-size:1.5rem;font-weight:800;color:#04121a;
    background:linear-gradient(120deg,#5ee7ff,#22d3ee 45%,#8b5cf6);
    box-shadow:0 18px 40px -16px rgba(34,211,238,.85);margin-bottom:1.2rem;
}
.rx-step h3{font-size:1.25rem;margin:0 0 .5rem;}
.rx-lead-sub{max-width:64ch;margin:0 auto 2.6rem;text-align:center;font-size:1.15rem;}

/* ---------- pricing ---------- */
.rx-pricing{display:grid;grid-template-columns:1fr 1.05fr;gap:22px;align-items:start;}
.rx-price-panel{
    padding:2.4rem;position:relative;overflow:hidden;border-radius:var(--r);
    background:linear-gradient(160deg,rgba(34,211,238,.16),rgba(139,92,246,.16) 60%,rgba(236,72,153,.14));
    border:1px solid var(--stroke-2);
    box-shadow:0 50px 100px -55px rgba(34,120,255,.7), inset 0 1px 0 rgba(255,255,255,.12);
    -webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);
    display:flex;flex-direction:column;
}
.rx-price-panel::before{content:"";position:absolute;top:-40%;right:-20%;width:60%;height:80%;border-radius:50%;background:radial-gradient(circle,rgba(34,211,238,.35),transparent 65%);filter:blur(20px);}
.rx-tag{align-self:flex-start;font-size:.78rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;
    padding:.4rem .9rem;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid var(--stroke-2);color:#eaf6ff;margin-bottom:1.2rem;}
.rx-price-panel h3{font-size:1.9rem;letter-spacing:-.5px;margin-bottom:.7rem;}
.rx-price-panel .sub{color:#d4def2;font-size:1.05rem;margin-bottom:1.4rem;}
.rx-price-points{list-style:none;padding:0;margin:0 0 1.8rem;display:grid;gap:.6rem;}
.rx-price-points li{display:flex;align-items:center;gap:.6rem;font-weight:600;color:#eaf1ff;}
.rx-price-points li::before{content:"\2713";color:#7ee7ff;font-weight:800;}
.rx-price-panel .rx-btn{margin-top:auto;align-self:flex-start;}
.rx-incl{padding:2.4rem;}
.rx-incl h4{font-size:1.5rem;margin-bottom:1.2rem;}
.rx-incl h4 span{color:#7ee7ff;}
.rx-incl-list{list-style:none;padding:0;margin:0;display:grid;gap:.2rem;}
.rx-incl-list li{display:flex;align-items:center;gap:.7rem;padding:.7rem 0;border-bottom:1px solid rgba(255,255,255,.08);color:#cdd6ea;font-weight:500;}
.rx-incl-list li:last-child{border-bottom:0;}
.rx-incl-list li svg{flex:none;}
.rx-incl .scale{margin-top:1.4rem;padding-top:1.2rem;border-top:1px dashed rgba(255,255,255,.16);}
.rx-incl .scale strong{display:block;color:#fff;font-size:1.1rem;margin-bottom:.3rem;}
.rx-incl .scale span{color:var(--muted);}

/* ---------- relaunch CTA ---------- */
.rx-cta-band{
    position:relative;overflow:hidden;border-radius:32px;text-align:center;padding:clamp(2.8rem,6vw,5rem);
    background:linear-gradient(120deg,#0b2a4a,#241652 55%,#3a1240);
    border:1px solid var(--stroke-2);
    box-shadow:0 60px 120px -50px rgba(34,120,255,.7);
}
.rx-cta-band::before{content:"";position:absolute;inset:0;background:
    radial-gradient(50% 80% at 80% 0,rgba(34,211,238,.4),transparent 55%),
    radial-gradient(50% 80% at 15% 100%,rgba(236,72,153,.35),transparent 55%);}
.rx-cta-band::after{content:"";position:absolute;inset:0;opacity:.5;border-radius:inherit;padding:1.5px;background:var(--prism);
    -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;}
.rx-cta-band>*{position:relative;z-index:1;}
.rx-cta-band h2{font-size:clamp(2rem,4.2vw,3.2rem);letter-spacing:-1px;margin-bottom:.7rem;}
.rx-cta-band p{color:#d6def2;font-size:1.2rem;max-width:60ch;margin:0 auto 1.8rem;}
.rx-cta-band .rx-btn{margin:0 auto;}

/* ---------- news (magazine layout) ---------- */
.rx-news{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.rx-post{position:relative;display:flex;flex-direction:column;overflow:hidden;border-radius:22px;
    transition:transform .5s var(--ease),box-shadow .5s var(--ease);}
.rx-post:hover{transform:translateY(-10px);}
.rx-post-media{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;}
.rx-post-media img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease);}
.rx-post:hover .rx-post-media img{transform:scale(1.08);}
.rx-post-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(5,6,11,.7));}
.rx-post-cat{position:absolute;top:14px;left:14px;z-index:2;font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
    padding:.4rem .8rem;border-radius:999px;color:#04121a;background:linear-gradient(120deg,#5ee7ff,#a78bfa);
    box-shadow:0 10px 24px -10px rgba(34,211,238,.8);}
.rx-post-body{padding:1.4rem 1.5rem;display:flex;flex-direction:column;gap:.7rem;flex:1;}
.rx-post-meta{font-size:.78rem;color:var(--muted);font-weight:700;letter-spacing:.06em;text-transform:uppercase;}
.rx-post-title{font-size:1.2rem;line-height:1.32;margin:0;}
.rx-post-title a{color:var(--ink);
    background-image:linear-gradient(#7ee7ff,#7ee7ff);background-size:0 2px;background-position:0 100%;background-repeat:no-repeat;
    transition:background-size .45s var(--ease),color .3s;}
.rx-post-title a:hover{color:#7ee7ff;background-size:100% 2px;}
.rx-post-excerpt{color:var(--muted);font-size:1rem;line-height:1.6;margin:0;}
.rx-post-link{margin-top:auto;display:inline-flex;align-items:center;gap:.5rem;font-weight:800;color:#7ee7ff;font-size:.95rem;letter-spacing:.02em;}
.rx-post-link svg{transition:transform .35s var(--ease);}
.rx-post-link:hover svg{transform:translateX(5px);}
/* featured lead article — wide split card */
.rx-post.featured{grid-column:span 2;flex-direction:row;}
.rx-post.featured .rx-post-media{aspect-ratio:auto;flex:1.05;min-height:320px;}
.rx-post.featured .rx-post-body{flex:1;justify-content:center;gap:.9rem;padding:2rem;}
.rx-post.featured .rx-post-title{font-size:clamp(1.5rem,2.4vw,2rem);letter-spacing:-.4px;}
@media (max-width:991.98px){
    .rx-news{grid-template-columns:repeat(2,1fr);}
    .rx-post.featured{grid-column:span 2;flex-direction:column;}
    .rx-post.featured .rx-post-media{min-height:0;aspect-ratio:16/9;}
}
@media (max-width:600px){
    .rx-news{grid-template-columns:1fr;}
    .rx-post.featured{grid-column:span 1;}
}

/* ---------- reveal ---------- */
.rx .reveal{opacity:0;transform:translateY(30px);transition:opacity .8s var(--ease),transform .8s var(--ease);will-change:opacity,transform;}
.rx .reveal.in{opacity:1;transform:none;}

/* spotlight follow on bento/glass cards */
.rx-cell::after{content:"";position:absolute;inset:0;border-radius:inherit;z-index:2;pointer-events:none;
    background:radial-gradient(260px circle at var(--mx,50%) var(--my,0%),rgba(120,200,255,.18),transparent 60%);
    opacity:0;transition:opacity .4s var(--ease);}
.rx-cell:hover::after{opacity:1;}

/* ---------- responsive ---------- */
@media (max-width:991.98px){
    .rx-hero-inner{grid-template-columns:1fr;}
    .rx-hero-visual{min-height:340px;margin-top:1rem;}
    .rx-split,.rx-pricing{grid-template-columns:1fr;}
    .rx-bento{grid-template-columns:repeat(2,1fr);}
    .rx-cell.lg{grid-column:span 2;grid-row:span 1;}
    .rx-cell.wide{grid-column:span 2;}
}
@media (max-width:560px){
    .rx-bento{grid-template-columns:1fr;}
    .rx-cell.lg,.rx-cell.wide{grid-column:span 1;}
    .rx-chip{padding:.5rem .75rem;}
    .rx-h1{letter-spacing:-1px;}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
    .rx *,.rx *::before,.rx *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;}
    .rx .reveal{opacity:1!important;transform:none!important;}
    .rx-scanline,.rx-marquee-track{animation:none!important;}
}

/* =========================================================
   LIGHT MODE (home content)  ·  chrome handled in theme-x.css
   ========================================================= */
/* ---- light palette ---- */
html.rx-light .rx{
    --ink:#0e1626;
    --muted:#51607a;
    --faint:#8a95ab;
    --glass:rgba(255,255,255,.6);
    --glass-2:rgba(255,255,255,.78);
    --stroke:rgba(16,28,54,.10);
    --stroke-2:rgba(16,28,54,.18);
}
html.rx-light .rx ::selection{background:rgba(139,92,246,.25);color:#0e1626;}

/* ambient bg */
html.rx-light .rx-bg{background:radial-gradient(130% 100% at 50% -20%, #e6eefc 0%, #eef2fb 55%, #f6f8ff 100%);}
html.rx-light .rx-aurora{opacity:.25;}
html.rx-light .rx-grid{opacity:.7;
    background-image:linear-gradient(rgba(16,28,54,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(16,28,54,.05) 1px,transparent 1px);}
html.rx-light .rx-noise{opacity:.025;}
html.rx-light .glass{box-shadow:0 30px 70px -45px rgba(40,70,130,.32), inset 0 1px 0 rgba(255,255,255,.6);}

/* hero */
html.rx-light .rx-h1{text-shadow:0 12px 44px rgba(80,120,200,.22);}
html.rx-light .rx-lead{color:#43516c;}
html.rx-light .rx-pill,html.rx-light .rx-trust li{color:#3a465c;}
html.rx-light .rx-scan-card{
    background:linear-gradient(160deg,rgba(255,255,255,.82),rgba(255,255,255,.5));
    border-color:rgba(16,28,54,.12);
    box-shadow:0 60px 120px -55px rgba(60,110,210,.5), inset 0 1px 0 rgba(255,255,255,.9);
}

/* marquee */
html.rx-light .rx-marquee-track span{color:#3c4a63;}

/* problem list */
html.rx-light .rx-xlist li{color:#33405a;}

/* bento — flip the scrim to light, text to dark */
html.rx-light .rx-cell::before{background:linear-gradient(180deg,rgba(255,255,255,.25) 0%,rgba(255,255,255,.78) 55%,rgba(255,255,255,.96) 100%);}
html.rx-light .rx-cell h3{color:#0e1626;}
html.rx-light .rx-cell h3 span{color:#0a86c0;}
html.rx-light .rx-cell p{color:#41506a;}
html.rx-light .rx-cell .bgimg{opacity:.55;}
html.rx-light .rx-cell:hover .bgimg{opacity:.72;}

/* stats / steps inherit via --ink/--muted; just soften shadows already handled */

/* pricing */
html.rx-light .rx-price-panel{
    background:linear-gradient(160deg,rgba(34,211,238,.22),rgba(139,92,246,.2) 58%,rgba(236,72,153,.18));
    border-color:rgba(16,28,54,.12);
    box-shadow:0 50px 100px -55px rgba(60,110,210,.45), inset 0 1px 0 rgba(255,255,255,.7);
}
html.rx-light .rx-price-panel h3{color:#0e1626;}
html.rx-light .rx-price-panel .sub{color:#3c4a63;}
html.rx-light .rx-price-points li{color:#1a2740;}
html.rx-light .rx-tag{background:rgba(16,28,54,.07);border-color:rgba(16,28,54,.16);color:#1a2740;}
html.rx-light .rx-price-panel .rx-btn-light{
    color:#04121a;background:linear-gradient(120deg,#36d4f5,#1bb6da 45%,#6d8bff);
    box-shadow:0 18px 40px -16px rgba(34,160,200,.6);
}
html.rx-light .rx-incl h4{color:#0e1626;}
html.rx-light .rx-incl-list li{color:#33405a;border-color:rgba(16,28,54,.1);}
html.rx-light .rx-incl .scale strong{color:#0e1626;}

/* CTA band stays bold/dark in both themes — text remains white (good contrast) */

/* news inherits via --ink/--muted */

/* =========================================================
   POLISH — accessibility + anchor offset
   ========================================================= */
.rx [id]{scroll-margin-top:96px;}
.rx a:focus-visible,.rx button:focus-visible,.rx .rx-btn:focus-visible{
    outline:2px solid #7dd3fc;outline-offset:3px;border-radius:10px;
}

/* =========================================================
   HERO QR PANEL (real scannable code on a solid quiet-zone)
   ========================================================= */
.rx-qr-panel{
    width:74%;aspect-ratio:1/1;background:#fff;border-radius:18px;padding:16px;
    box-shadow:0 18px 40px -18px rgba(0,0,0,.5), inset 0 0 0 1px rgba(0,0,0,.04);
}
.rx-qr{width:100%;height:100%;display:block;}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.rx-quotes{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;}
.rx-quote{padding:2rem;display:flex;flex-direction:column;gap:1.1rem;margin:0;transition:transform .45s var(--ease);}
.rx-quote:hover{transform:translateY(-8px);}
.rx-quote .qmark{font-size:3.2rem;line-height:.4;font-weight:800;height:1.4rem;
    background:var(--prism);-webkit-background-clip:text;background-clip:text;color:transparent;}
.rx-quote blockquote{margin:0;color:var(--ink);font-size:1.06rem;line-height:1.6;font-style:italic;flex:1;}
.rx-quote .who{display:flex;align-items:center;gap:.75rem;}
.rx-quote .who img,.rx-quote .who .avatar{width:46px;height:46px;border-radius:50%;flex:none;object-fit:cover;border:1px solid var(--stroke-2);}
.rx-quote .who .avatar{display:grid;place-items:center;font-weight:800;font-size:.95rem;color:#04121a;
    background:linear-gradient(135deg,var(--a,#22d3ee),var(--b,#8b5cf6));border:0;}
.rx-quote .who b{display:block;color:var(--ink);font-size:.98rem;}
.rx-quote .who small{color:var(--muted);font-size:.85rem;}
.rx-quote .stars{margin-left:auto;color:#ffd166;letter-spacing:1px;font-size:.95rem;}

/* =========================================================
   PERFORMANCE
   ========================================================= */
/* (content-visibility was removed — its intrinsic-size estimate left a gap
   before the footer and caused scroll jank; pages are short enough not to need it) */
.rx .reveal{will-change:auto;}

/* on phones, drop expensive blur/animation and use solid-ish panels */
@media (max-width:768px){
    .rx-aurora{animation:none;filter:blur(60px);}
    .rx-scanline{animation:none;}
    .glass,.rx-cell,.rx-scan-card,.rx-chip,.rx-pill,.rx-trust li,
    .rx-price-panel,.rx-incl,.rx-quote,.rx-step,.rx-stat,.rx-article{
        -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
    }
    html.rx-dark .glass,html.rx-dark .rx-quote,html.rx-dark .rx-step,
    html.rx-dark .rx-stat,html.rx-dark .rx-post{background:rgba(255,255,255,.07);}
}

/* =========================================================
   ✨ EXTRA POLISH — everything, sexier
   ========================================================= */
/* holographic headings get a soft glow */
.holo{filter:drop-shadow(0 0 22px rgba(124,92,246,.22));}

/* centered section headings get an animated prismatic underline */
.rx-head[style*="center"]{display:flex;flex-direction:column;align-items:center;}
.rx-head[style*="center"] .rx-eyebrow{margin-bottom:.9rem;}
.rx-head[style*="center"] .rx-h2{position:relative;display:block;}
.rx-head[style*="center"] .rx-h2::after{
    content:"";position:absolute;left:50%;bottom:-16px;width:72px;height:4px;border-radius:4px;transform:translateX(-50%);
    background:linear-gradient(90deg,#22d3ee,#8b5cf6,#ec4899);background-size:200% auto;
    box-shadow:0 0 18px rgba(139,92,246,.55);animation:holo 6s linear infinite;
}
/* eyebrows get flanking prismatic ticks */
.rx-eyebrow{display:inline-flex;align-items:center;gap:.65rem;}
.rx-eyebrow::before,.rx-eyebrow::after{content:"";width:22px;height:2px;border-radius:2px;background:var(--prism);opacity:.8;}

/* rotating prismatic aura behind the hero scan-card */
.rx-scan-card::before{
    content:"";position:absolute;inset:-3px;border-radius:34px;z-index:-1;
    background:conic-gradient(from 0deg,#22d3ee,#8b5cf6,#ec4899,#22d3ee);
    filter:blur(24px);opacity:.6;animation:spin 9s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg);}}

/* buttons: a touch more lift + glow on the primary */
.rx-btn-primary{box-shadow:0 18px 40px -16px rgba(34,211,238,.8),0 0 0 0 rgba(34,211,238,.4);}
.rx-btn-primary:hover{box-shadow:0 26px 54px -16px rgba(34,211,238,.95),0 0 30px -4px rgba(124,92,246,.4);}

/* marquee items shimmer subtly on hover of the strip */
.rx-marquee:hover .rx-marquee-track{animation-play-state:paused;}

/* =========================================================
   ✨ TYPOGRAPHY POLISH — the 8→9 finish
   ========================================================= */
.rx{
    -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
    text-rendering:optimizeLegibility;font-feature-settings:"kern" 1,"liga" 1;
}
/* display headings: tighter optical tracking, calmer leading */
.rx-h1{font-weight:800;letter-spacing:-.032em;line-height:1.04;}
.rx-h2{font-weight:800;letter-spacing:-.022em;line-height:1.08;}
.rx-cell.lg h3,.rx-post.featured .rx-post-title{letter-spacing:-.02em;}
.rx-cell h3,.rx-post-title,.rx-step h3,.rx-price-panel h3{letter-spacing:-.012em;line-height:1.28;}
/* body: comfortable measure + weight */
.rx-lead{font-size:1.2rem;line-height:1.7;font-weight:400;color:#c6cfe4;}
.rx p{max-width:68ch;}
.rx-quote blockquote{font-size:1.1rem;line-height:1.65;letter-spacing:-.006em;}
/* labels & eyebrows: confident spacing */
.rx-eyebrow{letter-spacing:.24em;font-size:.78rem;font-weight:700;}
.rx-post-cat,.rx-tag,.price-tag{letter-spacing:.12em;}
/* figures: tabular + tight, so numbers line up and read like data */
.rx-stat .n,.rx-post-meta,.rx-chip b,.rx-h1{font-feature-settings:"tnum" 1,"kern" 1;}

/* =========================================================
   PAGE-PART BUILDING BLOCKS (inner pages use the .rx kit too)
   ========================================================= */
.rx-page-top{padding-top:clamp(4rem,9vh,7rem);}

/* prismatic check list */
.rx-flist{list-style:none;padding:0;margin:1.4rem 0;display:grid;gap:1rem;}
.rx-flist li{position:relative;padding-left:2.2rem;color:var(--muted);line-height:1.6;font-size:1.05rem;}
.rx-flist li strong{color:var(--ink);}
.rx-flist li::before{content:"";position:absolute;left:0;top:.42rem;width:1.4rem;height:1.4rem;border-radius:50%;
    background:linear-gradient(135deg,#22d3ee,#8b5cf6);box-shadow:0 6px 14px -4px rgba(34,211,238,.6);}
.rx-flist li::after{content:"";position:absolute;left:.5rem;top:.72rem;width:.34rem;height:.62rem;
    border:solid #04121a;border-width:0 2px 2px 0;transform:rotate(45deg);}

/* FAQ accordion (native <details>) */
.rx-faq{max-width:820px;margin:0 auto;display:grid;gap:14px;}
.rx-faq details{border:1px solid var(--stroke);border-radius:16px;background:var(--glass);overflow:hidden;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);}
.rx-faq summary{list-style:none;cursor:pointer;padding:1.1rem 1.4rem;font-weight:600;color:var(--ink);font-size:1.08rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;}
.rx-faq summary::-webkit-details-marker{display:none;}
.rx-faq summary::after{content:"+";font-size:1.6rem;color:#7ee7ff;transition:transform .3s var(--ease);line-height:1;flex:none;}
.rx-faq details[open] summary::after{transform:rotate(45deg);}
.rx-faq .a{padding:0 1.4rem 1.2rem;color:var(--muted);line-height:1.7;}

/* who-it-for / persona cards */
.rx-personas{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;}
.rx-persona{padding:2rem;text-align:center;transition:transform .45s var(--ease);}
.rx-persona:hover{transform:translateY(-6px);}
.rx-persona .ic{width:60px;height:60px;border-radius:18px;margin:0 auto 1.1rem;display:grid;place-items:center;
    background:linear-gradient(135deg,#22d3ee,#8b5cf6);box-shadow:0 14px 30px -12px rgba(34,211,238,.7);}
.rx-persona h3{font-size:1.25rem;margin-bottom:.5rem;}

/* article hero image + prose (single post) */
.rx-article-hero{max-width:920px;margin:2.2rem auto 0;border-radius:26px;overflow:hidden;padding:8px;}
.rx-article-hero img{width:100%;height:auto;display:block;border-radius:20px;}
.rx-prose{max-width:780px;margin:2.4rem auto 0;}
.rx-prose > *{margin-bottom:1.35rem;}
.rx-prose p{color:var(--muted);font-size:1.13rem;line-height:1.85;max-width:none;}
.rx-prose :is(h2,h3,h4){color:var(--ink);margin-top:2.3rem;margin-bottom:.7rem;letter-spacing:-.012em;line-height:1.25;}
.rx-prose h2{font-size:1.75rem;}.rx-prose h3{font-size:1.4rem;}.rx-prose h4{font-size:1.18rem;}
.rx-prose a{color:#7ee7ff;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;}
.rx-prose strong{color:var(--ink);}
.rx-prose img{max-width:100%;height:auto;border-radius:16px;margin:1.6rem auto;display:block;box-shadow:0 30px 70px -40px rgba(0,0,0,.8);}
.rx-prose :is(ul,ol){color:var(--muted);padding-left:1.4rem;line-height:1.85;display:grid;gap:.5rem;}
.rx-prose blockquote{margin:1.8rem 0;padding:.6rem 0 .6rem 1.5rem;border-left:3px solid #22d3ee;color:var(--ink);font-style:italic;font-size:1.25rem;line-height:1.6;}

/* =========================================================
   ✨ READABILITY / CONTRAST (WCAG) FIXES
   ========================================================= */
/* CTA band is always a dark gradient — force light text in BOTH themes */
.rx-cta-band h2{color:#fff!important;}
.rx-cta-band p{color:rgba(255,255,255,.95)!important;}

/* benefit cards: much stronger scrim + higher-contrast text over images */
.rx-cell::before{background:linear-gradient(180deg,rgba(5,6,11,.45) 0%,rgba(5,6,11,.84) 52%,rgba(5,6,11,.97) 100%);}
.rx-cell .bgimg{opacity:.26;}
.rx-cell.lg .bgimg,.rx-cell.wide .bgimg{opacity:.32;}
.rx-cell h3{color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.6);}
.rx-cell h3 span{color:#7ee7ff;}
.rx-cell p{color:#d6dded;font-weight:500;text-shadow:0 1px 8px rgba(0,0,0,.6);}
/* light mode benefit cards: light scrim + dark text */
html.rx-light .rx-cell::before{background:linear-gradient(180deg,rgba(255,255,255,.5) 0%,rgba(255,255,255,.88) 52%,rgba(255,255,255,.99) 100%);}
html.rx-light .rx-cell .bgimg{opacity:.4;}
html.rx-light .rx-cell h3{color:#0b1220;text-shadow:0 1px 8px rgba(255,255,255,.6);}
html.rx-light .rx-cell h3 span{color:#0a76b0;}
html.rx-light .rx-cell p{color:#2c3852;text-shadow:0 1px 6px rgba(255,255,255,.55);}

/* ---- LIGHT MODE accent contrast: darken cyan/holo on light surfaces ---- */
html.rx-light :is(.rx-post-link, .rx-prose a, .rx-incl h4 span, .rx-post-title a:hover){color:#0a6f9e;}
html.rx-light .rx-post-title a{background-image:linear-gradient(#0a7fb8,#0a7fb8);}
html.rx-light .rx-faq summary::after{color:#0a7fb8;}
html.rx-light .rx-price-points li::before{color:#0a7fb8;}
html.rx-light .rx-incl-list li svg path{stroke:#0a7fb8;}
html.rx-light .rx-quote .who span,html.rx-light .rx-incl-list li{color:#33405a;}
/* holographic text: darker gradient on light backgrounds (keeps large-text contrast)... */
html.rx-light .holo{background-image:linear-gradient(100deg,#0a8ec0,#7c3aed,#db2777,#0a8ec0);}
/* ...but the CTA band is always dark, so keep its holo bright */
html.rx-light .rx-cta-band .holo{background-image:linear-gradient(100deg,#5ee7ff,#a78bfa,#f472b6,#5ee7ff);}
