/* ───────────────────────────────────────────────────────────────────────────
   Demo bank website - theme
   SmartData Technologies Limited

   No bank-specific value belongs in this file. Brand colours arrive from
   theme/brand.css, which build.py writes from banks/<pack>/brand.yaml.

   Fonts load from Google but every stack falls back to a system face, because
   a demo in a bank's meeting room often has no internet.
   ─────────────────────────────────────────────────────────────────────────── */

:root {
  /* ── THE BANK'S COLOURS ARE THE BANK'S COLOURS ────────────────────────────
     `only light` tells the browser to leave this page alone. Without it,
     Chrome's force-dark inverts a bank's public website into a set of greys
     nobody at that bank has ever approved - and the one thing this site has to
     be is recognisably theirs.
     The contact centre and the admin console are the opposite case: they are
     TOOLS, stared at for eight hours, and both carry a real dark theme. */
  color-scheme: only light;
  --paper:   #ffffff;
  --mist:    #f5f8fc;
  --mist-2:  #eef3f9;
  --line:    #e3eaf3;
  --line-2:  #d3dde9;
  --text:    #0f2233;
  --text-2:  #52657a;
  --text-3:  #7d8fa3;

  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(15,34,51,.05), 0 1px 3px rgba(15,34,51,.04);
  --shadow:    0 2px 4px rgba(15,34,51,.04), 0 10px 24px -8px rgba(15,34,51,.10);
  --shadow-lg: 0 4px 8px rgba(15,34,51,.05), 0 24px 56px -16px rgba(15,34,51,.20);
  --shadow-xl: 0 8px 16px rgba(15,34,51,.06), 0 48px 96px -24px rgba(15,34,51,.28);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --bn:   "Hind Siliguri", "Noto Sans Bengali", "Nirmala UI", var(--sans);
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1180px;
  --gutter: 24px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ── reset ───────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv02","cv03","cv04","ss01";
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brand-100); color: var(--brand-900); }

/* Bangla needs a different face and a little more leading. */
[lang="bn"], .bn { font-family: var(--bn); line-height: 1.85; }

/* ── layout ──────────────────────────────────────────────────────────────── */

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 8vw, 116px); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: clamp(48px, 5vw, 72px); }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* body column plus a sidebar, which collapses rather than squeezing */
.split { grid-template-columns: 1.35fr .95fr; gap: 52px; align-items: start; }
.split > aside { position: sticky; top: 100px; }

@media (max-width: 940px) {
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split > aside { position: static; }
}
@media (max-width: 620px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
}

/* ── type ────────────────────────────────────────────────────────────────── */

h1, h2, h3, h4 { font-weight: 640; letter-spacing: -.022em; line-height: 1.14; }

.display {
  font-size: clamp(2.25rem, 4.4vw, 3.55rem);
  font-weight: 680;
  letter-spacing: -.033em;
  line-height: 1.08;
}
.h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); letter-spacing: -.028em; }
.h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -.018em; }

.lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--text-2); line-height: 1.65; }
.muted { color: var(--text-2); }
.small { font-size: .875rem; }
.tiny  { font-size: .78rem; }

.eyebrow {
  font-size: .74rem;
  font-weight: 620;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow--light { color: var(--sky); }

.measure { max-width: 62ch; }
.measure-sm { max-width: 48ch; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .h2 { margin-block: 12px 14px; }

/* ── buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 100px;
  font-weight: 570;
  font-size: .95rem;
  letter-spacing: -.005em;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), color .22s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--brand-800); box-shadow: var(--shadow-lg); }

.btn--light { background: #fff; color: var(--brand-900); box-shadow: var(--shadow); }
.btn--light:hover { box-shadow: var(--shadow-lg); }

.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--ghost-light { border: 1px solid rgba(255,255,255,.34); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.6); }

.btn--sm { padding: 9px 17px; font-size: .875rem; }

.link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--brand); font-weight: 560;
  transition: gap .22s var(--ease);
}
.link:hover { gap: 12px; }
.link svg { transition: transform .22s var(--ease); }

/* ── header ──────────────────────────────────────────────────────────────── */

.topbar {
  background: var(--brand-900);
  color: rgba(255,255,255,.82);
  font-size: .8rem;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 26px; height: 38px;
}
.topbar a { transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar__hot { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 560; }

.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -14px rgba(15,34,51,.28); }
.header .wrap { display: flex; align-items: center; gap: 30px; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-900) 100%);
  color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: -.02em;
  box-shadow: var(--shadow-sm);
}
.brand__name { font-weight: 640; letter-spacing: -.022em; line-height: 1.15; font-size: 1.02rem; }
.brand__sub { font-size: .7rem; color: var(--text-3); letter-spacing: .04em; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 9px 14px; border-radius: 9px;
  font-size: .93rem; font-weight: 520; color: var(--text-2);
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--brand); background: var(--brand-50); }
.nav a.is-here { color: var(--brand); font-weight: 600; }

.header__end { display: flex; align-items: center; gap: 10px; }

.lang {
  display: flex; border: 1px solid var(--line-2); border-radius: 100px;
  padding: 3px; gap: 2px;
}
.lang button {
  padding: 5px 13px; border-radius: 100px;
  font-size: .8rem; font-weight: 570; color: var(--text-2);
  transition: background-color .2s, color .2s;
}
.lang button.is-on { background: var(--brand); color: #fff; }

.burger { display: none; padding: 8px; border-radius: 9px; }
.burger:hover { background: var(--mist); }

@media (max-width: 1040px) {
  .nav, .header__end .btn { display: none; }
  .burger { display: block; margin-left: auto; }
  .header__end { margin-left: 0; }
}

.drawer {
  position: fixed; inset: 0; z-index: 70;
  background: var(--paper);
  padding: 24px var(--gutter);
  display: none; flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.drawer.is-open { display: flex; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.drawer a {
  padding: 15px 4px; font-size: 1.15rem; font-weight: 560;
  border-bottom: 1px solid var(--line);
}

/* ── hero ────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 620px at 82% -8%, var(--brand-600) 0%, transparent 58%),
    radial-gradient(820px 460px at 4% 112%, var(--sky) 0%, transparent 62%),
    linear-gradient(158deg, var(--brand-900) 0%, var(--brand-800) 52%, var(--brand-900) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
/* A faint grid. It reads as engineering rather than decoration, which is the
   note we want in front of a bank. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 82% 66% at 50% 32%, #000 32%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 82% 66% at 50% 32%, #000 32%, transparent 78%);
}
.hero__inner {
  display: grid; grid-template-columns: 1.18fr .82fr;
  gap: 56px; align-items: center;
  padding-block: clamp(64px, 8vw, 108px) clamp(96px, 11vw, 150px);
}
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
}

.hero .display { color: #fff; }
.hero .lede { color: rgba(255,255,255,.80); margin-top: 20px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__note {
  margin-top: 30px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; gap: 10px 30px;
  color: rgba(255,255,255,.68); font-size: .84rem;
}
.hero__note b { color: #fff; font-weight: 600; }

/* the card object */
.cardart { perspective: 1400px; display: grid; place-items: center; }
.cardart__card {
  width: min(390px, 100%); aspect-ratio: 1.586;
  border-radius: 20px; padding: 26px;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(255,255,255,.20) 0%, rgba(255,255,255,.04) 46%, rgba(255,255,255,.13) 100%),
    linear-gradient(150deg, var(--brand-800), var(--brand-900));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 40px 80px -28px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.28);
  transform: rotateY(-15deg) rotateX(7deg) rotateZ(-2deg);
  transition: transform .7s var(--ease);
}
.cardart:hover .cardart__card { transform: rotateY(-6deg) rotateX(3deg) rotateZ(-1deg); }
.cardart__row { display: flex; align-items: center; justify-content: space-between; }
.cardart__chip {
  width: 44px; height: 33px; border-radius: 6px;
  background: linear-gradient(135deg, #e8cf8a, #b9922f 48%, #f2e2ae);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.14);
}
.cardart__num {
  font-family: var(--mono); font-size: 1.06rem; letter-spacing: .13em;
  color: rgba(255,255,255,.94);
}
.cardart__lbl { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.cardart__val { font-size: .85rem; font-weight: 560; letter-spacing: .04em; color: rgba(255,255,255,.94); }
.cardart__net { font-weight: 700; font-style: italic; font-size: 1.25rem; letter-spacing: -.02em; color: rgba(255,255,255,.96); }

/* ── quick actions, overlapping the hero ─────────────────────────────────── */

.quick { margin-top: clamp(-72px, -6vw, -54px); position: relative; z-index: 5; }
.quick__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
@media (max-width: 940px) { .quick__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .quick__grid { grid-template-columns: 1fr; } }

.qtile {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px 22px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s;
}
.qtile:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: var(--brand-100); }
.qtile__icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand);
}
.qtile__t { font-weight: 610; letter-spacing: -.015em; }
.qtile__d { font-size: .85rem; color: var(--text-2); line-height: 1.5; }

/* ── the ask band - where the widget is sold ─────────────────────────────── */

.ask {
  background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%);
}
.ask__box { max-width: 780px; margin-inline: auto; text-align: center; }
.ask__field {
  margin-top: 30px;
  display: flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--line-2);
  border-radius: 100px; padding: 8px 8px 8px 24px;
  box-shadow: var(--shadow-lg);
  transition: border-color .24s, box-shadow .24s;
}
.ask__field:hover, .ask__field:focus-within {
  border-color: var(--brand); box-shadow: var(--shadow-xl);
}
.ask__field input {
  flex: 1; border: 0; outline: 0; background: none;
  font-size: 1.02rem; padding-block: 12px; min-width: 0;
}
.ask__field input::placeholder { color: var(--text-3); }
.ask__mic {
  width: 46px; height: 46px; border-radius: 100px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--mist); color: var(--brand);
  transition: background-color .2s, color .2s, transform .2s;
}
.ask__mic:hover { background: var(--brand-50); transform: scale(1.06); }

.chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 20px; }
.chip {
  padding: 8px 16px; border-radius: 100px;
  border: 1px solid var(--line-2); background: var(--paper);
  font-size: .855rem; color: var(--text-2);
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); transform: translateY(-1px); }

/* ── cards grid ──────────────────────────────────────────────────────────── */

.pcard {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }
.pcard__art {
  aspect-ratio: 1.9; position: relative; padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(140deg, var(--brand-800), var(--brand-900));
  color: #fff;
}
.pcard__art::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 220px at 88% 8%, rgba(255,255,255,.18), transparent 62%);
}
.pcard--credit  .pcard__art { background: linear-gradient(140deg, var(--brand), var(--brand-900)); }
.pcard--debit   .pcard__art { background: linear-gradient(140deg, var(--sky), var(--brand-800)); }
.pcard--premium .pcard__art { background: linear-gradient(140deg, #35404d, #0d1218); }
.pcard__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__body .h3 { font-size: 1.08rem; }
.pcard__foot { margin-top: auto; padding-top: 14px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 100px;
  font-size: .7rem; font-weight: 620; letter-spacing: .07em; text-transform: uppercase;
  background: var(--brand-50); color: var(--brand-800);
}
.tag--dark { background: rgba(255,255,255,.16); color: #fff; }
.tag--line { background: transparent; border: 1px solid var(--line-2); color: var(--text-2); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }

.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; }
.filters .chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ── tables ──────────────────────────────────────────────────────────────── */

.tablewrap {
  overflow-x: auto; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--paper);
  box-shadow: var(--shadow-sm);
}
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
thead th {
  text-align: left; padding: 15px 18px; white-space: nowrap;
  background: var(--mist); color: var(--text-2);
  font-size: .72rem; font-weight: 640; letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
tbody td { padding: 15px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background-color .16s; }
tbody tr:hover { background: var(--mist); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ccy { font-weight: 640; letter-spacing: .02em; }

/* ── stats ───────────────────────────────────────────────────────────────── */

.stat { padding: 26px 0; }
.stat__n {
  font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 680;
  letter-spacing: -.035em; color: var(--brand); line-height: 1;
}
.stat__l { margin-top: 9px; color: var(--text-2); font-size: .92rem; }

/* ── panels, notes ───────────────────────────────────────────────────────── */

.panel {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
}
.panel--mist { background: var(--mist); border-color: transparent; }

.note {
  border-left: 3px solid var(--brand); background: var(--brand-50);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9rem; color: var(--text-2);
}

.dl { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.dl > div { background: var(--paper); padding: 15px 18px; display: flex; justify-content: space-between; gap: 20px; }
.dl dt { color: var(--text-2); font-size: .9rem; }
.dl dd { font-weight: 570; text-align: right; }

/* ── the dark call band ──────────────────────────────────────────────────── */

.band {
  background: linear-gradient(150deg, var(--brand-900), var(--brand-800) 62%, var(--brand-900));
  color: #fff; position: relative; overflow: hidden;
}
.band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(720px 380px at 84% 10%, rgba(255,255,255,.10), transparent 60%);
}
.band .wrap { position: relative; z-index: 1; }
.band .lede { color: rgba(255,255,255,.78); }
.band .h2 { color: #fff; }

.hotline {
  display: inline-flex; align-items: baseline; gap: 12px;
  font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 690;
  letter-spacing: -.035em; color: #fff;
}
.hotline span { font-size: .9rem; font-weight: 500; letter-spacing: .06em; color: rgba(255,255,255,.62); }

/* ── footer ──────────────────────────────────────────────────────────────── */

.footer { background: #0b1723; color: rgba(255,255,255,.62); font-size: .9rem; }
.footer .wrap { padding-block: 64px 28px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 {
  color: #fff; font-size: .74rem; font-weight: 640;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px;
}
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer__bar {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.45);
}

/* The demo watermark. It is never removed: putting an unmarked copy of a
   bank's website on the internet is not something we do. */
.demobar {
  background: #111c28; color: rgba(255,255,255,.72);
  font-size: .76rem; letter-spacing: .01em;
}
.demobar .wrap {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  align-items: center; justify-content: center;
  padding-block: 10px; text-align: center;
}
.demobar b { color: #fff; font-weight: 600; }

/* ── page header for inner pages ─────────────────────────────────────────── */

.phead {
  background: linear-gradient(160deg, var(--brand-900), var(--brand-800));
  color: #fff; padding-block: clamp(52px, 6vw, 84px);
  position: relative; overflow: hidden;
}
.phead::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 340px at 88% -10%, rgba(255,255,255,.13), transparent 62%);
}
.phead .wrap { position: relative; z-index: 1; }
.phead .lede { color: rgba(255,255,255,.76); margin-top: 14px; }

.crumb { display: flex; gap: 9px; font-size: .82rem; color: rgba(255,255,255,.58); margin-bottom: 16px; }
.crumb a:hover { color: #fff; }

/* ── motion ──────────────────────────────────────────────────────────────── */

/* Gated on .js so that with scripting off - or if app.js fails to load in a
   bank's locked-down browser - every element is simply visible. Hiding content
   by default and revealing it with script is how a demo ends up blank. */
html.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

/* ── language switching ──────────────────────────────────────────────────── */

html[data-lang="bn"] [data-en] { display: none; }
html[data-lang="en"] [data-bn] { display: none; }
html[data-lang="bn"] body { font-family: var(--bn); }

/* ── utility ─────────────────────────────────────────────────────────────── */

.stack { display: grid; gap: 14px; }
.stack-lg { display: grid; gap: 26px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-3 { margin-top: 18px; } .mt-5 { margin-top: 34px; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
