/* ==========================================================================
   Pin Magic – "Glass + Red Rim" layer (loaded LAST, after pm.css)
   Frosted glass cards, red hairline borders, soft colour glows,
   readable Inter labels (no mono), League Spartan headings.
   ========================================================================== */
:root{
  --bg:#0d0d10;
  --accent:#ff3b4f; --accent-h:#ff5a6b; --accent-d:#e8132b;
  --tx:#f6f6f8; --tx-2:#c6c6d0; --mut:#a2a2b0; --mut-2:#85859a;
  --surface:rgba(255,255,255,.055);
  --surface-2:rgba(255,255,255,.08);
  --surface-3:rgba(255,255,255,.12);
  --line:rgba(255,255,255,.10); --line-2:rgba(255,255,255,.16);
  --rim:rgba(255,81,99,.38); --rim-h:rgba(255,90,107,.85);
  --glass:rgba(22,20,32,.62); --glass-line:rgba(255,81,99,.30);
  --blur:blur(18px) saturate(150%);
  --gshadow:0 1px 0 rgba(255,255,255,.10) inset,0 22px 50px -24px rgba(0,0,0,.75);
  --gglow:0 0 0 4px rgba(255,59,79,.12),0 18px 44px -18px rgba(255,59,79,.55);
}
body{
  background:
    radial-gradient(900px 520px at 8% -6%,rgba(232,19,43,.26),transparent 60%),
    radial-gradient(800px 560px at 96% 8%,rgba(124,58,237,.22),transparent 62%),
    radial-gradient(760px 520px at 70% 100%,rgba(255,122,26,.12),transparent 60%),
    #0d0d10 !important;
  background-attachment:fixed !important;
  font-size:16px;line-height:1.6;
}
/* ---- type: bigger, higher contrast, no mono ---- */
h1,h2,h3,.brand{font-family:var(--hd)!important;letter-spacing:-.02em}
h3{font-size:clamp(18px,1.6vw,22px)}
.lbl,.eyebrow,.head .eyebrow,.sx>.head>.eyebrow,.ph .eyebrow,.tryx label,.spec span,.works .wl{
  font:600 13px/1.3 'Inter',system-ui,sans-serif!important;letter-spacing:.06em!important;
  text-transform:uppercase;color:var(--mut)!important}
.eyebrow,.head .eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;
  background:rgba(255,59,79,.10)!important;border:1px solid var(--rim)!important;color:#ffb3bb!important}
.eyebrow::before,.ph .eyebrow::before{display:inline-block!important;content:'';width:7px;height:7px;border-radius:50%;
  background:var(--accent);box-shadow:0 0 0 4px rgba(255,59,79,.18)}
.hero2 h1 em,.hero2 h1 span{background:linear-gradient(135deg,#ff3b4f,#ff8a5b);-webkit-background-clip:text;background-clip:text;color:transparent}
p,li{color:var(--tx-2)}
/* ---- glass cards (one recipe everywhere) ---- */
.card,.tcard,.plan,.plan.hot,.shotf,.stp li,.faq details,.spec,.caps>div,.pgrid .pc,
.tryx form,.pcta,.sidecta,.ph,.promo,.h2p figure,figure.shotf,.tk{
  background:var(--surface)!important;
  border:1px solid var(--rim)!important;
  border-radius:20px!important;
  -webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);
  box-shadow:var(--gshadow)!important;
  transition:transform .2s var(--ease,ease),border-color .2s,box-shadow .2s,background .2s}
.card:hover,.tcard:hover,.plan:hover,.stp li:hover,.caps>div:hover,.pgrid .pc:hover,.faq details:hover{
  transform:translateY(-3px);border-color:var(--rim-h)!important;box-shadow:var(--gshadow),var(--gglow)!important;background:var(--surface-2)!important}
.plan.hot{border-color:var(--rim-h)!important;box-shadow:var(--gshadow),var(--gglow)!important}
.faq details[open]{border-color:var(--rim-h)!important}
.faq summary{font-weight:600;color:var(--tx);cursor:pointer}
/* stats strip */
.spec{border-radius:20px!important;overflow:hidden}
.spec>div{border-left:1px solid rgba(255,81,99,.22)!important}
.spec b{font-size:clamp(26px,3vw,38px)!important;background:linear-gradient(135deg,#fff,#ffb3bb);-webkit-background-clip:text;background-clip:text;color:transparent}
.spec span{margin-top:8px}
/* link-preview form = the hero focus */
.tryx form{padding:8px!important;border-color:var(--rim-h)!important;box-shadow:var(--gshadow),var(--gglow)!important}
.tryx input{font-size:16px!important;color:var(--tx)!important;background:transparent!important}
.tryx input::placeholder{color:var(--mut-2)}
/* hero pins: calmer tilt, glass frame */
.h2p figure{border-radius:18px!important;overflow:hidden;padding:0!important}
.h2p figure img{border-radius:inherit;display:block}
/* ---- buttons ---- */
.btn{border-radius:14px!important;font-weight:600;min-height:44px;transition:transform .18s,box-shadow .18s,background .18s,border-color .18s}
.btn:not(.ghost):not(.sec){background:linear-gradient(135deg,#e8132b,#ff4d5e)!important;color:#fff!important;border:0!important;box-shadow:0 14px 30px -12px rgba(232,19,43,.65)}
.btn:not(.ghost):not(.sec):hover{transform:translateY(-2px);box-shadow:0 18px 38px -12px rgba(255,59,79,.8)}
.btn.ghost,.btn.sec{background:var(--surface)!important;border:1px solid var(--rim)!important;color:var(--tx)!important;-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur)}
.btn.ghost:hover,.btn.sec:hover{border-color:var(--rim-h)!important;background:var(--surface-2)!important;transform:translateY(-2px)}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid rgba(255,59,79,.6);outline-offset:2px}
/* ---- nav: floating glass bar ---- */
.nav{position:sticky!important;top:12px!important;margin:12px auto 0!important;padding:10px 18px!important;
  border:1px solid var(--glass-line)!important;border-radius:18px!important;background:var(--glass)!important;
  -webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);box-shadow:var(--gshadow)!important}
.nav .links a{color:var(--tx-2);font-weight:500;font-size:15px;border-radius:10px;padding:8px 12px;transition:color .15s,background .15s}
.nav .links a:hover{color:#fff;background:rgba(255,59,79,.12)}
/* ---- sections ---- */
.sx{padding:clamp(40px,6vw,72px) 0!important}
.sx>.head h2,.home .sx h2{font-size:clamp(30px,3.8vw,46px)!important;color:var(--tx)}
.sx>.head p{font-size:18px;color:var(--tx-2);max-width:620px}
.lt,.pcta{background:linear-gradient(135deg,rgba(232,19,43,.30),rgba(124,58,237,.22))!important;border:1px solid var(--rim-h)!important;border-radius:24px!important}
/* footer */
footer,.ft{border-top:1px solid var(--rim)!important;background:rgba(13,13,16,.6)}
/* fallback if blur unsupported */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .card,.tcard,.plan,.shotf,.stp li,.faq details,.spec,.caps>div,.pgrid .pc,.tryx form,.nav{background:#17171d!important}}
@media(max-width:700px){:root{--blur:blur(10px) saturate(140%)}.card,.tcard,.plan{border-radius:16px!important}}
@media(prefers-reduced-motion:reduce){.card:hover,.tcard:hover,.plan:hover,.btn:hover{transform:none!important}}

/* ==========================================================================
   v2 fixes (from review screenshots)
   ========================================================================== */
:root{--mono:'Inter',system-ui,sans-serif;--glassfill:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.03));--cardbg:rgba(24,22,34,.80)}
html{scroll-padding-top:104px;overflow-x:clip}body{overflow-x:clip}
/* 2. one consistent glass fill (no muddy grey/brown tints) */
.card,.tcard,.plan,.plan.hot,.shotf,.stp li,.faq details,.spec,.caps>div,.pgrid .pc,.tryx form,.sidecta,.ph,.promo,.db-tile{
  background:var(--glassfill),var(--cardbg)!important}
.card:hover,.tcard:hover,.plan:hover,.stp li:hover,.caps>div:hover,.pgrid .pc:hover,.faq details:hover{
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.045)),rgba(28,25,40,.86)!important}
/* 3. nav: solid enough that content never shows through */
.nav{background:rgba(17,15,26,.92)!important;-webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);max-width:100%;box-sizing:border-box}
.nav::before,.nav::after{display:none!important}
.nav .brand img{background:none!important;filter:none!important;box-shadow:none!important;mix-blend-mode:normal}
.nav .brand,.nav .links,.nav .auth{position:relative;z-index:1}
.nav .links{gap:4px}
@media(max-width:1150px){.nav .links a{padding:8px 8px;font-size:14px}}
/* 1. separate cards with real gaps, no doubled borders */
.caps{gap:20px!important;border:0!important;background:none!important;border-radius:0!important;overflow:visible!important;grid-template-columns:repeat(4,minmax(0,1fr))}
.caps>div{min-height:190px}
.stp ol{gap:20px!important;border:0!important;border-radius:0!important;overflow:visible!important;background:none!important}
.stp li:first-child,.stp li{border:1px solid var(--rim)!important}
@media(max-width:1000px){.caps{grid-template-columns:repeat(2,minmax(0,1fr))}.stp ol{grid-template-columns:1fr}}
@media(max-width:560px){.caps{grid-template-columns:1fr}}
/* 4. labels: Inter, readable, one pill style; numbers readable */
.caps i,.stp i,.stp .sn{font:700 14px/1 'Inter',system-ui,sans-serif!important;font-style:normal;letter-spacing:.04em;color:#ff7684!important;margin-bottom:26px}
.stp .sn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;border:1px solid var(--rim);background:rgba(255,59,79,.12)}
.where,.sx .head .eyebrow,.stp .head .eyebrow,.demo .head .eyebrow{
  display:inline-flex!important;align-items:center;gap:8px;padding:7px 14px!important;border-radius:999px!important;
  background:rgba(255,59,79,.10)!important;border:1px solid var(--rim)!important;
  font:600 13px/1.3 'Inter',system-ui,sans-serif!important;letter-spacing:.06em;text-transform:uppercase;color:#ffb3bb!important}
.where img{width:16px;height:16px}
.fb,.fb .ft,.fb>*,.ft{border-top:0!important}
.fb .ft::before,.fb .ft::after,.fb::before{display:none!important}
.fb .feats li{background:var(--glassfill),var(--cardbg);border:1px solid var(--rim);border-radius:16px;padding:14px 16px;margin-bottom:12px;border-top-width:1px!important}
.fb .feats{border:0!important;padding:0;list-style:none}
.tcard .tk .badge,.tk em,.tcard .free,.tcard [class*=free]{font:700 12px/1 'Inter',sans-serif!important;letter-spacing:.06em;color:#ffb3bb;border-color:var(--rim)!important}
/* 5. demo steps readable + video spacing */
.demo .chips{margin-top:20px;gap:12px;flex-wrap:wrap}
.demo .chips span{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border-radius:999px;background:var(--glassfill),var(--cardbg);border:1px solid var(--rim);font-size:15px;font-weight:600;color:var(--tx)}
.demo .chips b{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--accent);color:#fff;font-size:13px}
.demo video{display:block;border-radius:16px;background:#000}
/* 7. tool cards: flat icon header, no card-inside-card */
.tcard .tk{background:linear-gradient(180deg,rgba(255,59,79,.10),transparent)!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:20px 20px 0 0!important;height:92px!important;box-shadow:none!important;backdrop-filter:none!important}
.tcard .tk .gl{background:rgba(255,59,79,.14)!important;border:1px solid var(--rim)!important;border-radius:16px!important;box-shadow:none!important;-webkit-backdrop-filter:none;backdrop-filter:none}
.tcard .tk .gl svg{stroke:#ff8a96!important;color:#ff8a96!important}
.tcard{overflow:hidden}
/* 6. dashboard: two separate glass cards, no stretch gap */
.db-grid{gap:24px!important;align-items:start!important}
.db-card{border-radius:24px!important;overflow:hidden;height:auto!important}
.db-card>.db-body{flex:0 1 auto!important;gap:4px}
#cs .btn,.db-card .btn.pri{margin-top:20px!important}
.db-card .db-shot,.db-card img{display:block;width:100%;height:auto;max-height:260px;object-fit:cover;object-position:top center}
/* 9. stats strip never overflows */
.spec{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.spec>div{min-width:0;padding:20px 22px!important}
.spec b{font-size:clamp(22px,2.6vw,36px)!important;white-space:nowrap}
@media(max-width:1000px){.spec{grid-template-columns:repeat(2,minmax(0,1fr))!important}.spec>div:nth-child(n+3){border-top:1px solid rgba(255,81,99,.22)}.spec>div:nth-child(3){border-left:0!important}}
.fr{font:700 12px/1 'Inter',system-ui,sans-serif!important;letter-spacing:.06em;text-transform:uppercase;color:#ffb3bb!important;background:rgba(255,59,79,.12)!important;border:1px solid var(--rim)!important;border-radius:999px;padding:6px 10px}

/* v3: Works-with as a glass strip + clear step numbers */
.works{
  padding:18px 24px!important;margin-top:36px!important;gap:20px 32px!important;justify-content:space-between;
  background:var(--glassfill),var(--cardbg)!important;border:1px solid var(--rim)!important;border-radius:20px!important;
  -webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);box-shadow:var(--gshadow)}
.works .wl{font:700 13px/1 'Inter',system-ui,sans-serif!important;letter-spacing:.08em;color:#ffb3bb!important;
  padding:8px 14px;border-radius:999px;background:rgba(255,59,79,.10);border:1px solid var(--rim)}
.works ul{gap:12px!important;flex:1;justify-content:flex-end}
.works li{padding:8px 16px 8px 10px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid var(--line-2);
  color:var(--tx)!important;font-weight:600;font-size:15px;transition:transform .18s,border-color .18s,background .18s}
.works li:hover{transform:translateY(-2px);border-color:var(--rim-h);background:rgba(255,59,79,.12)}
.works li img{width:26px;height:26px;border-radius:8px}
@media(max-width:760px){.works{padding:16px}.works ul{justify-content:flex-start}}
.home .demo .chips{gap:12px 14px!important;margin-top:22px}
.home .demo .chips span{display:inline-flex!important;align-items:center;gap:12px;padding:10px 18px 10px 10px!important;border-radius:999px!important;
  background:var(--glassfill),var(--cardbg)!important;border:1px solid var(--rim)!important;color:var(--tx)!important;font-size:15px!important;font-weight:600}
.home .demo .chips span b,.chips span b{
  display:inline-grid!important;place-items:center;flex:0 0 auto;width:30px;height:30px;margin:0!important;border-radius:50%;
  background:linear-gradient(135deg,#e8132b,#ff4d5e)!important;color:#fff!important;
  font:800 16px/1 'League Spartan','Inter',sans-serif!important;box-shadow:0 6px 16px -6px rgba(232,19,43,.8)}

/* v4: spacing now that Works-with sits after the demo */
.spec{margin-bottom:12px!important}
.works{margin:8px auto 24px!important}
.demo+.works{margin-top:4px!important}

/* v5: pin-title popup shown before the live preview */
.tm{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(8,6,14,.72);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.tm.on{display:flex}
.tmb{position:relative;width:min(520px,100%);padding:28px;border-radius:24px;background:var(--glassfill),rgba(22,20,32,.96);border:1px solid var(--rim-h);box-shadow:var(--gshadow),var(--gglow);color:var(--tx)}
.tmb h3{margin:6px 0 6px;font-size:26px}
.tmb p{margin:0 0 18px;color:var(--tx-2);font-size:15px}
.tmb label{display:block;margin-bottom:8px;font:600 13px/1.3 Inter,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--mut)}
.tmb input{width:100%;box-sizing:border-box;padding:14px 16px;border-radius:14px;border:1px solid var(--rim);background:rgba(10,10,14,.7);color:var(--tx);font:500 17px Inter,sans-serif}
.tmb input:focus{outline:none;border-color:var(--rim-h);box-shadow:0 0 0 3px rgba(255,59,79,.22)}
.tmt{margin:12px 0 0;font-size:14px;color:var(--tx-2);line-height:1.5}
.tmt code{padding:1px 6px;border-radius:6px;background:rgba(255,59,79,.14);color:#ffb3bb;font-family:Inter,sans-serif;font-weight:700}
.tmpv{min-height:0;margin-top:14px;font:800 24px/1.15 'League Spartan',Inter,sans-serif;color:#fff}
.tmpv:empty{display:none}.tmpv{padding:14px 16px;border-radius:14px;background:rgba(255,255,255,.05);border:1px dashed var(--rim)}
.tmpv mark{background:none;color:#ff5a6b}
.tma{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.tma .btn{flex:1 1 160px;justify-content:center}
.tmx{position:absolute;top:14px;right:14px;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--rim);background:var(--surface);color:var(--tx);cursor:pointer}
.tmx svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
