/* Vidyastik v6 — Vidyastik | Shlok Pawan Verma
   Colours come from the logos: aubergine #22092C (V mark), violet #5E17EB (SPV squares), exam-gold #E9A23B.
   Khand = display (exam-paper headers), Mukta = body (Devanagari + Latin). */

@font-face { font-family: "Khand"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/khand-700.woff2") format("woff2"); }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/mukta-400.woff2") format("woff2"); }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/mukta-700.woff2") format("woff2"); }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/mukta-700.woff2") format("woff2"); }

:root {
  --ink: #22092C;
  --ink-2: #3A1846;
  --violet: #5E17EB;
  --violet-d: #4A10C4;
  --violet-s: #EFE8FE;
  --gold: #E9A23B;
  --gold-s: #FDF3E2;
  --paper: #F6F4F9;
  --rule: #E4DEED;
  --edge: #CFC5DB;
  --muted: #675B73;
  --body-ink: #3B2F45;
  --ok: #0F7A55;
  --ok-s: #E5F4EE;
  --bad: #B42318;
  --bad-s: #FDECEA;
  --live: #E5383B;
  --display: "Khand", "Mukta", system-ui, sans-serif;
  --body: "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); }
img, svg { max-width: 100%; display: block; }
a { color: var(--violet-d); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.on-dark :focus-visible, .bar :focus-visible, .foot :focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- demo ribbon ---------- */
.demo { background: var(--gold); color: var(--ink); text-align: center; font-size: 14px; font-weight: 600; padding: 6px 12px; }

/* ---------- top bar ---------- */
.bar { background: var(--ink); color: #fff; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 22px/1 var(--display); letter-spacing: .02em; }
.logo svg { width: 26px; height: 30px; flex: 0 0 auto; }
.bar-link { color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.bar-link:hover { color: #fff; }
.bar-link svg { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.top { position: relative; }
.pitch { background: var(--ink); color: #fff; margin: 0 -16px; padding: 14px 16px 92px; position: relative; overflow: hidden; }
.pitch::after { /* the V stroke from the logo, quiet */
  content: ""; position: absolute; right: -40px; bottom: -30px; width: 120px; height: 260px; background: var(--violet);
  transform: skewX(-22deg); opacity: .55; pointer-events: none; }
.pitch > * { position: relative; z-index: 1; }
.pitch h1 { font-size: clamp(38px, 10.2vw, 64px); letter-spacing: .005em; max-width: 15ch; }
.pitch h1 .yrs { display: block; }
.lede { margin-top: 12px; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .86); max-width: 30em; }
.counts { margin-top: 12px; font-size: 15px; color: rgba(255, 255, 255, .72); }
.counts b { color: #fff; }
.who { display: none; align-items: center; gap: 12px; margin-top: 22px; font-size: 15px; line-height: 1.35; color: rgba(255, 255, 255, .8); }
.who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.who b { display: block; color: #fff; font-weight: 600; }
.sheet-col { margin-top: -72px; position: relative; z-index: 2; }

@media (min-width: 720px) { .pitch { margin: 0 -28px; padding: 26px 28px 110px; } }
@media (min-width: 960px) {
  .top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 150px; background: var(--ink); }
  .top-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; }
  .pitch { background: none; margin: 0; padding: 56px 0 0; overflow: visible; }
  .pitch::after { right: auto; left: -150px; top: 40px; bottom: auto; height: 300px; opacity: .35; }
  .sheet-col { margin: 32px 0 0; }
  .who { display: flex; }
  .lede { font-size: 19px; }
  .pitch h1 { font-size: 58px; max-width: none; }
}

/* ---------- the answer sheet (form card) ---------- */
.sheet { background: #fff; border-radius: 14px; box-shadow: 0 1px 0 rgba(34, 9, 44, .05), 0 22px 44px -22px rgba(34, 9, 44, .55); }
.sheet-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; border-bottom: 3px double var(--rule); }
.sheet-head h2 { font-size: 26px; }
.sheet-head .t { font-size: 14px; color: var(--muted); white-space: nowrap; }
.sheet-body { padding: 6px 20px 20px; }
@media (min-width: 720px) { .sheet-head { padding: 20px 26px 14px; } .sheet-body { padding: 8px 26px 26px; } }

.f { margin: 16px 0 0; border: 0; padding: 0; min-width: 0; }
.f > .lbl, .f > legend { display: block; font-weight: 600; font-size: 15px; margin: 0 0 6px; padding: 0; }
.in { display: block; width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--edge); border-radius: 10px; background: #fff; font-size: 17px; }
.in::placeholder { color: #9A90A6; }
.in:focus { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-s); outline: none; }
select.in { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2322092C' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
.f.bad .in { border-color: var(--bad); }
.f .err { display: none; margin-top: 6px; color: var(--bad); font-size: 14px; font-weight: 600; }
.f.bad .err { display: block; }

.tel { display: flex; align-items: stretch; }
.tel span { display: flex; align-items: center; padding: 0 12px; border: 1.5px solid var(--edge); border-right: 0; border-radius: 10px 0 0 10px; background: var(--paper); font-weight: 600; color: var(--muted); }
.tel .in { border-radius: 0 10px 10px 0; letter-spacing: .06em; }
.digits { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin-top: 8px; }
.digits i { height: 6px; border-radius: 2px; background: var(--rule); transition: background .15s; }
.digits i.on { background: var(--violet); }
.digits.done i { background: var(--ok); }

/* OMR bubbles */
.omr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.omr > legend { grid-column: 1 / -1; }
.bub { position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border: 1.5px solid var(--edge); border-radius: 10px; cursor: pointer; font-weight: 600; background: #fff; }
.bub input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bub i { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; transition: background .12s, box-shadow .12s; }
.bub input:checked + i { background: var(--ink); box-shadow: inset 0 0 0 3px #fff; }
.bub:has(input:checked) { border-color: var(--violet); background: var(--violet-s); }
.bub input:focus-visible + i { outline: 3px solid var(--violet); outline-offset: 3px; }
.f.bad .bub { border-color: var(--bad); }

.chk { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--body-ink); cursor: pointer; }
.chk input { flex: 0 0 auto; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--violet); cursor: pointer; }
.chk.bad { color: var(--bad); }
.chk.bad input { outline: 2px solid var(--bad); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 8px 20px; border: 0; border-radius: 10px;
  background: var(--violet); color: #fff; font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; text-align: center; }
.btn:hover { background: var(--violet-d); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn.block { display: flex; width: 100%; }
.btn.big { min-height: 56px; font-size: 18px; }
.btn.ok { background: var(--ok); }
.btn.ok:hover { background: #0B6747; }
.btn.line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
.btn.wa { background: #0F7A55; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-err { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--bad-s); color: var(--bad); font-weight: 600; font-size: 15px; }
.fine { margin-top: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--violet-d); text-decoration: underline; font-size: 14.5px; }

/* ---------- unlocked list ---------- */
.ok-head { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px 12px; border-bottom: 3px double var(--rule); }
.ok-head .tick { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 20px; }
.ok-head h2 { font-size: 26px; }
.ok-head p { color: var(--muted); font-size: 15px; margin-top: 2px; }
@media (min-width: 720px) { .ok-head { padding: 20px 26px 14px; } }
.seg { display: inline-flex; padding: 3px; gap: 3px; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; margin: 14px 0 4px; }
.seg button { border: 0; background: none; border-radius: 8px; padding: 8px 14px; font-weight: 600; font-size: 15px; color: var(--muted); min-height: 40px; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(34, 9, 44, .18); }
.subj { list-style: none; margin: 8px 0 0; padding: 0; }
.subj li { padding: 12px 0; border-top: 1px solid var(--rule); }
.subj li:first-child { border-top: 0; }
.subj b { display: block; font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 8px; border: 1.5px solid var(--edge); background: #fff;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.chip:hover { border-color: var(--violet); background: var(--violet-s); }
.chip small { font-weight: 600; font-size: 12px; color: var(--muted); }
.wait-note { margin: 12px 0 4px; padding: 14px; border-radius: 10px; background: var(--gold-s); color: #6B4300; font-size: 15px; }
.after { display: grid; gap: 10px; margin-top: 16px; }

/* ---------- coming soon ---------- */
.soon { padding: 46px 0 56px; }
@media (min-width: 960px) { .soon { padding-top: 64px; } }
.soon h2 { font-size: clamp(32px, 6vw, 44px); }
.soon .sub { margin-top: 6px; color: var(--muted); font-size: 17px; max-width: 36em; }
.books { display: grid; gap: 18px; margin-top: 22px; }
@media (min-width: 820px) { .books { grid-template-columns: 1fr 1fr; gap: 22px; } }
.book { position: relative; display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--rule); border-radius: 6px 14px 14px 6px; padding: 20px 20px 20px 36px; }
.book::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 16px; border-radius: 5px 0 0 5px;
  background: repeating-linear-gradient(180deg, var(--violet) 0 26px, #8253F1 26px 28px); }
.book.gold::before { background: repeating-linear-gradient(180deg, var(--gold) 0 26px, #F4BE6E 26px 28px); }
.book .tag { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--violet-d); background: var(--violet-s); border-radius: 999px; padding: 2px 12px; }
.book.gold .tag { color: #7A4A00; background: var(--gold-s); }
.book h3 { font-size: 30px; margin: 12px 0 10px; }
.book ul { margin: 0 0 16px; padding-left: 20px; color: var(--body-ink); }
.book li { margin: 4px 0; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: auto; padding-top: 4px; }
.price .l { font-size: 14px; font-weight: 700; color: var(--ok); }
.price b { font: 700 34px/1 var(--display); }
.price s { color: var(--muted); font-size: 16px; }
.price .per { font-size: 14px; color: var(--muted); }
.book .act { margin-top: 14px; }
.btn-wait { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 58px; padding: 8px 14px;
  border: 2px solid var(--ink); border-radius: 10px; background: #fff; color: var(--ink); font-weight: 700; font-size: 17px; line-height: 1.25; text-align: center; }
.btn-wait small { font-weight: 600; font-size: 14px; color: var(--muted); }
.btn-wait:hover { background: var(--ink); color: #fff; }
.btn-wait:hover small { color: rgba(255, 255, 255, .8); }
.btn-wait.joined { border-color: var(--ok); color: var(--ok); }
.btn-wait.joined:hover { background: var(--ok); color: #fff; }
.coming { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 820px) { .coming { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.coming li { background: #fff; border: 1.5px solid var(--rule); border-radius: 10px; padding: 14px 16px; }
.coming b { display: block; font-size: 17px; }

/* ---------- dialog (waitlist) ---------- */
.dlg { width: min(560px, 100%); max-height: min(92vh, 900px); margin: auto; padding: 0; border: 0; border-radius: 14px; background: #fff; color: var(--ink); overflow: auto; }
.dlg::backdrop { background: rgba(34, 9, 44, .62); }
@media (max-width: 599px) { .dlg { margin: auto 0 0; width: 100%; max-width: 100%; border-radius: 16px 16px 0 0; } }
.dlg .x { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--muted); }
.dlg .sheet-head { padding-right: 56px; flex-direction: column; align-items: flex-start; gap: 4px; }
.dlg .sheet-head p { color: var(--muted); font-size: 15px; }
.dlg-done { padding: 22px 20px 24px; }
.dlg-done h2 { font-size: 30px; margin: 10px 0 8px; }
.dlg-done p { color: var(--body-ink); }
.dlg-done .after { margin-top: 18px; }

/* ---------- pages (exam / pay / policies) ---------- */
.page { padding: 28px 0 56px; }
.card { background: #fff; border: 1.5px solid var(--rule); border-radius: 14px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps > li { position: relative; padding: 18px 20px 20px 60px; border-top: 1px solid var(--rule); counter-increment: s; }
.steps > li:first-child { border-top: 0; }
.steps > li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font: 700 17px/1 var(--display); }
.steps > li.done::before { content: "✓"; background: var(--ok); }
.steps > li.off { opacity: .55; }
.steps h3 { font-size: 23px; margin-bottom: 6px; }
.pay-amt { font: 700 44px/1 var(--display); margin: 6px 0 2px; }
.qr { width: 216px; max-width: 100%; padding: 10px; border: 1.5px solid var(--rule); border-radius: 12px; background: #fff; margin: 14px 0 8px; }
.qr svg { width: 100%; height: auto; }
.kv { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; color: var(--muted); margin-top: 8px; }
.kv b { color: var(--ink); }
.status { margin-top: 12px; padding: 12px 14px; border-radius: 10px; font-weight: 600; font-size: 15.5px; }
.status.wait { background: var(--gold-s); color: #6B4300; }
.status.good { background: var(--ok-s); color: var(--ok); }
.status.bad { background: var(--bad-s); color: var(--bad); }
.doc { max-width: 46em; }
.doc h1 { font-size: clamp(36px, 7vw, 52px); }
.doc .lede-d { color: var(--muted); margin: 8px 0 8px; }
.doc section { border-top: 1px solid var(--rule); padding: 22px 0 6px; margin-top: 18px; }
.doc h2 { font-size: 28px; margin-bottom: 8px; }
.doc p, .doc li { color: var(--body-ink); }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.toc { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; padding: 0; list-style: none; }
.toc a { font-weight: 600; text-decoration: none; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: rgba(255, 255, 255, .74); font-size: 15px; padding: 34px 0 30px; }
.foot .wrap { display: grid; gap: 22px; }
.foot .wrap > * { min-width: 0; }
@media (min-width: 820px) { .foot .wrap { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.foot a { color: #fff; }
.foot .credit { font: 700 20px/1.2 var(--display); color: #fff; }
.foot .credit span { display: block; font: 400 14px/1.5 var(--body); color: rgba(255, 255, 255, .66); margin-top: 6px; }
.foot ul { list-style: none; margin: 0; padding: 0; line-height: 2; }
.foot .later { margin-top: 10px; line-height: 1.8; }
.foot .later a { margin-right: 12px; white-space: nowrap; }

/* trust line under the form button */
.trust { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.trust img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 2px solid var(--gold); }
.trust b { display: block; color: var(--ink); font-weight: 600; font-size: 14px; }

/* =====================================================================
   v6 additions: co-brand header, nav, notice + live patti, date sheet (live classes),
   syllabus (course), founder page, grouped exam links
   ===================================================================== */

/* ---------- header: Vidyastik × SPV + nav ---------- */
.logo .x { font: 400 16px/1 var(--body); color: rgba(255, 255, 255, .55); margin: 0 -2px; }
.logo .spv { height: 20px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-right: -8px; }
.nav a { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 9px; border-radius: 8px;
  color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 6px; height: 2px; background: var(--gold); border-radius: 2px; }
.nav a .dot { display: none; }
.nav a.on-air .dot { display: inline-block; }
.nav .help svg { width: 20px; height: 20px; }
.nav .help span { display: none; }
@media (max-width: 399px) { .nav .help { display: none !important; } .logo { gap: 8px; font-size: 20px; } .logo .spv { height: 17px; } .nav a { padding: 0 7px; font-size: 14.5px; } }
@media (min-width: 720px) { .nav { gap: 6px; } .nav .help span { display: inline; } .logo .spv { height: 22px; } }

.dot { display: inline-block; flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(229, 56, 59, .55); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 56, 59, .55); } 70% { box-shadow: 0 0 0 9px rgba(229, 56, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 56, 59, 0); } }

/* notice (Settings → notice) */
.notice { display: block; margin: 0; padding: 8px 16px; background: var(--gold); color: var(--ink); text-align: center; font-weight: 600; font-size: 14.5px; line-height: 1.4; text-decoration: none; }
a.notice:hover { text-decoration: underline; }

/* LIVE abhi patti (har page pe, jab class chal rahi ho) */
.livebar { display: block; background: var(--ink-2); color: #fff; text-decoration: none; border-top: 1px solid rgba(255, 255, 255, .08); }
.livebar .wrap { display: flex; align-items: center; gap: 10px; min-height: 46px; }
.livebar b { font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.livebar .lt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255, 255, 255, .84); }
.livebar .go { font-weight: 700; color: var(--gold); white-space: nowrap; }
.livebar:hover .go { text-decoration: underline; }

.btn.gold { background: var(--gold); color: var(--ink); }
.btn.gold:hover { background: #D8902A; }

/* hero "who" → founder page */
a.who { text-decoration: none; }
a.who:hover b { text-decoration: underline; }

/* ---------- inner page band (live / course) ---------- */
.band { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 22px 0 30px; }
.band::after { content: ""; position: absolute; right: -50px; top: -20px; width: 120px; height: 280px; background: var(--violet); transform: skewX(-22deg); opacity: .45; pointer-events: none; }
.band .wrap { position: relative; z-index: 1; }
.band h1 { font-size: clamp(42px, 11vw, 68px); }
.band .lede { max-width: 34em; }
@media (min-width: 960px) { .band { padding: 48px 0 44px; } .band::after { right: 8%; opacity: .32; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.filters button { min-height: 40px; padding: 4px 14px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 999px; background: transparent; color: #fff; font-weight: 600; font-size: 14.5px; }
.filters button[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--ink); }

/* ---------- live classes: the date sheet ---------- */
.datesheet { display: grid; gap: 12px; margin-top: 22px; }
.slot { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 2px 14px; align-items: start; padding: 14px; background: #fff; border: 1.5px solid var(--rule); border-radius: 12px; scroll-margin-top: 90px; }
.slot .date { grid-row: span 2; text-align: center; padding: 7px 0 6px; border: 1.5px solid var(--ink); border-radius: 10px; background: #fff; line-height: 1; }
.slot .date b { display: block; font: 700 30px/1 var(--display); }
.slot .date span { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.slot .date.on { display: grid; place-items: center; gap: 6px; min-height: 64px; background: var(--gold); border-color: var(--gold); }
.slot .date.on b { font-size: 19px; letter-spacing: .06em; }
.slot .info { min-width: 0; }
.slot .when { display: flex; flex-wrap: wrap; gap: 0 10px; font-weight: 600; font-size: 15px; color: var(--body-ink); }
.slot .when span { font-weight: 400; color: var(--muted); }
.slot h3 { margin: 3px 0 5px; font-size: 23px; overflow-wrap: anywhere; }
.slot .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; color: var(--muted); }
.acc { padding: 1px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.acc.free { background: var(--ok-s); color: var(--ok); }
.acc.paid { background: var(--violet-s); color: var(--violet-d); }
.slot .act { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; }
.slot .act .btn { min-height: 46px; }
.slot .act small { flex-basis: 100%; font-size: 13.5px; color: var(--muted); }
.stamp { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 2px dashed var(--edge); border-radius: 8px; color: var(--muted); font-weight: 700; transform: rotate(-1.5deg); }
.stamp.ok { border-style: solid; border-color: var(--ok); color: var(--ok); }
.cal { font-size: 14.5px; font-weight: 600; }
.slot.is-live { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-s); }
.slot.is-soon { border-color: var(--violet); }
.slot.focus { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-s); }
.slot.is-ended, .slot.is-cancelled { background: #FBFAFC; }
.slot.is-ended .date, .slot.is-cancelled .date { border-color: var(--edge); }
.slot.is-cancelled h3 { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--muted); }
.row-msg { grid-column: 1 / -1; display: grid; gap: 10px; justify-items: start; margin-top: 12px; padding: 10px 12px; border-radius: 8px; font-size: 15px; font-weight: 600; }
.row-msg.wait { background: var(--gold-s); color: #6B4300; }
.row-msg.good { background: var(--ok-s); color: var(--ok); }
.row-msg.bad { background: var(--bad-s); color: var(--bad); }
.past-h { margin-top: 34px; font-size: 26px; color: var(--body-ink); }
.datesheet.past { margin-top: 12px; }
.empty { margin-top: 22px; padding: 22px 20px; }
.empty h2 { font-size: 28px; }
.empty p { margin-top: 8px; color: var(--body-ink); max-width: 36em; }
.empty .after { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 720px) {
  .slot { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 4px 20px; align-items: center; padding: 16px 18px; }
  .slot .date { grid-row: auto; }
  .slot .date b { font-size: 34px; }
  .slot .act { grid-column: 3; flex-direction: column; align-items: flex-end; justify-content: center; margin: 0; min-width: 200px; }
  .slot .act small { flex-basis: auto; text-align: right; }
  .slot .act .btn { min-width: 200px; }
}
.live-note { margin-top: 26px; max-width: 46em; }
.live-note h2 { font-size: 26px; }
.live-note ul { margin: 10px 0 0; padding-left: 20px; color: var(--body-ink); }
.live-note li { margin: 6px 0; }

/* ---------- course: syllabus ---------- */
.course-pick { display: grid; gap: 4px; max-width: 460px; margin-top: 18px; }
.course-pick .lbl { color: rgba(255, 255, 255, .86); }
.course-pick .seg { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); justify-self: start; }
.course-pick .seg button { color: rgba(255, 255, 255, .8); }
.course-pick .seg button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.passbox { display: grid; gap: 14px; margin: 22px 0 6px; padding: 18px; background: #fff; border: 1.5px solid var(--rule); border-left: 6px solid var(--violet); border-radius: 12px; }
.passbox.ok { border-left-color: var(--ok); }
.passbox h2 { font-size: 28px; }
.passbox p { margin-top: 6px; color: var(--body-ink); }
.passbox .price { margin-top: 10px; }
@media (min-width: 820px) { .passbox { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 20px 24px; } .passbox .btn-wait, .passbox > .btn { min-width: 270px; } }
.subject { margin-top: 12px; background: #fff; border: 1.5px solid var(--rule); border-radius: 12px; }
.subject summary { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; list-style: none; font: 700 24px/1.1 var(--display); }
.subject summary::-webkit-details-marker { display: none; }
.subject summary::after { content: ""; flex: 0 0 auto; width: 11px; height: 11px; margin: -4px 4px 0; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform .15s; }
.subject[open] summary::after { margin-top: 6px; transform: rotate(-135deg); }
.subject .sn { flex: 1; min-width: 0; }
.subject .sc { font: 600 13.5px/1 var(--body); color: var(--muted); white-space: nowrap; }
.chapter { padding: 0 18px 12px; }
.chapter h3 { padding: 12px 0 4px; border-top: 1px solid var(--rule); font-size: 19px; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px dashed var(--rule); }
.items li:first-child { border-top: 0; }
.ty { padding: 2px 8px; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); color: var(--body-ink); font-size: 12px; font-weight: 700; white-space: nowrap; }
.ty-oneshot { border-color: transparent; background: var(--violet-s); color: var(--violet-d); }
.ty-pyq, .ty-brahmastra { border-color: transparent; background: var(--gold-s); color: #7A4A00; }
.ty-test { border-color: transparent; background: var(--ok-s); color: var(--ok); }
.tt { min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.items .open { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border: 1.5px solid var(--violet); border-radius: 8px; background: #fff; color: var(--violet-d); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.items .open:hover { background: var(--violet-s); }
.items .open.free { border-color: var(--ok); color: var(--ok); }
.lock { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.lock svg { width: 16px; height: 16px; }

/* numbered method (a real sequence) — OMR-bubble numbers */
.section { padding: 42px 0 8px; }
.section h2 { font-size: clamp(30px, 6vw, 40px); }
.section .sub { margin-top: 6px; color: var(--muted); font-size: 17px; max-width: 40em; }
.method { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: m; }
.method li { position: relative; padding: 14px 16px 14px 64px; background: #fff; border: 1.5px solid var(--rule); border-radius: 12px; counter-increment: m; }
.method li::before { content: counter(m); position: absolute; left: 14px; top: 13px; width: 34px; height: 34px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font: 700 18px/1 var(--display); }
.method b { display: block; font-size: 17px; }
.method span { color: var(--body-ink); }
@media (min-width: 820px) { .method { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.page-end { padding-bottom: 56px; }

/* ---------- founder page ---------- */
.founder { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.founder > .wrap { display: grid; gap: 24px; padding-top: 24px; padding-bottom: 36px; }
.founder .photo { position: relative; width: min(100%, 340px); }
.founder .photo::before { content: ""; position: absolute; left: -46px; top: 36px; width: 120px; height: 320px; background: var(--violet); transform: skewX(-22deg); opacity: .55; }
.founder .photo img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border: 3px solid var(--gold); border-radius: 14px; }
.founder h1 { font-size: clamp(46px, 12vw, 80px); line-height: .94; }
.founder .role { margin-top: 10px; font-size: 18px; color: rgba(255, 255, 255, .82); }
.founder .spv { height: 40px; width: auto; margin-top: 18px; }
.founder .intro p { margin-top: 12px; max-width: 34em; font-size: 17px; color: rgba(255, 255, 255, .88); }
.founder .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.btn.ghost:hover { background: #fff; color: var(--ink); }
@media (min-width: 900px) { .founder > .wrap { grid-template-columns: 340px minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 60px; padding-bottom: 68px; } }
.follow { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.follow a { display: block; padding: 12px 16px; background: #fff; border: 1.5px solid var(--rule); border-radius: 12px; color: var(--ink); text-decoration: none; }
.follow a:hover { border-color: var(--violet); }
.follow b { display: block; font-size: 16.5px; }
.follow span { font-size: 14.5px; color: var(--muted); }
@media (min-width: 820px) { .follow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- footer: exam links grouped ---------- */
.exlinks { display: grid; gap: 4px; margin-top: 12px; line-height: 1.8; }
.exlinks p { margin: 0; }
.exlinks span { margin-right: 8px; font-weight: 600; color: rgba(255, 255, 255, .55); }
.exlinks a { margin-right: 12px; white-space: nowrap; }
.exlist { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 8px; }
.exlist a { font-weight: 600; }
.band .in { color: var(--ink); }
.passbox ul { margin: 8px 0 0; padding-left: 20px; color: var(--body-ink); }
.passbox li { margin: 3px 0; }

/* =====================================================================
   v7: plans (sales) page, thank-you, help desk, referral, bot check
   ===================================================================== */
@media (max-width: 399px) {
  .nav .help { display: inline-flex !important; }
  .nav [data-nav=course] { display: none; }
  .logo { font-size: 19px; gap: 7px; }
  .logo .spv { height: 16px; }
  .nav a { padding: 0 6px; font-size: 14px; }
}
.spin.dark { display: block; width: 26px; height: 26px; margin-bottom: 12px; border-color: var(--violet-s); border-top-color: var(--violet); }
.ts { margin: 6px 0 2px; min-height: 0; }

/* why buy */
.why { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.why li { padding: 16px 18px; background: #fff; border: 1.5px solid var(--rule); border-radius: 12px; }
.why b { display: block; font: 700 21px/1.15 var(--display); }
.why span { display: block; margin-top: 4px; color: var(--body-ink); }
@media (min-width: 720px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .why { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plans-grid .books { margin-top: 18px; }
@media (min-width: 1040px) { .plans-grid .books { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* comparison table */
.compare-wrap { margin-top: 18px; overflow-x: auto; background: #fff; border: 1.5px solid var(--rule); border-radius: 12px; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 10px 8px; border-bottom: 1px solid var(--rule); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; padding-left: 14px; }
.compare thead th { font-size: 13.5px; color: var(--muted); font-weight: 700; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .y { color: var(--ok); font-weight: 700; }
.compare .n { color: var(--edge); }
.compare .hl { background: var(--violet-s); }

/* FAQ */
.faq { margin-top: 16px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1.5px solid var(--rule); border-radius: 12px; }
.faq summary { padding: 14px 16px; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 16px 14px; margin: 0; color: var(--body-ink); }

/* reviews (approved feedback only) */
.reviews { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.reviews li { padding: 16px; }
.reviews .rstars { color: var(--gold); letter-spacing: 2px; margin: 0 0 6px; }
@media (min-width: 820px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* thank-you */
.thanks { margin-top: 8px; padding: 26px 22px; background: var(--ink); color: #fff; border-radius: 14px; }
.thanks h1 { margin-top: 10px; font-size: clamp(38px, 9vw, 58px); }
.thanks .lede-d { color: rgba(255, 255, 255, .88); }
.thanks .kv { color: rgba(255, 255, 255, .85); }
.big-tick { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--ink); font: 700 30px/1 var(--display); }
.method.next { grid-template-columns: 1fr; }
.method.next .acc-list { display: grid; gap: 8px; margin-top: 10px; }
.refbox { margin-top: 18px; padding: 18px; }
.refbox h2 { font-size: 26px; }
.refbox p { margin-top: 6px; color: var(--body-ink); }
.refrow { display: flex; gap: 8px; margin: 12px 0 10px; }
.refrow .in { flex: 1; min-width: 0; font-size: 14px; }
.fb { margin-top: 18px; padding: 18px; display: grid; gap: 8px; justify-items: start; }
.fb h2 { font-size: 24px; }

/* help */
.help-grid { display: grid; gap: 18px; padding-top: 22px; }
@media (min-width: 960px) { .help-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; } }
.help-grid > .card { padding: 20px; }
.seg.four { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; background: none; border: 0; }
.seg.four button { flex: 1 1 auto; min-height: 42px; border: 1.5px solid var(--rule); border-radius: 999px; background: #fff; }
.seg.four button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.stars { display: flex; gap: 6px; }
.stars button { width: 44px; height: 44px; border: 1.5px solid var(--rule); border-radius: 10px; background: #fff; color: var(--edge); font-size: 22px; line-height: 1; }
.stars button[aria-pressed="true"] { color: var(--gold); border-color: var(--gold); background: var(--gold-s); }
textarea.in { min-height: 120px; resize: vertical; font: inherit; line-height: 1.5; }
.band .btn.wa { margin-top: 16px; }
.thanks .kv span { color: rgba(255, 255, 255, .85); }
.thanks .kv b { color: #fff; }
.pay-points { margin: 10px 0 0; padding-left: 20px; color: var(--body-ink); }
.pay-points li { margin: 3px 0; }
