/* DoseForge — retail site. Dark, premium, electric-violet. */
:root{
  --bg:#08080d; --bg-2:#0e0e17; --surface:#13131e; --surface-2:#1a1a27;
  --stroke:#23232f; --stroke-2:#30304a;
  --text:#edeef5; --muted:#a0a0b8; --muted-2:#6f6f88;
  --accent:#8b7cff; --accent-2:#a594ff; --accent-3:#6d5bff;
  --accent-soft:rgba(139,124,255,.12);
  --radius:18px; --maxw:1140px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:var(--accent-2);text-decoration:none}
h1,h2,h3,h4{line-height:1.12;letter-spacing:-.02em;margin:0}
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.muted{color:var(--muted)} .small{font-size:.85em}
.grad{background:linear-gradient(120deg,var(--accent-2),#c9b8ff 60%,var(--accent));-webkit-background-clip:text;background-clip:text;color:transparent}
/* Hero headline word that flips through "peptide / health / lifestyle / …".
   No overflow clip (would crop p/y descenders); the word rotates edge-on and
   fades before it can overlap neighbours. */
.flip-word{display:inline-block;position:relative;width:auto;transform-style:preserve-3d;transition:width .38s cubic-bezier(.6,.18,.1,1)}
.flip-word__cur{display:inline-block;white-space:nowrap;
  /* keep the gradient on the rotating word (nested spans don't inherit text-clip) */
  background:linear-gradient(120deg,var(--accent-2),#c9b8ff 60%,var(--accent));-webkit-background-clip:text;background-clip:text;color:transparent}
.flip-word__cur.is-out{animation:flipWordOut .30s cubic-bezier(.5,0,.75,0) forwards}
.flip-word__cur.is-in{animation:flipWordIn .44s cubic-bezier(.2,.7,.2,1)}
@keyframes flipWordOut{to{transform:translateY(-.72em) rotateX(80deg);opacity:0}}
@keyframes flipWordIn{from{transform:translateY(.72em) rotateX(-80deg);opacity:0}to{transform:none;opacity:1}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (prefers-reduced-motion: reduce){
  .flip-word{transition:none}
  .flip-word__cur.is-out,.flip-word__cur.is-in{animation:none}
}
.eyebrow{display:inline-block;color:var(--accent-2);font-weight:700;font-size:13px;letter-spacing:.14em;text-transform:uppercase;margin-bottom:14px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;font-size:16px;
  padding:13px 22px;border-radius:12px;border:1px solid transparent;cursor:pointer;transition:.16s;white-space:nowrap}
.btn-primary{background:linear-gradient(120deg,var(--accent),var(--accent-3));color:#0a0a0f;box-shadow:0 8px 24px rgba(109,91,255,.32)}
.btn-primary:hover{transform:translateY(-2px);text-decoration:none;box-shadow:0 12px 30px rgba(109,91,255,.45)}
.btn-ghost{background:transparent;border-color:var(--stroke-2);color:var(--text)}
.btn-ghost:hover{border-color:var(--accent);text-decoration:none}
.btn-lg{padding:15px 28px;font-size:17px}
.btn-pill{border-radius:999px;padding:10px 20px;font-size:15px}
.btn-block{display:flex;width:100%}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(8,8,13,.72);backdrop-filter:blur(14px);border-bottom:1px solid var(--stroke)}
.nav{display:flex;align-items:center;gap:24px;height:68px}
.logo{display:flex;align-items:center;gap:9px;font-weight:800;font-size:20px;color:var(--text)}
.logo:hover{text-decoration:none}
.logo-mark{color:var(--accent)}
.nav-links{display:flex;gap:26px;margin-left:18px;flex:1}
.nav-links a{color:var(--muted);font-size:15px;font-weight:500}
.nav-links a:hover{color:var(--text);text-decoration:none}
.nav-toggle{display:none;background:none;border:none;color:var(--text);font-size:22px;cursor:pointer}

/* Hero */
.hero{position:relative;padding:90px 0 70px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}
.hero h1{font-size:clamp(40px,6vw,68px);font-weight:800;margin-bottom:20px}
.lead{font-size:20px;color:var(--muted);max-width:520px;margin-bottom:28px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:26px}
.hero-points{list-style:none;display:flex;flex-wrap:wrap;gap:8px 22px;padding:0;margin:0;color:var(--muted);font-size:15px}
.hero-points li{font-weight:500}

/* Phone mockup */
.hero-art{position:relative;display:grid;place-items:center}
.hero-glow{position:absolute;width:420px;height:420px;background:radial-gradient(circle,rgba(139,124,255,.28),transparent 65%);filter:blur(20px);z-index:0}
.phone{position:relative;z-index:1;width:300px;height:610px;background:linear-gradient(160deg,#1c1c2a,#101019);border:1px solid var(--stroke-2);
  border-radius:44px;padding:14px;box-shadow:0 40px 80px rgba(0,0,0,.55),0 0 0 8px #050509;}
.phone-notch{position:absolute;top:14px;left:50%;transform:translateX(-50%);width:130px;height:26px;background:#050509;border-radius:0 0 16px 16px;z-index:3}
.phone-screen{height:100%;background:radial-gradient(900px 400px at 50% -10%,rgba(139,124,255,.12),transparent),#0a0a12;border-radius:32px;padding:42px 16px 18px;display:flex;flex-direction:column;gap:12px;overflow:hidden}
.ps-top{padding:0 4px}
.ps-greeting{display:block;font-weight:700;font-size:17px}
.ps-date{color:var(--muted-2);font-size:13px}
.ps-card{background:var(--surface);border:1px solid var(--stroke);border-radius:16px;padding:14px}
.ps-progress{display:flex;align-items:center;gap:14px}
.ps-ring{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:15px;color:#fff;
  background:conic-gradient(var(--accent) 0 66%,#26263a 66% 100%)}
.ps-ring span{background:#0a0a12;width:40px;height:40px;border-radius:50%;display:grid;place-items:center}
.ps-row{display:flex;align-items:center;gap:9px;font-size:13.5px;padding:7px 0;border-bottom:1px solid var(--stroke)}
.ps-row:last-child{border-bottom:none}
.dot{width:9px;height:9px;border-radius:50%;background:#3a3a52;flex:0 0 auto}
.dot.ok{background:#3ad29f}
.ps-tag{margin-left:auto;font-size:11px;color:var(--accent-2);font-weight:700}
.ps-tag.muted{color:var(--muted-2)}
.ps-mini{display:flex;justify-content:space-between;text-align:center}
.ps-mini small{color:var(--muted-2);font-size:11px}
.ps-mini strong{font-size:18px}

/* Trust bar */
.trustbar{border-top:1px solid var(--stroke);border-bottom:1px solid var(--stroke);background:var(--bg-2)}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:26px 24px}
.trust-grid div{display:flex;flex-direction:column}
.trust-grid strong{font-size:16px}
.trust-grid span{color:var(--muted-2);font-size:13.5px}

/* Sections */
.section{padding:84px 0}
.section-alt{background:var(--bg-2);border-top:1px solid var(--stroke);border-bottom:1px solid var(--stroke)}
.section-head{text-align:center;max-width:680px;margin:0 auto 46px}
.section-head h2{font-size:clamp(28px,4vw,42px);font-weight:800}
.section-sub{color:var(--muted);font-size:18px;margin-top:14px}
.narrow{max-width:760px}

/* Feature grid */
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.feature-card{background:var(--surface);border:1px solid var(--stroke);border-radius:var(--radius);padding:26px;transition:.18s}
.feature-card:hover{border-color:var(--accent);transform:translateY(-3px);box-shadow:0 20px 40px rgba(0,0,0,.35)}
.feature-icon{width:48px;height:48px;border-radius:13px;background:var(--accent-soft);color:var(--accent-2);
  display:grid;place-items:center;font-size:22px;margin-bottom:16px}
.feature-card h3{font-size:19px;margin-bottom:9px}
.feature-card p{color:var(--muted);font-size:15px;margin:0}

/* Steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.step{background:var(--surface);border:1px solid var(--stroke);border-radius:var(--radius);padding:28px;position:relative}
.step-n{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:linear-gradient(120deg,var(--accent),var(--accent-3));color:#0a0a0f;font-weight:800;margin-bottom:16px}
.step h3{font-size:19px;margin-bottom:8px}
.step p{color:var(--muted);font-size:15px;margin:0}

/* Split / privacy */
.split{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
.split h2{font-size:clamp(26px,3.6vw,38px);font-weight:800}
.check-list{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:11px}
.check-list li{position:relative;padding-left:30px;color:var(--text)}
.check-list li::before{content:"✓";position:absolute;left:0;top:0;color:var(--accent-2);font-weight:800;
  background:var(--accent-soft);width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-size:12px}
.center-list{justify-items:start;max-width:300px;margin:22px auto;text-align:left}
.privacy-card{background:linear-gradient(160deg,var(--surface),var(--bg-2));border:1px solid var(--stroke);border-radius:22px;padding:34px;text-align:center}
.lock{font-size:42px;margin-bottom:10px}
.privacy-card h3{font-size:21px;margin-bottom:8px}

/* Pricing */
.price-card{max-width:420px;margin:0 auto;background:linear-gradient(160deg,var(--surface),var(--bg-2));border:1px solid var(--stroke-2);
  border-radius:24px;padding:38px;text-align:center;box-shadow:0 24px 60px rgba(0,0,0,.4)}
.price{font-size:64px;font-weight:800;line-height:1;background:linear-gradient(120deg,var(--accent-2),#fff);-webkit-background-clip:text;background-clip:text;color:transparent}
.price-card .btn{margin-top:24px}

/* FAQ */
.faq{border:1px solid var(--stroke);border-radius:14px;padding:4px 20px;margin-bottom:12px;background:var(--surface)}
.faq summary{cursor:pointer;font-weight:600;font-size:17px;padding:16px 0;list-style:none;display:flex;justify-content:space-between;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--accent-2);font-size:22px;font-weight:400}
.faq[open] summary::after{content:"–"}
.faq p{color:var(--muted);margin:0 0 16px}

/* Final CTA */
.cta-final{text-align:center;padding:90px 24px;background:radial-gradient(800px 400px at 50% 0,rgba(139,124,255,.16),transparent)}
.cta-final h2{font-size:clamp(28px,4vw,44px);font-weight:800}
.cta-final p{color:var(--muted);font-size:19px;margin:14px 0 26px}

/* Footer */
.site-footer{border-top:1px solid var(--stroke);background:var(--bg-2);padding:54px 0 30px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px}
.footer-brand p{max-width:280px;margin-top:12px;font-size:14px}
.footer-col h4{font-size:13px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted-2);margin-bottom:14px}
.footer-col a{display:block;color:var(--muted);font-size:15px;margin-bottom:9px}
.footer-col a:hover{color:var(--text);text-decoration:none}
.footer-bottom{margin-top:40px;padding-top:22px;border-top:1px solid var(--stroke)}
.disclaimer{max-width:760px;margin-top:8px}

/* Legal pages */
.legal{padding:60px 0 80px;max-width:780px}
.legal h1{font-size:40px;margin-bottom:8px}
.legal h2{font-size:22px;margin:34px 0 10px}
.legal p,.legal li{color:var(--muted)}
.legal .updated{color:var(--muted-2);font-size:14px;margin-bottom:30px}

@media(max-width:900px){
  .split{grid-template-columns:1fr}
  /* Stack the hero in one column and slot the Vitruvian figure between the lead
     paragraph and the store buttons. display:contents flattens the copy column
     so its children order alongside the art. Desktop 2-col layout is untouched. */
  .hero-grid{display:flex;flex-direction:column;gap:0}
  .hero-copy{display:contents}
  .hero .eyebrow{order:1}
  .hero h1{order:2}
  .hero-claim{order:3}
  .hero .lead{order:4}
  .hero-art{order:5;margin:8px 0 22px}
  .hero-cta{order:6}
  .hero-points{order:7}
  .feature-grid,.steps,.trust-grid{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .nav-links{display:none;position:absolute;top:68px;left:0;right:0;flex-direction:column;background:var(--bg-2);
    padding:16px 24px;border-bottom:1px solid var(--stroke)}
  body.nav-open .nav-links{display:flex}
  .nav-toggle{display:block}
}
@media(max-width:560px){
  .feature-grid,.steps,.trust-grid,.footer-grid{grid-template-columns:1fr}
  .section{padding:60px 0}
  .hero{padding:50px 0 40px}
}

/* ============================================================
   App-screen mockups (showcase + spotlights)
   ============================================================ */
.device{position:relative;background:linear-gradient(160deg,#1c1c2a,#101019);border:1px solid var(--stroke-2);
  border-radius:40px;padding:12px;box-shadow:0 30px 60px rgba(0,0,0,.5),0 0 0 7px #050509}
.device-notch{position:absolute;top:12px;left:50%;transform:translateX(-50%);width:110px;height:22px;background:#050509;border-radius:0 0 14px 14px;z-index:3}
.device-screen{background:radial-gradient(700px 320px at 50% -10%,rgba(139,124,255,.12),transparent),#0a0a12;
  border-radius:30px;padding:34px 13px 16px;display:flex;flex-direction:column;gap:10px;overflow:hidden;height:100%;position:relative}
.device-shot{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center;border-radius:30px;display:block;z-index:1}
.sc-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;padding:18px}
.sc-placeholder span{font-size:34px;color:#8b7cff}
.sc-placeholder b{color:#f4f4fb;font-size:15px}
.sc-placeholder small{color:#8a8aa0;font-size:12px}

.screens-row{display:flex;justify-content:center;align-items:center;gap:26px;flex-wrap:wrap}
.device-show{width:248px;height:512px}
.device-featured{transform:scale(1.07);z-index:2;box-shadow:0 40px 80px rgba(109,91,255,.28),0 0 0 7px #050509}
.device-wide{width:300px;height:340px}
.spotlight-art{display:grid;place-items:center}
.split-wide{gap:54px}
.split-wide.reverse>div:first-child{order:2}

/* Shared screen bits */
.sc-head{display:flex;justify-content:space-between;align-items:baseline;padding:0 4px 2px}
.sc-title{font-weight:800;font-size:18px}
.sc-sub{color:var(--muted-2);font-size:11px;text-transform:uppercase;letter-spacing:.1em}
.sc-search{background:var(--surface);border:1px solid var(--stroke);border-radius:11px;padding:9px 12px;color:var(--muted-2);font-size:12.5px}
.sc-chips{display:flex;gap:6px;overflow:hidden}
.sc-chip{font-size:11px;padding:5px 10px;border-radius:999px;background:var(--surface);color:var(--muted);white-space:nowrap}
.sc-chip.on{background:var(--accent);color:#0a0a0f;font-weight:700}
.sc-libcard{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--stroke);border-radius:13px;padding:10px 12px}
.sc-libicon{width:34px;height:34px;border-radius:50%;background:var(--accent-soft);color:var(--accent-2);display:grid;place-items:center;font-size:15px;flex:0 0 auto}
.sc-libcard div{flex:1;display:flex;flex-direction:column;line-height:1.2}
.sc-libcard strong{font-size:13.5px}
.sc-libcard small{color:var(--muted-2);font-size:11px}
.sc-chev{color:var(--muted-2)}
.sc-detail-hero{background:linear-gradient(150deg,var(--surface),var(--bg-2));border:1px solid var(--stroke);border-radius:14px;padding:13px}
.sc-detail-hero p{margin:8px 0 0;font-size:12px;color:var(--muted)}
.sc-pill{display:inline-block;background:var(--accent-soft);color:var(--accent-2);font-size:10.5px;font-weight:700;padding:3px 9px;border-radius:999px}
.sc-card{background:var(--surface);border:1px solid var(--stroke);border-radius:14px;padding:12px}
.sc-card-h{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--muted-2);margin-bottom:9px}
.sc-dose{display:flex;align-items:center;gap:8px;font-size:12.5px;padding:3px 0}
.sc-dose b{margin-left:auto;font-weight:600}
.sc-tag{font-size:10px;font-weight:700;padding:2px 8px;border-radius:999px}
.sc-tag.ok{background:rgba(58,210,159,.16);color:#3ad29f}
.sc-tag.acc{background:var(--accent-soft);color:var(--accent-2)}
.sc-tag.warn{background:rgba(245,176,66,.16);color:#f5b042}
.sc-vendor{display:flex;align-items:center;gap:9px;padding:7px 0;border-top:1px solid var(--stroke)}
.sc-vendor:first-of-type{border-top:none}
.sc-vico{width:28px;height:28px;border-radius:50%;background:var(--accent-soft);display:grid;place-items:center;font-size:12px}
.sc-vendor div{flex:1;display:flex;flex-direction:column;line-height:1.2}
.sc-vendor strong{font-size:12.5px}
.sc-vendor small{color:var(--muted-2);font-size:10.5px}
.sc-go{color:var(--accent-2)}
.sc-aff{margin:8px 0 0;font-size:9.5px;color:var(--muted-2)}

/* Body map (injection tracker) */
.sc-body{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}
.bm-figure{position:relative;width:120px;height:230px}
.bm-head{position:absolute;top:0;left:50%;transform:translateX(-50%);width:34px;height:34px;border-radius:50%;background:var(--surface-2);border:1px solid var(--stroke-2)}
.bm-torso{position:absolute;top:40px;left:50%;transform:translateX(-50%);width:74px;height:96px;border-radius:24px 24px 18px 18px;background:var(--surface-2);border:1px solid var(--stroke-2)}
.bm-arm{position:absolute;top:44px;width:14px;height:80px;border-radius:10px;background:var(--surface-2);border:1px solid var(--stroke-2)}
.bm-arm-l{left:14px;transform:rotate(8deg)} .bm-arm-r{right:14px;transform:rotate(-8deg)}
.bm-leg{position:absolute;top:132px;width:20px;height:96px;border-radius:12px;background:var(--surface-2);border:1px solid var(--stroke-2)}
.bm-leg-l{left:38px} .bm-leg-r{right:38px}
.bm-dot{position:absolute;width:13px;height:13px;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 3px rgba(0,0,0,.25)}
.d-ok{background:#3ad29f} .d-warn{background:#f5b042} .d-hot{background:#ff5d6c}
.sc-legend{display:flex;gap:12px;font-size:10.5px;color:var(--muted)}
.sc-legend span{display:flex;align-items:center;gap:5px}
.sc-legend i{width:9px;height:9px;border-radius:50%;display:inline-block}
.sc-legend i.d-ok{background:#3ad29f} .sc-legend i.d-warn{background:#f5b042} .sc-legend i.d-hot{background:#ff5d6c}

/* Progress photos */
.pj-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pj-photo{position:relative;height:150px;border-radius:13px;border:1px solid var(--stroke);
  background:linear-gradient(160deg,#23233a,#16161f);overflow:hidden}
.pj-photo-2{background:linear-gradient(160deg,#2a2440,#181826)}
.pj-label{position:absolute;top:7px;left:7px;background:var(--accent);color:#0a0a0f;font-size:9.5px;font-weight:800;padding:2px 7px;border-radius:6px}
.pj-meta{position:absolute;bottom:7px;left:7px;right:7px;font-size:10px;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.6)}
.pj-gap{align-self:center;background:var(--accent-soft);color:var(--accent-2);font-size:12px;font-weight:700;padding:5px 13px;border-radius:999px;margin-top:2px}
.pj-scrub{position:relative;height:5px;border-radius:3px;background:var(--surface-2);margin:8px 6px 0}
.pj-knob{position:absolute;top:50%;left:62%;width:15px;height:15px;border-radius:50%;background:var(--accent);transform:translate(-50%,-50%);box-shadow:0 2px 6px rgba(0,0,0,.4)}

/* Insights */
.sc-stats{display:flex;gap:8px}
.sc-stat{flex:1;background:var(--surface);border:1px solid var(--stroke);border-radius:12px;padding:10px;text-align:center}
.sc-stat b{display:block;font-size:20px;font-weight:800;color:var(--accent-2)}
.sc-stat small{color:var(--muted-2);font-size:10px}
.sc-chart{width:100%;height:80px;display:block}
.sc-insight{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--stroke);border-radius:13px;padding:11px}
.sc-iglyph{width:30px;height:30px;border-radius:9px;background:var(--accent-soft);color:var(--accent-2);display:grid;place-items:center}
.sc-insight strong{font-size:12.5px;display:block}
.sc-insight small{color:var(--muted-2);font-size:11px}

@media(max-width:560px){
  .device-featured{transform:none}
  .device-show{width:230px;height:480px}
  .split-wide.reverse>div:first-child{order:0}
}

/* ============================================================
   Public peptide reference pages
   ============================================================ */
.ref-hero{padding:64px 0 28px;background:radial-gradient(800px 360px at 50% -20%,rgba(139,124,255,.16),transparent)}
.ref-hero h1{font-size:clamp(34px,5vw,52px);font-weight:800;margin-bottom:16px}
.ref-hero .lead{margin-bottom:26px}
.ref-controls{margin-bottom:16px}
.ref-search{display:flex;align-items:center;gap:10px;max-width:460px;background:var(--surface);border:1px solid var(--stroke-2);border-radius:13px;padding:0 14px}
.ref-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.ref-search-icon{color:var(--muted-2);font-size:18px}
.ref-search input{flex:1;background:none;border:none;color:var(--text);font-size:16px;padding:13px 0;outline:none}
.ref-chips{display:flex;flex-wrap:wrap;gap:8px}
.ref-chip{background:var(--surface);border:1px solid var(--stroke);color:var(--muted);font-size:14px;font-weight:600;
  padding:8px 15px;border-radius:999px;cursor:pointer;transition:.14s}
.ref-chip:hover{color:var(--text);border-color:var(--stroke-2)}
.ref-chip.is-active{background:var(--accent);border-color:var(--accent);color:#0a0a0f}
.ref-section{padding-top:34px}
.ref-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}
.ref-card{background:var(--surface);border:1px solid var(--stroke);border-radius:var(--radius);padding:20px;display:flex;flex-direction:column;gap:12px;transition:.16s}
.ref-card:hover{border-color:var(--accent);transform:translateY(-3px);text-decoration:none;box-shadow:0 18px 36px rgba(0,0,0,.32)}
.ref-card-top{display:flex;align-items:center;gap:12px}
.ref-icon{width:44px;height:44px;border-radius:12px;background:var(--accent-soft);color:var(--accent-2);display:grid;place-items:center;font-size:20px;flex:0 0 auto}
.ref-card-top h3{font-size:18px;margin:0}
.ref-cat{color:var(--muted-2);font-size:13px}
.ref-summary{color:var(--muted);font-size:14px;margin:0}
.ref-pills{display:flex;flex-wrap:wrap;gap:6px}
.ref-pill{background:var(--surface-2);border:1px solid var(--stroke);color:var(--muted);font-size:11.5px;padding:3px 9px;border-radius:999px}
.ref-empty{text-align:center;color:var(--muted);padding:40px 0}
.ref-note{text-align:center;margin-top:30px}

/* Reference detail */
.ref-detail{padding:40px 0 70px}
.narrow-wide{max-width:820px}
.ref-back{margin-bottom:14px}
.ref-back a{color:var(--muted);font-weight:600}
.rd-header{display:flex;gap:18px;align-items:flex-start;margin-bottom:18px}
.ref-icon-lg{width:60px;height:60px;font-size:27px;border-radius:16px}
.ref-cat-pill{display:inline-block;background:var(--accent-soft);color:var(--accent-2);font-size:12px;font-weight:700;padding:4px 11px;border-radius:999px;margin-bottom:8px}
.rd-header h1{font-size:clamp(30px,4.5vw,44px);font-weight:800}
.rd-aliases{color:var(--muted-2);font-size:14px;margin:6px 0 0}
.rd-summary{font-size:19px;color:var(--text);margin:0 0 26px;line-height:1.5}
.rd-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin-bottom:30px}
.rd-facts div{background:var(--surface);border:1px solid var(--stroke);border-radius:13px;padding:14px}
.rd-facts span{display:block;color:var(--muted-2);font-size:12px;margin-bottom:4px}
.rd-facts strong{font-size:15px}
.rd-block{padding:22px 0;border-top:1px solid var(--stroke)}
.rd-block h2{font-size:21px;margin-bottom:14px}
.rd-block>p{color:var(--muted);margin:0;line-height:1.65}
.rd-subhead{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted-2);margin:18px 0 8px}
.rd-tags{display:flex;flex-wrap:wrap;gap:8px}
.rd-tag{background:var(--surface);border:1px solid var(--stroke);color:var(--text);font-size:13.5px;padding:6px 12px;border-radius:999px}
.rd-tag-link{color:var(--accent-2)}
.rd-tag-link:hover{border-color:var(--accent);text-decoration:none}
.rd-doses{display:grid;gap:10px}
.rd-dose{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--stroke);border-radius:12px;padding:12px 14px}
.rd-dose strong{margin-left:auto;text-align:right}
.dose-label{font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px}
.dose-label.ok{background:rgba(58,210,159,.16);color:#3ad29f}
.dose-label.acc{background:var(--accent-soft);color:var(--accent-2)}
.dose-label.warn{background:rgba(245,176,66,.16);color:#f5b042}
.rd-se{list-style:none;padding:0;margin:0;display:grid;gap:2px}
.rd-se li{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--stroke)}
.rd-se li:last-child{border-bottom:none}
.se-dot{width:10px;height:10px;border-radius:50%;flex:0 0 auto}
.se-ok{background:#3ad29f} .se-warn{background:#f5b042} .se-bad{background:#ff5d6c}
.se-name{font-weight:500}
.se-meta{margin-left:auto;color:var(--muted-2);font-size:13px}
.rd-refs{margin:0;padding-left:18px;color:var(--muted);font-size:14px}
.rd-refs li{margin-bottom:6px}
.rd-vendors{display:grid;gap:10px}
.rd-vendor{display:flex;align-items:center;gap:13px;background:var(--surface);border:1px solid var(--stroke);border-radius:13px;padding:13px 15px;transition:.14s}
.rd-vendor:hover{border-color:var(--accent);text-decoration:none;transform:translateX(2px)}
.rd-vendor-icon{width:38px;height:38px;border-radius:11px;background:var(--accent-soft);display:grid;place-items:center;font-size:17px}
.rd-vendor-main{flex:1;display:flex;flex-direction:column;line-height:1.3}
.rd-vendor-main strong{font-size:15.5px;color:var(--text)}
.rd-vendor-main small{color:var(--muted-2);font-size:13px}
.rd-vendor-go{color:var(--accent-2);font-size:18px}
.rd-affiliate{margin-top:12px}
.rd-disclaimer{margin-top:26px;padding:16px;background:rgba(78,168,255,.07);border:1px solid rgba(78,168,255,.2);border-radius:12px;color:var(--muted);font-size:13.5px}
.rd-cta{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:30px;padding:22px 24px;
  background:linear-gradient(140deg,var(--surface),var(--bg-2));border:1px solid var(--stroke-2);border-radius:18px;flex-wrap:wrap}
.rd-cta strong{font-size:17px}
.rd-cta p{margin:4px 0 0}

/* ============================================================
   v2 elevation — badge, hero art, why, testimonials, reveals
   ============================================================ */

/* App Store badge */
.appstore-badge{display:inline-block;line-height:0;border-radius:11px;transition:transform .16s,filter .16s}
.appstore-badge .asb{height:48px;width:auto;display:block}
.appstore-badge.badge-lg .asb{height:54px}
.appstore-badge:hover{transform:translateY(-2px);text-decoration:none;filter:drop-shadow(0 10px 22px rgba(0,0,0,.5))}
.appstore-badge .asb rect{transition:stroke .16s}
.appstore-badge:hover .asb rect{stroke:rgba(139,124,255,.65)}
.nav-cta{flex:0 0 auto}

/* Hero */
.hero{position:relative;overflow:hidden;padding:88px 0 78px}
.hero-bg{position:absolute;inset:0;z-index:0;pointer-events:none;background:
  radial-gradient(900px 520px at 80% 14%, rgba(139,124,255,.20), transparent 60%),
  radial-gradient(680px 480px at 8% 86%, rgba(109,91,255,.12), transparent 60%)}
.hero .container{position:relative;z-index:1}
.hero h1{font-size:clamp(42px,6.4vw,72px)}
.hero-claim{font-weight:700;color:var(--accent-2);font-size:15.5px;letter-spacing:.01em;margin:-4px 0 16px}
.hero .lead{font-size:19px;max-width:480px}
.hero-cta{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:24px}

/* Vitruvian hero art */
.hero-art{position:relative;display:grid;place-items:center;min-height:460px}
.hero-aura{position:absolute;width:470px;height:470px;max-width:100%;border-radius:50%;z-index:0;filter:blur(16px);
  background:radial-gradient(circle,rgba(139,124,255,.24),transparent 62%);animation:auraPulse 7s ease-in-out infinite}
@keyframes auraPulse{0%,100%{transform:scale(1);opacity:.85}50%{transform:scale(1.06);opacity:1}}
.vitruvian{position:relative;z-index:1;width:min(470px,94%);height:auto;
  filter:drop-shadow(0 24px 56px rgba(80,60,200,.28))}
.vitruvian .pulse{animation:dotPulse 2.6s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
@keyframes dotPulse{0%,100%{opacity:1}50%{opacity:.4}}
@media(prefers-reduced-motion:reduce){.hero-aura,.vitruvian .pulse,.hero-chip{animation:none}}

.hero-chip{position:absolute;z-index:2;display:flex;align-items:center;gap:11px;
  background:rgba(18,18,28,.82);backdrop-filter:blur(12px);border:1px solid var(--stroke-2);
  border-radius:15px;padding:11px 14px;box-shadow:0 14px 34px rgba(0,0,0,.45)}
.hero-chip strong{display:block;font-size:13.5px;line-height:1.2}
.hero-chip small{color:var(--muted-2);font-size:11px}
.chip-tl{top:6%;left:-3%;animation:floatA 6s ease-in-out infinite}
.chip-br{bottom:7%;right:-3%;animation:floatB 7.5s ease-in-out infinite}
.chip-dot{width:11px;height:11px;border-radius:50%;background:#3ad29f;box-shadow:0 0 0 5px rgba(58,210,159,.16)}
.chip-ring{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:800;color:#fff;
  background:conic-gradient(var(--accent) 0 68%,#26263a 68% 100%)}
.chip-ring span{background:#11111a;width:30px;height:30px;border-radius:50%;display:grid;place-items:center}
@keyframes floatA{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes floatB{0%,100%{transform:translateY(0)}50%{transform:translateY(9px)}}

/* Why DoseForge */
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.why-card{background:var(--surface);border:1px solid var(--stroke);border-radius:18px;padding:26px;transition:.18s}
.why-card:hover{border-color:var(--stroke-2);transform:translateY(-3px);box-shadow:0 18px 38px rgba(0,0,0,.3)}
.why-icon{font-size:25px;width:54px;height:54px;border-radius:14px;display:grid;place-items:center;margin-bottom:15px;
  background:linear-gradient(140deg,rgba(139,124,255,.24),rgba(109,91,255,.07))}
.why-card h3{font-size:18px;margin-bottom:8px}
.why-card p{color:var(--muted);font-size:14.5px;margin:0}

/* Feature card hover polish (gradient ring + icon motion) */
.feature-card{position:relative}
.feature-card::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;opacity:0;transition:opacity .2s;
  background:linear-gradient(140deg,var(--accent),rgba(139,124,255,0) 62%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude}
.feature-card:hover::after{opacity:1}
.feature-icon{transition:transform .25s}
.feature-card:hover .feature-icon{transform:scale(1.09) rotate(-3deg)}

/* Testimonials */
.quote-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.quote-card{background:var(--surface);border:1px solid var(--stroke);border-radius:18px;padding:24px;display:flex;flex-direction:column;gap:13px}
.quote-card:hover{border-color:var(--stroke-2)}
.quote-stars{color:#f5b042;letter-spacing:3px;font-size:14px}
.quote-card blockquote{margin:0;font-size:16px;line-height:1.55}
.quote-card figcaption{color:var(--muted-2);font-size:13px;font-weight:600;margin-top:auto}
.quote-note{text-align:center;margin-top:24px}

/* Pricing + CTA badges */
.price-cta{display:flex;justify-content:center;margin-top:10px}
.cta-final{position:relative;overflow:hidden}
.cta-glow{position:absolute;inset:0;z-index:0;background:radial-gradient(720px 320px at 50% 130%,rgba(139,124,255,.26),transparent 62%)}
.cta-final .container{position:relative;z-index:1}
.cta-badges{display:flex;justify-content:center;margin-top:6px}
.footer-badge{margin-top:18px}
.footer-badge .asb{height:44px}

/* Larger, more prominent screenshots */
.device-show{width:264px;height:540px}
.device-featured{transform:scale(1.1)}
.device-wide{width:330px;height:362px}
.screens-row{gap:30px}

/* Scroll reveal */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1)}
.reveal.in{opacity:1;transform:none}
.why-grid>.reveal:nth-child(3n+2),.feature-grid>.reveal:nth-child(3n+2),.quote-grid>.reveal:nth-child(3n+2){transition-delay:.07s}
.why-grid>.reveal:nth-child(3n),.feature-grid>.reveal:nth-child(3n),.quote-grid>.reveal:nth-child(3n){transition-delay:.14s}
.steps>.reveal:nth-child(2){transition-delay:.08s}
.steps>.reveal:nth-child(3){transition-delay:.16s}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}

/* Tighter rhythm */
.section-head{margin-bottom:52px}

@media(max-width:900px){
  .why-grid,.quote-grid{grid-template-columns:1fr 1fr}
  .device-featured{transform:none}
}
@media(max-width:600px){
  .why-grid,.quote-grid{grid-template-columns:1fr}
  .hero-chip{display:none}
  .device-show{width:240px;height:494px}
}

/* Site Tracker mockup — real Vitruvian figure */
.sc-toggle{display:flex;background:var(--surface);border:1px solid var(--stroke);border-radius:999px;padding:3px;width:138px;margin:2px auto 0;font-size:10px;font-weight:700}
.sc-toggle span{flex:1;text-align:center;padding:4px 0;border-radius:999px;color:var(--muted-2)}
.sc-toggle .on{background:var(--accent);color:#0a0a0f}
.sc-vitruvian{width:100%;max-width:212px;height:auto;display:block;margin:0 auto}
.sc-legend i.d-avail{background:#8a8aa6}

/* Hero figure legend (replaces the old floating chips) */
.hero-legend{position:relative;z-index:1;display:flex;gap:20px;flex-wrap:wrap;justify-content:center;margin-top:10px;font-size:13.5px;color:var(--muted)}
.hero-legend span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.hero-legend i{width:10px;height:10px;border-radius:50%;display:inline-block;flex:0 0 auto}
.lg-next{background:#3ad29f}.lg-recent{background:#f5b042}.lg-open{background:#8a8aa6}

/* Dual store badges (App Store + Google Play) */
.store-badges{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.appstore-badge .gpb{height:48px;width:auto;display:block}
.appstore-badge.badge-lg .gpb{height:54px}
.footer-badge .gpb{height:44px}
.price-cta .store-badges,.cta-badges .store-badges{justify-content:center}
.footer-badges{gap:10px;margin-top:2px}
@media(max-width:480px){.store-badges{gap:9px}.appstore-badge.badge-lg .asb,.appstore-badge.badge-lg .gpb{height:46px}}
