/*
 * SmartISPBD public website — design system.
 * Light, quiet surfaces in the colours of the billing app's sign-in page: one green family for the brand, actions and
 * live/positive state (state is always labelled in words, so colour is never the only cue). Text greens are chosen
 * for WCAG AA: white on the button fill #12884a is 4.52:1, links #15803d on white 5.02:1; the bright #22c55e/#16a34a
 * are kept for the logo, icons, lines and focus rings.
 * Fonts are self-hosted: Onest (Latin, SIL OFL) and Anek Bangla (Bengali, SIL OFL), loaded only for the scripts they cover.
 * L-3a (Nov 2026): layout in the style the owner chose (a dark utility bar over a white navigation bar, a very dark green
 * hero with a grid and outlined watermark words, white sections with rounded cards, dark green bands and footer).
 */

@font-face { font-family: "Onest"; src: url("../fonts/onest-latin-v1.woff2") format("woff2"); font-weight: 400 750; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2022, U+2026, U+20AC, U+2122, U+2190-2193, U+2212; }
/* The taka sign (৳) alone, so English pages show prices without downloading the Bangla font. */
@font-face { font-family: "Taka Sign"; src: url("../fonts/taka-sign-v1.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+09F3; }
@font-face { font-family: "Anek Bangla"; src: url("../fonts/anek-bangla-450-v1.woff2") format("woff2"); font-weight: 300 550; font-style: normal; font-display: swap; unicode-range: U+0964-0965, U+0980-09FF, U+200C-200D, U+25CC; }
@font-face { font-family: "Anek Bangla"; src: url("../fonts/anek-bangla-650-v1.woff2") format("woff2"); font-weight: 551 800; font-style: normal; font-display: swap; unicode-range: U+0964-0965, U+0980-09FF, U+200C-200D, U+25CC; }

:root {
    color-scheme: light;
    --ink: #0b1b33;
    --ink-2: #2a3a55;
    --muted: #55667e;
    --line: #d9e1ec;
    --line-soft: #e7edf5;
    --canvas: #f4f7fb;
    --surface: #ffffff;
    --accent: #15803d;                     /* links, kickers, icons (5.02:1 on white) */
    --accent-strong: #166534;              /* hover; text on --accent-soft */
    --accent-soft: #e9f7ee;
    --accent-line: #22c55e;                /* decorative lines (hero links) */
    --focus: #16a34a;                      /* focus ring (3.3:1 on white) */
    --signal: #16a34a;                     /* live dots */
    --signal-text: #15803d;
    --signal-soft: #dcfce7;
    --signal-bright: #4ade80;              /* live state and accents on dark bands */
    --ink-line: rgba(255, 255, 255, .14);
    --ink-muted: #b4c4bc;
    /* Hero, top bar and footer (L-3a): very dark green with white text; the bright green #4ade80 is only used on them. */
    --hero-bg: #0a1713;
    --hero-grid: rgba(255, 255, 255, .045);
    --hero-stroke: rgba(74, 222, 128, .17);
    --hero-glow: rgba(34, 197, 94, .13);
    --hero-text: #ffffff;
    --hero-muted: #b6c6be;                 /* 10:1 on --hero-bg */
    --hero-mark: #4ade80;
    --hero-action: #16a34a;                /* hero buttons use large text (19px bold): white is 3.3:1, AA for large text */
    --hero-action-hover: #15803d;
    --topbar-bg: #151a18;
    --topbar-text: #d3ddd8;
    --footer-bg: #0a1713;
    --footer-text: #aebfb7;
    --footer-line: rgba(255, 255, 255, .1);
    --fab: #166534;                        /* assistant button: white icon 7.1:1 */
    --fab-hover: #14532d;
    /* Roles shared by both themes (dark values below). */
    --page: #ffffff;                       /* page background */
    --brand: #22c55e;                      /* logo green (the mark itself is drawn in assets/icons.svg) */
    --brand-word: #15803d;                 /* "ISPBD" in the wordmark: the sign-in page uses #22c55e (2.3:1); this keeps AA text contrast (5.02:1) */
    --action: #12884a;                     /* primary button: the sign-in page's button green, 4.52:1 with white */
    --action-hover: #0f7a41;
    --action-shadow: 0 6px 16px -4px rgba(22, 163, 74, .32);
    --on-action: #ffffff;
    --signal-action: #12884a;              /* button on dark bands (same green) */
    --signal-action-hover: #0f7a41;
    --band: #0e211a;                       /* dark green bands: integrations, CTA, featured plan, router */
    --band-glow: #14532d;
    --band-border: #0e211a;
    --on-band: #ffffff;
    --on-band-soft: #e3e9f2;
    --band-fill: rgba(255, 255, 255, .08);
    --band-signal: rgba(74, 222, 128, .14);
    --contrast: #0b1b33;                   /* selected language pill, skip link */
    --on-contrast: #ffffff;
    --header-glass: rgba(255, 255, 255, .86);
    --header-solid: rgba(255, 255, 255, .94);
    --shadow-tint: 11, 27, 51;
    --font: "Onest", "Taka Sign", "Anek Bangla", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Bengali", "Nirmala UI", sans-serif;
    --radius-lg: 20px;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-btn: 8px;
    --shadow: 0 1px 2px rgba(var(--shadow-tint), .05), 0 12px 32px -12px rgba(var(--shadow-tint), .18);
    --header-h: 64px;
    --topbar-h: 40px;
    --gutter: 16px;
    --step--1: .875rem;
    --step-0: 1.0625rem;
    --step-1: 1.1875rem;
    --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
    --step-3: clamp(1.875rem, 1.3rem + 2vw, 2.75rem);
    --step-4: clamp(2.25rem, 1.5rem + 3.2vw, 3.875rem);
}

/* Dark theme: chosen by the visitor (header switch), stored in localStorage and applied before the first paint by
   a tiny script in <head>. Light stays the default; every colour comes from the tokens above. */
html[data-theme="dark"] {
    color-scheme: dark;
    --ink: #e8eef7;
    --ink-2: #c5d0e0;
    --muted: #9aabc2;
    --line: #26344f;
    --line-soft: #1b2840;
    --canvas: #0f1a2d;
    --surface: #132036;
    --page: #0b1322;
    --accent: #4ade80;
    --accent-strong: #86efac;
    --accent-soft: #12301f;
    --focus: #4ade80;
    --brand-word: #22c55e;
    --signal: #22c55e;
    --signal-text: #4ade80;
    --signal-soft: #12301f;
    --signal-bright: #4ade80;
    --ink-line: rgba(255, 255, 255, .1);
    --ink-muted: #aebbd0;
    --action: #12884a;
    --action-hover: #15803d;               /* stays >= 4.5:1 with white, so hover is a shade deeper, not lighter */
    --action-shadow: 0 6px 18px -6px rgba(34, 197, 94, .35);
    --signal-action: #12884a;
    --signal-action-hover: #15803d;
    --band: #16243f;
    --band-glow: #1a5236;
    --band-border: #25573d;
    --hero-bg: #070d18;
    --hero-grid: rgba(255, 255, 255, .04);
    --hero-stroke: rgba(74, 222, 128, .13);
    --hero-glow: rgba(34, 197, 94, .1);
    --hero-muted: #b3c1d4;
    --topbar-bg: #050a13;
    --topbar-text: #c9d3e0;
    --footer-bg: #070d18;
    --footer-text: #a9b7ca;
    --footer-line: rgba(255, 255, 255, .08);
    --fab: #15803d;
    --fab-hover: #166534;
    --on-band-soft: #dbe3ef;
    --band-fill: rgba(255, 255, 255, .07);
    --contrast: #e8eef7;
    --on-contrast: #0b1322;
    --header-glass: rgba(11, 19, 34, .82);
    --header-solid: rgba(11, 19, 34, .95);
    --shadow-tint: 0, 0, 0;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
}
html[data-theme="dark"] .section-ink { border-block: 1px solid var(--line-soft); }
html[data-theme="dark"] .cta-band { border: 1px solid var(--band-border); }
/* Smooth switch (only while switching, and never for reduced motion). */
@media (prefers-reduced-motion: no-preference) {
    html.theme-switching, html.theme-switching *, html.theme-switching *::before { transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease, fill .3s ease !important; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font); font-size: var(--step-0); line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
:lang(bn) body, body:lang(bn) { line-height: 1.75; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 680; text-wrap: balance; }
h1 { font-size: var(--step-4); line-height: 1.05; letter-spacing: -.03em; }
h2 { font-size: var(--step-3); line-height: 1.14; letter-spacing: -.022em; }
h3 { font-size: var(--step-1); line-height: 1.3; letter-spacing: -.01em; }
h4 { font-size: var(--step-0); line-height: 1.3; }
:lang(bn) h1, :lang(bn) h2, :lang(bn) h3, :lang(bn) h4 { letter-spacing: 0; line-height: 1.3; font-weight: 650; }
:lang(bn) h1 { line-height: 1.22; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
main:focus { outline: none; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.icon-xs { width: .8em; height: .8em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--contrast); color: var(--on-contrast); font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--on-contrast); }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* Buttons and small parts */
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.25em; border: 1px solid transparent; border-radius: var(--radius-btn); background: var(--action); color: var(--on-action); font-size: 1rem; font-weight: 650; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease; }
.button:hover { background: var(--action-hover); color: var(--on-action); }
.button:not(.button-outline):not(.button-quiet):not(.button-on-dark):not(.button-hero-outline) { box-shadow: var(--action-shadow); }
.button-lg { min-height: 52px; padding-inline: 1.5em; font-size: 1.0625rem; }
.button-sm { min-height: 40px; padding: .5em 1em; font-size: .9375rem; }
.button-outline { background: var(--surface); border-color: var(--line); color: var(--ink); }
.button-outline:hover { background: var(--surface); border-color: var(--accent); color: var(--accent-strong); }
.button-quiet { background: transparent; color: var(--ink); }
.button-quiet:hover { background: var(--canvas); color: var(--ink); }
.button-signal { background: var(--signal-action); color: var(--on-action); }
.button-signal:hover { background: var(--signal-action-hover); color: var(--on-action); }
.button-on-dark, .button-hero-outline { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .24); color: var(--on-band); }
.button-on-dark:hover, .button-hero-outline:hover { background: rgba(255, 255, 255, .1); border-color: var(--on-band); color: var(--on-band); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.kicker { margin-bottom: 14px; color: var(--accent); font-size: var(--step--1); font-weight: 650; letter-spacing: .01em; }
.section-heading .kicker, .plan-group .kicker { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
:lang(bn) .section-heading .kicker { letter-spacing: 0; font-size: .875rem; text-transform: none; }
.section-ink .section-heading .kicker { background: var(--band-signal); color: var(--signal-bright); }
.kicker-signal { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); }
.signal-dot, .status-pill i, .topo-online i { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px var(--signal-soft); flex: none; }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.badge-signal { background: var(--signal-soft); color: var(--signal-text); }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 650; text-decoration: none; }
.link-arrow .icon { transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }
.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { margin-top: .3em; width: .95em; height: .95em; color: var(--signal-text); }
.external-note { display: flex; gap: 10px; align-items: flex-start; max-width: 760px; margin-top: 28px; color: var(--muted); font-size: .9375rem; }
.external-note .icon { margin-top: .25em; color: var(--accent); }

/* Announcement bar (config.php 'announcement'; off unless the owner switches it on) */
.announce { background: linear-gradient(90deg, #0f3d2a 0%, #17683b 50%, #0f3d2a 100%); color: #ffffff; }
.announce-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; min-height: 44px; padding-block: 7px; text-align: center; }
.announce p { font-size: clamp(.75rem, .7rem + .2vw, .8125rem); font-weight: 700; letter-spacing: .05em; line-height: 1.4; text-transform: uppercase; }
:lang(bn) .announce p { font-size: .9rem; letter-spacing: 0; }
.announce-button { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 14px; border-radius: 999px; background: #4ade80; color: #052e16; font-size: .78rem; font-weight: 750; letter-spacing: .04em; line-height: 1.2; text-decoration: none; text-transform: uppercase; }
:lang(bn) .announce-button { font-size: .85rem; letter-spacing: 0; }
.announce-button:hover { background: #86efac; color: #052e16; }
.announce :focus-visible { outline-color: #ffffff; }

/* Header: a dark utility bar (contact, dashboard login, language, theme) that scrolls away, over a white navigation
   bar that stays at the top (sticky with a negative offset of the utility bar's height).
   The translucent background sits on a pseudo-element: a backdrop-filter on the header itself would trap the
   full-screen phone menu (position: fixed) inside the header box. */
.site-header { position: sticky; top: calc(-1 * var(--topbar-h)); z-index: 50; border-bottom: 1px solid var(--line-soft); transition: box-shadow .2s ease; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--header-solid); }
@supports (backdrop-filter: blur(8px)) { .site-header::before { background: var(--header-glass); backdrop-filter: saturate(1.4) blur(10px); } }
.site-header.scrolled { box-shadow: 0 8px 28px -18px rgba(var(--shadow-tint), .45); }
.topbar { height: var(--topbar-h); background: var(--topbar-bg); color: var(--topbar-text); font-size: .875rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; }
.topbar-contact { display: flex; align-items: center; gap: 26px; min-width: 0; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: var(--topbar-text); font-weight: 500; text-decoration: none; white-space: nowrap; }
.topbar a:hover { color: #ffffff; }
.topbar-contact .icon { width: 14px; height: 14px; color: var(--signal-bright); }
.topbar-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.topbar-login { margin-right: 6px; font-weight: 600; }
.topbar-login .icon { width: 15px; height: 15px; }
.topbar .lang-switch { padding: 2px; border-color: rgba(255, 255, 255, .16); border-radius: 7px; background: transparent; }
.topbar .lang-switch a { min-width: 40px; min-height: 26px; padding: 0 9px; border-radius: 5px; color: var(--topbar-text); font-size: .8125rem; }
.topbar .lang-switch a:hover { background: rgba(255, 255, 255, .08); color: #ffffff; }
.topbar .lang-switch a.active { background: var(--action); color: #ffffff; }
.topbar .theme-toggle { width: 32px; height: 32px; border-color: rgba(255, 255, 255, .16); border-radius: 7px; background: transparent; color: var(--topbar-text); }
.topbar .theme-toggle:hover { border-color: rgba(255, 255, 255, .4); color: #ffffff; }
.topbar .theme-toggle .icon { width: 15px; height: 15px; }
.topbar :focus-visible { outline-color: var(--signal-bright); }
@media (max-width: 719px) { .topbar .topbar-email, .topbar .topbar-login { display: none; } }
@media (max-width: 1020px) { .topbar .topbar-login { display: none; } }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 38px; height: 38px; border-radius: 8px; color: var(--brand); box-shadow: 0 4px 12px rgba(34, 197, 94, .35); }
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-size: 1.25rem; font-weight: 750; letter-spacing: -.02em; }
.brand-text strong b { color: var(--brand-word); font-weight: inherit; }
.brand-text small { color: var(--muted); font-size: .75rem; }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 34px; padding: 0 10px; border-radius: 7px; color: var(--ink-2); font-size: .875rem; font-weight: 600; text-decoration: none; }
/* System Bengali font for the switch label, so English pages never download the Bangla webfont. */
.lang-switch a[lang="bn"] { font-family: system-ui, "Noto Sans Bengali", "Nirmala UI", "Vrinda", sans-serif; }
:lang(bn) .lang-switch a[lang="bn"] { font-family: var(--font); }
.lang-switch a:hover { background: var(--canvas); color: var(--ink); }
.lang-switch a.active { background: var(--contrast); color: var(--on-contrast); }
.menu-button { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
.menu-button .icon { width: 20px; height: 20px; }
.theme-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink-2); cursor: pointer; flex: none; }
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-2); }
.theme-toggle .icon { width: 18px; height: 18px; }
.theme-toggle .icon-moon, html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
html[data-theme="dark"] .theme-toggle { color: #f5c26b; }
.menu-icon-close, .menu-button[aria-expanded="true"] .menu-icon-open { display: none; }
body.menu-open .lang-switch-bar, body.menu-open .theme-toggle-bar { visibility: hidden; }
.menu-button[aria-expanded="true"] .menu-icon-close { display: block; }
.site-menu { position: fixed; inset: var(--menu-top, calc(var(--topbar-h) + var(--header-h))) 0 0; display: none; flex-direction: column; gap: 20px; padding: 16px var(--gutter) 32px; overflow-y: auto; background: var(--page); border-top: 1px solid var(--line-soft); }
.site-menu.open { display: flex; }
.main-nav { display: grid; gap: 2px; }
.nav-link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 10px 12px; border: 0; border-radius: var(--radius-sm); background: none; color: var(--ink); font-size: 1.0625rem; font-weight: 550; text-align: left; text-decoration: none; cursor: pointer; }
.nav-link:hover { background: var(--canvas); color: var(--ink); }
.nav-link.active, .service-nav-dropdown.current > .nav-link { color: var(--accent); }
.service-nav-toggle .icon { transition: transform .15s ease; }
.service-nav-dropdown.open .service-nav-toggle .icon { transform: rotate(180deg); }
.service-nav-menu { display: none; gap: 4px; padding: 4px 0 8px 8px; }
.service-nav-dropdown.open .service-nav-menu { display: grid; }
.service-nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; }
.service-nav-item:hover, .service-nav-item:focus-visible { background: var(--canvas); color: var(--ink); }
.service-nav-item.active { background: var(--accent-soft); }
.service-nav-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); flex: none; }
.service-nav-item strong { display: block; font-weight: 600; line-height: 1.3; }
.service-nav-item small { display: block; color: var(--muted); font-size: .8125rem; }
.header-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.header-tools .button { flex: 1 1 140px; }
@media (max-width: 1279px) {
    .brand-text small { display: none; }
}
.brand-text small { white-space: nowrap; }
@media (max-width: 440px) {
    .header-inner { gap: 8px; }
    .menu-button { width: 42px; height: 42px; }
    .topbar-contact { gap: 14px; }
    .topbar { font-size: .8125rem; }
}
@media (max-width: 380px) {
    .theme-toggle-bar { display: none; }
    .topbar .lang-switch a { min-width: 36px; padding: 0 7px; }
    .brand-text strong { font-size: 1.125rem; }
}
@media (min-width: 1021px) {
    :root { --header-h: 80px; }
    .menu-button { display: none; }
    .brand { margin-right: 0; }
    .site-menu { position: static; display: flex; flex: 1; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 0; overflow: visible; background: none; border: 0; }
    .main-nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
    .nav-link { width: auto; min-height: 44px; padding: 8px 12px; font-size: 1rem; font-weight: 550; gap: 6px; }
    .nav-link:hover { background: none; color: var(--accent); }
    .service-nav-dropdown { position: relative; }
    .service-nav-menu { position: absolute; top: calc(100% + 14px); left: 50%; width: 340px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); transform: translateX(-50%); }
    .header-tools { flex-wrap: nowrap; padding: 0; border: 0; }
    .header-tools .lang-switch-menu, .header-tools .theme-toggle-menu, .header-tools .header-signin { display: none; }
    .header-cta { flex: none !important; min-height: 50px; padding-inline: 1.5em; font-size: 1.0625rem; }
}
@media (min-width: 1021px) and (max-width: 1240px) {
    .nav-link { padding-inline: 8px; font-size: .9375rem; }
    .main-nav { gap: 0; }
    .header-cta { min-height: 46px; padding-inline: 1.1em; font-size: 1rem; }
}
@media (min-width: 1021px) and (max-width: 1100px) {
    .nav-link { padding-inline: 6px; font-size: .9rem; }
    .brand-text strong { font-size: 1.125rem; }
}

/* Sections */
.section { padding-block: clamp(64px, 6vw + 32px, 112px); }
.section-tint { background: var(--canvas); }
.section-ink { position: relative; isolation: isolate; overflow: hidden; background: var(--band); color: var(--on-band); }
.section-ink::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--hero-grid) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 80% 90% at 85% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 90% at 85% 50%, #000, transparent 75%); pointer-events: none; }
.section-ink h2, .section-ink h3 { color: var(--on-band); }
.section-ink .kicker { color: var(--signal-bright); }
.section-ink .section-text { color: var(--ink-muted); }
.section-ink :focus-visible { outline-color: var(--signal-bright); }
.section-heading { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-heading h2 { font-weight: 750; letter-spacing: -.035em; }
:lang(bn) .section-heading h2 { letter-spacing: 0; }
/* Home page: section titles centred, as in the reference layout (split headings with a link stay two-sided). */
.page-home .section > .wrap:not(.why-grid) > .section-heading { margin-inline: auto; text-align: center; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-text { margin-top: 14px; color: var(--muted); font-size: var(--step-1); line-height: 1.55; }
.split-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(32px, 4vw, 52px); }
.split-heading .section-heading { margin-bottom: 0; }

/* Hero: full-width very dark green, a fine grid, huge outlined watermark words, centred copy. Background art sits on
   pseudo-elements and an aria-hidden layer, so text contrast is measured against the solid --hero-bg. */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 7vw, 100px) 0 clamp(150px, 15vw, 200px); background-color: var(--hero-bg); color: var(--hero-text); text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background-image: linear-gradient(var(--hero-grid) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px); background-size: 64px 64px; background-position: center -1px; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 45% at 50% 0%, var(--hero-glow), transparent 75%), radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .35) 100%); pointer-events: none; }
.hero-watermark { position: absolute; inset: 0; z-index: -2; display: grid; align-content: space-evenly; padding-block: 2% 10%; overflow: hidden; color: transparent; font-size: clamp(4.5rem, 2.4rem + 8vw, 10.5rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; white-space: nowrap; pointer-events: none; user-select: none; -webkit-text-stroke: 1.5px var(--hero-stroke); -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%); }
.hero-watermark span { display: block; transform: translateX(-6%); }
.hero-watermark span:nth-child(2) { transform: translateX(-31%); }
.hero-watermark span:nth-child(3) { transform: translateX(-15%); }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 14px; border: 1px solid rgba(74, 222, 128, .3); border-radius: 999px; background: rgba(34, 197, 94, .08); color: #86efac; font-size: .9375rem; font-weight: 650; }
.hero-chip .signal-dot { background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); }
.hero h1 { max-width: 21ch; margin-top: 26px; color: var(--hero-text); font-size: clamp(2.5rem, 1.1rem + 4.6vw, 4.875rem); font-weight: 750; line-height: 1.02; letter-spacing: -.045em; }
:lang(bn) .hero h1 { max-width: 19ch; font-size: clamp(2rem, 1.2rem + 2.9vw, 3.6rem); line-height: 1.24; letter-spacing: 0; }
.hero-mark { color: var(--hero-mark); }
.hero-lead { max-width: 60ch; margin-top: 26px; color: var(--hero-muted); font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem); line-height: 1.6; }
.hero-actions { justify-content: center; gap: 14px; margin-top: 38px; }
.button-hero, .button-hero-outline { min-height: 58px; padding-inline: 1.7em; font-size: 1.1875rem; font-weight: 700; }
.button-hero { background: var(--hero-action); color: #ffffff; }
.button-hero:hover { background: var(--hero-action-hover); color: #ffffff; }
.hero-signin { margin-top: 22px; color: var(--hero-muted); font-size: .9375rem; }
.hero-signin a { color: #86efac; font-weight: 650; }
.hero-signin a:hover { color: #bbf7d0; }
.hero :focus-visible, .page-hero :focus-visible, .site-footer :focus-visible { outline-color: #4ade80; }
@media (max-width: 520px) { .hero-actions { flex-direction: column; align-self: stretch; } .button-hero, .button-hero-outline { width: 100%; } }

/* Countdown (config.php 'countdown'; printed only while the end time is in the future) */
.countdown { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; margin-top: 44px; }
.countdown[hidden] { display: none; }
.countdown-label { color: #a4b5ad; font-size: .9375rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
:lang(bn) .countdown-label { letter-spacing: 0; font-size: 1rem; }
.countdown-boxes { display: flex; gap: 10px; }
.countdown-boxes li { display: grid; justify-items: center; min-width: 80px; padding: 10px 8px 9px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: rgba(255, 255, 255, .04); }
.countdown-boxes strong { color: #ffffff; font-size: 2rem; font-weight: 750; line-height: 1.1; letter-spacing: -.01em; }
.countdown-boxes li:last-child strong { color: var(--hero-mark); }
.countdown-boxes span { color: #a4b5ad; font-size: .75rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
:lang(bn) .countdown-boxes span { letter-spacing: 0; font-size: .8125rem; }
html[data-theme="dark"] .countdown-label, html[data-theme="dark"] .countdown-boxes span { color: #a9b7ca; }
@media (max-width: 420px) { .countdown-boxes { gap: 8px; } .countdown-boxes li { min-width: 66px; } .countdown-boxes strong { font-size: 1.625rem; } }

/* The product diagram stands on the hero's lower edge, half on the dark band and half on the page. */
.hero-showcase { position: relative; margin-top: calc(-1 * clamp(112px, 11vw, 150px)); padding-bottom: clamp(8px, 2vw, 24px); }
.hero-showcase + .section { padding-top: clamp(56px, 5vw + 24px, 96px); }
.hero-showcase .topology { position: relative; padding: clamp(18px, 3vw, 36px) clamp(16px, 3vw, 36px) clamp(14px, 2vw, 22px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 40px 80px -36px rgba(var(--shadow-tint), .5), 0 2px 6px rgba(var(--shadow-tint), .06); }
html[data-theme="dark"] .hero-showcase .topology { border-color: var(--line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.hero-showcase .topo-node, .hero-showcase .topo-panel { background: var(--canvas); box-shadow: none; }
.hero-showcase .topo-node { border-color: var(--line-soft); }

/* Hero topology diagram */
.topology { margin: 0; }
.topology-grid { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, .9fr) 40px minmax(0, 1.3fr); align-items: center; }
.topo-clients { display: grid; gap: 56px; }
.topo-node { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 2px rgba(var(--shadow-tint), .05); }
.topo-node strong { display: block; font-size: .9375rem; line-height: 1.25; }
.topo-node small { display: block; margin-top: 2px; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.topo-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); flex: none; }
.topo-link { width: 100%; height: 200px; overflow: visible; }
.topo-link path { fill: none; stroke: var(--accent-line); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.topo-router { display: grid; justify-items: center; gap: 2px; padding: 18px 12px; border-radius: var(--radius); background: var(--band); color: var(--on-band); text-align: center; box-shadow: var(--shadow); }
.topo-router-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 12px; background: var(--band-fill); }
.topo-router-icon .icon { width: 28px; height: 28px; }
.topo-router strong { font-size: 1rem; }
.topo-router small { color: var(--ink-muted); font-size: .75rem; }
.topo-online { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 3px 10px 3px 8px; border-radius: 999px; background: rgba(74, 222, 128, .12); color: var(--signal-bright); font-size: .75rem; font-weight: 600; }
.topo-online i { background: var(--signal-bright); box-shadow: 0 0 0 3px rgba(74, 222, 128, .2); }
.topo-panel { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.topo-panel-head { display: flex; align-items: center; gap: 8px; padding: 2px 4px 12px; border-bottom: 1px solid var(--line-soft); font-size: .9375rem; }
.topo-panel-head b { color: var(--brand-word); font-weight: inherit; }
.topo-logo { width: 24px; height: 24px; border-radius: 5px; color: var(--brand); box-shadow: 0 2px 8px rgba(34, 197, 94, .3); }
.topo-feed { display: grid; gap: 4px; padding-top: 8px; }
.topo-feed li { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-radius: var(--radius-sm); }
.topo-feed li + li { border-top: 1px dashed var(--line-soft); }
.topo-feed strong { display: block; font-size: .875rem; font-weight: 600; line-height: 1.3; }
.topo-feed small { display: block; color: var(--muted); font-size: .76rem; line-height: 1.35; }
.topo-feed-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--signal-soft); color: var(--signal-text); flex: none; }
.topo-feed-icon .icon { width: 15px; height: 15px; }
.topology-caption { margin-top: 18px; color: var(--muted); font-size: .8125rem; text-align: center; }
@media (max-width: 760px) {
    .topology-grid { grid-template-columns: 1fr; gap: 28px; }
    .topo-clients { grid-template-columns: 1fr 1fr; gap: 12px; }
    .topo-node { flex-direction: column; align-items: flex-start; }
    .topo-link { display: none; }
    .topo-router { position: relative; justify-self: center; width: min(240px, 100%); }
    .topo-router::before, .topo-panel::before { content: ""; position: absolute; left: 50%; top: -29px; height: 28px; border-left: 2px solid var(--accent-line); }
    .topo-panel { position: relative; }
}
/* One load sequence: links draw, then the router comes online and the feed fills in. */
.topology.animate .topo-link path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s ease; }
.topology.animate .topo-node, .topology.animate .topo-router, .topology.animate .topo-feed li { opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease; }
.topology.animate .topo-online { opacity: 0; transition: opacity .4s ease; }
.topology.run .topo-node, .topology.run .topo-router, .topology.run .topo-feed li, .topology.run .topo-online { opacity: 1; transform: none; }
.topology.run .topo-link path { stroke-dashoffset: 0; }
.topology.run .topo-hotspot { transition-delay: .08s; }
.topology.run .topo-link-fork path { transition-delay: .25s; }
.topology.run .topo-router { transition-delay: .55s; }
.topology.run .topo-online { transition-delay: 1.1s; }
.topology.run .topo-link-line path { transition-delay: .9s; }
.topology.run .topo-feed li:nth-child(1) { transition-delay: 1.3s; }
.topology.run .topo-feed li:nth-child(2) { transition-delay: 1.45s; }
.topology.run .topo-feed li:nth-child(3) { transition-delay: 1.6s; }
.topology.run .topo-feed li:nth-child(4) { transition-delay: 1.75s; }
@media (prefers-reduced-motion: reduce) { .topology * { transition: none !important; } }

/* Module strip: five rounded tiles under the diagram */
.module-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(20px, 3vw, 32px); }
.module-strip li { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.module-strip li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.module-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); flex: none; }
.module-strip strong { display: block; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.module-strip li > span:last-child > span { display: block; color: var(--muted); font-size: .875rem; line-height: 1.4; }
@media (max-width: 719px) { .module-strip li:not(:last-child:nth-child(odd)) { flex-direction: column; align-items: flex-start; gap: 10px; } }
@media (min-width: 720px) { .module-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } .module-strip li:last-child:nth-child(odd) { grid-column: auto; } }
@media (min-width: 1100px) { .module-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); } .module-strip li { padding: 16px; } }

/* Workspace preview */
.workspace { display: grid; gap: 20px; }
.workspace-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.workspace-tabs [role="tab"] { display: flex; align-items: center; gap: 12px; flex: none; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: left; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.workspace-tabs [role="tab"] small { display: none; }
.workspace-tabs [role="tab"] strong { font-weight: 600; white-space: nowrap; }
.workspace-tabs [role="tab"] > .icon { color: var(--muted); }
.workspace-tabs [role="tab"]:hover { border-color: var(--ink-2); }
.workspace-tabs [role="tab"][aria-selected="true"] { border-color: var(--accent); background: var(--accent-soft); }
.workspace-tabs [role="tab"][aria-selected="true"] > .icon { color: var(--accent); }
.workspace-frame { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); background: var(--canvas); }
.frame-dots { display: flex; gap: 6px; }
.frame-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.frame-url { padding: 3px 12px; border-radius: 8px; background: var(--surface); color: var(--muted); font-size: .8125rem; }
.workspace-panel { padding: clamp(18px, 3vw, 32px); }
.panel-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.panel-head small { display: block; margin-bottom: 4px; color: var(--muted); font-size: .8125rem; font-weight: 600; }
.panel-head h3 { font-size: var(--step-2); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border-radius: 999px; background: var(--signal-soft); color: var(--signal-text); font-size: .8125rem; font-weight: 600; }
.mock-table { border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; font-size: .9rem; }
.mock-row { display: grid; grid-template-columns: minmax(7rem, .8fr) minmax(0, 1.6fr) 7.5rem; gap: 12px; align-items: center; padding: 12px 16px; }
.mock-row + .mock-row { border-top: 1px solid var(--line-soft); }
.mock-head { background: var(--canvas); color: var(--muted); font-size: .8125rem; font-weight: 600; }
.mock-row span:first-child { font-weight: 600; }
.mock-head span:first-child { font-weight: 600; }
.mock-row:not(.mock-head) span:nth-child(2) { color: var(--ink-2); }
.mock-state { justify-self: end; }
.mock-row:not(.mock-head) .mock-state { padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.panel-points { display: grid; gap: 10px; margin-top: 22px; }
.panel-points li { display: flex; gap: 10px; color: var(--ink-2); }
.panel-points .icon { margin-top: .3em; width: .95em; height: .95em; color: var(--signal-text); }
.frame-caption { padding: 12px 16px 16px; color: var(--muted); font-size: .8125rem; border-top: 1px solid var(--line-soft); }
@media (max-width: 560px) { .mock-row { grid-template-columns: minmax(0, 1fr) auto; } .mock-row span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: .84rem; } .mock-head span:nth-child(2) { display: none; } }
@media (min-width: 900px) {
    .workspace { grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
    .workspace-tabs { flex-direction: column; overflow: visible; }
    .workspace-tabs [role="tab"] { padding: 14px 16px; }
    .workspace-tabs [role="tab"] small { display: block; margin-top: 2px; color: var(--muted); font-size: .8125rem; line-height: 1.35; }
    .workspace-tabs [role="tab"] strong { white-space: normal; }
}

/* Feature list: rounded cards with an icon tile */
.feature-list { display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.feature-list li:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); }
.feature-list h3 { margin-bottom: 6px; font-weight: 700; }
.feature-list p { color: var(--muted); }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); flex: none; }
.feature-icon .icon { width: 22px; height: 22px; }
@media (prefers-reduced-motion: no-preference) { .feature-list li:hover, .service-card:hover, .integration-cards li:hover { transform: translateY(-3px); } }
@media (min-width: 640px) { .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .feature-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .feature-list li { flex-direction: column; padding: 28px; } }

/* Why */
.why-grid { display: grid; gap: 8px; }
.principles { display: grid; gap: 28px; }
.principles li { display: flex; gap: 16px; }
.principles > li > .icon { box-sizing: content-box; width: 22px; height: 22px; padding: 13px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.principles h3 { margin: 4px 0 6px; font-weight: 700; }
.principles p { color: var(--muted); }
@media (min-width: 900px) { .why-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; } .principles { grid-template-columns: 1fr 1fr; gap: 40px 36px; } }

/* Integrations (dark band) */
.integration-layout { display: grid; gap: 40px; }
.integration-layout .section-heading { margin-bottom: 24px; }
.check-list-dark { color: var(--on-band-soft); margin-bottom: 28px; }
.check-list-dark .icon { color: var(--signal-bright); }
.link-on-dark { color: var(--on-band); }
.link-on-dark:hover { color: var(--signal-bright); }
.integration-list { display: grid; border-top: 1px solid var(--ink-line); }
.integration-list li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--ink-line); }
.integration-list strong { display: block; font-size: 1.0625rem; }
.integration-list small { color: var(--ink-muted); font-size: .9rem; }
.integration-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--band-signal); color: var(--signal-bright); flex: none; }
@media (min-width: 900px) { .integration-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; } }
.integration-cards { display: grid; gap: 16px; }
.integration-cards li { display: flex; gap: 16px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.integration-cards li:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); }
.integration-cards .integration-icon { background: var(--accent-soft); color: var(--accent); }
.integration-cards h3 { margin-bottom: 6px; }
.integration-cards p { color: var(--muted); }
@media (min-width: 720px) { .integration-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .integration-cards { grid-template-columns: repeat(3, 1fr); } }

/* Onboarding steps — a sequence, joined like a cable */
.steps { position: relative; display: grid; gap: 28px; counter-reset: step; }
.steps li { position: relative; display: flex; gap: 16px; }
.step-number { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--action); color: var(--on-action); font-weight: 750; box-shadow: 0 0 0 6px var(--accent-soft); flex: none; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: -28px; border-left: 2px dashed var(--line); }
.steps h3 { margin: 8px 0 6px; font-weight: 700; }
.steps p { color: var(--muted); }
@media (min-width: 900px) {
    .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
    .steps li { flex-direction: column; }
    .steps li:not(:last-child)::after { left: 60px; right: -20px; top: 21px; bottom: auto; border-left: 0; border-top: 2px dashed var(--line); }
}

/* Pricing */
.pricing-grid { display: grid; gap: 20px; align-items: stretch; }
.pricing-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 32px 28px 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); transition: border-color .2s ease, box-shadow .2s ease; }
.pricing-card:not(.featured):hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); }
.pricing-card.featured { border: 2px solid #22c55e; background: var(--band); color: var(--on-band); box-shadow: 0 30px 60px -28px rgba(22, 163, 74, .55); }
.pricing-card.featured h3, .pricing-card.featured .plan-price strong { color: var(--on-band); }
.pricing-card.featured .plan-description, .pricing-card.featured .plan-price span { color: var(--ink-muted); }
.pricing-card.featured .check-list .icon { color: var(--signal-bright); }
.pricing-card.featured .badge-signal { background: var(--band-signal); color: var(--signal-bright); }
.pricing-card.featured :focus-visible { outline-color: var(--signal-bright); }
.pricing-card .button { margin-top: auto; }
.plan-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-heading h3 { font-size: var(--step-2); }
.plan-description { color: var(--muted); }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; }
.plan-price strong { font-size: clamp(2.5rem, 1.9rem + 1.6vw, 3.125rem); font-weight: 750; letter-spacing: -.03em; line-height: 1; }
:lang(bn) .plan-price strong { letter-spacing: 0; }
.plan-price span { color: var(--muted); font-size: .9375rem; }
.pricing-card .check-list { padding-top: 18px; border-top: 1px solid var(--line-soft); }
.pricing-card.featured .check-list { border-top-color: var(--ink-line); }
.pricing-note { margin-top: 28px; color: var(--muted); text-align: center; }
.pricing-note a { font-weight: 600; }
@media (min-width: 860px) { .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.plan-group + .plan-group { margin-top: 48px; }
.plan-group-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 20px; }
.plan-group-head > div { flex: 1 1 280px; }
.plan-group-head h3 { font-size: var(--step-2); }
.plan-group-head p { margin-top: 4px; color: var(--muted); }
.duration-grid, .capacity-grid { display: grid; gap: 16px; }
.duration-card, .capacity-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.duration-card.featured, .capacity-card.featured { border-color: #22c55e; box-shadow: 0 0 0 1px #22c55e, 0 24px 48px -28px rgba(22, 163, 74, .5); }
.duration-card header, .capacity-card header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.duration-card h3, .duration-card h4, .capacity-card h3, .capacity-card h4 { font-size: var(--step-1); }
.duration-name { color: var(--muted); font-size: .9375rem; }
.duration-card .button, .capacity-card .button { margin-top: auto; }
.capacity-limit { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 600; }
.capacity-limit .icon { color: var(--accent); }
.duration-list { display: grid; margin: 0; border-top: 1px solid var(--line-soft); }
.duration-list div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.duration-list dt { color: var(--muted); }
.duration-list dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (min-width: 720px) { .duration-grid, .capacity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Separate services */
.service-cards { display: grid; gap: 16px; }
.service-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow); color: var(--ink); }
.service-card p { color: var(--muted); }
.service-card-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); flex: none; }
.service-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); font-weight: 600; }
.service-card-foot .link-arrow { color: var(--accent); }
.service-card:hover .link-arrow .icon { transform: translateX(3px); }
@media (min-width: 860px) { .service-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* FAQ */
.faq-layout { display: grid; gap: 36px; }
.faq-layout > div:first-child .link-arrow, .faq-layout > div:first-child .button { margin-top: 4px; }
.faq-layout h2 + .section-text { margin-bottom: 24px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 0 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s ease, box-shadow .2s ease; }
.faq-list details[open] { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); box-shadow: 0 12px 30px -22px rgba(var(--shadow-tint), .5); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 1.0625rem; font-weight: 650; line-height: 1.45; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-icon { box-sizing: content-box; padding: 7px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.faq-list details[open] .faq-icon { transform: rotate(45deg); background: var(--action); color: var(--on-action); }
.faq-list details p { max-width: 68ch; padding: 0 40px 20px 0; color: var(--muted); }
@media (min-width: 900px) { .faq-layout { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 64px; } }

/* CTA band */
.cta-section { padding-top: 0; }
.section-tint + #contact .cta-section, .section-tint + .cta-section { padding-top: clamp(64px, 6vw + 32px, 112px); }
.cta-band { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 28px; padding: clamp(28px, 5vw, 60px); border-radius: 26px; background: radial-gradient(120% 140% at 100% 0%, var(--band-glow) 0%, var(--band) 55%); color: var(--on-band); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--hero-grid) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
.cta-band h2 { font-weight: 750; letter-spacing: -.03em; }
:lang(bn) .cta-band h2 { letter-spacing: 0; }
.cta-band h2 { color: var(--on-band); max-width: 22ch; }
.cta-band p { margin-top: 12px; color: var(--ink-muted); font-size: var(--step-1); max-width: 52ch; }
.cta-band :focus-visible { outline-color: var(--signal-bright); }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 20px; border-top: 1px solid var(--ink-line); }
.cta-contacts a { display: inline-flex; align-items: center; gap: 10px; color: var(--on-band); text-decoration: none; }
.cta-contacts a:hover { color: var(--signal-bright); }
@media (min-width: 980px) { .cta-band { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } .cta-contacts { grid-column: 1 / -1; } }

/* Inner page hero: the home hero's dark green band with its grid, left-aligned, with the sign-in page motif on wide screens */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(40px, 5.5vw, 84px) 0 clamp(44px, 6vw, 88px); background-color: var(--hero-bg); color: var(--hero-text); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(var(--hero-grid) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px); background-size: 64px 64px; }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 20ch; color: var(--hero-text); font-size: clamp(2.125rem, 1.4rem + 2.8vw, 3.5rem); font-weight: 750; letter-spacing: -.035em; }
:lang(bn) .page-hero h1 { letter-spacing: 0; }
.page-hero .kicker { display: inline-flex; padding: 5px 14px; border: 1px solid rgba(74, 222, 128, .3); border-radius: 999px; background: rgba(34, 197, 94, .08); color: #86efac; }
.page-hero-text { max-width: 62ch; margin-top: 18px; color: var(--hero-muted); font-size: var(--step-1); }
.page-hero .actions { margin-top: 30px; }
.page-hero .button-outline { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .24); color: #ffffff; box-shadow: none; }
.page-hero .button-outline:hover { background: rgba(255, 255, 255, .1); border-color: #ffffff; color: #ffffff; }
.page-hero .breadcrumb a { color: var(--hero-muted); }
.page-hero .breadcrumb a:hover { color: #ffffff; }
.page-hero .breadcrumb [aria-current], .page-hero .breadcrumb span { color: #dfe8e3; }
@media (min-width: 1200px) {
.page-hero::after { content: ""; position: absolute; top: 50%; right: max(0px, calc(50% - 740px)); width: 380px; height: 340px; margin-top: -170px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='380' height='340' viewBox='0 0 380 340'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%2315a356'/%3E%3Cstop offset='.6' stop-color='%2322c55e'/%3E%3Cstop offset='1' stop-color='%232fd06a'/%3E%3C/linearGradient%3E%3ClinearGradient id='s' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%233fae78'/%3E%3Cstop offset='1' stop-color='%235cc893'/%3E%3C/linearGradient%3E%3ClinearGradient id='l' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%2322c55e' stop-opacity='0'/%3E%3Cstop offset='.3' stop-color='%2322c55e' stop-opacity='.6'/%3E%3Cstop offset='.7' stop-color='%2322c55e' stop-opacity='.6'/%3E%3Cstop offset='1' stop-color='%2322c55e' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='b' x='-50%25' y='-50%25' width='200%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='12'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='50' y='59.25' width='120' height='1.5' transform='rotate(-45 110 60)' fill='url(%23l)'/%3E%3Ccircle cx='180' cy='32' r='5' fill='none' stroke='%2322c55e' stroke-width='2'/%3E%3Crect x='290' y='34' width='90' height='22' rx='11' transform='rotate(-45 335 45)' fill='url(%23s)'/%3E%3Crect x='160' y='120' width='250' height='40' rx='20' transform='rotate(-45 285 140)' fill='rgba(34,197,94,.17)'/%3E%3Crect x='95' y='226' width='170' height='28' rx='14' transform='rotate(-45 180 240)' fill='%2322c55e' opacity='.45' filter='url(%23b)'/%3E%3Crect x='95' y='226' width='170' height='28' rx='14' transform='rotate(-45 180 240)' fill='url(%23g)'/%3E%3Ccircle cx='55' cy='235' r='4.5' fill='%2322c55e'/%3E%3Ccircle cx='350' cy='230' r='5' fill='none' stroke='%2322c55e' stroke-width='2'/%3E%3Ccircle cx='245' cy='120' r='4.5' fill='%2322c55e'/%3E%3Cg fill='%2322c55e'%3E%3Ccircle cx='262' cy='262' r='2.6'/%3E%3Ccircle cx='262' cy='284' r='2.6'/%3E%3Ccircle cx='262' cy='306' r='2.6'/%3E%3Ccircle cx='262' cy='328' r='2.6'/%3E%3Ccircle cx='284' cy='262' r='2.6'/%3E%3Ccircle cx='284' cy='284' r='2.6'/%3E%3Ccircle cx='284' cy='306' r='2.6'/%3E%3Ccircle cx='284' cy='328' r='2.6'/%3E%3Ccircle cx='306' cy='262' r='2.6'/%3E%3Ccircle cx='306' cy='284' r='2.6'/%3E%3Ccircle cx='306' cy='306' r='2.6'/%3E%3Ccircle cx='306' cy='328' r='2.6'/%3E%3Ccircle cx='328' cy='262' r='2.6'/%3E%3Ccircle cx='328' cy='284' r='2.6'/%3E%3Ccircle cx='328' cy='306' r='2.6'/%3E%3Ccircle cx='328' cy='328' r='2.6'/%3E%3C/g%3E%3Crect x='50' y='317.25' width='90' height='1.5' transform='rotate(-45 95 318)' fill='url(%23l)'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; opacity: .9; pointer-events: none; }
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--muted); font-size: .875rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink-2); }

/* Overview */
.area-grid { display: grid; gap: 16px; }
.area-grid li { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.area-grid h3 { margin: 16px 0 6px; }
.area-grid p { color: var(--muted); }
@media (min-width: 640px) { .area-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .area-grid { grid-template-columns: repeat(4, 1fr); } }

/* Service detail */
.service-detail { display: grid; gap: 28px; }
.check-grid { display: grid; gap: 0 28px; align-content: start; }
.check-grid li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); font-weight: 550; }
.check-grid .icon { margin-top: .28em; color: var(--signal-text); }
@media (min-width: 640px) { .check-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .service-detail { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; } .service-detail .section-heading { margin-bottom: 0; } }

/* Contact */
.contact-layout { display: grid; gap: 40px; }
.contact-list { display: grid; gap: 12px; margin-top: 28px; }
.contact-list a, .contact-list li > div { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.contact-list a:hover { border-color: var(--accent); color: var(--ink); }
.contact-list small { display: block; color: var(--muted); font-size: .8125rem; }
.contact-list strong { display: block; font-size: 1.0625rem; word-break: break-word; }
.contact-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); flex: none; }
.contact-subhead { margin: 40px 0 8px; }
.route-list li { border-bottom: 1px solid var(--line-soft); }
.route-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; font-weight: 600; text-decoration: none; }
.notice-card { align-self: start; padding: 28px; border-radius: var(--radius-lg); background: var(--canvas); border: 1px solid var(--line); }
.notice-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 12px; background: var(--surface); color: var(--signal-text); box-shadow: inset 0 0 0 1px var(--line); }
.notice-card p { margin: 10px 0 22px; color: var(--muted); }
@media (min-width: 900px) { .contact-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; } .notice-card { position: sticky; top: calc(var(--header-h) + 24px); } }

/* Legal */
.legal-section { padding-top: clamp(40px, 5vw, 64px); }
.legal-layout { display: grid; gap: 32px; }
.legal-aside { display: grid; gap: 28px; align-content: start; }
.legal-aside h2 { margin-bottom: 10px; color: var(--muted); font-size: .8125rem; font-weight: 650; letter-spacing: .01em; }
.legal-docs { display: grid; gap: 2px; }
.legal-docs a { padding: 9px 12px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 550; text-decoration: none; }
.legal-docs a:hover { background: var(--canvas); color: var(--ink); }
.legal-docs a.active { background: var(--accent-soft); color: var(--accent-strong); }
.legal-toc { display: none; }
.legal-toc ol { display: grid; gap: 2px; border-left: 2px solid var(--line-soft); }
.legal-toc a { display: block; margin-left: -2px; padding: 5px 12px; border-left: 2px solid transparent; color: var(--muted); font-size: .875rem; line-height: 1.45; text-decoration: none; }
.legal-toc a:hover { border-left-color: var(--accent); color: var(--ink); }
.legal-document { min-width: 0; max-width: 760px; }
.legal-updated, .legal-translation-note { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .9375rem; }
.legal-updated .icon, .legal-translation-note .icon { margin-top: .25em; color: var(--accent); }
.legal-translation-note { margin-top: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--ink-2); }
.legal-highlights { display: grid; gap: 12px; margin: 28px 0 12px; }
.legal-highlights li { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.legal-highlights .icon { margin-top: .2em; width: 22px; height: 22px; color: var(--accent); }
.legal-highlights strong { display: block; margin-bottom: 2px; }
.legal-highlights span { color: var(--muted); font-size: .9375rem; }
.legal-block { padding-top: 36px; }
.legal-block h2 { margin-bottom: 14px; font-size: var(--step-2); }
.legal-block p, .legal-block li { color: var(--ink-2); line-height: 1.75; }
.legal-block p + p, .legal-block p + ul { margin-top: 12px; }
.legal-block ul { display: grid; gap: 10px; padding-left: 1.25em; list-style: disc; }
.legal-block li::marker { color: var(--accent); }
.legal-contact { display: grid; gap: 16px; margin-top: 48px; padding: 24px; border-radius: var(--radius); background: var(--canvas); }
.legal-contact > div:first-child { display: grid; gap: 2px; }
.legal-contact > div:first-child span { color: var(--muted); }
.legal-contact-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.legal-contact-links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
@media (min-width: 720px) { .legal-highlights { grid-template-columns: repeat(3, 1fr); } .legal-highlights li { flex-direction: column; } }
@media (min-width: 980px) {
    .legal-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; }
    .legal-aside { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
    .legal-toc { display: block; }
}

/* Footer: dark green, like the hero */
.site-footer { padding-top: 72px; background: var(--footer-bg); color: var(--footer-text); }
.footer-grid { display: grid; gap: 36px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 52px; }
.footer-brand { grid-column: 1 / -1; }
.site-footer .brand, .site-footer .brand:hover { color: #ffffff; }
.site-footer .brand-text strong b { color: #4ade80; }
.site-footer .brand-text small { color: var(--footer-text); }
.footer-brand p { max-width: 38ch; margin-top: 18px; color: var(--footer-text); font-size: .9375rem; }
.footer-col { display: grid; gap: 11px; align-content: start; }
.footer-col h2 { margin-bottom: 6px; color: #ffffff; font-size: 1rem; font-weight: 700; }
.footer-col a, .footer-col p { color: var(--footer-text); font-size: .9375rem; text-decoration: none; }
.footer-col a:hover { color: #4ade80; }
.footer-contact { grid-column: 1 / -1; }
.footer-contact a, .footer-contact p { display: flex; align-items: flex-start; gap: 10px; overflow-wrap: anywhere; }
.footer-contact .icon { margin-top: .3em; color: #4ade80; }
.social-links { display: flex; gap: 8px; margin-top: 18px; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--footer-line); border-radius: 10px; color: #ffffff; }
.social-links a:hover { border-color: #4ade80; color: #4ade80; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px 28px; border-top: 1px solid var(--footer-line); color: var(--footer-text); font-size: .875rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.35fr); } .footer-brand, .footer-contact { grid-column: auto; } }

@media print {
    .site-header, .site-footer, .legal-aside, .skip-link { display: none !important; }
    .page-hero, .hero { background: none; color: #000; }
    body { color: #000; }
}
