:root {
  --bg: #f6f4ff; --surface: #ffffff; --surface2: #f0ecff; --text: #1d1640; --muted: #6b6490;
  --brand: #5b2ee6; --brand2: #8b5cf6; --accent: #ff8a3d; --ok: #16a34a; --bad: #dc2626;
  --line: #e4defb; --shadow: 0 10px 30px rgba(60, 30, 160, .12); --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f0b24; --surface: #19143a; --surface2: #231c4d; --text: #f1edff; --muted: #a59ed0;
    --line: #2f2766; --shadow: 0 10px 30px rgba(0, 0, 0, .4); }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html, body { overflow-x: hidden; }
body { font-family: 'Poppins', 'Noto Sans Devanagari', 'Nirmala UI', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; -webkit-tap-highlight-color: transparent; }
a { color: var(--brand); text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--text); }

/* brand */
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 2px; font-size: 22px; }
.logo .mark { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-size: 24px;
  background: linear-gradient(135deg, var(--brand), var(--brand2) 60%, var(--accent)); box-shadow: 0 6px 18px rgba(91, 46, 230, .4); }
.logo small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .5px; color: var(--muted); }

/* hero / auth */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.hero-art { position: relative; overflow: hidden; color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(circle at 20% 20%, #8b5cf6 0, transparent 45%), radial-gradient(circle at 80% 70%, #ff8a3d 0, transparent 40%), linear-gradient(140deg, #2a0f8f, #5b2ee6); }
.hero-main { margin: 56px 0 auto; }
.langs-title { margin: 26px 0 0 !important; font-size: 13px !important; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: .75 !important; }
.hero-art .logo { color: #fff; } .hero-art .logo small { color: #e6dcff; }
.hero-art h1 { font-size: 44px; line-height: 1.15; margin: 0 0 14px; }
.hero-art p { font-size: 17px; opacity: .9; max-width: 460px; line-height: 1.6; }
.bubbles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; max-width: 620px; }
.bubbles span { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); padding: 6px 13px; border-radius: 999px; font-size: 14px; backdrop-filter: blur(4px); }
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feat div { background: rgba(255, 255, 255, .12); border-radius: 14px; padding: 14px; font-size: 13px; line-height: 1.4; }
.feat b { display: block; font-size: 22px; margin-bottom: 4px; }
.auth { display: grid; place-items: center; padding: 32px 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; width: 100%; max-width: 420px; }
.card h2 { margin: 0 0 6px; font-size: 24px; }
.sub { color: var(--muted); margin: 0 0 20px; font-size: 14px; line-height: 1.5; }
.tabs { display: flex; background: var(--surface2); border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.tabs button { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 9px; color: var(--muted); font-weight: 600; }
.tabs button.on { background: var(--surface); color: var(--brand); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 6px; color: var(--muted); }
input, select, textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); outline: none; transition: border .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--brand2); }
.btn { width: 100%; border: 0; border-radius: 12px; padding: 13px 16px; font-weight: 700; color: #fff; margin-top: 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand2)); box-shadow: 0 8px 20px rgba(91, 46, 230, .35); transition: transform .15s; }
.btn:active { transform: scale(.98); }
.btn.ghost { background: var(--surface2); color: var(--brand); box-shadow: none; }
.btn[disabled] { opacity: .6; }
.err { color: var(--bad); font-size: 13px; min-height: 18px; margin-top: 10px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { border: 1.5px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 8px 14px; font-size: 13px; }
.chips button.on { border-color: var(--brand); background: var(--surface2); color: var(--brand); font-weight: 600; }

/* simple page shell */
.page { max-width: 760px; margin: 0 auto; padding: 24px 16px 40px; }
.top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.steps { display: flex; gap: 6px; margin: 4px 0 18px; } .steps i { flex: 1; height: 5px; border-radius: 9px; background: var(--line); } .steps i.on { background: linear-gradient(90deg, var(--brand), var(--accent)); }

/* language picker */
.langs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.lang { position: relative; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 0; overflow: hidden; text-align: left; color: var(--text); transition: transform .15s, border .15s, box-shadow .15s; }
.lang:hover { transform: translateY(-2px); }
.lang.on { border-color: var(--brand); box-shadow: var(--shadow); }
.lang .ph { position: relative; height: 118px; display: grid; place-items: center; text-align: center; padding: 8px; color: #8a80b8; font-size: 12px; font-weight: 600;
  background: repeating-linear-gradient(45deg, #ece7ff 0 10px, #f5f2ff 10px 20px); border-bottom: 2px dashed #c9bdfb; }
.lang .ph span::before { content: "🖼"; display: block; font-size: 24px; margin-bottom: 2px; }
.lang .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lang .ph.has { border-bottom: 0; } .lang .ph.has span { display: none; }
.lang .body { padding: 12px 14px 14px; }
.lang .nm { font-weight: 700; font-size: 16px; } .lang .mr { color: var(--muted); font-size: 13px; }
.lang .tag { position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #dcfce7; color: #166534; }
.lang.soon { opacity: .6; cursor: not-allowed; } .lang.soon .tag { background: rgba(255, 255, 255, .9); color: var(--muted); }

/* main app */
.app { max-width: 820px; margin: 0 auto; padding: 16px 16px 96px; }
.hello { background: linear-gradient(135deg, #3a17b8, var(--brand) 55%, var(--brand2)); color: #fff; border-radius: 22px; padding: 22px; position: relative; overflow: hidden; }
.hello::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -40px; top: -60px; background: radial-gradient(circle, rgba(255, 138, 61, .7), transparent 70%); }
.hello h2 { margin: 0 0 4px; font-size: 22px; } .hello p { margin: 0; opacity: .9; font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; position: relative; z-index: 1; }
.stats div { background: rgba(255, 255, 255, .14); border-radius: 14px; padding: 10px; text-align: center; font-size: 12px; }
.stats b { display: block; font-size: 22px; }
.bar { height: 8px; background: var(--line); border-radius: 9px; overflow: hidden; } .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 9px; }
.sec-title { font-size: 17px; font-weight: 700; margin: 24px 0 12px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-align: left; color: var(--text); box-shadow: 0 2px 10px rgba(60, 30, 160, .05); }
.tile .ic { font-size: 26px; } .tile b { display: block; margin-top: 6px; } .tile span { color: var(--muted); font-size: 12px; }
.lesson-list { display: flex; flex-direction: column; gap: 10px; }
.lesson-item { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; text-align: left; color: var(--text); width: 100%; }
.lesson-item .num { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--surface2); color: var(--brand); }
.lesson-item.done .num { background: var(--ok); color: #fff; }
.lesson-item .t { flex: 1; } .lesson-item .t b { display: block; } .lesson-item .t span { color: var(--muted); font-size: 12px; }
.nav { position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--line); display: flex; justify-content: center; z-index: 20; padding-bottom: env(safe-area-inset-bottom); }
.nav div { display: flex; width: 100%; max-width: 820px; }
.nav button { flex: 1; border: 0; background: none; padding: 10px 4px 12px; color: var(--muted); font-size: 11px; font-weight: 600; }
.nav button .ic { display: block; font-size: 22px; margin-bottom: 2px; }
.nav button.on { color: var(--brand); }
.view { display: none; } .view.on { display: block; animation: fade .25s; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* lesson reader */
.reader { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; overflow-x: auto; }
.reader h1 { font-size: 22px; color: var(--brand); margin: 0 0 10px; }
.reader h2 { font-size: 17px; color: var(--brand); margin: 22px 0 8px; }
.reader table { border-collapse: collapse; width: 100%; font-size: 13.5px; margin: 6px 0 12px; }
.reader th { background: var(--brand); color: #fff; text-align: left; padding: 7px 8px; }
.reader td { border: 1px solid var(--line); padding: 6px 8px; vertical-align: top; }
.reader tr:nth-child(even) td { background: var(--surface2); }
.reader td:first-child { font-weight: 600; }
.reader tr.neg td { background: rgba(220, 38, 38, .06); } .reader tr.w td { font-size: 12px; color: var(--muted); font-style: italic; }
.reader blockquote { margin: 8px 0; padding: 10px 12px; border-left: 4px solid var(--accent); background: rgba(255, 138, 61, .1); border-radius: 0 10px 10px 0; font-size: 14px; }
.speak { border: 0; background: var(--surface2); border-radius: 8px; padding: 2px 6px; margin-left: 6px; font-size: 12px; }
.back { border: 0; background: none; color: var(--brand); font-weight: 700; padding: 6px 0; margin-bottom: 8px; }

/* AI tutor */
.modes { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 10px; }
.modes button { flex: none; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; }
.modes button.on { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; border-color: transparent; }
.chat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; height: calc(100vh - 290px); min-height: 320px; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; line-height: 1.55; font-size: 14.5px; white-space: pre-wrap; word-wrap: break-word; }
.msg.ai { background: var(--surface2); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg .tools { margin-top: 6px; } .msg .tools button { border: 0; background: rgba(91, 46, 230, .12); color: var(--brand); border-radius: 8px; padding: 3px 8px; font-size: 12px; }
.typing { color: var(--muted); font-size: 13px; padding: 4px 8px; }
.starters { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.starters button { border: 1px dashed var(--brand2); background: transparent; color: var(--brand); border-radius: 12px; padding: 7px 12px; font-size: 13px; }
.composer { display: flex; gap: 8px; margin-top: 10px; }
.composer textarea { resize: none; height: 48px; border-radius: 14px; }
.composer button { flex: none; width: 48px; height: 48px; border-radius: 14px; border: 0; color: #fff; font-size: 20px; background: linear-gradient(135deg, var(--brand), var(--brand2)); }
.composer button.mic { background: var(--surface2); color: var(--brand); }
.composer button.vcall { background: linear-gradient(135deg, #22c55e, #15803d); color: #fff; }
.vc { position: fixed; inset: 0; z-index: 60; display: none; align-items: flex-end; justify-content: center; background: rgba(10, 6, 30, .55); backdrop-filter: blur(4px); }
.vc.on { display: flex; }
.vc-card { width: 100%; max-width: 520px; background: var(--surface, #fff); color: var(--text, #1d1145); border-radius: 26px 26px 0 0; padding: 22px 18px 26px; text-align: center; }
.vc-title { font-weight: 700; margin-bottom: 14px; }
.vc-orb { width: 170px; height: 170px; border-radius: 50%; border: 0; margin: 6px auto 14px; display: block; cursor: pointer;
  background: radial-gradient(circle at 35% 30%, #fff 0, #c7d7ff 18%, #6b8cff 52%, #3b5bdb 100%); box-shadow: 0 10px 40px rgba(59, 91, 219, .45); transition: transform .3s; }
.vc[data-state="listen"] .vc-orb { animation: vcBreath 1.6s ease-in-out infinite; }
.vc[data-state="think"] .vc-orb { animation: vcSpin 1.2s linear infinite; filter: saturate(.6); }
.vc[data-state="speak"] .vc-orb { animation: vcTalk .5s ease-in-out infinite alternate; background: radial-gradient(circle at 35% 30%, #fff 0, #d9c7ff 18%, #8b5cf6 55%, #5b2ee6 100%); }
@keyframes vcBreath { 0%, 100% { transform: scale(.94); } 50% { transform: scale(1.04); } }
@keyframes vcSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes vcTalk { from { transform: scale(.97); } to { transform: scale(1.06); } }
.vc-state { font-size: 18px; font-weight: 600; }
.vc-said { min-height: 22px; margin: 8px 0; opacity: .8; font-size: 14px; }
.vc-hint { font-size: 12px; opacity: .6; margin-bottom: 14px; } .composer button.mic.rec { background: var(--bad); color: #fff; animation: pulse 1s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, .2); } }
.pf { display: grid; gap: 10px; }
.pf div { display: flex; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.pf span { color: var(--muted); }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art, .auth { min-width: 0; }
  .bubbles span { font-size: 13px; }
  .hero-art { padding: 28px 20px; min-height: auto; gap: 22px; }
  .hero-main { margin: 8px 0 0; }
  .hero-art h1 { font-size: 30px; }
  .feat { grid-template-columns: repeat(3, 1fr); }
  .chat { height: calc(100vh - 300px); }
}
@media (max-width: 420px) { .row2 { grid-template-columns: 1fr; } .feat div { padding: 10px; font-size: 11px; } }

/* Guru tour */
.guru-row { display: flex; gap: 14px; align-items: flex-start; position: relative; z-index: 1; }
.guru-av { width: 64px; height: 64px; flex: none; border-radius: 20px; display: grid; place-items: center; font-size: 36px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); }
.guru-say { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); border-radius: 4px 18px 18px 18px; padding: 12px 14px; flex: 1; }
.guru-say b { font-size: 12px; letter-spacing: .5px; text-transform: uppercase; opacity: .8; }
.guru-say p { margin: 4px 0 8px; font-size: 15.5px; line-height: 1.55; }
.guru-listen { background: rgba(255, 255, 255, .2); color: #fff; }
.tour-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin: 22px 0 10px; }
.tour-head h3 { margin: 2px 0 0; font-size: 20px; }
.pill-step { flex: none; background: var(--surface2); color: var(--brand); font-weight: 700; font-size: 12px; padding: 5px 12px; border-radius: 99px; }
.guru-tip { margin: 12px 0 10px; background: rgba(255, 138, 61, .12); border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; padding: 10px 12px; font-size: 14px; }
.tour-nav { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
.tour-nav .btn { margin-top: 12px; }
.guru-chat { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.guru-chat-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; }
.chat.mini { height: auto; min-height: 90px; max-height: 340px; border: 0; padding: 0; background: transparent; }

/* Speaking practice */
.speak-btn { background: linear-gradient(135deg, #ff8a3d, #ff5e7e); box-shadow: 0 8px 20px rgba(255, 94, 126, .35); }
.sp-wrap { position: fixed; inset: 0; z-index: 60; background: rgba(15, 11, 36, .55); display: none; align-items: flex-end; justify-content: center; }
.sp-wrap.on { display: flex; }
.sp-card { width: 100%; max-width: 560px; background: var(--bg); border-radius: 24px 24px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); max-height: 92vh; overflow-y: auto; animation: up .25s ease; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sp-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .sp-top b { flex: 1; }
.sp-teacher { display: flex; gap: 12px; margin: 16px 0 10px; }
.sp-av { width: 56px; height: 56px; flex: none; border-radius: 18px; display: grid; place-items: center; font-size: 32px; background: linear-gradient(135deg, var(--brand), var(--brand2)); }
.sp-bubble { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 4px 18px 18px 18px; padding: 12px 14px; }
.sp-bubble small { color: var(--brand); font-weight: 700; } .sp-bubble p { margin: 4px 0 8px; font-size: 17px; line-height: 1.5; }
.sp-said { min-height: 20px; color: var(--muted); font-size: 14px; text-align: center; margin: 6px 0; }
.sp-fb { min-height: 24px; text-align: center; font-weight: 600; border-radius: 12px; padding: 0; }
.sp-fb.ok, .sp-fb.mid, .sp-fb.no { padding: 10px 12px; } .sp-fb.ok { background: #dcfce7; color: #166534; } .sp-fb.mid { background: #fef3c7; color: #92400e; } .sp-fb.no { background: #fee2e2; color: #991b1b; }
.sp-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 14px 0 4px; }
.sp-mic { width: 84px; height: 84px; border-radius: 50%; border: 0; font-size: 36px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand2)); box-shadow: 0 10px 26px rgba(91, 46, 230, .4); }
.sp-mic.rec { background: var(--bad); animation: pulse 1s infinite; }
.sp-type { display: flex; gap: 8px; width: 100%; } .sp-type input { padding: 10px 12px; }
.sp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.table-practice { margin: 4px 0 18px; }
.sp-row .btn[disabled] { background: var(--surface2); color: var(--muted); box-shadow: none; font-size: 13px; cursor: not-allowed; opacity: 1; }

/* founder note on the sign-in page */
.founder { margin: 28px 0 22px; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); max-width: 560px; backdrop-filter: blur(4px); }
.founder .f-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.founder .f-av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 35%; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.25); flex: none; background: #fff; }
.founder small { display: block; font-size: 12px; color: #e6dcff; letter-spacing: .3px; } .founder b { font-size: 17px; }
.hero-art .founder p { font-size: 14.5px; line-height: 1.6; margin: 8px 0 0; max-width: none; }
@media (max-width: 860px) { .founder { margin: 6px 0 4px; padding: 16px; } }

/* About app (Profile) */
.about-app { margin: 4px 0 14px; padding: 18px; border-radius: 18px; color: #fff;
  background: radial-gradient(circle at 15% 15%, #8b5cf6 0, transparent 45%), radial-gradient(circle at 85% 80%, #ff8a3d 0, transparent 40%), linear-gradient(140deg, #2a0f8f, #5b2ee6); }
.about-app h3 { margin: 0 0 8px; font-size: 18px; } .about-app > p { margin: 0; font-size: 14.5px; line-height: 1.6; opacity: .95; }
.about-app .founder { margin: 16px 0 0; max-width: none; } .about-app .founder p { font-size: 14px; line-height: 1.6; margin: 8px 0 0; }

/* free demo + paywall */
.demo-hero { position: relative; }
.demo-hero h2 { margin: 6px 0; font-size: 22px; } .demo-hero p { margin: 0 0 12px; opacity: .95; }
.demo-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .6px; background: #fff; color: var(--brand); border-radius: 99px; padding: 3px 10px; }
.demo-rp { margin: 16px 0; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.demo-rp h3 { margin: 0 0 6px; font-size: 16px; }
.paywall { margin: 18px 0 24px; padding: 22px 18px; border-radius: 20px; text-align: center; color: #fff;
  background: radial-gradient(circle at 15% 15%, #8b5cf6 0, transparent 45%), radial-gradient(circle at 85% 85%, #ff8a3d 0, transparent 40%), linear-gradient(140deg, #2a0f8f, #5b2ee6); }
.paywall h3 { margin: 6px 0 10px; font-size: 19px; } .pw-lock { font-size: 34px; }
.pw-list { text-align: left; margin: 0 auto 14px; padding-left: 20px; max-width: 420px; line-height: 1.7; font-size: 14px; }
.pw-price b { display: block; font-size: 38px; font-weight: 800; } .pw-price span { font-size: 13px; opacity: .9; }
.paywall .btn { background: #fff; color: var(--brand); margin-top: 14px; box-shadow: none; }
.paywall .sub { color: #fff; opacity: .95; margin-top: 10px; }

/* sign-up: individual / school student */
.acct { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 12px; }
.acct button { border: 1.5px solid var(--line); background: var(--surface); color: var(--text); border-radius: 14px; padding: 10px; text-align: left; cursor: pointer; }
.acct button b { display: block; font-size: 14px; } .acct button span { font-size: 12px; color: var(--muted); }
.acct button.on { border-color: var(--brand); background: var(--surface2); box-shadow: 0 0 0 2px rgba(91,46,230,.15); }

.lang .tag.price { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; font-size: 13px; font-weight: 800; }

/* UPI payment on the paywall */
.upi { background: #fff; color: var(--text, #1d1145); border-radius: 18px; padding: 16px; margin-top: 14px; text-align: center; }
.upi-step { font-size: 13px; margin: 6px 0 10px; text-align: left; color: #3b2f63; }
.upi-qr { display: flex; justify-content: center; margin: 6px 0 10px; } .upi-qr img, .upi-qr canvas { border: 8px solid #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.upi-id { font-size: 13px; margin: 8px 0 12px; color: #3b2f63; word-break: break-all; }
.paywall .upi .btn { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; }
.paywall .upi .btn.upi-app { display: block; text-decoration: none; margin: 4px 0 0; }
.upi input { width: 100%; text-align: center; font-size: 18px; letter-spacing: 2px; }

.sp-miclang { align-self: center; font-size: 12px; white-space: nowrap; }
