/* Cal Sans — SIL Open Font License 1.1, see /fonts/OFL-CalSans.txt. One weight; Telugu falls back to Noto Sans Telugu. */
@font-face { font-family: 'Cal Sans'; src: url('/fonts/cal-sans-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  /* "Inner cosmos": deep navy depth, warm gold for action, the logo's blue for brand moments */
  --bg: #060912;
  --bg2: #0b1022;
  --ink: #eef1fb;
  --ink2: #c4cae0;
  --muted: #8e96b2;
  --plum: #161c3d;
  --gold: #f0bd6f;
  --blue: #4aa8ff;
  --line: rgba(255, 255, 255, .1);
  --card: rgba(17, 23, 46, .62);
  --surface: rgba(12, 17, 36, .82);
  --field: rgba(255, 255, 255, .05);
  --glass: blur(18px) saturate(140%);
  --ok: #4cc38a;
  --bad: #ff7a7a;
  --r: 22px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --serif: 'Cal Sans', 'Noto Sans Telugu', system-ui, sans-serif;
  --sans: 'Cal Sans', 'Noto Sans Telugu', system-ui, sans-serif;
  --te: 'Noto Sans Telugu', 'Cal Sans', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; } /* honeypot: invisible to people, filled by naive bots */
.cf-box:not(:empty) { display: flex; justify-content: center; margin: 4px 0 12px; } /* layout rules like .field{display:flex} must never un-hide a hidden element */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; letter-spacing: .01em; font-synthesis: none; color: var(--ink); line-height: 1.6; overflow-x: hidden;
  background: radial-gradient(120% 70% at 50% -10%, #1a2350 0%, transparent 60%), radial-gradient(80% 60% at 100% 100%, #2a1640 0%, transparent 60%), var(--bg) fixed; background-color: var(--bg);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.te { font-family: var(--te); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* background orbs, slow drift */
.orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orbs i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(80px); opacity: .45; animation: drift 38s var(--ease) infinite alternate; }
.orbs i:nth-child(1) { background: #22306e; top: -25vmax; left: -20vmax; }
.orbs i:nth-child(2) { background: #3a1f5c; bottom: -30vmax; right: -25vmax; animation-delay: -12s; }
.orbs i:nth-child(3) { background: #134a6b; top: 30%; left: 40%; width: 35vmax; height: 35vmax; opacity: .3; animation-delay: -24s; }
@keyframes drift { to { transform: translate(6vmax, 4vmax) scale(1.08); } }

/* nav */
.nav { position: sticky; top: 10px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 10px 12px 0; padding: 6px 6px 6px 16px;
  border-radius: 22px; background: rgba(9, 13, 28, .72); backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass); border: 1px solid var(--line);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); }
@media (min-width: 720px) { .nav { max-width: 1120px; margin: 14px auto 0; padding: 8px 8px 8px 22px; } }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-family: var(--serif); font-size: 1.15rem; letter-spacing: .01em; }
.brand .logo { width: 38px; height: auto; }
.wordmark { font-size: .95rem; letter-spacing: .22em; color: var(--ink); }
.wordmark b { font-weight: 400; color: var(--blue); } /* the blue from the official logo */
.brand-top { display: flex; justify-content: center; margin-bottom: 14px; }
.brand-top img { height: 36px; width: auto; }
.links { display: none; }
.links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink2); font-size: .98rem; }
.links a:hover { color: var(--ink); }
.pill { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.menu-btn { width: 44px; height: 44px; border: 0; background: none; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.nav.open .menu-btn span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav.open .menu-btn span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nav.open .links { display: flex; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; gap: 2px; padding: 10px 14px 14px;
  border-radius: 22px; background: rgba(9, 13, 28, .97); border: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(59, 42, 90, .5); animation: fadeUp .4s var(--ease); }
.nav.open .links a { display: flex; align-items: center; min-height: 48px; padding: 0 6px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.nav.open .links a:last-child { border: 0; justify-content: center; margin-top: 8px; }
@media (min-width: 820px) { .menu-btn { display: none; } .links { display: flex; align-items: center; gap: 28px; } }

/* typography */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.015em; }
h1 { font-size: clamp(2.5rem, 11vw, 4.8rem); }
h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
.eyebrow { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.accent { color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section.first { padding-top: 20px; }
.section { padding-block: 56px; }
@media (min-width: 720px) { .section { padding-block: 88px; } }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink2); font-size: .95rem; }
.card h3 a { display: flex; align-items: center; min-height: 44px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0;
  background: linear-gradient(135deg, #f7d08c, #d9a057); color: #1a1206; text-decoration: none; font-size: 1.05rem; letter-spacing: .02em; cursor: pointer; transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .3s;
  box-shadow: 0 12px 30px -12px rgba(240, 189, 111, .55); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(240, 189, 111, .7); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.ghost { background: rgba(255, 255, 255, .06); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.gold { background: linear-gradient(135deg, #f7d08c, #d9a057); }
.btn.block { width: 100%; }
.btn.glow { box-shadow: 0 0 0 6px rgba(240, 189, 111, .12), 0 18px 44px -10px rgba(240, 189, 111, .6); }

/* the 3D world sits behind everything; the CSS gradient + orbs remain as poster and no-WebGL fallback */
.world { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.6s var(--ease); pointer-events: none; }
.world.on { opacity: 1; }
.has-world .orbs { display: none; }
/* local contrast for copy that sits directly on the world (not a blanket scrim) */
.has-world :is(.cta-band h2, .cta-band p, .section-head h2, .section > h1, .section > .eyebrow, .section > p, .faq summary, .faq p, .prose > *) { text-shadow: 0 0 22px rgba(3, 5, 12, .95), 0 1px 2px rgba(3, 5, 12, .9); }
.has-world .faq details { border-bottom-color: rgba(59, 42, 90, .2); }

/* cards */
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line);
  backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(59, 42, 90, .5); }
.card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .body .te { color: var(--ink2); font-size: .95rem; }
.card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; gap: 8px; }
.card .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 24px; }
.card .buy { display: grid; gap: 10px; margin-top: auto; padding-top: 14px; }
.card .buy .play { justify-content: center; }
.badge-hot { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--gold); color: #1a1206; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.ticks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; font-size: .95rem; color: var(--ink2); }
.ticks li { display: flex; gap: 8px; align-items: baseline; }
.ticks li::before { content: '✓'; color: var(--ok); flex: none; }
.cta-band { text-align: center; display: grid; justify-items: center; gap: 12px; }
.cta-band .btn { width: min(100%, 360px); }
.card a.cover-link { text-decoration: none; display: block; }
.price { font-family: var(--serif); font-size: 1.6rem; }
.price s { font-family: var(--sans); font-size: .85rem; color: var(--muted); margin-left: 6px; }
.tag { display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.save { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(47, 125, 91, .12); color: var(--ok); font-size: .78rem; font-weight: 600; }

/* generated cover */
.cover { position: relative; aspect-ratio: 1; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
  background: radial-gradient(120% 90% at 20% 10%, hsl(var(--h) 60% 72%) 0%, transparent 55%), linear-gradient(160deg, hsl(var(--h) 45% 32%), hsl(calc(var(--h) + 40) 50% 55%)); }
.cover.img { background-size: cover; background-position: center; }
@media (max-width: 559px) { .card .cover { aspect-ratio: 16 / 10; } } /* shorter cards = less scrolling to the Buy button */
.cover::before { content: ''; position: absolute; inset: -20%; background: repeating-radial-gradient(circle at 70% 30%, transparent 0 22px, rgba(255, 255, 255, .09) 23px 24px); transition: transform 2.4s var(--ease); }
.card:hover .cover::before { transform: scale(1.08) rotate(4deg); }
.cover > * { position: relative; }
.cover .ct { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.cover .cte { font-family: var(--te); font-size: 1rem; opacity: .85; }
.cover .kind { position: absolute; top: 16px; left: 16px; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }

/* preview player */
.play { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: var(--ink); cursor: pointer; font-size: .88rem; font-weight: 500; }
.play .ring { --p: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255, 255, 255, .14) 0); }
.play .ring::before { content: ''; width: 28px; height: 28px; border-radius: 50%; background: var(--bg2); grid-area: 1/1; }
.play .ring svg { grid-area: 1/1; position: relative; }
.play.on { border-color: var(--gold); }

/* featured bundle */
.feature { display: grid; gap: 0; border-radius: 32px; overflow: hidden; background: linear-gradient(160deg, #151b3f, #1e1340); border: 1px solid var(--line); color: #fff; box-shadow: 0 40px 90px -50px rgba(59, 42, 90, .9); }
@media (min-width: 860px) { .feature { grid-template-columns: 1fr 1fr; } }
.feature .cover { aspect-ratio: auto; min-height: 150px; }
@media (min-width: 860px) { .feature .cover { min-height: 280px; } }
.feature .inside { padding: 28px 22px 32px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 720px) { .feature .inside { padding: 48px; } }
.feature .te { color: rgba(255, 255, 255, .8); }
.feature ul { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 8px; }
.feature li { display: flex; gap: 10px; align-items: center; color: rgba(255, 255, 255, .9); }
.feature li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.feature .price s { color: rgba(255, 255, 255, .55); }
.feature .save { background: rgba(255, 255, 255, .15); color: #ffe2bf; }
.feature .row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.feature .play { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .25); }
.feature .play .ring::before { background: var(--plum); }

/* reviews + faq */
.reviews { display: grid; gap: 14px; }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.review p { margin: 0 0 14px; font-family: var(--serif); font-size: 1.05rem; line-height: 1.5; }
.review span { color: var(--muted); font-size: .85rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--gold); transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink2); margin: 10px 0 0; animation: fadeUp .6s var(--ease); }

/* product page */
.product { display: grid; gap: 28px; padding: 28px 0 56px; }
@media (min-width: 900px) { .product { grid-template-columns: 1fr 1fr; gap: 56px; padding: 56px 0 88px; } }
.product .cover { border-radius: 28px; }
.product .info { display: flex; flex-direction: column; gap: 14px; }
.product .te-title { font-family: var(--te); font-size: 1.15rem; color: var(--ink2); }
.box { padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.box ul { margin: 6px 0 0; padding-left: 20px; }
.buybar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(9, 13, 28, .92);
  backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (min-width: 900px) { .sticky-buy { display: none; } }
@media (max-width: 899px) { .product .buybar { display: none; } } /* phones already have the sticky bar; one Buy button, not two */
.samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.page { aspect-ratio: 3/4; border-radius: 10px; background: #fffdf8; border: 1px solid var(--line); padding: 10px; font-family: var(--serif); font-size: .7rem; color: #4a4360;
  box-shadow: 0 10px 20px -14px rgba(0, 0, 0, .3); display: flex; flex-direction: column; gap: 6px; }
.page b { font-weight: 400; color: #1b1630; }
.page i { display: block; height: 3px; border-radius: 2px; background: rgba(27, 22, 48, .12); }

/* checkout */
.checkout { max-width: 520px; margin: 0 auto; padding: 32px 0 72px; }
.panel { padding: 24px 20px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass);
  box-shadow: 0 30px 70px -50px rgba(59, 42, 90, .6); }
@media (min-width: 560px) { .panel { padding: 32px; } }
.summary { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.summary .cover { width: 64px; height: 64px; aspect-ratio: 1; border-radius: 14px; padding: 0; flex: none; }
.summary .cover::before { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .85rem; font-weight: 500; color: var(--ink2); }
.field :is(input, select, textarea) { min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--field); color: var(--ink); font-size: 1rem; transition: border-color .3s, box-shadow .3s; }
.field textarea { padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(192, 138, 78, .15); }
.field .otp4 { display: flex; gap: 10px; justify-content: center; margin: 4px 0 2px; }
.field .otp4 input { width: 60px; height: 66px; min-height: 0; padding: 0; text-align: center; font-size: 1.9rem; font-family: var(--serif); border-radius: 16px; border: 1.5px solid rgba(255, 255, 255, .16); background: var(--field); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .3s; }
.field .otp4 input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(192, 138, 78, .18); }
.field .otp4.good input { border-color: var(--ok); background: rgba(76, 195, 138, .12); color: var(--ok); }
.field .otp4.bad input { border-color: var(--bad); background: rgba(255, 122, 122, .1); animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.otp { letter-spacing: .5em; text-align: center; font-size: 1.5rem !important; font-family: var(--serif); }
.steps { display: flex; gap: 6px; margin-bottom: 20px; }
.steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .6s var(--ease); }
.steps i.on { background: var(--gold); }
.err { color: var(--bad); font-size: .9rem; min-height: 1.2em; margin: 4px 0 10px; }
.verified { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(47, 125, 91, .08); color: var(--ok); font-size: .92rem; margin-bottom: 16px; }
.linkbtn { display: inline-flex; align-items: center; min-height: 44px; background: none; border: 0; color: var(--ink2); text-decoration: underline; cursor: pointer; padding: 0 8px; font-size: .92rem; }
.linkbtn:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.secure { display: flex; gap: 8px; justify-content: center; align-items: center; color: var(--muted); font-size: .8rem; margin-top: 14px; }

/* fake gateway sheet (dev only) */
.sheet-bg { position: fixed; inset: 0; z-index: 50; background: rgba(20, 14, 30, .45); display: flex; align-items: flex-end; justify-content: center; animation: fade .4s; }
@media (min-width: 600px) { .sheet-bg { align-items: center; } }
.sheet { width: 100%; max-width: 420px; background: var(--bg2); color: var(--ink); border-radius: 24px 24px 0 0; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); animation: up .6s var(--ease); }
@media (min-width: 600px) { .sheet { border-radius: 24px; } }
.sheet .gw { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.methods { display: grid; gap: 8px; margin: 14px 0; }
.methods label { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.methods input { accent-color: var(--plum); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

/* thanks + downloads */
.center { text-align: center; }
.check { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(47, 125, 91, .12); color: var(--ok); animation: pop .9s var(--ease); }
.check.wait { background: rgba(192, 138, 78, .12); color: var(--gold); }
.check.wait svg { animation: spin 1.6s linear infinite; }
.check.no { background: rgba(178, 68, 61, .1); color: var(--bad); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.order { margin-bottom: 18px; }
.order-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.file { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.file .fname { flex: 1; min-width: 140px; }
.file .fname small { display: block; color: var(--muted); }
.file audio { width: 100%; height: 40px; margin-top: 4px; }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: var(--ink); display: grid; place-items: center; cursor: pointer; text-decoration: none; flex: none; }

/* prose pages */
.prose { max-width: 720px; margin: 0 auto; padding: 40px 0 80px; }
.prose h1 { margin-bottom: 16px; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink2); }
.about-photo { aspect-ratio: 16/10; border-radius: 28px; margin: 24px 0; background: linear-gradient(160deg, #3b2a5a, #c58a6c); display: grid; place-items: center; color: rgba(255, 255, 255, .7); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 100px; margin-top: 40px; background: rgba(4, 6, 14, .6); }
.foot-grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links a { display: flex; align-items: center; min-height: 40px; color: var(--ink2); text-decoration: none; }
.disclaimer { margin-top: 32px; padding: 14px 16px; border-radius: 14px; background: rgba(59, 42, 90, .05); font-size: .85rem; color: var(--ink2); }

.wa { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .5s var(--ease); }
.wa:hover { transform: scale(1.06); }
body.has-sticky .wa { bottom: 88px; }
@media (min-width: 900px) { body.has-sticky .wa { bottom: 16px; } }
.toast { position: fixed; left: 50%; top: 80px; transform: translate(-50%, -20px); opacity: 0; z-index: 60; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--bg);
  font-size: .9rem; transition: all .5s var(--ease); pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
main { animation: rise .7s var(--ease); }
@keyframes rise { from { transform: translateY(10px); } } /* movement only: fading the page in would delay the first paint of text */
main:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.summary .cover > * { display: none; }

/* ---- added for payments, settings and support ---- */
option { background: var(--bg2); color: var(--ink); }
.ok { color: var(--ok); }
.banner { display: block; margin: 14px 0 0; padding: 12px 18px; border-radius: 16px; text-align: center; text-decoration: none; color: #1a1206;
  background: linear-gradient(135deg, #f7d08c, #d9a057); box-shadow: 0 10px 30px -14px rgba(240, 189, 111, .6); }
.intro { padding-top: 26px; text-align: center; }
.intro h2 { font-size: clamp(1.8rem, 6vw, 2.8rem); }
.intro p { margin: 8px auto 0; max-width: 34em; }
.coupon { margin: -2px 0 14px; color: var(--ink2); }
.coupon summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-size: .95rem; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--field); color: var(--ink); text-transform: uppercase; letter-spacing: .1em; }
.coupon-row .btn { min-height: 48px; padding: 0 18px; }
.receipt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 6px; text-align: left; }
.receipt div { padding: 12px 14px; border-radius: 14px; background: var(--field); border: 1px solid var(--line); display: grid; gap: 2px; }
.receipt b { font-size: 1.1rem; letter-spacing: .02em; }
.order-items { list-style: none; padding: 0; margin: 10px 0; text-align: left; display: grid; gap: 6px; }
.order-items li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); }
.order-items small { color: var(--muted); }
.delivery { margin: 12px 0 4px; padding: 10px 14px; border-radius: 12px; background: rgba(76, 195, 138, .1); color: var(--ok); }
.delivery.email_failed, .delivery.partial, .delivery.sending, .delivery.awaiting_audio { background: rgba(240, 189, 111, .1); color: var(--gold); }
.support summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
/* soft vignette keeps copy readable over the 3D field */
.world-veil { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(3, 5, 12, .55) 100%); }

/* Continue with Google, above the email-code form */
.gbox { display: flex; justify-content: center; min-height: 44px; margin: 4px 0 2px; color-scheme: normal; }
.or { display: flex; align-items: center; gap: 12px; margin: 14px 0 6px; color: var(--muted); font-size: .85rem; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

/* ---------- account, library & player (charcoal surfaces, white type, quiet accents) ---------- */
:root { --char: #121418; --char2: #1a1d23; --char3: #24282f; }
.nav .acct { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink2); }
.nav .acct:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.lock-tag, .own-tag { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(8, 10, 14, .62); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lock-tag svg { width: 16px; height: 16px; }
.own-tag { padding: 5px 12px; font-size: .78rem; color: var(--ok); }
.card a.cover-link { position: relative; }

.lib { padding-top: 28px; padding-bottom: 60px; }
.lib-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.lib-head h1 { margin: 6px 0 0; font-size: clamp(2rem, 6vw, 2.8rem); }
.lib-head .linkbtn { color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.lib-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.lib-tools .chips button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--ink2); cursor: pointer; font: inherit; }
.lib-tools .chips button.on { background: var(--ink); color: var(--char); border-color: var(--ink); }
.lib-tools input { flex: 1; min-width: 180px; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--char2); color: var(--ink); font: inherit; }
.lib-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-bottom: 20px; }
@media (min-width: 860px) { .lib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lib-item { background: var(--char); border: 1px solid rgba(255, 255, 255, .06); border-radius: 18px; padding: 14px; transition: border-color .3s var(--ease); }
.lib-item:hover { border-color: rgba(255, 255, 255, .12); }
.lib-top { display: flex; align-items: center; gap: 14px; }
.lib-art { position: relative; width: 72px; height: 72px; flex: none; border-radius: 10px; overflow: hidden; background: linear-gradient(140deg, hsl(var(--h, 260) 45% 32%), hsl(calc(var(--h, 260) + 40) 40% 16%)); background-size: cover; background-position: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.lib-art .lock-ov { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .45); opacity: 0; }
.lib-meta { flex: 1; min-width: 0; }
.lib-meta .eyebrow { font-size: .68rem; }
.lib-meta h3 { margin: 4px 0 4px; font-size: 1.15rem; line-height: 1.2; overflow-wrap: anywhere; }
.lib-sub { display: block; color: var(--muted); font-size: .8rem; margin-bottom: 4px; }
.lib-meta .tp { max-width: 220px; margin: 0 0 6px; }
.src { display: inline-block; font-size: .72rem; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--ink2); margin-right: 4px; }
.playall { flex: none; gap: 6px; background: var(--ink); color: var(--char); box-shadow: none; }
.playall:hover { background: #fff; }
.lib-rows { margin-top: 12px; border-top: 1px solid rgba(255, 255, 255, .06); }
.trk, .row-act { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 6px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .05); background: none; color: var(--ink); text-align: left; font: inherit; }
.trk { cursor: pointer; border-radius: 10px; }
.trk:hover { background: var(--char2); }
.trk .pb { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--char3); color: var(--ink); }
.trk.on .pb { background: var(--ink); color: var(--char); }
.trk.on .tn { color: var(--gold); }
.tn { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.tn small { color: var(--muted); font-size: .78rem; }
.tp { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); margin-top: 4px; overflow: hidden; }
.tp b { display: block; height: 100%; background: var(--ink2); }
.row-act .acts { display: flex; gap: 8px; align-items: center; flex: none; }
.row-act .btn.sm, .playall { min-height: 40px; padding: 0 14px; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.lib-item.unlocking { animation: libGlow 1.8s var(--ease) both; }
.lib-item.unlocking .lock-ov { animation: lockFade 1.6s var(--ease) both; }
.lib-item.unlocking .shackle { animation: shackleUp 1s .2s var(--ease) both; transform-origin: 16px 11px; }
@keyframes lockFade { 0%, 55% { opacity: 1; } 100% { opacity: 0; } }
@keyframes shackleUp { to { transform: translateY(-3px) rotate(28deg); } }
@keyframes libGlow { 0% { box-shadow: 0 0 0 0 rgba(240, 189, 111, 0); } 40% { box-shadow: 0 0 0 1px rgba(240, 189, 111, .5), 0 0 40px rgba(240, 189, 111, .18); } 100% { box-shadow: 0 0 0 0 rgba(240, 189, 111, 0); } }
.unlock-hero { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); background: radial-gradient(circle, rgba(240, 189, 111, .16), rgba(240, 189, 111, 0) 70%); animation: heroPop .7s var(--ease) both; }
.unlock-hero svg { width: 44px; height: 44px; }
.unlock-hero .shackle { animation: shackleUp .9s .5s var(--ease) both; transform-origin: 16px 11px; }
@keyframes heroPop { from { transform: scale(.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lib-item.unlocking, .lib-item.unlocking .lock-ov, .unlock-hero, .shackle { animation: none !important; } }

.login .gbox { margin-top: 4px; }
#acc .panel { margin-bottom: 14px; }
.prof { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; display: grid; place-items: center; background: var(--char3); color: var(--ink); font-size: 1.6rem; }
.prof > div { min-width: 0; overflow-wrap: anywhere; }
.devlist { display: grid; gap: 8px; }
.dev { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--char2); }
.dev b { display: block; font-weight: 400; }
.dev small { color: var(--muted); }
.actions-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }

/* player */
.np, .sheet-bg { font-family: var(--sans); }
.np { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; }
.np-mini { position: relative; margin: 0 8px calc(8px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: rgba(26, 29, 35, .96); border: 1px solid rgba(255, 255, 255, .06); box-shadow: 0 12px 40px rgba(0, 0, 0, .45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); overflow: hidden; }
@media (min-width: 760px) { .np-mini { max-width: 720px; margin: 0 auto 16px; } }
.np-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; background: none; border: 0; color: var(--ink); text-align: left; cursor: pointer; padding: 0; font: inherit; }
.np-art { width: 44px; height: 44px; flex: none; border-radius: 8px; background: linear-gradient(140deg, hsl(var(--h, 260) 45% 32%), hsl(calc(var(--h, 260) + 40) 40% 16%)); background-size: cover; background-position: center; }
.np-meta { min-width: 0; display: flex; flex-direction: column; }
.np-meta b, .np-meta small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 400; }
.np-meta small { color: var(--muted); font-size: .78rem; }
.np-btn { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 0; background: none; color: var(--ink); cursor: pointer; }
.np-btn:disabled { opacity: .3; cursor: default; }
.np-mini .np-toggle { background: var(--ink); color: var(--char); width: 40px; height: 40px; }
.np-line { position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: rgba(255, 255, 255, .1); }
.np-line i { display: block; height: 100%; width: 0; background: var(--ink); }
.np.loading .np-toggle { position: relative; }
.np.loading .np-toggle::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--gold); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.np-full { position: fixed; inset: 0; z-index: 45; background: linear-gradient(180deg, #23262d 0%, var(--char) 55%); overflow: hidden auto; overscroll-behavior: contain; animation: npUp .35s var(--ease); }
@keyframes npUp { from { transform: translateY(24px); opacity: 0; } }
.np-in { width: 100%; max-width: 460px; margin: 0 auto; padding: calc(10px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; min-height: 100%; }
.np-top { display: flex; align-items: center; justify-content: space-between; }
.np-bigart { width: 100%; max-width: 360px; aspect-ratio: 1; margin: 18px auto 24px; border-radius: 14px; background: linear-gradient(140deg, hsl(var(--h, 260) 45% 34%), hsl(calc(var(--h, 260) + 40) 40% 14%)); background-size: cover; background-position: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.np-info h2 { margin: 0; font-size: 1.5rem; line-height: 1.2; overflow-wrap: anywhere; }
.np-info p { margin: 4px 0 18px; }
.np-seek { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: none; cursor: pointer; --p: 0%; }
.np-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ink) var(--p), rgba(255, 255, 255, .18) var(--p)); }
.np-seek::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.np-seek::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--ink); }
.np-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: #fff; border: 0; }
.np-seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }
.np-times { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.np-ctrls { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 10px; }
.np-big { width: 68px; height: 68px; background: var(--ink); color: var(--char); }
.np-big svg { width: 26px; height: 26px; }
.np-extra { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.np-speed { min-width: 56px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: none; color: var(--ink); font: inherit; cursor: pointer; font-variant-numeric: tabular-nums; }
.np-vol { display: flex; align-items: center; gap: 8px; color: var(--muted); flex: 1; max-width: 200px; }
.np-vol input { flex: 1; accent-color: #fff; }
@media (hover: none) and (pointer: coarse) { .np-vol { display: none; } } /* phones control volume with their buttons */
.np-state { min-height: 1.2em; margin: 14px 0 0; text-align: center; color: var(--muted); font-size: .88rem; }
.np-state a, .np-state .linkbtn { color: var(--ink); }
body.has-np { padding-bottom: 84px; }
body.has-np .wa { bottom: 92px; }
body.has-np.has-sticky .wa { bottom: 160px; }
html.np-open { overflow: hidden; } /* on html: body keeps its overflow-x clip, so the page never widens on phones */
