/* ============================================================
   Public website + interactive manual.
   Same identity as the app ("registrar's ledger": navy, brass,
   paper) but with room to be expressive. System fonts only, so it
   loads fast on any connection and works offline as a PWA.
   ============================================================ */
:root {
    --bg: #F6F4EE; --bg-alt: #EFEBE0; --surface: #FFFFFF;
    --ink: #1B2634; --text: #2B3441; --muted: #6A675D;
    --line: #E3DFD3; --line-strong: #D3CDBC;
    --navy: #1F3450; --navy-2: #2C4A6E; --hero-a: #1F3450; --hero-b: #14233A;
    --brass: #B87333; --brass-hover: #A5642A; --brass-soft: #F1E4D3; --on-brass: #fff;
    --link: #2C4A6E; --ok: #2F7D5D; --ok-soft: #E1F0E8; --bad: #B3453A; --bad-soft: #FBE7E4;
    --star: #E0A13B;
    --shadow: 0 1px 2px rgba(27,38,52,.06), 0 8px 24px rgba(27,38,52,.07);
    --shadow-lg: 0 2px 4px rgba(27,38,52,.08), 0 24px 60px rgba(10,20,36,.22);
    --radius: 14px; --nav-h: 64px;
    --f-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Nirmala UI", "Noto Serif Bengali", "Noto Serif Devanagari", serif;
    --f-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Nirmala UI", "Noto Sans Bengali", "Noto Sans Devanagari", sans-serif;
    color-scheme: light;
}
:root[data-theme="dark"] {
    --bg: #0E151F; --bg-alt: #121B27; --surface: #172131;
    --ink: #EEEBE2; --text: #C9D0DB; --muted: #93A0B3;
    --line: #26334A; --line-strong: #34455F;
    --navy: #0A1019; --navy-2: #6C93C4; --hero-a: #16243A; --hero-b: #0A121D;
    --brass: #D9965B; --brass-hover: #E5A56C; --brass-soft: rgba(217,150,91,.14); --on-brass: #1A1208;
    --link: #8FB2DE; --ok: #5DBE95; --ok-soft: rgba(93,190,149,.14); --bad: #E58A80; --bad-soft: rgba(229,138,128,.14);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.5), 0 24px 60px rgba(0,0,0,.55);
    color-scheme: dark;
}

/* ---- language switch: both languages are in the HTML ---- */
html[lang="en"] [data-l="bn"], html[lang="en"] [data-l="hi"], html[lang="bn"] [data-l="en"], html[lang="bn"] [data-l="hi"], html[lang="hi"] [data-l="en"], html[lang="hi"] [data-l="bn"] { display: none !important; }
html[lang="bn"] body, html[lang="hi"] body { line-height: 1.75; }
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3 { line-height: 1.35; letter-spacing: 0; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--f-body); overflow-x: hidden; transition: background .25s, color .25s; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.ic { flex: none; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--on-brass); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 6px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .95rem/1 var(--f-body); padding: 13px 20px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, background .2s, box-shadow .2s, border-color .2s; min-height: 46px; }
.btn:active { transform: translateY(1px); }
.btn-brass { background: var(--brass); color: var(--on-brass); box-shadow: 0 6px 18px rgba(184,115,51,.28); }
.btn-brass:hover { background: var(--brass-hover); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-line { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn-line:hover { border-color: var(--brass); color: var(--brass); }
.btn-block { width: 100%; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s; }
.icon-btn:hover { border-color: var(--brass); }
.icon-btn.on-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.icon-btn.on-dark:hover { background: rgba(255,255,255,.18); }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(10,20,36,.06); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(145deg, var(--navy-2), var(--hero-b)); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 4px 12px rgba(31,52,80,.3); }
:root[data-theme="dark"] .brand-mark { background: linear-gradient(145deg, #2f4d78, #16243A); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font: 700 1.02rem/1 var(--f-display); }
.brand-text small { font-size: .62rem; letter-spacing: .2em; color: var(--brass); font-weight: 700; margin-top: 3px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 550; font-size: .92rem; padding: 8px 12px; border-radius: 8px; transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.on { background: var(--brass-soft); color: var(--ink); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; }
.seg button { border: 0; background: transparent; color: var(--muted); font: 700 .76rem/1 var(--f-body); padding: 9px 11px; border-radius: 7px; cursor: pointer; transition: background .2s, color .2s; }
html[lang="en"] .seg [data-set-lang="en"], html[lang="bn"] .seg [data-set-lang="bn"], html[lang="hi"] .seg [data-set-lang="hi"] { background: var(--navy-2); color: #fff; }
:root[data-theme="dark"] .seg button[aria-pressed="true"], :root[data-theme="dark"][lang="en"] .seg [data-set-lang="en"], :root[data-theme="dark"][lang="bn"] .seg [data-set-lang="bn"], :root[data-theme="dark"][lang="hi"] .seg [data-set-lang="hi"] { background: var(--brass); color: var(--on-brass); }
#theme-btn .i-sun { display: none; }
:root[data-theme="dark"] #theme-btn .i-sun { display: inline-flex; }
:root[data-theme="dark"] #theme-btn .i-moon { display: none; }
.menu-btn { display: none; }
.login-menu { position: relative; }
.login-pop { position: absolute; right: 0; top: calc(100% + 10px); width: 270px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; display: none; }
.login-pop.is-open { display: block; animation: pop .16s ease-out; }
.login-pop a { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.login-pop a:hover { background: var(--brass-soft); }
.login-pop small { display: block; color: var(--muted); font-size: .78rem; }
.login-pop .ic { color: var(--brass); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* ---- hero ---- */
.hero { position: relative; color: #fff; background: linear-gradient(160deg, var(--hero-a), var(--hero-b)); overflow: hidden; padding: 52px 0 30px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; background:
    radial-gradient(60% 70% at 85% 20%, rgba(184,115,51,.28), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(108,147,196,.18), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 46px); }
.hero .wrap { position: relative; }
.hero h1, .hero p { color: #fff; }
.slides { display: grid; }
.slide { grid-area: 1/1; display: grid; gap: 28px; align-items: center; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease, visibility 0s .55s; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.slide-copy h1 { font-size: clamp(1.9rem, 5.2vw, 3.3rem); font-weight: 700; }
.slide-copy p { font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255,255,255,.82); max-width: 34em; }
.eyebrow { display: inline-block; font: 700 .74rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #F1C99B; background: rgba(184,115,51,.2); border: 1px solid rgba(241,201,155,.3); padding: 8px 12px; border-radius: 999px; margin-bottom: 18px; }
html[lang="bn"] .eyebrow { letter-spacing: .02em; text-transform: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.slide-art { margin: 0; min-width: 0; }
.browser { border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid rgba(255,255,255,.16); box-shadow: var(--shadow-lg); }
.browser-bar { height: 26px; background: #E9E5D9; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
:root[data-theme="dark"] .browser-bar { background: #1E2A3C; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C9C3B2; }
.browser-bar i:nth-child(1) { background: #E5827A; } .browser-bar i:nth-child(2) { background: #E6BE62; } .browser-bar i:nth-child(3) { background: #7DBF8E; }
.browser img { width: 100%; background: #F6F4EE; }
.phone { width: min(250px, 70%); margin-inline: auto; border: 8px solid #0B121B; border-radius: 34px; overflow: hidden; background: #F6F4EE; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.12); position: relative; max-height: 500px; }
.phone::before { content: ""; position: absolute; top: 0; left: 50%; width: 80px; height: 14px; transform: translateX(-50%); background: #0B121B; border-radius: 0 0 12px 12px; z-index: 2; }
.phone img { width: 100%; }
.hero-ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; }
.dots { display: flex; gap: 8px; }
.dot { width: 34px; height: 6px; border-radius: 6px; border: 0; padding: 0; background: rgba(255,255,255,.25); cursor: pointer; position: relative; overflow: hidden; }
.dot::after { content: ""; position: absolute; inset: 0; background: var(--brass); transform: scaleX(0); transform-origin: left; }
.dot.is-on { background: rgba(255,255,255,.35); }
.dot.is-on::after { transform: scaleX(1); animation: fill var(--dur, 6500ms) linear; }
.hero.paused .dot.is-on::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } }

/* ---- strip ---- */
.strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid > div { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 10px; border-right: 1px solid var(--line); }
.strip-grid > div:last-child { border-right: 0; }
.strip-grid b { font: 700 1.9rem/1 var(--f-display); color: var(--ink); }
.strip-grid span { font-size: .84rem; color: var(--muted); margin-top: 6px; }

/* ---- sections ---- */
.sec { padding: clamp(56px, 9vw, 104px) 0; }
.sec-alt { background: var(--bg-alt); }
.sec-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.sec-head h2, .about-copy h2, .contact-copy h2 { font-size: clamp(1.6rem, 3.8vw, 2.5rem); }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 .76rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }
html[lang="bn"] .kicker { letter-spacing: .03em; text-transform: none; font-size: .9rem; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--brass); }
.grid { display: grid; gap: 18px; }
.feat-grid { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); min-width: 0; }
.feat { transition: transform .25s, box-shadow .25s, border-color .25s; }
.feat:hover, .res:hover { transform: translateY(-4px); border-color: var(--brass); box-shadow: 0 14px 36px rgba(27,38,52,.12); }
.feat-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brass-soft); color: var(--brass); margin-bottom: 16px; }
.feat h3, .res h3, .plan h3, .mv-card h3 { font-size: 1.15rem; }
.feat p, .res p, .mv-card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* reveal on scroll (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---- role tabs ---- */
.tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.tab { font: 600 .92rem/1 var(--f-body); padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); cursor: pointer; transition: all .2s; }
.tab:hover { border-color: var(--brass); }
.tab.is-on { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
:root[data-theme="dark"] .tab.is-on { background: var(--brass); border-color: var(--brass); color: var(--on-brass); }
.tabpane { display: none; grid-template-columns: 1fr 1.25fr; gap: 36px; align-items: center; }
.tabpane.is-on { display: grid; animation: fadeUp .45s ease; }
.tabpane .browser { border-color: var(--line); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.pane-art.is-phone .phone { border-color: #0B121B; max-width: 250px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; }
.ticks .ic { color: var(--ok); margin-top: 3px; background: var(--ok-soft); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }

/* ---- steps ---- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 26px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.num { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 700 1.1rem/1 var(--f-display); color: var(--on-brass); background: var(--brass); margin-bottom: 14px; }
.steps h3 { font-size: 1.15rem; } .steps p { color: var(--muted); margin: 0; }

/* ---- about ---- */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center; }
.about-facts { display: flex; gap: 34px; margin-top: 24px; flex-wrap: wrap; }
.about-facts b { display: block; font: 700 2rem/1 var(--f-display); color: var(--brass); }
.about-facts span { font-size: .86rem; color: var(--muted); }
.about-card { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px 24px; box-shadow: var(--shadow); }
.avatar { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font: 700 1.5rem/1 var(--f-display); color: #fff; background: linear-gradient(145deg, var(--navy-2), var(--brass)); box-shadow: 0 10px 28px rgba(31,52,80,.3); letter-spacing: .04em; }
.line-link { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--text); text-decoration: none; padding: 7px 0; font-weight: 550; word-break: break-word; }
.line-link:hover { color: var(--brass); }
.line-link .ic { color: var(--brass); }
.line-link.big { justify-content: flex-start; font-size: 1.08rem; padding: 9px 0; }

/* ---- mission/vision ---- */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.mv-card { padding: 32px; border-top: 3px solid var(--brass); }
.mv-card p { font-size: 1.05rem; color: var(--text); }
.values { grid-template-columns: repeat(4, 1fr); }
.value { padding: 22px; border-radius: var(--radius); border: 1px dashed var(--line-strong); }
.value .ic { color: var(--brass); margin-bottom: 8px; }
.value h4 { font-size: 1.05rem; margin-bottom: 4px; } .value p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---- plans ---- */
.plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 6px; position: relative; padding: 30px 26px; }
.plan.is-pop { border: 2px solid var(--brass); transform: translateY(-8px); box-shadow: 0 18px 44px rgba(184,115,51,.18); }
.pop-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brass); color: var(--on-brass); font: 700 .72rem/1 var(--f-body); padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 10px 0 18px; }
.price span { font: 600 1.3rem var(--f-display); color: var(--muted); }
.price b { font: 700 2.6rem/1 var(--f-display); color: var(--ink); }
.price small { color: var(--muted); }
.plan .ticks { flex: 1; margin-bottom: 24px; gap: 10px; font-size: .96rem; }

/* ---- resources ---- */
.res-grid { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.res { text-decoration: none; color: inherit; display: block; transition: transform .25s, box-shadow .25s, border-color .25s; }
.res .more { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; font-weight: 650; color: var(--brass); font-size: .92rem; }
.res:hover .more .ic { transform: translateX(4px); }
.more .ic { transition: transform .2s; }

/* ---- faq ---- */
.faq-wrap { width: min(820px, 100% - 32px); }
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--brass); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; font-weight: 650; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { transition: transform .25s; color: var(--brass); display: grid; transform: rotate(90deg); }
.faq-item[open] summary i { transform: rotate(-90deg); }
.faq-item p { margin: 0; padding: 0 20px 20px; color: var(--muted); animation: fadeUp .3s ease; }

/* ---- forms ---- */
.form { display: grid; gap: 16px; padding: 28px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld > span { font-weight: 600; font-size: .88rem; color: var(--ink); }
.fld input, .fld select, .fld textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; min-height: 46px; transition: border-color .2s, box-shadow .2s; }
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--brass); box-shadow: 0 0 0 4px var(--brass-soft); }
.hint { font-size: .82rem; color: var(--muted); margin: -6px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; }
.alert.success { background: var(--ok-soft); color: var(--ok); border: 1px solid var(--ok); }
.alert.error { background: var(--bad-soft); color: var(--bad); border: 1px solid var(--bad); }
.stars { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.stars legend { float: left; width: 100%; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.stars input { position: absolute; opacity: 0; pointer-events: none; }
.stars label { cursor: pointer; color: var(--line-strong); transition: color .15s, transform .15s; padding: 2px; }
.stars label svg { fill: transparent; }
.stars label:hover, .stars label:hover ~ label, .stars input:checked ~ label { color: var(--star); }
.stars label:hover svg, .stars label:hover ~ label svg, .stars input:checked ~ label svg { fill: var(--star); }
.stars label:hover { transform: scale(1.15); }
.stars input:focus-visible + label { outline: 3px solid var(--brass); border-radius: 6px; }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }

/* ---- footer ---- */
.foot { background: var(--hero-b); color: #B7C0CE; padding: 54px 0 0; }
.foot .brand { color: #fff; } .foot .brand-text small { color: #E3A66E; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 34px; }
.foot h4 { color: #fff; font: 700 .78rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
html[lang="bn"] .foot h4 { letter-spacing: .02em; text-transform: none; font-size: .95rem; }
.foot a { display: block; color: #B7C0CE; text-decoration: none; padding: 5px 0; font-size: .94rem; word-break: break-word; }
.foot a:hover { color: #fff; }
.foot-blurb { margin: 14px 0; font-size: .92rem; max-width: 30em; }
.social { display: flex; gap: 8px; flex-wrap: wrap; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.08); padding: 0; color: #fff; transition: background .2s, transform .2s; }
.social a:hover { background: var(--brass); transform: translateY(-2px); }
.foot-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 22px; font-size: .86rem; }
.foot-bar a { display: inline; color: #fff; }
.to-top { position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--brass); color: var(--on-brass); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s; z-index: 40; }
.to-top .ic { transform: rotate(-90deg); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ================= responsive ================= */
@media (min-width: 900px) {
    .slide { grid-template-columns: 1.05fr 1fr; gap: 48px; }
    .slide-art-phone { justify-self: center; }
}
@media (max-width: 980px) {
    .nav-links { position: fixed; left: 0; right: 0; top: var(--nav-h); flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; display: none; box-shadow: 0 20px 40px rgba(10,20,36,.15); margin: 0; }
    .nav.open .nav-links { display: flex; animation: pop .18s ease-out; }
    .nav-links a { padding: 13px 12px; font-size: 1rem; }
    .menu-btn { display: inline-grid; }
    .nav-tools { margin-left: auto; }
    .tabpane.is-on { grid-template-columns: 1fr; gap: 24px; }
    .about, .contact { grid-template-columns: 1fr; gap: 32px; }
    .steps, .plans, .mv { grid-template-columns: 1fr; }
    .plan.is-pop { transform: none; }
    .values { grid-template-columns: 1fr 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .slide-art { order: 2; }
}
@media (max-width: 640px) {
    .login-menu { display: none; }
    .strip-grid { grid-template-columns: 1fr 1fr; }
    .strip-grid > div:nth-child(2) { border-right: 0; }
    .strip-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .row2 { grid-template-columns: 1fr; }
    .form { padding: 20px 16px; }
    .values, .foot-grid { grid-template-columns: 1fr; }
    .cta-row .btn { flex: 1 1 100%; }
    .hero { padding-bottom: 22px; }
    .slide-art .browser-bar { height: 20px; }
    .nav-in { gap: 8px; }
    .nav-tools { gap: 6px; }
    .login-pop { right: -48px; }
    .m-login { display: flex !important; }
}
@media (max-width: 400px) {
    .brand-text small { display: none; }
    .brand-text strong { font-size: .92rem; }
    .brand-mark { width: 34px; height: 34px; }
    .seg button { padding: 8px 8px; }
    .icon-btn { width: 36px; height: 36px; }
    .card, .steps li { padding: 20px 16px; }
}
@media (max-width: 330px) {
    .nav-in { gap: 4px; }
    .nav-tools { gap: 4px; }
    .seg button { padding: 8px 6px; font-size: .7rem; }
    .icon-btn { width: 32px; height: 32px; }
    .brand { gap: 6px; }
    .brand-mark { width: 30px; height: 30px; }
    .brand-text strong { font-size: .84rem; }
}
@media (max-width: 400px) {
    .mv-card { padding: 24px 18px; }
}
.m-login { display: none; gap: 8px; flex-direction: column; margin-top: 8px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ================= interactive manual ================= */
.m-hero { background: linear-gradient(160deg, var(--hero-a), var(--hero-b)); color: #fff; padding: 44px 0 34px; position: relative; overflow: hidden; }
.m-hero h1, .m-hero p { color: #fff; }
.m-hero h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin-bottom: 10px; }
.m-hero p { color: rgba(255,255,255,.8); max-width: 40em; margin: 0; }
.manual { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; padding: 30px 0 70px; align-items: start; }
.m-side { position: sticky; top: calc(var(--nav-h) + 14px); max-height: calc(100vh - var(--nav-h) - 28px); overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow); }
.m-side h2 { font: 700 .72rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 12px 12px 8px; margin: 0; }
.m-guide { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 11px 12px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; color: var(--text); font: 600 .93rem/1.25 var(--f-body); transition: background .2s, color .2s; }
.m-guide .ic { color: var(--brass); }
.m-guide:hover { background: var(--brass-soft); }
.m-guide.is-on { background: var(--navy-2); color: #fff; }
.m-guide.is-on .ic { color: #fff; }
:root[data-theme="dark"] .m-guide.is-on { background: var(--brass); color: var(--on-brass); }
:root[data-theme="dark"] .m-guide.is-on .ic { color: var(--on-brass); }
.m-guide .tick { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: none; place-items: center; }
.m-guide.done .tick { display: grid; }
.m-main { min-width: 0; }
.m-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.m-title h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 4px; }
.m-title p { color: var(--muted); margin: 0; max-width: 40em; }
.m-prog { font: 700 .8rem/1 var(--f-body); color: var(--muted); white-space: nowrap; }
.m-bar { height: 5px; background: var(--line); border-radius: 5px; overflow: hidden; margin-bottom: 18px; }
.m-bar i { display: block; height: 100%; width: 0; background: var(--brass); transition: width .4s ease; }
.m-body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; }
.m-stage { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); min-width: 0; }
.m-stage.is-phone { display: grid; place-items: center; }
.m-frame { position: relative; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line-strong); line-height: 0; width: 100%; box-shadow: 0 10px 30px rgba(10,20,36,.14); }
.m-stage.is-phone .m-frame { max-width: 330px; border: 7px solid #0B121B; border-radius: 30px; }
.m-frame img { width: 100%; height: auto; transition: opacity .25s; }
.m-frame.swap img { opacity: 0; }
.m-ov { position: absolute; inset: 0; pointer-events: none; }
.m-spot { position: absolute; border: 2.5px solid var(--brass); border-radius: 8px; box-shadow: 0 0 0 100vmax rgba(8,14,24,.58); transition: left .45s cubic-bezier(.4,.1,.2,1), top .45s cubic-bezier(.4,.1,.2,1), width .45s cubic-bezier(.4,.1,.2,1), height .45s cubic-bezier(.4,.1,.2,1); }
.m-spot::after { content: ""; position: absolute; inset: -6px; border: 2px solid var(--brass); border-radius: 12px; opacity: .6; animation: ring 1.6s ease-out infinite; }
@keyframes ring { from { transform: scale(.96); opacity: .8; } to { transform: scale(1.06); opacity: 0; } }
.m-arrow { position: absolute; transition: left .45s cubic-bezier(.4,.1,.2,1), top .45s cubic-bezier(.4,.1,.2,1); filter: drop-shadow(0 3px 6px rgba(0,0,0,.45)); }
.m-arrow svg { display: block; animation: bob 1s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(8px); } }
.m-pin { position: absolute; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: #fff; color: var(--navy); font: 700 .72rem/24px var(--f-body); text-align: center; border: 2px solid var(--brass); pointer-events: auto; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.3); transition: transform .2s, background .2s; padding: 0; }
.m-pin:hover { transform: scale(1.2); }
.m-pin.is-on { background: var(--brass); color: #fff; transform: scale(1.15); z-index: 3; }
.m-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); position: sticky; top: calc(var(--nav-h) + 14px); }
.m-step-no { display: inline-flex; align-items: center; gap: 8px; font: 700 .76rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px; }
html[lang="bn"] .m-step-no { letter-spacing: .02em; text-transform: none; font-size: .88rem; }
.m-panel h3 { font-size: 1.3rem; margin-bottom: 8px; }
.m-panel p { color: var(--text); min-height: 4.2em; }
.m-nav { display: flex; gap: 10px; margin: 6px 0 18px; }
.m-nav .btn { flex: 1; padding: 12px 10px; min-height: 44px; }
.m-nav .btn[disabled] { opacity: .4; cursor: not-allowed; }
.m-list { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.m-list button { width: 100%; display: flex; gap: 10px; align-items: center; text-align: left; background: transparent; border: 0; padding: 8px 8px; border-radius: 8px; cursor: pointer; color: var(--muted); font: 550 .88rem/1.3 var(--f-body); }
.m-list button:hover { background: var(--brass-soft); color: var(--ink); }
.m-list button.is-on { color: var(--ink); background: var(--brass-soft); }
.m-list b { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; background: var(--line); color: var(--ink); }
.m-list .is-on b, .m-list .seen b { background: var(--brass); color: #fff; }
.m-help { margin-top: 28px; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px dashed var(--line-strong); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.m-help p { margin: 0; font-weight: 600; color: var(--ink); }
.m-kbd { font-size: .78rem; color: var(--muted); margin-top: 12px; }
.m-kbd kbd { border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; font: 600 .72rem var(--f-body); background: var(--bg); }
@media (max-width: 1100px) { .m-body { grid-template-columns: 1fr; } .m-panel { position: static; } }
@media (max-width: 860px) {
    .manual { grid-template-columns: 1fr; gap: 16px; padding-top: 20px; }
    .m-side { position: static; max-height: none; display: flex; gap: 6px; overflow-x: auto; padding: 8px; scrollbar-width: thin; }
    .m-side h2 { display: none; }
    .m-guide { width: auto; flex: none; white-space: nowrap; border: 1px solid var(--line); }
}
@media (max-width: 480px) { .m-stage { padding: 8px; } .m-panel { padding: 18px 16px; } }

/* legal pages + plan limit line */
.legal { max-width: 780px; padding-block: 36px 70px; }
.legal section { margin-top: 26px; }
.legal h2 { font-size: 1.2rem; margin-bottom: 6px; }
.legal p { color: var(--muted); line-height: 1.75; }
.legal-note { background: var(--paper-2, var(--card)); border: 1px solid var(--line); border-left: 4px solid var(--brass); padding: 14px 16px; border-radius: 8px; color: var(--ink) !important; }
.legal-fine { margin-top: 34px; font-size: .88rem; }
.plan-limit { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--muted); margin: 2px 0 12px; }
.plan-limit svg { color: var(--brass); flex: none; }

/* ---- billing toggle, compare table, social proof, video, WhatsApp ---- */
.bill-toggle { display: flex; justify-content: center; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; width: max-content; max-width: 100%; margin: -14px auto 30px; }
.bill-toggle button { border: 0; background: transparent; color: var(--muted); font: 650 .9rem var(--f-body); padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.bill-toggle button.on { background: var(--navy-2); color: #fff; }
:root[data-theme="dark"] .bill-toggle button.on { background: var(--brass); color: var(--on-brass); }
.bill-toggle em { font-style: normal; font-size: .72rem; background: var(--brass); color: var(--on-brass); padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.per-y, .yr-save { display: none; }
.is-yearly .per-y { display: inline; } .is-yearly .per-m { display: none; }
.is-yearly .yr-save { display: block; color: var(--brass); font-weight: 650; font-size: .85rem; margin: -10px 0 12px; }
.cmp-wrap { margin-top: 56px; }
.cmp-h { text-align: center; margin-bottom: 18px; }
.cmp-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
.cmp th, .cmp td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp thead th { font: 700 1rem var(--f-display); } .cmp tbody th { text-align: left; font-weight: 550; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp .pop { background: color-mix(in srgb, var(--brass) 9%, transparent); }
.cmp .y { color: #2f8f5b; display: inline-flex; } .cmp .n { color: var(--muted); }
.cmp-note { text-align: center; margin-top: 12px; font-size: .88rem; }
.logo-row { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; align-items: center; margin-bottom: 30px; opacity: .85; }
.logo-row img { height: 44px; width: auto; filter: grayscale(1); }
.quotes { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.quote { margin: 0; } .quote blockquote { margin: 0 0 14px; font-size: 1.05rem; line-height: 1.7; }
.quote figcaption strong { display: block; } .quote figcaption span { color: var(--muted); font-size: .9rem; }
.video-card { margin-top: 36px; } .video-card h3 { margin-bottom: 12px; }
.video-frame { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.28); transition: transform .2s; }
.wa-fab:hover { transform: scale(1.08); }
.to-top { right: 84px !important; }
@media (max-width: 560px) { .wa-fab { right: 14px; bottom: 14px; width: 52px; height: 52px; } .to-top { right: 76px !important; bottom: 14px; } }
@media (max-width: 560px) {
  .cmp { min-width: 0; font-size: .8rem; }
  .cmp th, .cmp td { padding: 10px 6px; }
  .cmp tbody th { width: 34%; padding-left: 10px; }
  .cmp thead th { font-size: .82rem; }
}

/* ---- signup + school page ---- */
.signup-wrap { width: min(640px, 100% - 32px); }
.signup-steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; font-size: .85rem; }
.signup-steps span { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.signup-steps .on { background: var(--brass); border-color: var(--brass); color: #fff; font-weight: 700; }
.signup-steps .done { color: var(--ok); border-color: var(--ok); }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check-line input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; }
.otp-show { font: 700 2rem/1 ui-monospace, monospace; letter-spacing: .3em; padding: 14px; text-align: center; border: 2px dashed var(--brass); border-radius: 12px; }
.sch-hero { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.sch-hero img { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; background: #fff; padding: 6px; }
.sch-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.sch-notice { padding: 14px 0; border-top: 1px solid var(--line); }
.sch-notice:first-of-type { border-top: 0; }
@media (max-width: 820px) { .sch-grid { grid-template-columns: 1fr; } }
.plan-ask { display: block; text-align: center; margin-top: 10px; font-size: .88rem; color: var(--muted); }
