/* 520 Quest landing page (index.html only). Other pages keep site.css. */
:root {
  --bg: #070f22; --bg-2: #0b1630; --card: rgb(255 255 255 / .04); --card-2: rgb(255 255 255 / .07);
  --line: rgb(255 255 255 / .09); --line-2: rgb(255 255 255 / .16);
  --text: #f5f7fb; --muted: #a3b0cc; --dim: #6f7fa3;
  --pink: #ec4899; --pink-2: #f472b6; --cyan: #67e8f9; --gold: #fbbf24; --good: #4ade80;
  --grad: linear-gradient(100deg, #f472b6 0%, #ec4899 35%, #a78bfa 70%, #67e8f9 100%);
  --display: "Chakra Petch", "Arial Narrow", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 22px; color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--pink-2); }
img, video { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 22px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.04; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(44px, 7.4vw, 88px); font-weight: 700; }
h2 { font-size: clamp(32px, 4.8vw, 56px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: 0; }
p { margin: 0; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12.5px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--pink-2); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 36em; }
.fine { font-size: 14px; color: var(--dim); }
section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.head { display: grid; gap: 18px; max-width: 46em; margin-bottom: clamp(36px, 5vw, 64px); }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font: 800 16px/1 var(--body); text-decoration: none; color: var(--text); background: var(--card-2); border: 1px solid var(--line-2); cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); background: rgb(255 255 255 / .11); }
.btn.primary { background: linear-gradient(135deg, #f472b6, #ec4899 60%, #db2777); border-color: transparent; color: #fff; box-shadow: 0 10px 40px -10px rgb(236 72 153 / .7), inset 0 1px 0 rgb(255 255 255 / .3); }
.btn.primary:hover { box-shadow: 0 16px 50px -10px rgb(236 72 153 / .85), inset 0 1px 0 rgb(255 255 255 / .3); }
.btn.small { padding: 10px 16px; font-size: 14px; }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; transform: none; }
.btn svg { width: 18px; height: 18px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgb(7 15 34 / .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo { display: flex; align-items: center; gap: 11px; font: 700 20px/1 var(--display); color: var(--text); text-decoration: none; letter-spacing: .02em; }
.logo i { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, #f472b6, #db2777); display: grid; place-items: center; font: 700 12px/1 var(--display); font-style: normal; color: #fff; box-shadow: 0 6px 20px -6px rgb(236 72 153 / .8); }
.nav .links { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.nav .links a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s; }
.nav .links a:not(.btn):hover { color: var(--text); }
@media (max-width: 860px) { .nav .links a.hide-sm { display: none; } }

/* hero */
.hero { min-height: min(100svh, 980px); display: grid; align-items: center; padding: 120px 0 80px; position: relative; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 60% at 75% 40%, rgb(236 72 153 / .22), transparent 70%), radial-gradient(50% 50% at 90% 80%, rgb(103 232 249 / .14), transparent 70%), var(--bg); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; opacity: .75; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 18%, rgb(7 15 34 / .6) 50%, transparent 80%), linear-gradient(0deg, var(--bg), transparent 30%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.hero-copy .row { display: flex; gap: 14px; flex-wrap: wrap; }
.badge { justify-self: start; display: inline-flex; gap: 10px; align-items: center; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); text-decoration: none; }
.badge b { background: var(--pink); color: #fff; font: 700 11px/1 var(--display); letter-spacing: .1em; padding: 5px 8px; border-radius: 999px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 15px; }
.checks span::before { content: "✓"; color: var(--good); font-weight: 800; margin-right: 7px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero::after { background: linear-gradient(0deg, var(--bg) 10%, rgb(7 15 34 / .7) 60%, rgb(7 15 34 / .4)); } }

/* phone */
.phone { position: relative; width: 300px; aspect-ratio: 585 / 1266; border-radius: 46px; padding: 10px; background: linear-gradient(160deg, #2a3555, #0d1428 40%, #1b2440); box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 50px 100px -30px rgb(0 0 0 / .8), 0 30px 80px -40px rgb(236 72 153 / .55); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 37px; background: #fff; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 90px; height: 24px; border-radius: 20px; background: #05080f; z-index: 2; }
.stack { position: relative; height: 640px; justify-self: center; width: 100%; max-width: 520px; }
.stack .phone { position: absolute; }
.stack .p1 { left: 50%; top: 0; translate: -38% 0; z-index: 3; animation: float 7s ease-in-out infinite; }
.stack .p2 { left: 0; top: 70px; width: 250px; rotate: -8deg; opacity: .85; z-index: 2; animation: float 8s ease-in-out -2s infinite; }
.stack .p3 { right: -10px; top: 110px; width: 230px; rotate: 7deg; opacity: .7; z-index: 1; animation: float 9s ease-in-out -4s infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
@media (max-width: 900px) { .stack { height: 560px; } .stack .p1 { width: 260px; } .stack .p2 { width: 200px; } .stack .p3 { width: 190px; right: 0; } }
@media (max-width: 480px) { .stack { height: 480px; } .stack .p1 { width: 230px; } .stack .p2 { width: 170px; top: 60px; } .stack .p3 { width: 160px; } }

/* stats */
.stats { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgb(255 255 255 / .02), transparent); padding-block: 40px; }
.stats .wrap { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.stat b { display: block; font: 700 clamp(30px, 3.6vw, 44px)/1 var(--display); }
.stat span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .stats .wrap { grid-template-columns: repeat(3, 1fr); row-gap: 32px; } }
@media (max-width: 520px) { .stats .wrap { grid-template-columns: repeat(2, 1fr); } }

/* video */
.video-frame { position: relative; border-radius: 28px; padding: 1px; background: linear-gradient(135deg, rgb(244 114 182 / .7), rgb(255 255 255 / .08) 40%, rgb(103 232 249 / .5)); box-shadow: 0 60px 120px -50px rgb(236 72 153 / .5); }
.video-frame .inner { border-radius: 27px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; display: grid; place-items: center; }
.video-frame video, .video-frame .inner > img { width: 100%; height: 100%; object-fit: cover; }
.clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.clip { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.clip video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.clip p { padding: 14px 16px; font-size: 15px; color: var(--muted); }
.clip p b { color: var(--text); display: block; font-family: var(--display); font-size: 17px; }
@media (max-width: 760px) { .clips { grid-template-columns: 1fr; } }

.demo-row { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 7vw, 100px); align-items: center; justify-content: center; max-width: 900px; margin-inline: auto; }
.demo-phone { width: 330px; }
.demo-phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; background: #0b1630; }
.demo-notes { display: grid; gap: 26px; }
.demo-notes b { font: 700 14px/1 var(--display); color: var(--pink-2); letter-spacing: .1em; }
.demo-notes h3 { margin: 8px 0 6px; }
.demo-notes p { color: var(--muted); }
.demo-notes .btn { justify-self: start; }
@media (max-width: 760px) { .demo-row { grid-template-columns: 1fr; justify-items: center; } .demo-phone { width: 280px; } }

/* new this month */
.new-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.new { position: relative; padding: 28px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .3s; }
.new:hover { border-color: var(--line-2); transform: translateY(-4px); }
.new::before { content: ""; position: absolute; inset: -1px -1px auto; height: 2px; background: var(--grad); opacity: .0; transition: opacity .3s; }
.new:hover::before { opacity: 1; }
.new .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgb(236 72 153 / .14); color: var(--pink-2); margin-bottom: 18px; }
.new .ic.c { background: rgb(103 232 249 / .12); color: var(--cyan); }
.new .ic.g { background: rgb(251 191 36 / .12); color: var(--gold); }
.new .ic svg { width: 24px; height: 24px; }
.new h3 { margin-bottom: 10px; }
.new p { color: var(--muted); font-size: 16px; }
.new.wide { grid-column: span 2; }
@media (max-width: 900px) { .new-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .new-grid { grid-template-columns: 1fr; } .new.wide { grid-column: auto; } }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding-block: clamp(40px, 6vw, 70px); }
.feature.flip .f-media { order: 2; }
.f-copy { display: grid; gap: 20px; }
.f-copy ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.f-copy li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--muted); }
.f-copy li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: rgb(74 222 128 / .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%234ade80' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.f-copy li b { color: var(--text); }
.f-media { position: relative; display: flex; justify-content: center; gap: 22px; padding: 50px 20px; border-radius: 32px; background: radial-gradient(70% 70% at 50% 40%, rgb(236 72 153 / .18), transparent 70%), var(--card); border: 1px solid var(--line); overflow: hidden; }
.f-media.cy { background: radial-gradient(70% 70% at 50% 40%, rgb(103 232 249 / .15), transparent 70%), var(--card); }
.f-media.go { background: radial-gradient(70% 70% at 50% 40%, rgb(251 191 36 / .14), transparent 70%), var(--card); }
.f-media .phone { width: 250px; flex: none; }
.f-media .phone + .phone { margin-top: 60px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature.flip .f-media { order: 0; } }
@media (max-width: 560px) { .f-media .phone { width: 200px; } .f-media .phone + .phone { display: none; } }

/* loop */
.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.loop div { padding: 26px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); counter-increment: s; position: relative; }
.loop div::before { content: "0" counter(s); font: 700 14px/1 var(--display); color: var(--pink-2); letter-spacing: .1em; display: block; margin-bottom: 14px; }
.loop div p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
@media (max-width: 900px) { .loop { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .loop { grid-template-columns: 1fr; } }

/* compare */
.compare { border-radius: 26px; border: 1px solid var(--line); overflow: auto; background: var(--card); }
.compare table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15.5px; }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 700 14px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: rgb(255 255 255 / .02); }
.compare tbody th { font-weight: 600; color: var(--text); width: 28%; }
.compare td { color: var(--muted); }
.compare .us { background: linear-gradient(180deg, rgb(236 72 153 / .14), rgb(236 72 153 / .06)); color: var(--text); font-weight: 600; }
.compare thead .us { color: #fff; background: linear-gradient(180deg, rgb(236 72 153 / .35), rgb(236 72 153 / .14)); }
.compare tr:last-child > * { border-bottom: 0; }
.yes { color: var(--good); font-weight: 800; }

/* honesty strip */
.honest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.honest div { padding: 20px 22px; border-radius: 18px; border: 1px dashed var(--line-2); color: var(--muted); font-size: 15px; }
.honest b { color: var(--text); display: block; margin-bottom: 4px; }
@media (max-width: 820px) { .honest { grid-template-columns: 1fr; } }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.tier { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 14px; padding: 28px 24px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.tier .flag { justify-self: start; font: 700 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--card-2); color: var(--muted); }
.tier .price { font: 700 40px/1 var(--display); }
.tier .price small { font: 500 15px/1 var(--body); color: var(--muted); }
.tier .per { font-size: 14px; color: var(--dim); margin-top: -6px; }
.tier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; align-content: start; font-size: 15px; color: var(--muted); }
.tier li::before { content: "✓"; color: var(--good); font-weight: 800; margin-right: 8px; }
.tier .btn { width: 100%; }
.tier.best { position: relative; background: linear-gradient(180deg, rgb(236 72 153 / .16), rgb(236 72 153 / .03)); border-color: rgb(236 72 153 / .55); box-shadow: 0 40px 90px -40px rgb(236 72 153 / .6); }
.tier.best .flag { background: var(--pink); color: #fff; }
@media (max-width: 1000px) { .tiers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); padding: 4px 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--body); color: var(--pink-2); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* cta */
.cta { text-align: center; border-radius: 36px; padding: clamp(56px, 8vw, 100px) 24px; position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--line-2); background: radial-gradient(60% 90% at 50% 0%, rgb(236 72 153 / .35), transparent 70%), radial-gradient(50% 80% at 50% 120%, rgb(103 232 249 / .2), transparent 70%), linear-gradient(90deg, rgb(11 22 48 / .92) 30%, rgb(11 22 48 / .55)), url(images/cta-bg.webp) right center / cover, var(--bg-2); display: grid; gap: 22px; justify-items: center; }
.cta .lede { margin-inline: auto; }

footer { border-top: 1px solid var(--line); padding: 44px 0 110px; color: var(--dim); font-size: 14px; }
footer .wrap { display: grid; gap: 10px; }
footer a { color: var(--muted); }

.buybar { position: fixed; left: 50%; bottom: 16px; translate: -50% 140%; z-index: 40; display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 20px; border-radius: 999px; background: rgb(11 22 48 / .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px rgb(0 0 0 / .8); transition: translate .4s; font-size: 15px; white-space: nowrap; }
.buybar.show { translate: -50% 0; }
@media (max-width: 520px) { .buybar .long { display: none; } }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .stack .phone { animation: none; } html { scroll-behavior: auto; } }
