:root {
  --bg: #0a0c16;
  --bg-2: #0f1222;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --text: #eef0fb;
  --muted: #a3a9c4;
  --faint: #6b7192;
  --indigo: #7c8bff;
  --cyan: #2fd6f0;
  --amber: #fbbf24;
  --pink: #f472b6;
  --green: #4ade80;
  --red: #ff6b7a;
  --grad: linear-gradient(120deg, #7c8bff 0%, #2fd6f0 100%);
  --radius: 18px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--cyan); }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 12, 22, 0.65);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .2px; color: var(--text); text-decoration: none; font-size: 18px; }
@font-face { font-family: "Inter Logo"; src: url("/static/fonts/inter-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
.wordmark { font-family: "Inter Logo", Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -.03em; color: #fff; display: inline-flex; align-items: baseline; }
.wordmark i { display: inline-block; width: .2em; height: .2em; margin-left: .06em; border-radius: 50%; background: #F59E0B; }
.logo-sub { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #9aa3c7); padding-left: 10px; border-left: 1px solid rgba(255,255,255,.18); line-height: 1.6; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  border: 1px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.nav-links a:not(.btn) { background: var(--surface); border-color: var(--border); }
.nav-links a:not(.btn):hover { background: rgba(124, 139, 255, .16); border-color: rgba(124, 139, 255, .5); }
.nav-links a.btn { margin-left: 6px; }
.nav-links a { white-space: nowrap; }
@media (max-width: 1000px) { .nav-links { gap: 5px; } .nav-links a:not(.btn) { padding: 7px 10px; font-size: 14px; } }
.nav-links a.btn { color: #0a0c16; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--grad);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 16px;
  color: #0a0c16; background: var(--b); border: 0; border-radius: 12px;
  padding: 13px 22px; cursor: pointer; text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(47, 214, 240, 0.55);
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(47, 214, 240, 0.7); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn.ghost { background: var(--surface-2); color: var(--text); box-shadow: none; border: 1px solid var(--border); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.11); }
.btn.small { padding: 9px 16px; font-size: 14px; }
.btn.block { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; overflow: hidden; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 20% 40%, rgba(124, 139, 255, 0.18), transparent 70%),
    radial-gradient(50% 50% at 85% 70%, rgba(47, 214, 240, 0.12), transparent 70%),
    linear-gradient(180deg, transparent 60%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 72px 0 96px; max-width: 760px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--text); background: var(--surface-2); border: 1px solid var(--border);
}
.pill .live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.hero h1 {
  font-size: clamp(38px, 7vw, 72px); line-height: 1.04; letter-spacing: -0.03em;
  margin: 22px 0 18px; font-weight: 850;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rotator { display: inline-block; position: relative; }
.rotator span { display: inline-block; animation: wordIn .6s cubic-bezier(.2, .8, .2, 1); }
@keyframes wordIn { from { opacity: 0; transform: translateY(0.4em); filter: blur(6px); } }
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 600px; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 36px; color: var(--muted); font-size: 14px; }
.hero-meta span::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 8px; }

/* ---------- sections ---------- */
section { padding: 88px 0; position: relative; }
.eyebrow { color: var(--cyan); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.section-title { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.12; letter-spacing: -0.02em; margin: 10px 0 14px; font-weight: 800; }
.section-sub { color: var(--muted); max-width: 620px; font-size: 18px; margin: 0 0 44px; }

/* subject cards */
.subjects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .subjects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .subjects { grid-template-columns: 1fr; } }
.subject {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s;
}
.subject:hover { transform: translateY(-6px); border-color: rgba(124, 139, 255, .45); box-shadow: var(--shadow); }
.subject canvas { display: block; width: 100%; aspect-ratio: 16 / 10; background: radial-gradient(circle at 50% 40%, #151a33, #0b0e1c); }
.subject .body { padding: 20px 22px 24px; }
.subject h3 { margin: 0 0 6px; font-size: 21px; display: flex; align-items: center; gap: 10px; }
.subject h3 .tag { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.subject p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12.5px; color: var(--text); padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; padding: 24px 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad); color: #0a0c16; font-weight: 900; font-size: 18px; margin-bottom: 16px;
}
.step h4 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* features strip */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.feature .icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--surface-2); }
.feature h4 { margin: 0 0 4px; font-size: 16px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* order section */
.order-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .order-grid { grid-template-columns: 1fr; } }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--border); border-radius: 22px; padding: 28px;
  box-shadow: var(--shadow);
}
@media (max-width: 520px) { .card { padding: 20px; } }
.card h3 { margin: 0 0 4px; font-size: 20px; }
.hint { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
label { display: block; font-weight: 600; font-size: 14px; margin: 16px 0 7px; color: var(--text); }
input, textarea, select {
  width: 100%; font: inherit; color: var(--text);
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(124, 139, 255, 0.18); }
textarea { min-height: 140px; resize: vertical; }
select option { background: var(--bg-2); }
.row { display: flex; gap: 14px; flex-wrap: wrap; }
.row > * { flex: 1 1 200px; }

/* recorder */
.recorder {
  display: flex; align-items: center; gap: 18px; padding: 18px;
  border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px dashed var(--border);
}
.mic {
  position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #0a0c16; font-size: 26px; display: grid; place-items: center;
  transition: transform .15s;
}
.mic:hover { transform: scale(1.06); }
.recording .mic { background: linear-gradient(120deg, #ff6b7a, #f472b6); color: #fff; }
.recording .mic::before, .recording .mic::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 107, 122, .6);
  animation: ring 1.6s ease-out infinite;
}
.recording .mic::after { animation-delay: .8s; }
@keyframes ring { to { transform: scale(1.7); opacity: 0; } }
.rec-info { flex: 1; min-width: 0; }
.rec-title { font-weight: 700; }
.rec-sub { color: var(--muted); font-size: 13.5px; }
#wave { width: 100%; height: 36px; display: block; margin-top: 6px; }
#timer { font-variant-numeric: tabular-nums; color: var(--red); font-weight: 700; margin-left: 6px; }
audio { width: 100%; margin-top: 12px; }
.err { color: var(--red); margin-top: 12px; font-size: 14.5px; min-height: 1em; }
.secure-note { display: flex; gap: 8px; align-items: center; color: var(--faint); font-size: 13px; margin-top: 14px; }

.side-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.side-list li { display: flex; gap: 12px; color: var(--muted); }
.side-list li b { color: var(--text); display: block; }
.side-list .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); }

/* faq */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 650; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 26px; color: var(--cyan); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* cta band */
.cta-band {
  text-align: center; border-radius: 28px; padding: 64px 24px;
  background: radial-gradient(80% 120% at 50% 0%, rgba(124, 139, 255, .25), transparent 70%), var(--surface);
  border: 1px solid var(--border);
}
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 12px; letter-spacing: -0.02em; }
.cta-band p { color: var(--muted); margin: 0 0 26px; }

footer { padding: 40px 0 56px; color: var(--faint); font-size: 14px; border-top: 1px solid var(--border); margin-top: 40px; }
footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- order page ---------- */
.order-page { padding: 40px 0 80px; }
.status-card { display: flex; align-items: center; gap: 18px; }
.status-icon { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--surface-2); }
.status-title { font-size: 20px; font-weight: 750; margin: 0; }
.status-sub { color: var(--muted); font-size: 14.5px; margin: 2px 0 0; }
.progress { display: flex; gap: 6px; margin: 26px 0 6px; }
.progress div { flex: 1; height: 6px; border-radius: 6px; background: var(--surface-2); position: relative; overflow: hidden; }
.progress div.done { background: var(--grad); }
.progress div.active::after {
  content: ""; position: absolute; inset: 0; background: var(--grad);
  animation: fill 1.8s ease-in-out infinite; transform-origin: left;
}
@keyframes fill { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.progress-labels { display: flex; justify-content: space-between; color: var(--faint); font-size: 12.5px; }
.orbit { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(124, 139, 255, .25); border-top-color: var(--cyan); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.player { position: relative; background: #000; border-radius: 16px; overflow: hidden; user-select: none; -webkit-user-select: none; box-shadow: var(--shadow); }
.player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.player .shield { position: absolute; inset: 0 0 56px 0; cursor: pointer; }
.player.hiddenview video { filter: blur(24px); }
.price { font-size: 40px; font-weight: 850; letter-spacing: -0.02em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.stack > * + * { margin-top: 18px; }
.badge { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
[hidden] { display: none !important; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 50; }

/* ---------- scroll story (pinned, scroll-driven) ---------- */
.story { height: 640vh; padding: 0; position: relative; }
.story-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#storyCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-text {
  position: absolute; left: 0; right: 0; bottom: 9vh; z-index: 2;
  text-align: center; pointer-events: none; padding: 0 16px;
}
.chapter {
  position: absolute; left: 50%; bottom: 0; width: min(760px, 100% - 32px);
  transform: translate(-50%, 24px); opacity: 0; transition: opacity .15s ease, transform .3s ease;
}
/* the old chapter fades out fast, then the new one fades in: the texts never overlap */
.chapter.on { opacity: 1; transform: translate(-50%, 0); transition: opacity .45s ease .15s, transform .6s cubic-bezier(.2, .8, .2, 1) .15s; }
.chapter .eyebrow { display: block; margin-bottom: 8px; }
.chapter h2 { font-size: clamp(30px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 12px; font-weight: 850; }
.chapter p { color: var(--muted); font-size: clamp(16px, 2vw, 19px); margin: 0 auto; max-width: 560px; }
.story-progress { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; z-index: 3; }
.story-progress i { width: 6px; height: 26px; border-radius: 4px; background: var(--surface-2); display: block; overflow: hidden; position: relative; }
.story-progress i b { position: absolute; inset: 0; background: var(--grad); transform-origin: top; transform: scaleY(0); }
@media (max-width: 600px) { .story-progress { right: 10px; } }

/* big statement that scales in with scroll */
.statement { padding: 140px 0; text-align: center; }
.statement h2 {
  font-size: clamp(34px, 7vw, 92px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 900; margin: 0;
  transform: scale(var(--s, .85)); opacity: var(--o, .2); transition: transform .1s linear, opacity .1s linear;
}
.statement .word-dim { color: #2a3050; transition: color .3s; }
.statement .word-dim.lit { color: var(--text); }

/* floating math symbols in hero */
.floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.floaters span {
  position: absolute; font-family: "Times New Roman", serif; font-style: italic; color: rgba(160, 172, 255, .22);
  will-change: transform; user-select: none;
}
@media (max-width: 720px) { .floaters span { color: rgba(160, 172, 255, .12); } }

/* ---------- sample gallery ---------- */
.samples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .samples { grid-template-columns: 1fr; } }
.sample { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform .3s, box-shadow .3s, border-color .3s; }
.sample:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(124, 139, 255, .4); }
.sample-media { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: #0b0e1c; }
.sample-media video, .sample-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sample-play {
  position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border);
  background: rgba(10, 12, 22, .6); color: var(--text); font-size: 18px; cursor: pointer; backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .2s;
}
.sample:hover .sample-play, .sample-play:focus-visible { opacity: 1; }
@media (hover: none) { .sample-play { opacity: 1; } }
.sample figcaption { padding: 16px 20px 18px; display: grid; gap: 2px; }
.sample figcaption b { font-size: 17px; }
.tag-sub { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.samples-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; padding: 20px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.samples-cta p { margin: 0; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(5, 6, 12, .9); display: grid; place-items: center; padding: 24px; }
.lightbox video { width: min(1100px, 100%); max-height: 85vh; border-radius: 14px; background: #000; }
.lightbox button { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; }

.announce { background: var(--grad); color: #0a0c16; font-weight: 700; font-size: 14px; text-align: center; padding: 8px 16px; }
.announce:empty, .contact:empty { display: none; }

/* Policy pages */
.legal { max-width: 760px; padding-top: 120px; padding-bottom: 40px; }
.legal h1 { font-size: clamp(32px, 6vw, 48px); letter-spacing: -0.02em; margin: 0 0 24px; }
.legal h2 { font-size: 20px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--text); }
.contact-list { display: grid; gap: 12px; margin: 24px 0; }
.contact-list div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 16px; background: var(--card, #141827); border: 1px solid var(--border); border-radius: 12px; }
.contact-list dt { color: var(--faint); font-size: 14px; }
.contact-list dd { margin: 0; white-space: pre-line; }
.contact-list div:has(dd:empty) { display: none; }
.legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.legal-links a { color: var(--faint); text-decoration: none; }
.legal-links a:hover { color: var(--text); }

/* Help chat */
.help-fab { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 70; display: flex; align-items: center; gap: 8px; padding: 12px 18px 12px 12px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #7c8bff, #3dd6f5); color: #0a0c16; font: 700 15px/1 inherit; font-family: inherit; cursor: pointer; box-shadow: 0 10px 30px rgba(61, 214, 245, .3); }
.help-fab-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #0a0c16; color: #fff; font-size: 15px; }
.help-panel { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 71; width: min(380px, calc(100vw - 32px)); max-height: min(600px, calc(100dvh - 32px)); display: flex; flex-direction: column; background: #121626; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); overflow: hidden; }
.help-panel[hidden], .help-panel [hidden] { display: none !important; }
.help-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.help-head b { display: block; font-size: 16px; }
.help-sub { color: var(--faint); font-size: 13px; }
.help-x { background: none; border: 0; color: var(--muted); font-size: 18px; cursor: pointer; padding: 4px; }
.help-log { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; min-height: 160px; }
.help-msg { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.help-msg.them { align-self: flex-start; background: #1d2338; }
.help-msg.me { align-self: flex-end; background: #7c8bff; color: #0a0c16; }
.help-msg.typing { color: var(--faint); }
.help-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.help-chip { border: 1px solid var(--border); background: none; color: var(--text); border-radius: 999px; padding: 6px 11px; font: inherit; font-size: 13px; cursor: pointer; }
.help-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); }
.help-form input, .help-cform input, .help-cform textarea { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--text); background: #0d1020; border: 1px solid var(--border); border-radius: 10px; padding: 9px 11px; }
.help-send { border: 0; border-radius: 10px; padding: 9px 14px; background: #7c8bff; color: #0a0c16; font: inherit; font-weight: 700; cursor: pointer; }
.help-send:disabled { opacity: .6; }
.help-call { margin: 0 12px 12px; border: 1px solid var(--border); background: none; color: var(--text); border-radius: 10px; padding: 9px; font: inherit; font-size: 14px; cursor: pointer; }
.help-call.pulse { border-color: #3dd6f5; box-shadow: 0 0 0 3px rgba(61, 214, 245, .25); }
.help-cform { display: flex; flex-direction: column; gap: 10px; padding: 16px; overflow-y: auto; }
.help-note, .help-done { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.help-done { color: var(--text); font-size: 15px; }
.help-err { margin: 0; color: #f87171; font-size: 13px; min-height: 0; }
.help-err:empty { display: none; }
.help-link { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; }

.save-link { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

.sample-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.sample-tabs button { font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.sample-tabs button[aria-selected="true"] { color: #0a0c16; background: linear-gradient(135deg, #7c8bff, #3dd6f5); border-color: transparent; }
.sample[hidden] { display: none; }
@media (max-width: 760px) { footer { padding-bottom: 96px; } }

.filelist { list-style: none; padding: 0; margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.filelist li { margin: 4px 0; overflow-wrap: anywhere; }
input[type="file"] { padding: 10px; cursor: pointer; }
/* On phones the Help button would cover what the customer is typing; fade it while a field is in use. */
@media (max-width: 700px) { body:has(input:focus, textarea:focus) .help-fab { opacity: .12; pointer-events: none; } }
.note-box { margin: 22px 0 0; padding: 14px 16px; border-radius: 12px; background: rgba(124, 139, 255, .10); border: 1px solid rgba(124, 139, 255, .35); color: var(--text); font-size: 14px; line-height: 1.55; }
.wait-note { margin: 0; } .wait-note p { margin: 0; } .wait-note p + p { margin-top: 8px; color: var(--muted, inherit); }
.signin { margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255, 255, 255, .02); }
.signin .signed { margin: 0; font-size: 14px; color: var(--text); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; font: inherit; cursor: pointer; }
input[readonly] { opacity: .75; }

/* Pay by UPI on the order page */
.upi-pay { display: grid; grid-template-columns: 240px 1fr; gap: 24px; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); align-items: start; }
.upi-qr canvas { display: block; width: 232px; height: 232px; border-radius: 14px; background: #fff; }
.upi-list { display: grid; gap: 6px; margin: 12px 0; }
.upi-list div { display: flex; gap: 10px; }
.upi-list dt { min-width: 84px; color: var(--muted, #9aa3c7); font-size: 14px; }
.upi-list dd { margin: 0; font-weight: 600; word-break: break-all; }
.utr-row { display: flex; gap: 8px; }
.utr-row input { flex: 1; min-width: 0; }
@media (max-width: 640px) { .upi-pay { grid-template-columns: 1fr; justify-items: stretch; } .upi-qr { justify-self: center; } }

/* Per-second prices (home page) and the quality choice (order page). */
.price-box { margin: 22px 0 0; padding: 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.price-head { margin: 0 0 10px; font-size: 15px; color: var(--text); }
.rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rates div { display: flex; flex-direction: column; align-items: center; padding: 12px 6px; border-radius: 10px; background: var(--surface-2); text-align: center; }
.rates b { font-size: 22px; color: var(--amber); }
.rates span { font-size: 12px; color: var(--muted); }
.rates em { font-style: normal; font-size: 13px; margin-top: 4px; }
.quality-pick { margin: 6px 0 18px; }
.offer-tag { display: inline-block; margin: 0 0 10px; padding: 4px 10px; border-radius: 999px; background: rgba(74, 222, 128, .14); color: var(--green); font-size: 13px; font-weight: 600; }
.q-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.q-opt { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; color: var(--text); font: inherit; text-align: left; }
.q-opt[aria-checked="true"] { border-color: var(--indigo); background: rgba(124, 139, 255, .14); box-shadow: 0 0 0 1px var(--indigo) inset; }
.q-opt .q-name { font-weight: 600; font-size: 14px; }
.q-opt .q-calc { font-size: 12px; color: var(--muted); }
.q-opt .q-price { font-size: 20px; font-weight: 700; color: var(--amber); }
.q-opt s { color: var(--faint); font-size: 13px; margin-left: 4px; font-weight: 400; }
@media (max-width: 640px) { .rates, .q-options { grid-template-columns: 1fr; } .rates div { flex-direction: row; gap: 8px; justify-content: space-between; } }

/* Premium: personal attention */
.gold-text { background: linear-gradient(120deg, #ffd36e 0%, #ff9f43 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links a.nav-premium { color: #ffd36e; border-color: rgba(255, 196, 87, .45); background: rgba(255, 196, 87, .08); }
.premium-badge { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: #1a1206; background: linear-gradient(120deg, #ffd36e, #ff9f43); margin-bottom: 14px; }
.premium { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  padding: 36px; border-radius: 24px; background: linear-gradient(160deg, rgba(255, 196, 87, .10), rgba(255, 255, 255, .03) 55%);
  border: 1px solid rgba(255, 196, 87, .45); box-shadow: 0 30px 80px -30px rgba(255, 170, 60, .35); }
.premium-glow { position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 87, .28), transparent 65%); pointer-events: none; }
.premium-main, .premium-price { position: relative; }
.premium .section-sub { margin-bottom: 18px; }
.premium-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.premium-list li { display: flex; gap: 12px; align-items: flex-start; }
.premium-list li > span:first-child { font-size: 22px; line-height: 1.2; }
.premium-list b { display: block; }
.premium-list li > span:last-child { color: var(--muted); }
.premium-list li b { color: var(--text); }
.premium-price { padding: 22px; border-radius: 18px; background: rgba(10, 12, 22, .65); border: 1px solid rgba(255, 196, 87, .3); }
.pp-fee { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.pp-fee span { color: var(--muted); font-size: 14px; }
.pp-fee b { font-size: 30px; color: #ffd36e; }
.pp-rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.pp-rates div { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; border-radius: 12px; background: var(--surface-2); }
.pp-rates b { font-size: 22px; color: #ffd36e; }
.pp-rates span { font-size: 12px; color: var(--muted); }
.pp-rates em { font-style: normal; font-size: 13px; margin-top: 2px; }
.btn.gold { background: linear-gradient(120deg, #ffd36e, #ff9f43); color: #1a1206; box-shadow: 0 12px 30px -12px rgba(255, 170, 60, .7); }
.btn.gold:hover { box-shadow: 0 16px 36px -12px rgba(255, 170, 60, .9); }
.premium-strip { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding: 12px 16px; border-radius: 12px;
  text-decoration: none; color: var(--text); font-size: 14px; background: rgba(255, 196, 87, .08); border: 1px solid rgba(255, 196, 87, .4); }
.premium-strip span:last-child { color: #ffd36e; font-weight: 700; }
@media (max-width: 820px) { .premium { grid-template-columns: 1fr; padding: 24px; } }

/* Made in India */
.india-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 9px 18px 9px 12px; border-radius: 999px;
  font-size: 14px; color: var(--text); background: rgba(255,255,255,.04); position: relative; isolation: isolate; }
.india-badge::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1;
  background: linear-gradient(90deg, #ff9933, #ffffff 50%, #138808);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.india-badge .flag { font-size: 18px; line-height: 1; }
.india-badge b { font-weight: 800; background: linear-gradient(90deg, #ffb347, #ffffff, #4cd964); -webkit-background-clip: text; background-clip: text; color: transparent; }
.india-badge i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.india-line { text-align: center; font-size: 14px; color: var(--muted); margin: -8px 0 22px; letter-spacing: .02em; }
.india-line::after { content: ""; display: block; width: 120px; height: 3px; margin: 10px auto 0; border-radius: 3px;
  background: linear-gradient(90deg, #ff9933 0 33%, #ffffff 33% 66%, #138808 66%); opacity: .8; }
.india-line .slogan { display: block; margin-bottom: 8px; font-size: clamp(20px, 3vw, 28px); font-weight: 800; letter-spacing: -.01em;
  background: linear-gradient(90deg, #ffb347, #ffffff 50%, #4cd964); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Video or slides choice at the top */
.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; max-width: 640px; }
.choose-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); transition: transform .2s, border-color .2s, background .2s; }
.choose-card:hover { transform: translateY(-2px); border-color: rgba(124, 139, 255, .6); background: rgba(124, 139, 255, .1); }
.choose-card.slides:hover { border-color: rgba(255, 196, 87, .6); background: rgba(255, 196, 87, .08); }
.choose-ic { font-size: 28px; line-height: 1; }
.choose-card b { display: block; font-size: 16px; }
.choose-card b em { font-style: normal; font-size: 11px; font-weight: 800; color: #0a0c16; background: #ffd36e; border-radius: 999px; padding: 2px 7px; margin-left: 6px; vertical-align: 2px; }
.choose-card small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.choose-go { margin-left: auto; color: var(--muted); font-size: 18px; }
@media (max-width: 560px) { .choose { grid-template-columns: 1fr; } }
/* Video or slides choice in the order form */
.product-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 14px; }
.product-pick label { margin: 0; cursor: pointer; position: relative; }
.product-pick input { position: absolute; opacity: 0; pointer-events: none; }
.product-pick span { display: block; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-weight: 600; font-size: 14px; text-align: center; }
.product-pick input:checked + span { border-color: var(--cyan); background: rgba(56, 214, 255, .1); box-shadow: 0 0 0 1px var(--cyan) inset; }
.product-pick input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
@media (max-width: 480px) { .product-pick { grid-template-columns: 1fr; } }
/* Animated slides section */
.slides-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.slides-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 14px; }
.slides-list li { display: flex; gap: 12px; align-items: flex-start; }
.slides-list li > span:first-child { font-size: 22px; line-height: 1.2; }
.slides-list b { display: block; color: var(--text); }
.slides-list li span:last-child { color: var(--muted); font-size: 15px; }
.slides-price { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 18px; }
.sp-main { display: flex; align-items: baseline; gap: 8px; padding: 12px 20px; border-radius: 14px; background: rgba(255, 211, 110, .12); border: 1px solid rgba(255, 211, 110, .45); }
.slides-price b { font-size: 40px; line-height: 1; color: #ffd36e; }
.sp-main span { font-size: 16px; font-weight: 700; color: var(--text); }
.slides-price p { flex: 1 1 200px; margin: 0; font-size: 13px; color: var(--muted); }
.slide-rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 16px 18px; border-radius: 12px; background: rgba(255, 211, 110, .12); border: 1px solid rgba(255, 211, 110, .45); }
.slide-rate b { font-size: 36px; line-height: 1; color: #ffd36e; }
.slide-rate span { font-size: 17px; font-weight: 700; }
.slide-rate em { flex-basis: 100%; font-style: normal; font-size: 13px; color: var(--muted); }
.anim-rates { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.slide-rate[hidden], .anim-rates[hidden], .rates[hidden], .premium-strip[hidden] { display: none; }
.slides-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.slides-deck { position: relative; height: 380px; }
.sd { position: absolute; margin: 0; width: 78%; border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55); background: #0b1020; transition: transform .35s; }
.sd img { display: block; width: 100%; height: auto; }
.sd figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(10, 12, 22, .85); color: var(--text); }
.sd1 { top: 0; left: 0; transform: rotate(-4deg); }
.sd2 { top: 26%; left: 22%; transform: rotate(2deg); z-index: 2; border-color: rgba(124, 139, 255, .6); }
.sd3 { top: 54%; left: 6%; transform: rotate(-1deg); z-index: 3; border-color: rgba(255, 196, 87, .55); }
.slides-deck:hover .sd1 { transform: rotate(-6deg) translateY(-6px); }
.slides-deck:hover .sd3 { transform: rotate(1deg) translateY(6px); }
@media (max-width: 900px) { .slides-wrap { grid-template-columns: 1fr; } .slides-deck { height: 300px; max-width: 520px; } }
@media (max-width: 480px) { .slides-deck { height: 240px; } }
/* Feedback after download */
.feedback { margin: 26px auto 0; max-width: 460px; padding-top: 22px; border-top: 1px solid var(--border); }
.feedback h3 { margin: 0 0 10px; }
.stars { display: flex; justify-content: center; gap: 6px; margin-bottom: 12px; }
.stars button { font-size: 34px; line-height: 1; background: none; border: 0; cursor: pointer; color: #3a4060; padding: 2px; transition: color .15s, transform .15s; }
.stars button:hover, .stars button.on { color: #ffd36e; transform: scale(1.08); }
.feedback textarea { width: 100%; min-height: 80px; margin-bottom: 10px; }

/* ---------- light theme ---------- */
.theme-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font-size: 17px; line-height: 1; padding: 0; flex: none; }
.theme-btn:hover { background: var(--surface-2); }
@media (max-width: 880px) { .nav-links a:not(.btn) { display: none; } }
:root[data-theme="light"] {
  --bg: #f6f7fc; --bg-2: #eceffa;
  --surface: rgba(20, 30, 80, 0.04); --surface-2: rgba(20, 30, 80, 0.08); --border: rgba(20, 30, 80, 0.14);
  --text: #141a33; --muted: #4f5778; --faint: #7a809c;
  --indigo: #4f5bd5; --cyan: #0891b2; --amber: #b45309; --pink: #db2777; --green: #15803d; --red: #dc2626;
  --grad: linear-gradient(120deg, #6a78ff 0%, #22c3e6 100%);
  --shadow: 0 20px 50px -24px rgba(30, 40, 90, 0.35); --card: #ffffff;
  color-scheme: light;
}
:root[data-theme="light"] .nav { background: rgba(246, 247, 252, 0.8); }
:root[data-theme="light"] .nav-links a:not(.btn) { background: #fff; }
:root[data-theme="light"] .nav-links a:not(.btn):hover { background: rgba(79, 91, 213, .1); }
:root[data-theme="light"] .btn.ghost:hover { background: rgba(20, 30, 80, 0.08); }
:root[data-theme="light"] .hero { background:
    radial-gradient(60% 50% at 20% 40%, rgba(106, 120, 255, 0.16), transparent 70%),
    radial-gradient(50% 50% at 85% 70%, rgba(34, 195, 230, 0.12), transparent 70%), var(--bg); }
:root[data-theme="light"] .card, :root[data-theme="light"] .subject, :root[data-theme="light"] .sample,
:root[data-theme="light"] .feature, :root[data-theme="light"] .step, :root[data-theme="light"] .choose-card,
:root[data-theme="light"] details { background: #fff; }
:root[data-theme="light"] .card { background: #fff; }
:root[data-theme="light"] .subject canvas { background: radial-gradient(circle at 50% 40%, #ffffff, #e9ecf8); }
:root[data-theme="light"] input, :root[data-theme="light"] textarea, :root[data-theme="light"] select,
:root[data-theme="light"] .recorder { background: #fff; color: var(--text); }
:root[data-theme="light"] .statement .word-dim { color: #c6cbe0; }
:root[data-theme="light"] .floaters span { color: rgba(60, 70, 160, .16); }
:root[data-theme="light"] .sample-play { background: rgba(255, 255, 255, .85); }
:root[data-theme="light"] .note-box { background: rgba(79, 91, 213, .08); border-color: rgba(79, 91, 213, .3); }
:root[data-theme="light"] .signin { background: #fff; }
:root[data-theme="light"] .upi-pay { border-top-color: var(--border); }
:root[data-theme="light"] .help-msg.them { background: #eef0f8; color: var(--text); }
:root[data-theme="light"] .help-form input, :root[data-theme="light"] .help-cform input, :root[data-theme="light"] .help-cform textarea { background: #fff; }
:root[data-theme="light"] .help-panel { background: #fff; }
/* gold reads better darker on white */
:root[data-theme="light"] .gold-text { background-image: linear-gradient(120deg, #b7791f 0%, #c2410c 100%); }
:root[data-theme="light"] .nav-links a.nav-premium { color: #a16207; border-color: rgba(180, 120, 20, .45); background: rgba(255, 196, 87, .14); }
:root[data-theme="light"] .premium { background: linear-gradient(160deg, rgba(255, 196, 87, .22), #fff 60%); box-shadow: 0 30px 70px -36px rgba(200, 130, 30, .45); }
:root[data-theme="light"] .premium-price { background: #fffaf0; }
:root[data-theme="light"] .pp-fee b, :root[data-theme="light"] .pp-rates b, :root[data-theme="light"] .slides-price b,
:root[data-theme="light"] .premium-strip span:last-child { color: #a16207; }
:root[data-theme="light"] .premium-strip { background: rgba(255, 196, 87, .16); }
/* tricolour text needs the middle colour dark on white */
:root[data-theme="light"] .india-badge { background: #fff; }
:root[data-theme="light"] .india-badge::before { background: linear-gradient(90deg, #ff9933, #c9cede 50%, #138808); }
:root[data-theme="light"] .india-badge b, :root[data-theme="light"] .india-line .slogan { background-image: linear-gradient(90deg, #e67e00, #1f2a5a 50%, #138808); }
:root[data-theme="light"] .india-line::after { background: linear-gradient(90deg, #ff9933 0 33%, #d5d9e8 33% 66%, #138808 66%); }
:root[data-theme="light"] .sd { box-shadow: 0 18px 40px rgba(30, 40, 90, .25); }
:root[data-theme="light"] .stars button { color: #cfd3e3; }
:root[data-theme="light"] .stars button:hover, :root[data-theme="light"] .stars button.on { color: #e0a100; }
:root[data-theme="light"] .product-pick span { background: #fff; }
:root[data-theme="light"] .product-pick input:checked + span { background: rgba(8, 145, 178, .08); }
:root[data-theme="light"] .offer-tag { background: rgba(21, 128, 61, .1); }
:root[data-theme="light"] .lightbox { background: rgba(10, 12, 30, .85); }
:root[data-theme="light"] .wordmark { color: #111827; }
@media (max-width: 420px) { .logo-sub { display: none; } .nav-links { gap: 6px; } }
/* light theme polish: white surfaces with soft depth, crisper text and buttons */
:root[data-theme="light"] { --muted: #475070; --border: rgba(20, 30, 80, 0.12); }
:root[data-theme="light"] body { background: linear-gradient(180deg, #f6f7fc 0%, #f1f3fb 100%); }
:root[data-theme="light"] .btn { box-shadow: 0 10px 24px -12px rgba(60, 90, 220, 0.55); }
:root[data-theme="light"] .btn.ghost { background: #fff; border-color: rgba(20, 30, 80, 0.16); box-shadow: 0 6px 18px -12px rgba(30, 40, 90, .35); }
:root[data-theme="light"] .btn.ghost:hover { background: #f3f5ff; border-color: rgba(79, 91, 213, .45); }
:root[data-theme="light"] .pill { background: #fff; box-shadow: 0 4px 14px -10px rgba(30, 40, 90, .4); }
:root[data-theme="light"] .card, :root[data-theme="light"] .subject, :root[data-theme="light"] .sample,
:root[data-theme="light"] .feature, :root[data-theme="light"] .step, :root[data-theme="light"] .choose-card,
:root[data-theme="light"] .premium-price {
  box-shadow: 0 1px 2px rgba(20, 30, 80, .05), 0 12px 32px -18px rgba(20, 30, 80, .28); }
:root[data-theme="light"] .feature .icon { background: #eef0fb; }
:root[data-theme="light"] .subject:hover, :root[data-theme="light"] .sample:hover { box-shadow: 0 24px 50px -24px rgba(40, 60, 160, .4); }
:root[data-theme="light"] .cta-band { background: radial-gradient(80% 120% at 50% 0%, rgba(106, 120, 255, .18), transparent 70%), #fff;
  box-shadow: 0 24px 60px -30px rgba(40, 60, 160, .35); }
:root[data-theme="light"] .nav { box-shadow: 0 1px 0 rgba(20, 30, 80, .06); }
:root[data-theme="light"] .nav-links a:not(.btn) { box-shadow: 0 2px 8px -6px rgba(20, 30, 80, .4); }
:root[data-theme="light"] .theme-btn { background: #fff; }
:root[data-theme="light"] .sample-tabs button:not([aria-selected="true"]) { background: #fff; }
:root[data-theme="light"] footer { background: #fff; }
/* Light theme: deeper blue so gradient text and buttons stay bold on white */
:root[data-theme="light"] { --grad: linear-gradient(120deg, #4338ca 0%, #2563eb 55%, #0e7490 100%); --cyan: #0e7490; }
:root[data-theme="light"] .btn:not(.ghost):not(.gold), :root[data-theme="light"] .nav-links a.btn:not(.ghost):not(.gold),
:root[data-theme="light"] .announce, :root[data-theme="light"] .help-fab, :root[data-theme="light"] .help-msg.me,
:root[data-theme="light"] .help-send, :root[data-theme="light"] .step::before, :root[data-theme="light"] .mic { color: #fff; }
:root[data-theme="light"] .btn:not(.ghost):not(.gold) { box-shadow: 0 12px 26px -12px rgba(67, 56, 202, .6); }
:root[data-theme="light"] .btn:not(.ghost):not(.gold):hover { box-shadow: 0 16px 34px -12px rgba(67, 56, 202, .75); }
:root[data-theme="light"] .help-fab { background: linear-gradient(135deg, #4338ca, #0e7490); box-shadow: 0 10px 30px rgba(67, 56, 202, .35); }
:root[data-theme="light"] .help-msg.me, :root[data-theme="light"] .help-send { background: #4338ca; }
:root[data-theme="light"] .eyebrow { color: #4338ca; }
:root[data-theme="light"] .sp-main, :root[data-theme="light"] .slide-rate { background: #fffaf0; border-color: rgba(180, 120, 20, .35); }
:root[data-theme="light"] .slide-rate b { color: #a16207; }

/* ---------- slides smart board (pinned, scroll-driven) ---------- */
.sstory { height: 460vh; padding: 0; position: relative; }
.sstory-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.sstory-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 48px; align-items: center; }
.sstory-text { position: relative; min-height: 260px; }
.schap { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(calc(-50% + 20px)); opacity: 0; transition: opacity .15s ease, transform .3s ease; }
.schap.on { opacity: 1; transform: translateY(-50%); transition: opacity .45s ease .15s, transform .6s cubic-bezier(.2, .8, .2, 1) .15s; }
.schap .eyebrow { display: block; margin-bottom: 8px; }
.schap h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 12px; font-weight: 850; }
.schap p { color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); margin: 0; max-width: 460px; }
.board { position: relative; }
.board-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; border: 10px solid #1d2233; background: #0d1430; overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06); }
#slideCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.board-bar { width: 38%; height: 10px; margin: 0 auto; border-radius: 0 0 10px 10px; background: #1d2233; }
.board-click { position: absolute; right: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  color: #eef0fb; background: rgba(124, 139, 255, .28); border: 1px solid rgba(124, 139, 255, .55); }
.board-click.pulse { animation: clickPulse .5s ease; }
@keyframes clickPulse { 0% { transform: scale(1); } 40% { transform: scale(1.18); background: rgba(124, 139, 255, .6); } 100% { transform: scale(1); } }
.sstory .story-progress { right: 22px; }
@media (max-width: 860px) {
  .sstory-grid { grid-template-columns: 1fr; gap: 18px; }
  .sstory-text { min-height: 170px; text-align: center; }
  .schap p { margin: 0 auto; }
  .board-screen { border-width: 6px; border-radius: 10px; }
}
/* phones: a taller slide so the text inside stays readable */
@media (max-width: 600px) { .sstory .story-progress { display: none; } .board-screen { aspect-ratio: 4 / 3; } }
:root[data-theme="light"] .board-screen { box-shadow: 0 30px 60px -28px rgba(30, 40, 90, .55); }

/* phone menu (built by theme.js) */
.nav-menu { display: none; }
.nav-drop { display: none; }
@media (max-width: 880px) {
  .nav-menu { display: inline-block; }
  .nav-drop:not([hidden]) { display: grid; gap: 8px; padding: 10px 16px 16px; border-bottom: 1px solid var(--border); background: var(--bg); }
  .nav-drop a { color: var(--text); text-decoration: none; font-weight: 600; padding: 11px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
  .nav-drop a.nav-premium { color: #ffd36e; }
}
:root[data-theme="light"] .nav-drop a { background: #fff; }
:root[data-theme="light"] .nav-drop a.nav-premium { color: #a16207; }

/* phones: no backdrop blur on the sticky menu (slow while scrolling), a solid bar instead */
@media (max-width: 880px), (pointer: coarse) {
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10, 12, 22, 0.96); }
  :root[data-theme="light"] .nav { background: rgba(246, 247, 252, 0.97); }
}

/* After the customer sends the UTR */
.pay-wait { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: rgba(52, 211, 153, .08); border: 1px solid rgba(52, 211, 153, .35); }
.pw-head { margin: 0 0 10px; font-weight: 700; }
.pw-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.pw-steps li { position: relative; padding-left: 28px; color: var(--muted); }
.pw-steps li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; opacity: .5; box-sizing: border-box; }
.pw-steps li.done { color: var(--text); }
.pw-steps li.done::before { content: "✓"; opacity: 1; border: 0; background: #10b981; color: #fff; font-size: 12px; line-height: 18px; text-align: center; }
.pw-steps li.now { color: var(--text); font-weight: 600; }
.pw-steps li.now::before { opacity: 1; border-color: #f59e0b; border-top-color: transparent; animation: pwspin 1.1s linear infinite; }
@keyframes pwspin { to { transform: rotate(360deg); } }
:root[data-theme="light"] .pay-wait { background: rgba(16, 185, 129, .07); border-color: rgba(5, 150, 105, .35); }

/* Premium switched off in the admin page */
body[data-premium="False"] .p-only { display: none !important; }
