/* =========================================================================
   VenGuard website — stylesheet
   Rules: docs/venguard/brand-rules.md (orange theme · logo suite)
   Two themes share every rule below. Components only use the semantic tokens
   (--bg, --surface, --text, --accent …); the themes and the navy "band"
   sections redefine those tokens, never the components.
     Day   (default)            :root / [data-theme="light"]
     Night                      [data-theme="dark"], or the OS dark setting
                                when the visitor has not chosen
     Band  (navy brand panels)  .band, .section--dark, .cta-band, .stat-figure,
                                .site-footer, .deposit-box, .dash-head
   Contents:  1 tokens · 2 base · 3 layout · 4 type helpers · 5 buttons
              6 header/nav · 7 app strip · 8 cards/grids · 9 sections
              10 status · 11 forms · 12 page parts · 13 footer · 14 overlays
              15 utilities · 16 motion · 17 achievements, press, journey · 18 home page · 19 system animation
              20 site improvements · 21 app guide · 22 star ratings · 23 picture viewer
              24 products, business pages, assessment form, floating WhatsApp
   ========================================================================= */

/* 1 · Tokens ------------------------------------------------------------- */
:root {
  /* Brand palette (fixed — from the logo suite) */
  --orange: #E85D0C;       /* VenGuard Orange: wave, icons, large display type */
  --orange-deep: #B8460A;  /* Deep Orange: orange text on light surfaces */
  --navy: #0B2A4A;         /* Guard Navy: bar, wordmark, brand panels */
  --sand: #FBF1EA;         /* Sand: warm backgrounds */
  /* Device status colours. Orange is never used as a status colour. */
  --safe: #1E9E5A;
  --caution: #F5C400;      /* ISO yellow */
  --gas-off: #D7263D;

  /* Actions: white text needs 4.5:1, so buttons use a slightly deeper orange */
  --btn: #C94E0A;          /* 4.6:1 with white */
  --btn-hover: var(--orange-deep);
  --on-btn: #FFFFFF;

  /* Day theme (default) */
  color-scheme: light;
  --bg: #FFFFFF;
  --bg-alt: var(--sand);
  --surface: #FFFFFF;
  --surface-2: #FDF8F4;
  --text: var(--navy);
  --text-muted: #4F6178;   /* 5.7:1 on sand */
  --line: #EDE3DA;
  --line-strong: #CDBFB3;
  --accent: var(--orange);
  --accent-text: var(--orange-deep);
  --safe-text: #167A45;
  --error-text: #C21F35;
  --invert-bg: var(--navy);
  --invert-text: #FFFFFF;
  --header-bg: rgb(255 255 255 / .92);
  --shadow: 0 1px 2px rgb(11 42 74 / .05), 0 10px 30px rgb(11 42 74 / .07);

  --font: "Inter", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-bn: "Noto Sans Bengali", "Inter", system-ui, sans-serif;

  --r: 10px;
  --r-lg: 18px;
  --wrap: 1200px;
  --gutter: 16px;
  --header-h: 68px;
}

/* Night theme: chosen in the header, or the OS setting when nothing was chosen */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07192C;
  --bg-alt: #0A2038;
  --surface: #0E2742;
  --surface-2: #0B223A;
  --text: #F3F6FA;
  --text-muted: #A9BFD6;
  --line: #1B3A5C;
  --line-strong: #2C4F76;
  --accent-text: #FF8A4C;
  --safe-text: #3CC47F;
  --error-text: #FF7A8A;
  --invert-bg: #F3F6FA;
  --invert-text: var(--navy);
  --header-bg: rgb(7 25 44 / .9);
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .25);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #07192C; --bg-alt: #0A2038; --surface: #0E2742; --surface-2: #0B223A;
    --text: #F3F6FA; --text-muted: #A9BFD6; --line: #1B3A5C; --line-strong: #2C4F76;
    --accent-text: #FF8A4C; --safe-text: #3CC47F; --error-text: #FF7A8A;
    --invert-bg: #F3F6FA; --invert-text: var(--navy);
    --header-bg: rgb(7 25 44 / .9);
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .25);
  }
}

/* Navy brand panels: identical in both themes */
.band, .section--dark, .cta-band, .stat-figure, .site-footer, .deposit-box, .dash-head {
  --bg: var(--navy);
  --bg-alt: var(--navy);
  --surface: #10345A;
  --surface-2: #0E3053;
  --text: #FFFFFF;
  --text-muted: #A9BFD6;   /* 7.7:1 on navy */
  --line: #1F4670;
  --line-strong: #2E5A88;
  --accent-text: #FF8A4C;
  --safe-text: #3CC47F;
  --invert-bg: #FFFFFF;
  --invert-text: var(--navy);
  background: var(--bg);
  color: var(--text);
}

/* 2 · Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="bn"] body { font-family: var(--font-bn); line-height: 1.75; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 800; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; color: var(--text); }
html[lang="bn"] :is(h1, h2, h3, h4) { font-weight: 700; letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2.25rem, 6.4vw, 4.25rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--orange); color: #FFFFFF; }

/* 3 · Layout ------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) { :root { --gutter: 32px; } }
.section { padding-block: 64px; }
@media (min-width: 900px) { .section { padding-block: 104px; } }
.section--tight { padding-block: 40px; }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--flip > :first-child { order: 2; } }
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.stack > * + * { margin-top: 16px; }

/* 4 · Type helpers ------------------------------------------------------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 .78rem/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 14px;
}
.label::before { content: ""; width: 20px; height: 4px; border-radius: 2px; background: var(--accent); }
html[lang="bn"] .label { font: 600 .92rem/1.3 var(--font-bn); letter-spacing: 0; text-transform: none; }
.lead { font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.55; color: var(--text-muted); max-width: 38em; }
.muted { color: var(--text-muted); }
.small { font-size: .9rem; }
.num { font-variant-numeric: tabular-nums; }
.arrow-link { font-weight: 700; text-decoration: none; color: var(--text); display: inline-flex; gap: 6px; align-items: center; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.arrow-link svg { width: 18px; height: 18px; }
.arrow-link:hover { color: var(--accent-text); }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose :is(ul, ol) { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .45em; }

/* 5 · Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border-radius: 999px;
  border: 2px solid transparent; font: inherit; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--btn); color: var(--on-btn); }
.btn--primary:hover { background: var(--btn-hover); color: var(--on-btn); }
.btn--secondary { border-color: var(--text); color: var(--text); background: transparent; }
.btn--secondary:hover { background: var(--invert-bg); border-color: var(--invert-bg); color: var(--invert-text); }
.btn--sm { white-space: nowrap; min-height: 40px; padding: 8px 18px; font-size: .92rem; }
.btn--icon { min-height: 40px; width: 40px; padding: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-note { margin-top: 14px; font-size: .92rem; color: var(--text-muted); }
.btn-note a { color: inherit; }

/* 6 · Header / navigation ----------------------------------------------- */
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: var(--r); background: var(--btn); color: var(--on-btn); font-weight: 700; }
.skip-link:focus { left: 8px; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); color: var(--text); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.site-header .wrap { max-width: 1440px; } /* the full menu needs more width than page content */
/* Logo (brand guidelines §09–10): primary on light, reversed on dark; 38 px tall in the header
   (36–40 px), never under 120 px wide (31 px tall) on phones. */
.logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.logo-img { display: block; height: 38px; width: auto; }
.logo-img--dark { display: none; }
:root[data-theme="dark"] .logo-img--light, .site-footer .logo-img--light { display: none; }
:root[data-theme="dark"] .logo-img--dark, .site-footer .logo-img--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-img--light { display: none; }
  :root:not([data-theme="light"]) .logo-img--dark { display: block; }
}
.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav a { display: block; white-space: nowrap; padding: 8px 11px; border-radius: var(--r); color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--text); background: var(--bg-alt); }
.nav a[aria-current="page"], .nav a[aria-current="true"] { color: var(--text); box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; font-size: .88rem; }
.lang-switch a { padding: 7px 12px; text-decoration: none; color: var(--text-muted); font-weight: 600; }
.lang-switch a:first-child { font-family: var(--font-bn); }
.lang-switch a[aria-current="true"] { background: var(--invert-bg); color: var(--invert-text); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); background: transparent; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--bg-alt); color: var(--text); }
/* Dropdown menus: open on hover/focus on wide screens; the chevron button toggles them
   for touch and keyboard (site.js), and inside the mobile menu. */
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > a { padding-right: 4px; }
.sub-toggle { display: grid; place-items: center; width: 26px; height: 32px; padding: 0; border: 0; border-radius: var(--r); background: none; color: var(--text-muted); cursor: pointer; }
.sub-toggle svg { width: 16px; height: 16px; transition: transform .15s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub-menu { list-style: none; display: none; }
.sub-menu a { white-space: nowrap; }
@media (min-width: 1501px) {
  .sub-menu { position: absolute; top: 100%; left: 0; z-index: 60; min-width: 220px; padding: 8px; flex-direction: column; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
  .has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .sub-menu.is-open { display: flex; }
  .sub-menu a { padding: 9px 12px; border-radius: var(--r); color: var(--text); }
  .sub-menu a:hover { background: var(--bg-alt); color: var(--accent-text); }
}

/* Theme switch shows the theme it will switch to */
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.menu-toggle { display: none; }
@media (max-width: 1500px) {
  .site-header .wrap { flex-wrap: wrap; }
  .menu-toggle { display: inline-grid; }
  .nav { order: 10; width: 100%; display: none; margin: 0; padding-bottom: 12px; }
  .nav.is-open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a { padding: 12px 8px; font-size: 1rem; }
  .nav a[aria-current="page"], .nav a[aria-current="true"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 14px; }
  .header-actions { margin-left: auto; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { width: 44px; height: 44px; }
  .sub-menu.is-open { display: block; width: 100%; padding: 0 0 8px 16px; border-left: 2px solid var(--line); margin-left: 8px; }
  .sub-menu a { padding: 9px 8px; font-size: .95rem; }
}
@media (max-width: 719px) {
  .header-actions .btn--primary, .header-actions .wa-link { display: none; }
  .logo-img { height: 31px; }
}
/* Narrow phones (about 400 px or less, or a large text-size setting): keep the header on one row.
   The language switch shows only the other language; logo and buttons get a little smaller. */
@media (max-width: 400px) {
  .site-header .wrap { gap: 8px; }
  .header-actions { gap: 6px; }
  .logo-img { height: 27px; }
  .lang-switch a[aria-current="true"] { display: none; }
  .lang-switch a { padding: 7px 11px; }
  .icon-btn { width: 38px; height: 38px; }
  .icon-btn svg { width: 19px; height: 19px; }
}
@media (max-width: 300px) {
  .logo-img { height: 23px; }
  .header-actions { gap: 4px; }
  .lang-switch a { padding: 7px 8px; }
  .icon-btn { width: 36px; height: 36px; }
}
.site-notice { background: var(--caution); color: var(--navy); font-weight: 600; font-size: .95rem; padding: 10px 0; }

/* 7 · App strip (home hero; the hero itself is section 18) ----------------- */
/* VenGuard app strip at the top of the hero: open the web app (demo or sign-in) or get the Android app */
.app-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 36px; padding: 12px 12px 12px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.app-strip-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-alt); color: var(--accent-text); }
.app-strip-icon svg { width: 22px; height: 22px; }
.app-strip p { flex: 1 1 260px; margin: 0; color: var(--text-muted); font-size: .95rem; }
.app-strip p strong { color: var(--text); }
.app-strip .btn-row { gap: 10px; margin-top: 0; }
.btn--dark { background: var(--invert-bg); color: var(--invert-text); }
.btn--dark:hover { background: var(--btn); color: var(--on-btn); }
@media (max-width: 559px) { .app-strip .btn-row, .app-strip .btn { width: 100%; } }
@media (min-width: 960px) { .app-strip { margin-bottom: 48px; } }


/* 8 · Cards, grids, tiles ----------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.card--flat { background: var(--surface-2); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--text-muted); }
.card > p:last-child { margin-bottom: 0; }
.card .icon { width: 32px; height: 32px; color: var(--accent); margin-bottom: 16px; }
.card ul { padding-left: 1.2em; }
.card li { margin-bottom: .4em; }
.card .price { color: var(--text); }
.index { display: inline-block; font: 700 .72rem/1 var(--font); color: var(--text-muted); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.price { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 8px 0 4px; }
.price small { font-size: .95rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0; }
/* Kit packages: equal-height cards, button at the bottom */
.package { display: flex; flex-direction: column; }
.package .ticks { margin-bottom: 16px; }
.package > :last-child { margin-top: auto; align-self: flex-start; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font: 600 .78rem/1.2 var(--font); background: var(--bg-alt); border: 1px solid var(--line); color: var(--text); }
.tag--accent { background: var(--btn); border-color: var(--btn); color: var(--on-btn); }

/* Feature list with ticks */
.ticks { list-style: none; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks svg { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }

/* Process steps */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.steps > li { counter-increment: step; position: relative; padding: 28px 24px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.steps > li::before { content: counter(step, decimal-leading-zero); font: 800 .85rem/1 var(--font); color: var(--accent-text); letter-spacing: .06em; display: block; margin-bottom: 18px; }
.steps svg { width: 36px; height: 36px; color: var(--accent); margin-bottom: 12px; }
.steps p { color: var(--text-muted); margin: 0; }
.steps .diagram { width: 100%; height: auto; margin-top: 16px; color: var(--text); }

/* Audience tiles */
.tile { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); min-height: 170px; transition: border-color .15s; }
.tile:hover { border-color: var(--accent); color: var(--text); }
.tile svg { width: 32px; height: 32px; color: var(--accent); }
.tile strong { font-size: 1.15rem; }
.tile span { color: var(--text-muted); }
.tile--soon { background: transparent; border-style: dashed; }
.tile--soon svg { color: var(--text-muted); }

/* 9 · Sections ------------------------------------------------------------ */
.stat-figure { display: grid; gap: 8px; padding: 32px; border-radius: var(--r-lg); }
.stat-figure .num-big { font: 800 clamp(3rem, 8vw, 5rem)/1 var(--font); letter-spacing: -.03em; color: var(--orange); }
.stat-figure p { color: var(--text-muted); margin: 0; }
.stat-figure cite { font: 700 .72rem/1.4 var(--font); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: var(--text-muted); }
html[lang="bn"] .stat-figure cite { font: 500 .85rem/1.4 var(--font-bn); letter-spacing: 0; text-transform: none; }
.figures { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 720px) { .figures { grid-template-columns: repeat(3, 1fr); } }
.figures div { background: var(--surface); padding: 24px; }
.figures strong { display: block; font: 800 2.4rem/1 var(--font); color: var(--orange); letter-spacing: -.02em; margin-bottom: 8px; }
.figures span { color: var(--text-muted); font-size: .95rem; }

/* Timeline (status) */
.timeline { list-style: none; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
@media (min-width: 1000px) { .timeline { grid-template-columns: repeat(5, 1fr); } }
.timeline li { padding: 24px; display: grid; gap: 8px; align-content: start; }
.timeline li + li { border-top: 1px solid var(--line); }
@media (min-width: 1000px) { .timeline li + li { border-top: 0; border-left: 1px solid var(--line); } }
.timeline h3 { margin: 0; }
.timeline p { margin: 0; color: var(--text-muted); font-size: .95rem; }

/* Gallery */
.gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
.gallery-item { position: relative; flex: 0 0 80%; max-width: 520px; margin: 0; scroll-snap-align: start; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.gallery-item.is-tall { flex-basis: 60%; max-width: 340px; }
@media (min-width: 720px) { .gallery-item { flex-basis: 44%; } .gallery-item.is-tall { flex-basis: 28%; } }
.gallery-item img, .gallery-item video { width: 100%; height: 360px; object-fit: cover; }
@media (max-width: 600px) { .gallery-item img, .gallery-item video { height: 280px; } }
.gallery-item figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--navy); color: #FFFFFF; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.gallery-play { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--btn); color: var(--on-btn); display: grid; place-items: center; cursor: pointer; }
.gallery-item.is-playing .gallery-play { display: none; }

/* Audience tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tabs [role="tab"] { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.tabs [role="tab"] svg { width: 20px; height: 20px; }
.tabs [role="tab"][aria-selected="true"] { background: var(--invert-bg); border-color: var(--invert-bg); color: var(--invert-text); }
.tabs-more { margin-left: auto; align-self: center; font-size: .92rem; }
.tabpanel { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .tabpanel { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.tabpanel[hidden] { display: none; }
.media { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 20px 44px 20px 0; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 500 1.6rem/1 var(--font); color: var(--accent-text); }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 0 20px; color: var(--text-muted); max-width: 70ch; }

/* Call to action band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 56px 24px; text-align: center; }
.cta-band::before { /* brand rule: the orange bar from the logo suite */
  content: ""; position: absolute; left: 50%; top: 0; width: 120px; height: 6px; transform: translateX(-50%); border-radius: 0 0 6px 6px; background: var(--orange);
}
@media (min-width: 900px) { .cta-band { padding: 88px 48px; } }
.cta-band p { color: var(--text-muted); max-width: 40em; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 28px; }

/* Specs table */
.specs { border-top: 1px solid var(--line); }
.specs th, .specs td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 42%; font-weight: 600; color: var(--text-muted); }
.specs td { font-weight: 600; }

/* Inner page header */
.page-head { background: var(--bg-alt); padding-block: 48px 40px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .page-head { padding-block: 72px 56px; } }
.page-head h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); }
.page-head .lead { margin: 0; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font: 700 .74rem/1.3 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
html[lang="bn"] .breadcrumb { font: 500 .88rem/1.4 var(--font-bn); letter-spacing: 0; text-transform: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }

/* Diagrams (inline SVG) */
.diagram { color: var(--text); }
.diagram .accent { stroke: var(--orange); }
.diagram text { fill: currentColor; font: 600 11px var(--font); }
.diagram .muted-stroke { stroke: var(--text-muted); }

/* Dashboard preview (illustration) */
.dash { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); font-size: .95rem; box-shadow: var(--shadow); }
.dash-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-weight: 600; }
.dash-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); align-items: center; }
.dash-note { padding: 10px 16px; font-size: .8rem; color: var(--text-muted); background: var(--surface-2); }

/* 10 · Status ------------------------------------------------------------ */
/* The dot carries the state (device status colours); the text stays readable. */
.status { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 700; font-size: .85rem; color: var(--text); }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--text-muted); }
.status--safe::before, .status--done::before { background: var(--safe); box-shadow: 0 0 0 3px rgb(30 158 90 / .22); }
.status--now::before { background: var(--caution); box-shadow: 0 0 0 3px rgb(245 196 0 / .25); }
.status--next::before { background: var(--line-strong); }
.status--safe, .status--done { color: var(--safe-text); }
.status--testing { color: var(--navy); background: var(--caution); padding: 3px 10px 3px 8px; border-radius: 999px; }
.status--testing::before { background: var(--navy); }
.notice { border-left: 4px solid var(--caution); background: var(--surface-2); border-block: 1px solid var(--line); border-right: 1px solid var(--line); padding: 16px 18px; border-radius: 0 var(--r) var(--r) 0; }
.notice--info { border-left-color: var(--text); }
.notice > :last-child { margin-bottom: 0; }
.dash-ok { color: var(--safe-text); font-weight: 700; }
.done-mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--safe); color: #FFFFFF; }
.done-mark svg { width: 34px; height: 34px; stroke-width: 2.6; }

/* 11 · Forms --------------------------------------------------------------- */
.form { display: grid; gap: 20px; max-width: 680px; }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 600px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.field .hint { display: block; font-size: .86rem; font-weight: 400; color: var(--text-muted); }
.field .opt { font-weight: 400; color: var(--text-muted); font-size: .9rem; }
.field :is(input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea) {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r);
}
.field textarea { min-height: 120px; resize: vertical; }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(232 93 12 / .3); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 20px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); cursor: pointer; font-weight: 600; }
.choice input:checked + span { background: var(--invert-bg); border-color: var(--invert-bg); color: var(--invert-text); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.check, .field .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.check input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--btn); }
.field-error { display: none; margin-top: 6px; font-size: .9rem; font-weight: 700; color: var(--error-text); }
.field-error::before { content: "! "; }
.field.has-error :is(input, select, textarea) { border-color: var(--error-text); border-width: 2px; }
.field.has-error .field-error { display: block; }
.field-note { display: block; margin-top: 6px; font-size: .9rem; font-weight: 600; color: var(--text); }   /* promo code accepted (neutral: orange is never a status colour) */
.field-note:empty, .field.has-error .field-note { display: none; }
.form-status { display: none; padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--text); }
.form-status.is-visible { display: block; }
.hp { position: absolute; left: -5000px; }
.deposit-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-radius: var(--r-lg); }
.deposit-box strong { font-size: 1.4rem; }
.pay-methods { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.pay-methods li { font-size: .84rem; font-weight: 600; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 11px; }
.refund-terms { padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); font-size: .95rem; }

/* 12 · Page parts ----------------------------------------------------------- */
.team { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 720px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team { grid-template-columns: repeat(3, 1fr); } }
.team li { background: var(--surface); padding: 24px; display: grid; gap: 4px; }
.team .role { font: 700 .74rem/1 var(--font); letter-spacing: .12em; color: var(--accent-text); }
.team strong { font-size: 1.1rem; }
.team span:last-child { color: var(--text-muted); font-size: .95rem; }
.contact-list { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 20px; background: var(--surface); }
.contact-list svg { width: 24px; height: 24px; color: var(--accent); }
.contact-list strong { display: block; }
.media-figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.media-figure img { width: 100%; }
/* Mission / vision statements */
.statement { padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.statement--accent { border-top: 4px solid var(--orange); }
.statement-text { font-size: clamp(1.2rem, 2.4vw, 1.55rem); font-weight: 700; line-height: 1.4; color: var(--text); margin: 0; }

/* Roadmap ("Our journey"): a vertical line with an icon node per step.
   Small screens: line on the left, cards to its right. ≥ 900px: line in the centre, cards alternate sides.
   done = filled orange node, solid card · now = glowing node, orange card edge · next = outlined node, dashed card. */
.roadmap { --node: 44px; list-style: none; position: relative; display: grid; gap: 20px; margin: 0; padding: 0; }
.roadmap::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: calc(var(--node) / 2 - 1px); width: 2px; background: linear-gradient(var(--orange), var(--orange) var(--done-to, 40%), var(--line-strong) var(--done-to, 40%)); }
.roadmap-item { position: relative; display: grid; grid-template-columns: var(--node) minmax(0, 1fr); gap: 16px; align-items: start; }
.roadmap-node { position: relative; z-index: 1; display: grid; place-items: center; width: var(--node); height: var(--node); border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); color: var(--text-muted); }
.roadmap-node svg { width: 20px; height: 20px; }
.roadmap-item--done .roadmap-node { background: var(--orange); border-color: var(--orange); color: #fff; }
.roadmap-item--now .roadmap-node { border-color: var(--orange); color: var(--accent-text); box-shadow: 0 0 0 6px rgb(232 93 12 / .22); }
.roadmap-card { display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.roadmap-item--now .roadmap-card { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), var(--shadow); }
.roadmap-item--next .roadmap-card { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.roadmap-period { font: 700 .78rem/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
html[lang="bn"] .roadmap-period { font: 600 .95rem/1.3 var(--font-bn); letter-spacing: 0; text-transform: none; }
.roadmap h3 { margin: 0; font-size: 1.15rem; }
.roadmap p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.roadmap .status { margin-top: 4px; justify-self: start; }
@media (min-width: 900px) {
  .roadmap { gap: 0; }
  .roadmap::before { left: calc(50% - 1px); }
  .roadmap-item { grid-template-columns: minmax(0, 1fr) var(--node) minmax(0, 1fr); gap: 28px; margin-top: -28px; }
  .roadmap-item:first-child { margin-top: 0; }
  .roadmap-node { grid-column: 2; grid-row: 1; margin-top: 18px; }
  .roadmap-card { grid-row: 1; }
  .roadmap-item:nth-child(odd) .roadmap-card { grid-column: 1; text-align: right; }
  .roadmap-item:nth-child(odd) .status { justify-self: end; }
  .roadmap-item:nth-child(even) .roadmap-card { grid-column: 3; }
  /* a short connector from the node to its card */
  .roadmap-card { position: relative; }
  .roadmap-card::before { content: ""; position: absolute; top: 39px; width: 28px; height: 2px; background: var(--line-strong); }
  .roadmap-item:nth-child(odd) .roadmap-card::before { right: -29px; }
  .roadmap-item:nth-child(even) .roadmap-card::before { left: -29px; }
  .roadmap-item--done .roadmap-card::before, .roadmap-item--now .roadmap-card::before { background: var(--orange); }
}
@media (prefers-reduced-motion: no-preference) {
  .roadmap-item--now .roadmap-node { animation: roadmap-pulse 2.4s ease-in-out infinite; }
  @keyframes roadmap-pulse { 50% { box-shadow: 0 0 0 11px rgb(232 93 12 / .08); } }
}

/* Features */
.features { list-style: none; display: grid; gap: 16px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.features li { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.features .icon { width: 32px; height: 32px; color: var(--accent); margin-bottom: 14px; }
.features p { margin: 0; color: var(--text-muted); }

/* Achievements */
.achievements { list-style: none; display: grid; gap: 12px; }
@media (min-width: 720px) { .achievements { grid-template-columns: repeat(2, 1fr); } }
.achievements li { display: grid; gap: 4px; align-content: start; padding: 20px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--orange); }
.achievements li > div { display: grid; gap: 6px; }
.achievements p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.achievement-year { font: 700 .78rem/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
html[lang="bn"] .achievement-year { font-family: var(--font-bn); letter-spacing: 0; font-size: .88rem; }
/* The entry with a photo spans the full row: photo beside the text on wide screens */
.achievement--photo { gap: 16px !important; }
.achievement--photo img { width: 100%; height: auto; border-radius: var(--r); }
@media (min-width: 720px) { .achievement--photo { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 28px !important; } }
.press-title { margin: 40px 0 14px; font-size: 1.15rem; }
.press { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.press li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .press li { grid-template-columns: 260px 1fr; gap: 24px; align-items: baseline; } }
.press-meta { color: var(--text-muted); font-size: .9rem; }
.press-meta strong { color: var(--text); }
.press-headline, .press a { font-weight: 600; }
.press [lang="bn"] { font-family: var(--font-bn); }
/* Recognition line under the hero buttons */
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.hero-proof a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: .86rem; font-weight: 600; text-decoration: none; }
.hero-proof a:hover { border-color: var(--accent); }
.hero-proof svg { width: 16px; height: 16px; color: var(--accent-text); }

/* How-it-works chain (step text + diagram) */
.chain { list-style: none; display: grid; gap: 16px; }
.chain-step { display: grid; gap: 24px; align-items: center; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
@media (min-width: 900px) { .chain-step { grid-template-columns: 1fr 1fr; gap: 48px; padding: 40px; } }
.chain-step h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.chain-step p { color: var(--text-muted); max-width: 40em; }
.chain-figure { background: var(--bg-alt); border-radius: var(--r); padding: 20px; }
.chain-figure .diagram { width: 100%; max-width: 420px; height: auto; margin-inline: auto; }

/* 13 · Footer -------------------------------------------------------------- */
.site-footer { color: var(--text-muted); padding-block: 64px 32px; font-size: .95rem; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--accent-text); }
.footer-grid { display: grid; gap: 32px; }
/* Footer: logo on its own row, link groups two by two on phones, four across from 900 px, all in one row from 1200 px */
.footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
.footer-grid > :first-child { grid-column: 1 / -1; }
.footer-grid li { overflow-wrap: break-word; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
@media (min-width: 1200px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } .footer-grid > :first-child { grid-column: auto; } }
.site-footer h2 { font: 700 .74rem/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
html[lang="bn"] .site-footer h2 { font: 600 .92rem/1.3 var(--font-bn); letter-spacing: 0; text-transform: none; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.footer-tagline { color: var(--accent-text); font-weight: 600; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--text); cursor: pointer; }
.linkbtn:hover { color: var(--accent-text); }

/* 14 · Overlays: consent bar, mobile action bar --------------------------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; padding: 16px 0; background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow); }
.consent.is-visible { display: block; }
.consent .wrap { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.consent p { margin: 0; max-width: 48em; font-size: .95rem; }
.mobile-cta { display: none; }
@media (max-width: 719px) {
  .mobile-cta { display: flex; gap: 8px; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--header-bg); border-top: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .mobile-cta .btn { flex: 1; min-height: 48px; }
  .mobile-cta .btn--icon { flex: 0 0 48px; border-color: var(--line-strong); color: var(--text); }
  body.has-mobile-cta { padding-bottom: 76px; }
}

/* 15 · Utilities ------------------------------------------------------------ */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.row-between { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: end; }

/* 16 · Motion --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* A portrait photo (e.g. a stall) takes a narrower column so the card does not get tall */
.achievement--portrait img { max-height: 520px; width: auto; max-width: 100%; margin-inline: auto; }
@media (min-width: 720px) { .achievement--portrait { grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); } .achievement--portrait img { max-height: 440px; } }

/* 18 · Home page (2026 redesign) ---------------------------------------------
   Calm, product-first layout inspired by modern product sites: large two-tone headline,
   soft tinted panels, rounded cards, one idea per section. Only the home page uses .hx-*. */
.btn--lg { min-height: 58px; padding: 14px 30px; font-size: 1.05rem; }
.eyebrow { margin: 0 0 10px; font: 700 .76rem/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
html[lang="bn"] .eyebrow { font: 600 .92rem/1.4 var(--font-bn); letter-spacing: 0; text-transform: none; }
.hx-head { margin-bottom: 40px; max-width: 720px; }
.hx-head h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -.03em; margin-bottom: .3em; }
.hx-head p { color: var(--text-muted); font-size: 1.08rem; margin-bottom: 0; }
.hx-head--center { margin-inline: auto; text-align: center; }
.hx-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; }
.hx-head--row h2 { margin-bottom: .15em; }
.hx-center { text-align: center; }

/* Hero */
.hx-hero { position: relative; overflow: hidden; padding-block: 28px 64px; background:
  radial-gradient(60% 70% at 80% 40%, color-mix(in srgb, var(--orange) 12%, transparent), transparent 70%),
  linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.hx-hero .app-strip { margin-bottom: 40px; }
.hx-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hx-hero { padding-block: 32px 96px; } .hx-hero-grid { grid-template-columns: 1fr 1.05fr; gap: 48px; } }
.hx-hero h1 { font-size: clamp(2.8rem, 7.4vw, 5.4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; margin-bottom: .35em; }
html[lang="bn"] .hx-hero h1 { font-size: clamp(2.4rem, 6.2vw, 4.4rem); letter-spacing: 0; line-height: 1.3; }
.hx-hero h1 .accent { color: var(--accent); }
.hx-sub { font-size: clamp(1.08rem, 1.8vw, 1.28rem); color: var(--text-muted); max-width: 32em; }
.hx-facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0 32px; max-width: 520px; }
.hx-facts li { display: grid; gap: 10px; align-content: start; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.hx-facts svg { width: 30px; height: 30px; color: var(--accent-text); }
.hx-hero-figure { position: relative; margin: 0; border-radius: 28px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.hx-hero-figure img { width: 100%; aspect-ratio: 11 / 8.2; object-fit: cover; }
.hx-tag { position: absolute; right: 16px; bottom: 16px; padding: 8px 14px; border-radius: 10px; background: rgb(11 42 74 / .78); color: #fff; font: 700 .74rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(6px); }
html[lang="bn"] .hx-tag { font: 600 .86rem/1.2 var(--font-bn); letter-spacing: 0; text-transform: none; }

/* Small tag pills (lineup cards) */
.hx-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0 !important; }
.hx-tags span { padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--text); font-size: .78rem; font-weight: 600; }
.hx-after { display: flex; gap: 12px; align-items: flex-start; max-width: 720px; margin: 36px auto 12px; padding: 16px 20px; border-radius: 16px; background: var(--bg-alt); }
.hx-after svg { flex: none; width: 24px; height: 24px; color: var(--accent-text); }

/* Lineup */
.hx-lineup { display: grid; gap: 18px; }
@media (min-width: 760px) { .hx-lineup { grid-template-columns: repeat(2, 1fr); } .hx-product--hero { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .hx-lineup { grid-template-columns: 1.5fr 1fr 1fr; } .hx-product--hero { grid-column: auto; } }
.hx-product { display: grid; grid-template-rows: auto 1fr; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.hx-product-media { position: relative; display: block; height: 260px; overflow: hidden; background: linear-gradient(160deg, color-mix(in srgb, var(--orange) 10%, var(--bg-alt)), var(--bg-alt)); }
.hx-product-media::before { content: attr(data-word); position: absolute; inset: auto 0 6% 0; text-align: center; font: 800 clamp(4rem, 9vw, 6.5rem)/1 var(--font); letter-spacing: -.05em; color: var(--text); opacity: .06; pointer-events: none; }
.hx-product-media picture { position: absolute; inset: 0; display: block; }
.hx-product-media img { width: 100%; height: 100%; object-fit: cover; }
.hx-ribbon { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: var(--surface); color: var(--text); font-size: .78rem; font-weight: 700; box-shadow: var(--shadow); }
.hx-product-body { display: grid; gap: 10px; align-content: start; padding: 22px; }
.hx-product-body .eyebrow { margin: 0; }
.hx-product-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hx-product-row h3 { margin: 0; font-size: 1.35rem; }
.hx-price { margin: 0; font-weight: 800; font-size: 1.35rem; color: var(--text); }
.hx-product-body .small { margin: 0; }
.hx-product-body .btn { justify-self: start; margin-top: 6px; }
.hx-connected { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; padding: 18px 22px; border-radius: 20px; border: 1px dashed var(--line-strong); }
.hx-connected p { flex: 1 1 320px; margin: 0; color: var(--text-muted); }
.hx-connected strong { color: var(--text); }
.hx-connected-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-alt); color: var(--accent-text); }
.hx-connected-icon svg { width: 22px; height: 22px; }

/* Comparison */
.hx-compare-wrap { max-width: 820px; margin: 0 auto 16px; overflow-x: auto; }
.hx-compare { border-collapse: separate; border-spacing: 0; width: 100%; }
@media (max-width: 559px) { .hx-compare th, .hx-compare td { padding: 12px 8px !important; font-size: .9rem; } .hx-compare thead th { font-size: .85rem !important; } }
.hx-compare th, .hx-compare td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.hx-compare tbody th { text-align: left; font-weight: 600; }
.hx-compare thead th { font-size: 1rem; vertical-align: bottom; }
.hx-compare .hx-us { background: color-mix(in srgb, var(--orange) 9%, var(--surface)); }
.hx-compare thead .hx-us { border-radius: 18px 18px 0 0; color: var(--accent-text); font-size: 1.15rem; }
.hx-compare tbody tr:last-child .hx-us { border-radius: 0 0 18px 18px; }
.hx-yes, .hx-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.hx-yes { background: var(--safe); color: #fff; }
.hx-no { background: var(--bg-alt); color: var(--text-muted); border: 1px solid var(--line); }
.hx-yes svg, .hx-no svg { width: 16px; height: 16px; }

/* Testing band */
.hx-band { --bg: var(--navy); --text: #fff; --text-muted: #A9BFD6; --line: #1F4670; display: grid; gap: 24px; align-items: center; padding: 36px clamp(24px, 4vw, 48px); border-radius: 28px; background: linear-gradient(120deg, var(--navy), #123B66); color: #fff; }
@media (min-width: 900px) { .hx-band { grid-template-columns: auto 1fr auto; gap: 32px; } }
.hx-band h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: .3em; }
.hx-band p { color: #A9BFD6; margin: 0; }
.hx-band-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgb(255 255 255 / .08); color: #FF8A4C; }
.hx-band-icon svg { width: 32px; height: 32px; }
.hx-band-figures { display: flex; gap: 28px; }
.hx-band-figures div { display: grid; }
.hx-band-figures strong { font-size: 2.2rem; line-height: 1; color: #fff; }
.hx-band-figures span { color: #A9BFD6; font-size: .9rem; max-width: 12em; }

/* Achievements carousel */
.hx-carousel-nav { display: flex; gap: 8px; }
.hx-flip { transform: scaleX(-1); }
.hx-carousel { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 340px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.hx-carousel:focus-visible { outline-offset: 6px; }
.hx-ach { scroll-snap-align: start; display: grid; gap: 6px; align-content: start; }
.hx-ach img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; margin-bottom: 8px; }
.hx-ach-date { font: 700 .74rem/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
html[lang="bn"] .hx-ach-date { font: 600 .88rem/1.3 var(--font-bn); letter-spacing: 0; text-transform: none; }
.hx-ach strong { font-size: 1.02rem; line-height: 1.35; }

/* FAQ + final call */
@media (min-width: 900px) { .hx-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; } }
.hx-faq .hx-head .arrow-link { margin-top: 16px; }
.hx-final { display: grid; gap: 24px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 28px; background: radial-gradient(70% 120% at 100% 0%, color-mix(in srgb, var(--orange) 22%, transparent), transparent 60%), var(--bg-alt); border: 1px solid var(--line); }
@media (min-width: 900px) { .hx-final { grid-template-columns: 1.2fr auto; } }
.hx-final h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .25em; }
.hx-final p:last-child { color: var(--text-muted); margin: 0; }

/* Footer social icons ("coming soon" while a link is empty) */
.social { list-style: none; display: flex !important; flex-wrap: wrap; gap: 10px !important; margin-top: 18px; }
.social a, .social .is-soon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--text); }
.social a:hover { border-color: var(--accent); color: var(--accent-text); }
.social svg { width: 20px; height: 20px; }
.social .is-soon { opacity: .4; cursor: default; }


/* 19 · System animation (partials/system-animation.html) ---------------------
   One SVG kitchen drawn to scale from photos of the real devices; .sys-scene[data-step="0..5"]
   decides what is visible and moving. Gas uses the caution yellow and the alarm the danger red
   (status colours, never orange); VenGuard's own signals use the brand orange. */
.sys { display: grid; gap: 28px; }
@media (min-width: 960px) { .sys { grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; } .sys-stage { position: sticky; top: calc(var(--header-h) + 24px); } }
@media (max-width: 959px) { .sys-stage { position: sticky; top: var(--header-h); z-index: 2; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 10px; background: var(--bg); box-shadow: 0 8px 12px -10px rgb(0 0 0 / .25); } .sys-controls { margin-top: 8px; } }
.sys-scene { --tile: #F4EEE6; --grout: #E2D8CC; --board: #C9A27C; --grain: #B48C66; --cab: #EDE6DC; --cabline: #D6CBBD; --top: #9C8D7D; --frame: #F7F4EF;
  position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--tile); }
:root[data-theme="dark"] .sys-scene { --tile: #1B2A3A; --grout: #243649; --board: #3A2E25; --grain: #2E241D; --cab: #22303F; --cabline: #2E3F52; --top: #4A5A6B; --frame: #2A3A4C; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sys-scene { --tile: #1B2A3A; --grout: #243649; --board: #3A2E25; --grain: #2E241D; --cab: #22303F; --cabline: #2E3F52; --top: #4A5A6B; --frame: #2A3A4C; } }
.sys-scene svg { display: block; width: 100%; height: auto; }
.sys-tile { fill: var(--tile); } .sys-grout { fill: none; stroke: var(--grout); stroke-width: 1.5; }
.sys-light { fill: url(#sys-shadow); opacity: 0; }
.sys-floorboard { fill: var(--board); } .sys-grain { fill: none; stroke: var(--grain); stroke-width: 1.5; }
.sys-skirting { fill: var(--cabline); }
.sys-cabinet { fill: var(--cab); } .sys-cabinet-line { fill: none; stroke: var(--cabline); stroke-width: 2; }
.sys-knob { fill: var(--top); } .sys-worktop { fill: var(--top); }
.sys-burner { fill: #0E1217; stroke: #59626C; stroke-width: 1.5; }
.sys-flames path { fill: #3B82F6; opacity: .9; transform-box: fill-box; transform-origin: 50% 100%; animation: sys-flicker .9s ease-in-out infinite; transition: opacity .5s, transform .5s; }
.sys-flames path:nth-child(2) { fill: #60A5FA; animation-delay: .2s; } .sys-flames path:nth-child(3) { animation-delay: .4s; }
.sys-fan-frame { fill: var(--frame); stroke: var(--cabline); stroke-width: 3; }
.sys-fan-ring { fill: #11161C; } .sys-fan-blades path { fill: #8A96A3; } .sys-hub { fill: #C7CED6; }
.sys-fan-grille { stroke: rgb(255 255 255 / .18); stroke-width: 2; }
.sys-fan { transform-box: view-box; transform-origin: 908px 122px; }
.sys-cable { fill: none; stroke: #F1F1EE; stroke-width: 3; stroke-linecap: round; }
:root[data-theme="dark"] .sys-cable { stroke: #9AA7B5; }
.sys-socket { fill: #FAFAF7; stroke: #CFC8BD; stroke-width: 1.5; } .sys-socket-hole { fill: #555; }
.sys-shell { stroke: #CDBB92; stroke-width: 1; }
.sys-terminal { fill: #2B2B2B; }
.sys-emboss { font: 800 7px/1 var(--font); letter-spacing: .08em; fill: #BFAE87; }
.sys-foot { fill: #1F3341; } .sys-cyl-band { stroke: rgb(0 0 0 / .18); stroke-width: 2; fill: none; }
.sys-guard { fill: #2A4352; } .sys-guard-hole { fill: var(--tile); }
.sys-cyl-label { font: 800 30px/1 var(--font); fill: rgb(255 255 255 / .92); letter-spacing: .06em; }
.sys-cyl-sub { font: 600 14px/1 var(--font); fill: rgb(255 255 255 / .7); }
.sys-regulator { fill: #3C4650; } .sys-regulator-cap { fill: #C9CFD6; }
.sys-hose { fill: none; stroke: #2B2F33; stroke-width: 7; stroke-linecap: round; }
.sys-flow { fill: none; stroke: #F5C400; stroke-width: 2.4; stroke-dasharray: 6 14; stroke-linecap: round; opacity: .9; animation: sys-dash 1.1s linear infinite; transition: opacity .4s; }
.sys-barb { fill: #EDE2C6; stroke: #CDBB92; stroke-width: .8; }
.sys-enc-line { stroke: #CDBB92; stroke-width: 1; }
.sys-led--valve { fill: #1E9E5A; filter: drop-shadow(0 0 2px #2BD07A); }
.sys-valve-ring { fill: none; stroke: #D7263D; stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.sys-grille-rim { fill: #E9DCBA; stroke: #CDBB92; stroke-width: 1; }
.sys-grille { fill: none; stroke: #6B5E45; stroke-width: 1.6; stroke-dasharray: 4 2.5; }
.sys-grille-dot { fill: #6B5E45; }
.sys-led-bar { fill: #E9DCBA; stroke: #CDBB92; stroke-width: .8; }
.sys-led { transition: fill .3s, filter .3s; }
.sys-led--power { fill: #0F9D8A; filter: drop-shadow(0 0 3px #19C3AC); }
.sys-led--r { fill: #5A1F1F; } .sys-led--g { fill: #1E9E5A; filter: drop-shadow(0 0 2px #2BD07A); } .sys-led--y { fill: #5A4A10; }
.sys-check { fill: none; stroke: #F5C400; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 302; stroke-dashoffset: 302; opacity: 0; transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; }
.sys-gas, .sys-alarm, .sys-air, .sys-packet, .sys-out, .sys-leak { opacity: 0; transition: opacity .6s; }
.sys-haze { fill: #F5C400; opacity: .35; transform-box: fill-box; transform-origin: 30% 80%; transform: scale(.2); transition: transform 2.4s ease-out, opacity .8s; }
.sys-leak { fill: #F5C400; }
.sys-alarm circle { fill: none; stroke: #D7263D; stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; animation: sys-ring 1.4s ease-out infinite; }
.sys-alarm circle:nth-child(2) { animation-delay: .35s; } .sys-alarm circle:nth-child(3) { animation-delay: .7s; }
.sys-air { fill: none; stroke: var(--orange); stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; }
.sys-packet circle { fill: var(--orange); filter: drop-shadow(0 0 6px var(--orange)); }
.sys-packet { offset-rotate: 0deg; }
.sys-packet--relay { offset-path: path("M436 330 C 520 210, 660 116, 772 120"); }
.sys-packet--valve { offset-path: path("M396 330 C 360 250, 290 200, 238 200"); }
.sys-out circle { fill: #F5C400; opacity: .35; filter: blur(3px); animation: sys-out 1.8s ease-in infinite; }
.sys-out circle:nth-child(2) { animation-delay: .6s; } .sys-out circle:nth-child(3) { animation-delay: 1.2s; }

/* states */
.sys-scene:not([data-step="0"]) .sys-leak { opacity: 1; animation: sys-blink 1s ease-in-out infinite; }
.sys-scene:is([data-step="1"], [data-step="2"], [data-step="3"], [data-step="4"]) .sys-gas { opacity: 1; }
.sys-scene:is([data-step="1"], [data-step="2"], [data-step="3"], [data-step="4"]) .sys-haze { transform: scale(1); }
.sys-scene[data-step="1"] .sys-haze.h4 { transform: scale(.5); }
.sys-scene[data-step="2"] .sys-check { opacity: 1; animation: sys-countdown 2.6s linear forwards; }
.sys-scene[data-step="2"] .sys-led--y { fill: #F5C400; filter: drop-shadow(0 0 4px #F5C400); }
.sys-scene:is([data-step="3"], [data-step="4"], [data-step="5"]) .sys-led--r { fill: #FF3B4E; filter: drop-shadow(0 0 5px #FF3B4E); animation: sys-blink .6s steps(2) infinite; }
.sys-scene:not([data-step="0"]):not([data-step="1"]) .sys-led--g { fill: #1E3A2A; filter: none; }
.sys-scene:is([data-step="3"], [data-step="4"]) .sys-alarm { opacity: 1; }
.sys-scene:is([data-step="4"], [data-step="5"]) .sys-flow { opacity: 0; }
.sys-scene:is([data-step="4"], [data-step="5"]) .sys-flames path { opacity: 0; transform: scaleY(.2); }
.sys-scene:is([data-step="4"], [data-step="5"]) .sys-leak { opacity: 0; animation: none; }
.sys-scene[data-step="4"] .sys-air--valve, .sys-scene[data-step="4"] .sys-packet--valve { opacity: 1; }
.sys-scene[data-step="4"] .sys-packet--valve { animation: sys-fly 1.1s ease-in-out infinite; }
.sys-scene:is([data-step="4"], [data-step="5"]) .sys-led--valve { fill: #FF3B4E; filter: drop-shadow(0 0 3px #FF3B4E); }
.sys-scene[data-step="4"] .sys-valve-ring { animation: sys-ring 1.1s ease-out .6s infinite; }
.sys-scene[data-step="5"] .sys-air--relay, .sys-scene[data-step="5"] .sys-packet--relay, .sys-scene[data-step="5"] .sys-out { opacity: 1; }
.sys-scene[data-step="5"] .sys-packet--relay { animation: sys-fly 1.4s ease-in-out infinite; }
.sys-scene[data-step="5"] .sys-gas { opacity: .35; }
.sys-scene[data-step="5"] .sys-haze { transform: scale(.5); }
.sys-scene[data-step="5"] .sys-fan { animation: sys-spin .45s linear infinite; }
.sys-scene[data-step="5"] .sys-fan-blades path { fill: #B7C2CE; opacity: .8; }

/* labels on the drawing: component names at rest, events while it plays */
.sys-chip { position: absolute; padding: 4px 9px; border-radius: 999px; background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: clamp(.58rem, 1.25vw, .78rem); font-weight: 700; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; pointer-events: none; }
.sys-name { background: rgb(11 42 74 / .82); color: #fff; border-color: transparent; }
.sys-name--reg { left: 1%; top: 26%; } .sys-name--valve { left: 25%; top: 29%; } .sys-name--hose { left: 22%; top: 64%; }
.sys-name--det { left: 45%; top: 61%; } .sys-name--relay { left: 70%; top: 26%; }
.sys-chip--leak { left: 24%; top: 68%; } .sys-chip--det { left: 45%; top: 61%; } .sys-chip--alarm { left: 46%; top: 50%; }
.sys-chip--valve { left: 25%; top: 29%; } .sys-chip--rf { left: 31%; top: 40%; } .sys-chip--air { left: 50%; top: 25%; } .sys-chip--relay { left: 72%; top: 26%; }
.sys-scene[data-step="0"] .sys-name,
.sys-scene:is([data-step="1"], [data-step="2"], [data-step="3"]) .sys-chip--leak,
.sys-scene[data-step="2"] .sys-chip--det,
.sys-scene:is([data-step="3"], [data-step="4"]) .sys-chip--alarm,
.sys-scene:is([data-step="4"], [data-step="5"]) .sys-chip--valve,
.sys-scene[data-step="4"] .sys-chip--rf,
.sys-scene[data-step="5"] .sys-chip--air,
.sys-scene[data-step="5"] .sys-chip--relay { opacity: 1; transform: none; }

.sys-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.sys-controls .btn svg { width: 16px; height: 16px; }
.sys-dots { list-style: none; display: flex; gap: 8px; }
.sys-dots button { width: 28px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: var(--line-strong); cursor: pointer; }
.sys-dots button[aria-current="step"] { background: var(--orange); }
.sys-steps { list-style: none; display: grid; gap: 14px; }
.sys-steps li { position: relative; padding: 22px 22px 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); transition: border-color .25s, box-shadow .25s; }
@media (min-width: 960px) { .sys-steps li { min-height: 46vh; display: grid; align-content: center; } .sys-steps li:last-child { min-height: 40vh; } }
.sys-steps li.is-active { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), var(--shadow); }
.sys-steps h3 { margin: 4px 0 6px; font-size: 1.25rem; }
.sys-steps p { margin: 0; color: var(--text-muted); }
.sys-no { font: 700 .78rem/1 var(--font); letter-spacing: .12em; color: var(--accent-text); }

@keyframes sys-dash { to { stroke-dashoffset: -40; } }
@keyframes sys-flicker { 50% { transform: scale(.94, 1.06); } }
@keyframes sys-blink { 50% { opacity: .35; } }
@keyframes sys-ring { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes sys-countdown { to { stroke-dashoffset: 0; } }
@keyframes sys-fly { 0% { offset-distance: 0%; } 100% { offset-distance: 100%; } }
@keyframes sys-spin { to { transform: rotate(360deg); } }
@keyframes sys-out { 0% { transform: translate(0, 10px); opacity: 0; } 30% { opacity: .5; } 100% { transform: translate(90px, -10px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .sys-scene * { animation: none !important; transition: none !important; }
  .sys-scene[data-step="2"] .sys-check { stroke-dashoffset: 0; }
  .sys-scene .sys-packet { offset-distance: 100%; }
}

/* Hand-off panel (site.js handOff): shown while there is no order database */
.handoff { margin: 16px 0; padding: 18px 20px; border-radius: var(--r-lg); background: var(--bg-alt); border: 1px solid var(--accent); color: var(--text); }
.handoff p { margin: 0 0 12px; }
.handoff .btn-row { margin: 0; }

/* 20 · Site improvements, Oct 2026 --------------------------------------------
   Hero line, buildings band, pre-order summary card, installation diagram, What-if table. */
.hx-eyebrow { margin-bottom: 10px; }

.hx-b2b { display: grid; gap: 18px 32px; align-items: center; padding: 28px clamp(20px, 4vw, 40px); border-radius: 24px; border: 1px solid var(--line); background: var(--surface); }
.hx-b2b h2 { margin: 4px 0 8px; }
.hx-b2b p:last-child { margin: 0; color: var(--text-muted); }
.hx-b2b .btn-row { margin: 0; }
.hx-b2b .btn svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .hx-b2b { grid-template-columns: minmax(0, 1.4fr) auto; } .hx-b2b .btn-row { flex-direction: column; align-items: stretch; } }

/* Pre-order: form on the left, order summary on the right (summary below the form on phones) */
.checkout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .checkout { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); } .order-card { position: sticky; top: 96px; } }
.order-card { padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.order-card h2 { font-size: 1.25rem; margin: 0 0 12px; }
.order-card h3 { font-size: 1rem; margin: 18px 0 8px; }
.order-lines { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 0; margin: 0; }
.order-lines dt { margin: 0; }
.order-lines dd { margin: 0; padding-left: 16px; text-align: right; font-weight: 600; }
.order-lines .order-rest { padding-top: 8px; border-top: 1px solid var(--line); font-weight: 700; }
.order-delivery, .order-refund { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: .95rem; }
.order-delivery svg, .order-refund svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent-text); }
.order-steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; font-size: .95rem; }
.order-steps strong { display: block; }
.order-steps span { color: var(--text-muted); }
.order-card .arrow-link { display: inline-flex; margin-top: 14px; }

/* Checkout header: logo, language, theme and WhatsApp only */
.site-header--checkout .header-actions { margin-left: auto; }

/* Installation diagram (partials/install-diagram.html) */
.idg { margin: 0 0 28px; }
.idg svg { display: block; width: 100%; height: auto; max-height: 340px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.idg figcaption { margin-top: 8px; }
.idg-floor { stroke: var(--line-strong); stroke-width: 2; }
.idg-part { fill: var(--surface-2); stroke: var(--text-muted); stroke-width: 2; }
.idg-hose { fill: none; stroke: var(--text); stroke-width: 5; stroke-linecap: round; }
.idg-valve { fill: var(--accent); stroke: var(--accent); }
.idg-valve-box, .idg-detector, .idg-relay { fill: var(--surface); stroke: var(--text); stroke-width: 2; }
.idg-clamp { stroke: var(--text-muted); stroke-width: 3; }
.idg-flame { fill: var(--accent); opacity: .85; }
.idg-led { fill: var(--accent); }
.idg-fan { fill: var(--text-muted); }
.idg-wire { stroke: var(--text); stroke-width: 2; }
.idg-measure { stroke: var(--text-muted); stroke-width: 1.5; stroke-dasharray: 3 4; }
.idg-signal { fill: none; stroke: var(--accent-text); stroke-width: 2; stroke-dasharray: 6 6; }
.idg-label { fill: var(--text); font-size: 13px; font-family: inherit; }
.idg-strong { font-weight: 700; }
.idg-small { fill: var(--text-muted); font-size: 12px; font-family: inherit; }
.idg-sig { fill: var(--accent-text); }
.idg-num circle { fill: var(--navy); }
.idg-num text { fill: #fff; font-size: 12px; font-weight: 700; font-family: inherit; }
:root[data-theme="dark"] .idg-num circle { fill: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .idg-num circle { fill: var(--accent); } }

/* How it works: What-if table */
.whatif th[scope="row"] { width: 34%; font-weight: 700; }
.whatif th[scope="row"] svg { width: 20px; height: 20px; vertical-align: -4px; margin-right: 8px; color: var(--accent-text); }
.whatif thead th { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 640px) { .whatif, .whatif tbody, .whatif tr, .whatif th, .whatif td { display: block; width: auto; } .whatif thead { display: none; } .whatif th[scope="row"] { width: auto; border-bottom: 0; padding-bottom: 4px; } }
.whatif td { font-weight: 400; }

/* 21 · App guide (pages/app-guide.html): steps with numbered app screenshots --------- */
.ag .wrap { display: grid; gap: clamp(32px, 5vw, 56px); }
.ag-toc ol { margin: 0; padding-left: 1.3em; columns: 2 220px; column-gap: 32px; }
.ag-toc li { margin: 4px 0; break-inside: avoid; }
.ag-step { display: grid; gap: 24px; align-items: start; scroll-margin-top: calc(var(--header-h) + 16px); }
@media (min-width: 900px) { .ag-step { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } .ag-step:has(.ag-pics--3) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); } }
.ag-text { display: grid; gap: 12px; align-content: start; }
.ag-text h2 { display: flex; align-items: center; gap: 12px; margin: 0; }
.ag-text ol, .ag-text ul { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.ag-num { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 1.05rem; font-weight: 800; }
:root[data-theme="dark"] .ag-num { background: var(--orange); color: #07192C; }
.ag-pics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; justify-items: center; }
.ag-shot { margin: 0; width: 100%; max-width: 270px; }
.ag-shot img { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.ag-legend { list-style: none; padding-left: 0 !important; }
.ag-dot { display: inline-block; width: 14px; height: 14px; margin-right: 8px; border-radius: 4px; vertical-align: -2px; border: 2px solid; }
.ag-dot--safe { border-color: var(--safe); } .ag-dot--caution { border-color: var(--caution); } .ag-dot--danger { border-color: var(--gas-off); background: var(--gas-off); } .ag-dot--off { border-style: dashed; border-color: var(--text-muted); }
.ag-guide-card { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; text-decoration: none; color: var(--text); }
.ag-guide-card:hover { border-color: var(--line-strong); }
html[lang="bn"] .ag-toc ol, html[lang="bn"] .ag-text ol { list-style-type: bengali; }
.ag-shot a { display: block; border-radius: 22px; }

/* 22 · Star ratings (partials/footer.html, setupRatings() in site.js) ------- */
.rate { display: grid; gap: 16px 40px; padding-bottom: 40px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .rate { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } .rate-msg { grid-column: 1 / -1; } }
.rate h2 { margin-bottom: 6px; }
.rate-head p { margin: 0; max-width: 34em; }
.rate-rows { display: grid; gap: 4px; }
.rate-row { display: grid; gap: 0 20px; }
@media (min-width: 520px) { .rate-row { grid-template-columns: 13em auto; align-items: center; } }
.rate-row > span:first-child { color: var(--text); font-weight: 600; }
.stars { display: inline-flex; margin-left: -8px; }
.stars button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text-muted); cursor: pointer; }
.stars button svg { width: 28px; height: 28px; }
.stars button.is-on { color: var(--orange); }
.stars button.is-on svg { fill: currentColor; }
@media (hover: hover) {
  .stars:hover button { color: var(--orange); }
  .stars button:hover ~ button { color: var(--text-muted); }
}
.stars button:focus-visible { outline: 2px solid var(--accent-text); outline-offset: -2px; }
.rate-msg { margin: 0; min-height: 1.4em; color: var(--text); }
.rate-msg:empty { display: none; }

/* 23 · Picture viewer (a[data-zoom], setupZoom() in site.js) --------------- */
.zoom { max-width: 96vw; max-height: 94vh; padding: 0; border: 0; border-radius: 22px; background: transparent; overflow: visible; }
.zoom::backdrop { background: rgb(7 25 44 / .82); }
.zoom img { display: block; max-width: 96vw; max-height: 94vh; width: auto; height: auto; border-radius: 22px; }
.zoom-x { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 1.15rem; cursor: pointer; box-shadow: 0 2px 10px rgb(0 0 0 / .35); }
.zoom-x:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* 24 · Products, business pages, assessment form, floating WhatsApp ------- */
/* Hero: the business path under the pre-order button */
.hx-b2b-link { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: .95rem; color: var(--text-muted); }
.hx-b2b-link svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.hx-b2b-link a { color: var(--accent-text); font-weight: 600; }
.hx-b2b-paths { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0 0; }
.hx-b2b-paths a { display: inline-flex; gap: 8px; align-items: center; color: var(--text); font-weight: 600; text-decoration: none; }
.hx-b2b-paths a:hover { color: var(--accent-text); }
.hx-b2b-paths svg { width: 18px; height: 18px; color: var(--accent); }

/* Products: editions and parts */
.edition { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.edition .tag { margin-bottom: 14px; }
.tag--live { background: var(--invert-bg); color: var(--invert-text); border-color: transparent; }
.edition .btn-row { margin-top: auto; padding-top: 12px; }
.edition-price { color: var(--text) !important; }
.parts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.part img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: var(--r); background: #EEF1F4; margin-bottom: 16px; }
.part-icon { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r); background: var(--bg-alt); color: var(--accent); margin-bottom: 16px; }
.part-icon svg { width: 34%; height: auto; stroke-width: 1.5; }
.part-price { color: var(--text) !important; font-weight: 700; }
.part-price .small { font-weight: 400; color: var(--text-muted); }

/* Business hub: one card per audience */
.path { display: flex; flex-direction: column; gap: 4px; color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.path:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.path h2 { font-size: 1.3rem; margin: 0 0 4px; }
.path .arrow-link { margin-top: auto; padding-top: 8px; }
.steps-cards { list-style: none; padding: 0; }
.steps-cards .ag-num { margin-bottom: 12px; }
.installer { display: flex; gap: 16px; align-items: flex-start; }
.installer .icon { flex: none; margin: 0; }
.installer p { margin-bottom: 0; }

/* Site assessment: intro and booking on the left, form on the right */
.assess { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .assess { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .assess-intro { position: sticky; top: calc(var(--header-h) + 24px); } }
.assess-steps { padding-left: 1.3em; margin: 16px 0 20px; }
.assess-steps li { margin-bottom: 6px; }
html[lang="bn"] .assess-steps { list-style-type: bengali; }
.ag-when { margin-bottom: 8px; }

/* Floating WhatsApp: bottom right; above the phone action bar; hidden while the cookie bar is open */
.wa-float { position: fixed; z-index: 45; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgb(7 25 44 / .35); border: 2px solid #fff; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
@media (max-width: 719px) { body.has-mobile-cta .wa-float { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
body:has(.consent.is-visible) .wa-float { display: none; }
@media print { .wa-float { display: none; } }
