/* EduFusion website
   tokens → base → layout → components → sections (home) → inner pages → insights → bangla → responsive → motion */

/* ---------- Tokens ---------- */
:root {
  --ef-blue: #0d4da1;
  --ef-primary: #346fef;
  --ef-primary-dark: #2559d6;
  --ef-violet: #6c5ce7;
  --ef-purple: #2d0b4e;
  --ef-navy: #0b3d91;
  --ef-amber: #f9a825;
  --ef-amber-dark: #f59e0b;
  --ef-green: #10b981;
  --ef-red: #ef4444;
  --ef-pink: #ec4899;
  --ef-cyan: #06b6d4;

  --ef-grad-hero: linear-gradient(120deg, #0b3d91 0%, #3b2a9e 55%, #6c5ce7 100%);
  --ef-grad-band: linear-gradient(160deg, #2d0b4e 0%, #0b3d91 100%);
  --ef-grad-pill: linear-gradient(90deg, #346fef, #6c5ce7);
  --ef-grad-amber: linear-gradient(90deg, #f9a825, #f59e0b);

  --ef-bg: #ffffff;
  --ef-bg-alt: #f4f7fa;
  --ef-text: #0f172a;
  --ef-text-2: #334155;
  --ef-muted: #64748b;
  --ef-border: #e2e8f0;
  --ef-radius: 16px;
  --ef-radius-sm: 10px;
  --ef-radius-lg: 24px;
  --ef-shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --ef-shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .28);

  --font-head: 'Outfit', 'Hind Siliguri', system-ui, sans-serif;
  --font-body: 'Inter', 'Hind Siliguri', system-ui, sans-serif;
  --header-h: 72px;
  /* Side margin of every section: grows with the screen, from 16px on phones to 250px at 1920px (see Layout) */
  --gutter: 16px;
  /* The widest the content gets, on 2560px and 4K screens */
  --container: 1920px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ef-text-2);
  background: var(--ef-bg);
  overflow-x: hidden;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ef-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ef-text); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ef-amber); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 2000; background: #fff; color: var(--ef-text); padding: 10px 16px; border-radius: 10px; box-shadow: var(--ef-shadow); }
.skip:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
/* Margins by screen: 16px phones, 24px large phones, 32px tablets, then rising evenly from 32px at 1024px to 250px at
   1920px (about 94px at 1280, 133px at 1440). Above that the content stops at 1920px and stays centred. */
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 900px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: clamp(32px, calc(24.33vw - 217px), 250px); } }
.section { padding: clamp(56px, 8vw, 100px) 0; position: relative; }
.section--alt { background: var(--ef-bg-alt); }
.section--band { background: var(--ef-grad-band); color: #e2e8f0; overflow: hidden; overflow: clip; }
.section--band h2, .section--band h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--ef-muted); font-size: 1.08rem; }
.section--band .section-head p { color: #cbd5e1; }
.grid { display: grid; gap: 24px; }

/* ---------- Components ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ef-primary); color: #fff; box-shadow: 0 10px 24px -8px rgba(52, 111, 239, .55); }
.btn--primary:hover { background: var(--ef-primary-dark); }
.btn--amber { background: var(--ef-amber); color: #1e1b16; box-shadow: 0 10px 24px -8px rgba(249, 168, 37, .6); }
.btn--light { background: #fff; color: var(--ef-navy); }
.btn--outline { border-color: var(--ef-border); color: var(--ef-text); background: #fff; }
.btn--outline:hover { border-color: var(--ef-primary); color: var(--ef-primary); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; border-radius: 10px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border-radius: 999px;
  background: var(--ef-grad-pill); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  box-shadow: 0 8px 20px -10px rgba(108, 92, 231, .8); margin-bottom: 14px;
}
.pill--amber { background: var(--ef-grad-amber); color: #1e1b16; box-shadow: 0 8px 20px -10px rgba(249, 168, 37, .8); }
.pill--light { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); box-shadow: none; }
.kicker { font-family: var(--font-head); font-weight: 700; color: var(--ef-amber); letter-spacing: .02em; margin-bottom: 8px; }
.mark { background: var(--ef-amber); color: #1e1b16; padding: 0 .3em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; font-family: var(--font-head); background: #eef2ff; color: var(--ef-violet); }
.chip--academics { background: #eff6ff; color: #1d4ed8; }
.chip--finance { background: #ecfdf5; color: #047857; }
.chip--communication { background: #fdf2f8; color: #be185d; }
.chip--administration { background: #fff7ed; color: #c2410c; }
.card { background: #fff; border: 1px solid var(--ef-border); border-radius: var(--ef-radius); box-shadow: var(--ef-shadow); }
.icon-tile {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: #fff;
  background: var(--ef-grad-pill); box-shadow: 0 10px 20px -10px rgba(52, 111, 239, .8); flex: none;
}
.icon-tile .icon { width: 26px; height: 26px; }
.icon-tile--amber { background: var(--ef-grad-amber); color: #1e1b16; }
.icon-tile--green { background: linear-gradient(135deg, #10b981, #059669); }
.icon-tile--pink { background: linear-gradient(135deg, #ec4899, #db2777); }
.icon-tile--cyan { background: linear-gradient(135deg, #06b6d4, #0891b2); }

/* Device frames that hold real screenshots */
.device { position: relative; }
.device--browser { border-radius: 14px; background: #fff; box-shadow: var(--ef-shadow-lg); overflow: hidden; border: 1px solid rgba(15, 23, 42, .08); }
.device--browser::before {
  content: ''; display: block; height: 28px; background: #f1f5f9 radial-gradient(circle at 16px 14px, #f87171 5px, transparent 6px),
    radial-gradient(circle at 34px 14px, #fbbf24 5px, transparent 6px), radial-gradient(circle at 52px 14px, #34d399 5px, transparent 6px);
  background-color: #f1f5f9; border-bottom: 1px solid var(--ef-border);
}
.device--browser img { width: 100%; }
.device--phone { width: 100%; max-width: 230px; border-radius: 34px; padding: 10px; background: #0f172a; box-shadow: var(--ef-shadow-lg); }
.device--phone img { border-radius: 26px; width: 100%; }

/* ---------- Language loading screen ---------- */
.lang-loader {
  position: fixed; inset: 0; z-index: 3000; display: none; place-items: center; background: #fff;
  font-family: 'Hind Siliguri', var(--font-body);
}
.lang-loading .lang-loader { display: grid; }
.lang-loading .site { visibility: hidden; }
.lang-loader__box { display: grid; justify-items: center; gap: 18px; text-align: center; color: var(--ef-text); }
.lang-loader__logo { width: 64px; height: 64px; }
.lang-loader__spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid #e0e7ff; border-top-color: var(--ef-primary); animation: spin .8s linear infinite; }
.lang-loader__text { font-size: 1.1rem; font-weight: 600; }
.lang-loader__bar { width: 180px; height: 4px; border-radius: 4px; background: #e0e7ff; overflow: hidden; }
.lang-loader__bar span { display: block; width: 40%; height: 100%; background: var(--ef-grad-pill); animation: bar 1.1s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.notice {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2500; display: flex; align-items: center; gap: 12px;
  max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 12px; background: #0f172a; color: #fff; box-shadow: var(--ef-shadow-lg);
}
.notice button { background: var(--ef-amber); color: #1e1b16; border: 0; border-radius: 8px; padding: 6px 12px; font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--header-h); color: #fff;
  transition: background-color .25s ease, box-shadow .25s ease, color .25s ease, height .25s ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .97); color: var(--ef-text); box-shadow: 0 6px 24px -14px rgba(15, 23, 42, .35); backdrop-filter: blur(10px); --header-h: 64px; }
.site-header__bar { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none !important; flex: none; }
.brand__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); }
.brand__mark img { width: 34px; height: 34px; }
.brand__word { font-family: 'Montserrat', var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1; }
.brand__edu { color: #fff; }
.is-scrolled .brand__edu, .site-footer .brand__edu--dark { color: var(--ef-blue); }
.brand__fusion { color: var(--ef-amber); }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__list > li { position: relative; }
.nav__link, .nav__mega-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px; color: inherit;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; background: none; border: 0; text-decoration: none !important;
}
.nav__link:hover, .nav__mega-btn:hover, .nav__link[aria-current="page"] { background: rgba(255, 255, 255, .14); }
.is-scrolled .nav__link:hover, .is-scrolled .nav__mega-btn:hover, .is-scrolled .nav__link[aria-current="page"] { background: #eef2ff; color: var(--ef-primary); }
.nav__mega-btn .icon { transition: transform .2s ease; }
.nav__has-mega.is-open .nav__mega-btn .icon { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-login { color: inherit; font-family: var(--font-head); font-weight: 600; padding: 8px 10px; }
.is-scrolled .header-cta { background: var(--ef-primary); color: #fff; }

.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); }
.is-scrolled .lang-switch, .drawer .lang-switch { background: #f1f5f9; border-color: var(--ef-border); }
.lang-switch button { border: 0; background: none; color: inherit; padding: 5px 11px; border-radius: 999px; font-weight: 700; font-size: .85rem; line-height: 1.2; }
.lang-switch button[lang="bn"] { font-family: 'Hind Siliguri', var(--font-body); }
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--ef-navy); box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.is-scrolled .lang-switch button[aria-pressed="true"], .drawer .lang-switch button[aria-pressed="true"] { background: var(--ef-primary); color: #fff; }

/* Mega menu (opens on hover or focus without JS; JS adds click and Escape) */
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; width: min(980px, calc(100vw - 32px)); transform: translateX(-38%);
  background: #fff; color: var(--ef-text); border-radius: 18px; box-shadow: var(--ef-shadow-lg); border: 1px solid var(--ef-border);
  padding: 22px; display: none; z-index: 1100;
}
.mega::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav__has-mega:hover .mega, .nav__has-mega:focus-within .mega, .nav__has-mega.is-open .mega { display: block; }
.nav__has-mega.is-closed .mega { display: none; }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mega__heading { font-family: var(--font-head); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ef-muted); margin-bottom: 8px; }
.mega__list { list-style: none; display: grid; gap: 2px; }
.mega__link { display: flex; gap: 10px; align-items: flex-start; padding: 8px; border-radius: 10px; color: var(--ef-text); text-decoration: none !important; }
.mega__link:hover { background: #f5f7ff; }
.mega__icon { width: 22px; height: 22px; color: var(--ef-primary); margin-top: 2px; }
.mega__title { display: block; font-weight: 700; font-family: var(--font-head); font-size: .95rem; line-height: 1.3; }
.mega__desc { display: block; font-size: .8rem; color: var(--ef-muted); line-height: 1.4; }
.mega__foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ef-border); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mega__foot a { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.mega__foot-links { display: inline-flex; gap: 18px; flex-wrap: wrap; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .12); color: inherit; place-items: center; }
.is-scrolled .burger { border-color: var(--ef-border); background: #fff; }
.drawer { position: fixed; inset: 0; z-index: 1500; background: rgba(15, 23, 42, .5); }
.drawer[hidden] { display: none; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 100%); background: #fff; color: var(--ef-text); display: flex; flex-direction: column; overflow-y: auto; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--ef-border); }
.drawer__top .brand__edu { color: var(--ef-blue); }
.drawer__close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--ef-border); background: #fff; display: grid; place-items: center; }
.drawer__nav { padding: 8px 16px; display: grid; }
.drawer__nav > a, .drawer__nav summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid #f1f5f9; font-family: var(--font-head); font-weight: 700; color: var(--ef-text); font-size: 1.05rem; list-style: none; cursor: pointer; }
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav details[open] summary .icon { transform: rotate(180deg); }
.drawer__sub { list-style: none; padding: 6px 0 12px; display: grid; gap: 2px; }
.drawer__sub a { display: flex; gap: 10px; align-items: center; padding: 9px 6px; color: var(--ef-text-2); border-radius: 8px; font-weight: 500; }
.drawer__sub .icon { color: var(--ef-primary); }
.drawer__bottom { margin-top: auto; padding: 16px; display: grid; gap: 12px; border-top: 1px solid var(--ef-border); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: var(--ef-grad-hero); color: #e2e8f0; padding: calc(var(--header-h) + 40px) 0 140px; overflow: hidden; overflow: clip; isolation: isolate; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; z-index: -1; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -160px; background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 65%); }
.hero::after { width: 420px; height: 420px; left: -160px; bottom: 40px; background: radial-gradient(circle, rgba(249, 168, 37, .18), transparent 65%); }
.hero__viewport { position: relative; display: grid; touch-action: pan-y; }
/* Every slide sits in the same cell: the hero keeps the tallest slide's height, so nothing jumps */
.hero__slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: 460px; }
.hero__slide:not(.is-active) { visibility: hidden; opacity: 0; pointer-events: none; }
.hero__copy h1, .hero__copy .hero__title { color: #fff; font-size: clamp(2rem, 4.4vw, 3.5rem); font-family: var(--font-head); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; margin: 0 0 16px; }
.hero__sub { font-size: 1.12rem; color: #e2e8f0; margin-bottom: 18px; }
.hero__checks { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.hero__checks li { display: flex; gap: 10px; align-items: flex-start; color: #f1f5f9; }
.hero__checks .icon { color: var(--ef-amber); margin-top: 2px; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--ef-amber); color: #1e1b16; font-weight: 700; font-family: var(--font-head); padding: 8px 16px; border-radius: 10px; margin-bottom: 22px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
/* Text and controls sit above the glow behind the picture: on phones the glow is taller than the picture */
.hero__copy, .hero__controls { position: relative; z-index: 1; }
.hero__visual { position: relative; display: grid; place-items: center; }
.hero__blob { position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #8b7cf6, #4f46e5 55%, #312e81); opacity: .55; filter: blur(2px); }
.hero__visual .device--browser { width: 100%; max-width: 560px; transform: rotate(-1.5deg); }
.hero__visual .device--phone { max-width: 220px; }
.hero__float {
  position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ef-text); border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--ef-shadow-lg); font-family: var(--font-head); font-weight: 700; font-size: .9rem; line-height: 1.2;
}
.hero__float .icon-tile { width: 36px; height: 36px; border-radius: 10px; }
.hero__float .icon-tile .icon { width: 20px; height: 20px; }
.hero__float small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--ef-muted); font-size: .78rem; }
.hero__float--a { left: -4%; bottom: 14%; }
.hero__float--b { right: -2%; top: 8%; }
.hero__controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; }
.hero__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; }
.hero__arrow:hover { background: rgba(255, 255, 255, .22); }
.hero__dots { display: flex; gap: 8px; }
.hero__dot { width: 12px; height: 12px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .4); padding: 0; transition: width .3s ease, background-color .3s ease; }
.hero__dot[aria-current="true"] { width: 30px; background: var(--ef-amber); }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 110px; color: #fff; }

/* ---------- The page's Bangla search terms, on English pages (hidden in Bangla mode) ---------- */
.bn-terms { margin: 4px 0 1em; font-family: 'Hind Siliguri', var(--font-body); font-size: .98rem; opacity: .85; }
.bn-terms__switch { border: 0; background: none; padding: 0; margin-left: 4px; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
html:lang(bn) .bn-terms { display: none; }

/* ---------- About (home): the app on a laptop and a phone beside the text ---------- */
.about-copy p { font-size: 1.08rem; color: var(--ef-text-2); }
.about-copy .lead { font-size: 1.2rem; color: var(--ef-text); font-weight: 500; }
.about-visual { position: relative; padding: 0 6% 56px 0; isolation: isolate; }
.about-visual::before { content: ''; position: absolute; inset: 8% -4% 0 6%; border-radius: var(--ef-radius-lg); background: linear-gradient(135deg, #eef2ff, #f5f3ff 55%, #fff7e6); z-index: -1; }
.about-visual .device--browser { width: 100%; }
.about-visual__phone { position: absolute; right: 0; bottom: 0; width: 24%; min-width: 96px; }
.about-visual__phone .device--phone { padding: 6px; border-radius: 22px; }
.about-visual__phone .device--phone img { border-radius: 16px; }
/* About page: the first paragraph reads as the lead, and the note about the name stays quiet */
.about-who p:first-child { font-size: 1.15rem; color: var(--ef-text); }
.about-who p:last-child { margin-bottom: 0; font-size: .95rem; color: var(--ef-muted); }

/* ---------- Module hub ---------- */
.hub { display: grid; grid-template-columns: 1fr 260px 1fr; align-items: center; gap: 24px; }
.hub__col { display: grid; gap: 16px; list-style: none; }
.hub__col--left { justify-items: end; }
.hub__pill {
  position: relative; display: inline-flex; align-items: center; gap: 12px; min-width: 250px; padding: 12px 18px; border-radius: 14px;
  color: #fff; font-family: var(--font-head); font-weight: 700; text-decoration: none !important; box-shadow: var(--ef-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hub__pill:hover { transform: translateY(-3px); box-shadow: var(--ef-shadow-lg); }
.hub__pill .icon { width: 22px; height: 22px; }
.hub__col--left .hub__pill { flex-direction: row-reverse; text-align: right; }
.hub__pill::after { content: ''; position: absolute; top: 50%; width: 44px; height: 2px; background: repeating-linear-gradient(90deg, #94a3b8 0 6px, transparent 6px 10px); }
.hub__col--left .hub__pill::after { left: 100%; transform-origin: left; }
.hub__col--right .hub__pill::after { right: 100%; transform-origin: right; }
.hub__center { position: relative; width: 240px; height: 240px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 14px #eef2ff, 0 0 0 28px #f5f7ff, var(--ef-shadow-lg); }
.hub__center img { width: 120px; height: 120px; }
.hub__center-label { position: absolute; bottom: 34px; font-family: 'Montserrat', var(--font-head); font-weight: 800; font-size: 1.15rem; }
.c1 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); } .c2 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.c3 { background: linear-gradient(135deg, #ec4899, #be185d); } .c4 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.c5 { background: linear-gradient(135deg, #10b981, #047857); } .c6 { background: linear-gradient(135deg, #06b6d4, #0e7490); }
.c7 { background: linear-gradient(135deg, #ef4444, #b91c1c); } .c8 { background: linear-gradient(135deg, #6366f1, #4338ca); }
.c9 { background: linear-gradient(135deg, #22c55e, #15803d); } .c10 { background: linear-gradient(135deg, #f97316, #c2410c); }

/* ---------- Feature cards ---------- */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard { display: flex; gap: 14px; align-items: center; padding: 18px; background: #fff; border-radius: 14px; border: 1px solid var(--ef-border); box-shadow: 0 6px 18px -14px rgba(15, 23, 42, .4); color: var(--ef-text); text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.fcard:hover { transform: translateY(-3px); border-color: #c7d2fe; box-shadow: var(--ef-shadow); }
.fcard .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.fcard .icon-tile .icon { width: 22px; height: 22px; }
.fcard__title { font-family: var(--font-head); font-weight: 700; line-height: 1.3; }

/* ---------- One platform (devices) ---------- */
.platform { display: grid; place-items: center; }
/* The dashed ring and the icons' orbit are one centred circle: --ring of the stage's height tall, and just as wide
   (the stage is --stage-ar times wider than tall), so it stays round at every width. The animation spins the orbit,
   and each icon is centred on its point of the circle, so the icons ride the dashed line. */
.platform__stage { --stage-ar: 1.2; --ring: 98%; --bubble: 56px; position: relative; width: min(760px, 100%); aspect-ratio: var(--stage-ar); display: grid; place-items: center; }
.platform__ring, .platform__orbit {
  position: absolute; height: var(--ring); width: calc(var(--ring) / var(--stage-ar));
  top: calc((100% - var(--ring)) / 2); left: calc((100% - var(--ring) / var(--stage-ar)) / 2); border-radius: 50%;
}
.platform__ring { border: 2px dashed #c7d2fe; }
.platform__bubble { position: absolute; width: var(--bubble); height: var(--bubble); margin: calc(var(--bubble) / -2) 0 0 calc(var(--bubble) / -2); border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--ef-shadow); }
.platform__bubble .icon { width: 26px; height: 26px; }
.platform__laptop { width: 64%; position: relative; z-index: 2; }
.platform__phone { position: absolute; right: 14%; bottom: 13.5%; width: 18%; z-index: 3; }
.platform__phone .device--phone { padding: 6px; border-radius: 22px; }
.platform__phone .device--phone img { border-radius: 16px; }
.platform__tablet { position: absolute; left: 10%; bottom: 15%; width: 26%; z-index: 3; border-radius: 16px; padding: 7px; background: #0f172a; box-shadow: var(--ef-shadow-lg); }
.platform__tablet img { border-radius: 10px; }

/* ---------- Media rows (works anywhere / parents) ---------- */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.media-row--flip .media-row__visual { order: 2; }
.feature-rows { list-style: none; display: grid; gap: 22px; }
.feature-row { display: flex; gap: 16px; align-items: flex-start; }
.feature-row h3 { margin-bottom: 4px; }
.feature-row p { margin: 0; color: var(--ef-muted); }
.stack-visual { position: relative; }
.stack-visual .device--browser { width: 100%; }
.stat-float { position: absolute; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--ef-shadow-lg); display: flex; gap: 10px; align-items: center; font-family: var(--font-head); font-weight: 700; color: var(--ef-text); }
.stat-float small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .78rem; color: var(--ef-muted); }
.stat-float--tl { left: -18px; top: 18%; }
.stat-float--br { right: -14px; bottom: 10%; }

.phone-scene { position: relative; display: grid; place-items: center; padding: 30px 0; }
.phone-scene::before { content: ''; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #e0e7ff, #f5f3ff 60%, transparent 70%); }
.phone-scene .device--phone { position: relative; max-width: 260px; }
.bubble { position: absolute; max-width: 230px; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: var(--ef-shadow-lg); font-size: .9rem; line-height: 1.45; color: var(--ef-text); border: 1px solid var(--ef-border); }
.bubble strong { display: flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: .82rem; color: #128c7e; margin-bottom: 4px; }
.bubble--a { left: 0; top: 14%; }
.bubble--b { right: 0; bottom: 18%; }
.tag-float { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: #fff; box-shadow: var(--ef-shadow); }
.tag-float--1 { right: 6%; top: 8%; } .tag-float--2 { left: 6%; bottom: 10%; } .tag-float--3 { right: 2%; top: 46%; }

/* ---------- Benefits 3x3 ---------- */
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bcard { padding: 28px 22px; text-align: center; background: #fff; border-radius: 18px; border: 1px solid var(--ef-border); box-shadow: 0 10px 28px -18px rgba(15, 23, 42, .35); }
.bcard__icon { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 22px; display: grid; place-items: center; color: #fff; }
.bcard__icon .icon { width: 38px; height: 38px; }
.bcard p { margin: 0; color: var(--ef-text-2); }
.bcard .mark { display: inline-block; margin: 6px 0; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; }

/* ---------- Facts / steps bands ---------- */
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.band-item { display: grid; justify-items: center; gap: 10px; }
.band-item .icon-tile { width: 60px; height: 60px; border-radius: 16px; background: #fff; color: var(--ef-navy); box-shadow: none; }
.band-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; line-height: 1; }
.band-label { color: #cbd5e1; font-size: .98rem; max-width: 240px; }
.band-shapes::before, .band-shapes::after { content: ''; position: absolute; border-radius: 40px; transform: rotate(35deg); translate: 0 var(--shape-drift, 0px); background: linear-gradient(180deg, rgba(255, 255, 255, .08), transparent); }
.band-shapes::before { width: 160px; height: 420px; left: 12%; top: -120px; }
.band-shapes::after { width: 120px; height: 360px; right: 18%; top: -60px; }

/* ---------- Built for Bangladesh orbit ---------- */
.bd-orbit { position: relative; width: min(620px, 100%); aspect-ratio: 1; margin: 0 auto; container-type: inline-size; }
.bd-orbit__center {
  position: absolute; inset: 30%; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 18px;
  background: radial-gradient(circle at 30% 30%, #ffffff, #eef2ff); border: 2px dashed #a5b4fc; box-shadow: var(--ef-shadow);
}
.bd-orbit__center strong { display: block; font-family: var(--font-head); font-weight: 800; color: var(--ef-text); font-size: 1.15rem; line-height: 1.2; }
.bd-orbit__center .flag { display: block; width: 44px; height: 28px; margin: 0 auto 8px; border-radius: 4px; background: #006a4e; position: relative; }
.bd-orbit__center .flag::after { content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #f42a41; top: 6px; left: 15px; }
.bd-orbit__item {
  --r: 38cqw; position: absolute; left: 50%; top: 50%; width: 21cqw; height: 21cqw; border-radius: 50%;
  display: grid; place-items: center; align-content: center; text-align: center; padding: 10px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .84rem; line-height: 1.25;
  transform: translate(-50%, -50%) rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a))); box-shadow: 0 0 0 6px #fff, var(--ef-shadow);
}
.bd-orbit__item .icon { width: 24px; height: 24px; margin: 0 auto 4px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.timeline__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #e0e7ff; border-radius: 3px; }
.timeline__line span { display: block; width: 100%; height: 100%; background: var(--ef-grad-pill); transform-origin: top; border-radius: 3px; }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.tl-item:nth-child(odd of .tl-item) .tl-item__media { order: 2; }
.tl-item__node { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; border: 3px solid #c7d2fe; display: grid; place-items: center; color: var(--ef-primary); z-index: 2; }
.tl-item__step { font-family: var(--font-head); font-weight: 800; color: var(--ef-violet); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.tl-item h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.tl-item__link { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Product tour ---------- */
.tour__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.tour__tab { border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; border-radius: 999px; padding: 9px 18px; font-family: var(--font-head); font-weight: 700; }
.tour__tab[aria-selected="true"] { background: #fff; color: var(--ef-navy); }
.tour__frame { max-width: 960px; margin: 0 auto; position: relative; }
.tour__panel[hidden] { display: none; }
.tour__caption { text-align: center; color: #cbd5e1; margin-top: 16px; }
.tour__dots { position: absolute; width: 120px; height: 120px; background-image: radial-gradient(rgba(255, 255, 255, .4) 2px, transparent 2px); background-size: 14px 14px; }
.tour__dots--a { left: -50px; top: -30px; } .tour__dots--b { right: -40px; bottom: -40px; }

/* ---------- Pricing ---------- */
.billing { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--ef-border); margin: 0 auto 32px; box-shadow: var(--ef-shadow); }
.billing button { border: 0; background: none; padding: 9px 20px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; color: var(--ef-text-2); }
.billing button[aria-pressed="true"] { background: var(--ef-primary); color: #fff; }
.billing__save { display: inline-block; margin-left: 6px; font-size: .75rem; background: #dcfce7; color: #166534; padding: 2px 8px; border-radius: 999px; }
.billing button[aria-pressed="true"] .billing__save { background: rgba(255, 255, 255, .22); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 360px)); justify-content: center; gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 32px 26px; border-radius: 20px; background: #fff; border: 2px dashed #cbd5e1; min-height: 330px; }
.plan--popular { border: 2px solid var(--ef-primary); box-shadow: 0 24px 50px -24px rgba(52, 111, 239, .55); }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--ef-grad-amber); color: #1e1b16; padding: 5px 16px; border-radius: 999px; font-family: var(--font-head); font-weight: 800; font-size: .82rem; white-space: nowrap; box-shadow: var(--ef-shadow); }
.plan__name { font-size: 1.35rem; margin: 0; }
.plan__price { display: flex; align-items: baseline; gap: 2px; margin: 0; font-family: var(--font-head); color: var(--ef-text); }
.plan__currency { font-size: 1.6rem; font-weight: 700; }
.plan__amount { font-size: 2.8rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plan__per { color: var(--ef-muted); font-family: var(--font-body); font-weight: 500; margin-left: 4px; }
.plan__yearly { color: var(--ef-muted); font-size: .92rem; margin: 0; min-height: 1.5em; }
.plan__full { color: var(--ef-muted); font-size: 1.25rem; font-weight: 600; margin-right: 8px; text-decoration: line-through; }
.plan__full[hidden] { display: none; }
.plan__was { color: var(--ef-muted); text-decoration: line-through; margin-right: 2px; }
.plan__students { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--ef-text); margin: 6px 0 auto; }
.plan__students .icon { color: var(--ef-primary); }
.plan__cta { margin-top: 18px; }
.included { margin-top: 32px; padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--ef-border); }
.included h3 { text-align: center; }
.included ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 22px; }
.included li { display: flex; gap: 8px; align-items: flex-start; }
.included .icon { color: var(--ef-green); margin-top: 3px; }
.pricing-note { text-align: center; color: var(--ef-muted); font-size: .92rem; margin-top: 18px; }
.plans-table { margin-top: 18px; }
.plans-table summary { text-align: center; cursor: pointer; font-weight: 700; color: var(--ef-primary); }

/* ---------- Insight cards ---------- */
.icards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.icard { background: #fff; border-radius: 18px; border: 1px solid var(--ef-border); overflow: hidden; box-shadow: 0 10px 28px -20px rgba(15, 23, 42, .45); transition: transform .2s ease, box-shadow .2s ease; }
.icard:hover { transform: translateY(-4px); box-shadow: var(--ef-shadow-lg); }
.icard[hidden] { display: none; }
.icard__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none !important; }
.icard__media { aspect-ratio: 16 / 9; overflow: hidden; background: #eef2ff; border-bottom: 1px solid var(--ef-border); }
.icard__media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .4s ease; }
.icard:hover .icard__media img { transform: scale(1.04); }
.icard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.icard__title { margin: 4px 0 0; font-size: 1.15rem; }
.icard__summary { color: var(--ef-muted); margin: 0; font-size: .95rem; }
.icard__meta { margin: auto 0 0; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .85rem; color: var(--ef-muted); }
.icard__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.icard__more { color: var(--ef-primary); font-weight: 700; }
.icard--featured { grid-column: 1 / -1; }
.icard--featured .icard__link { display: grid; grid-template-columns: 1.2fr 1fr; }
.icard--featured .icard__media { aspect-ratio: auto; height: 100%; min-height: 280px; border-bottom: 0; border-right: 1px solid var(--ef-border); }
.icard--featured .icard__body { padding: 32px; justify-content: center; }
.icard--featured .icard__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq__item { background: #fff; border: 1px solid var(--ef-border); border-radius: 14px; overflow: hidden; }
.faq__item[open] { border-color: #c7d2fe; box-shadow: var(--ef-shadow); }
.faq__q { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q-text { margin: 0; font-size: 1.05rem; }
.faq__chev { transition: transform .25s ease; color: var(--ef-primary); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 20px 18px; color: var(--ef-text-2); }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- Talk strip / CTA band ---------- */
.talk { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 40px); }
.talk__ways { display: grid; gap: 12px; }
.talk__way { display: flex; gap: 12px; align-items: center; color: var(--ef-text); font-weight: 600; }
.talk__way .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.cta-band { position: relative; background: var(--ef-grad-band); color: #e2e8f0; padding: clamp(56px, 8vw, 90px) 0; overflow: hidden; overflow: clip; text-align: center; }
.cta-band h2 { color: #fff; max-width: 760px; margin: 0 auto 12px; }
.cta-band p { max-width: 640px; margin: 0 auto 26px; color: #cbd5e1; }
.cta-band__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-band__circle { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.cta-band__circle--a { width: 340px; height: 340px; right: -80px; top: -120px; }
.cta-band__circle--b { width: 220px; height: 220px; left: -60px; bottom: -90px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ef-grad-band); color: #cbd5e1; padding: 64px 0 24px; position: relative; overflow: hidden; overflow: clip; }
.site-footer a { color: #e2e8f0; }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; letter-spacing: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-about p { margin: 16px 0; max-width: 340px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--ef-amber); margin-top: 3px; }
.footer-pay { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-pay__label { font-weight: 700; color: #fff; margin-right: 6px; }
.pay-chip { background: #fff; color: var(--ef-text); border-radius: 8px; padding: 5px 12px; font-weight: 800; font-family: var(--font-head); font-size: .85rem; }
.pay-chip--bkash { color: #e2136e; } .pay-chip--nagad { color: #f6921e; } .pay-chip--rocket { color: #8c3494; }
.footer-bottom { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; }
.footer-bottom ul { list-style: none; display: flex; gap: 16px; }

/* ---------- Floating buttons ---------- */
.fab-wa { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7); transition: transform .2s ease; }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa .icon { width: 30px; height: 30px; }
.to-top { position: fixed; right: 26px; bottom: 90px; z-index: 900; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--ef-grad-pill); color: #fff; display: grid; place-items: center; box-shadow: var(--ef-shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; background: var(--ef-grad-hero); color: #e2e8f0; padding: calc(var(--header-h) + 44px) 0 110px; overflow: hidden; overflow: clip; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; width: 460px; height: 460px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 65%); z-index: -1; }
.page-hero h1 { color: #fff; max-width: 900px; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.page-hero__lead { font-size: 1.15rem; max-width: 760px; color: #e2e8f0; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 6px 0 22px; color: #cbd5e1; font-size: .92rem; }
.page-hero__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero--split .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; margin-bottom: 18px; color: #cbd5e1; }
.crumbs li + li::before { content: '›'; margin-right: 6px; opacity: .7; }
.crumbs a { color: #fff; }
.crumbs [aria-current] { color: #cbd5e1; }

/* ---------- About ---------- */
.prose { max-width: 820px; margin: 0 auto; font-size: 1.06rem; }
/* As a section's container, the side margin goes around the text width instead of coming out of it */
.container.prose { max-width: calc(820px + 2 * var(--gutter)); }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; margin-bottom: 1em; }
.two-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { padding: 32px; border-radius: 20px; background: #fff; border: 1px solid var(--ef-border); box-shadow: var(--ef-shadow); }
.mv-card h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card { padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--ef-border); }
.cat-card h3 { margin: 14px 0 10px; }
.cat-card ul { list-style: none; display: grid; gap: 6px; }
.cat-card a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--ef-border); }
.value h3 { margin-top: 14px; }
.value p { margin: 0; color: var(--ef-muted); }
.founder { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; max-width: 900px; margin: 0 auto; padding: 32px; }
.founder__avatar { width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; background: var(--ef-grad-pill); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; box-shadow: 0 0 0 8px #eef2ff; }
.founder__role { color: var(--ef-violet); font-weight: 700; font-family: var(--font-head); margin-bottom: 8px; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -70px; position: relative; z-index: 2; }
.contact-card { padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--ef-border); box-shadow: var(--ef-shadow-lg); display: grid; gap: 8px; align-content: start; }
.contact-card h2 { font-size: 1.15rem; margin: 10px 0 0; letter-spacing: 0; }
.contact-card p { margin: 0; color: var(--ef-muted); }
.contact-card a.contact-card__main { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ef-text); word-break: break-word; }
.contact-card__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.form-card { padding: clamp(22px, 4vw, 36px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
/* align-content: start keeps a field's rows at their natural height when a neighbour in the row is taller (a hint line) */
.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-family: var(--font-head); color: var(--ef-text); font-size: .95rem; }
.field label .req { color: var(--ef-red); }
.field label .opt { color: var(--ef-muted); font-weight: 500; font-family: var(--font-body); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid #cbd5e1; background: #fff;
  font: inherit; color: var(--ef-text); transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ef-primary); box-shadow: 0 0 0 4px rgba(52, 111, 239, .15); }
.field [aria-invalid="true"] { border-color: var(--ef-red); }
.field__error { color: #b91c1c; font-size: .86rem; min-height: 1.2em; margin: 0; }
.field__hint { color: var(--ef-muted); font-size: .84rem; margin: 0; }
.form-captcha { margin-top: 18px; min-height: 65px; max-width: 100%; }
.form-captcha.is-failed { min-height: 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; display: none; gap: 10px; align-items: flex-start; }
.form-status.is-success { display: flex; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-status.is-error { display: flex; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.form-status a { font-weight: 700; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.form-actions small { color: var(--ef-muted); }
.btn__spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
[aria-busy="true"] .btn__spinner { display: inline-block; }
.next-steps { padding: 26px; }
.next-steps ol { list-style: none; display: grid; gap: 16px; counter-reset: step; }
.next-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; counter-increment: step; }
.next-steps li::before { content: counter(step); width: 36px; height: 36px; border-radius: 50%; background: var(--ef-grad-pill); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); }
.quick-links { margin-top: 22px; display: grid; gap: 10px; }
.map-card { overflow: hidden; }
.map-card__placeholder { position: relative; min-height: 300px; display: grid; place-items: center; text-align: center; padding: 24px; background: linear-gradient(135deg, #e0e7ff, #f5f3ff); }
.map-card__placeholder p { max-width: 420px; margin: 10px auto 16px; }
.map-card iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Insights index ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 28px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-filter { border: 1px solid var(--ef-border); background: #fff; color: var(--ef-text-2); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-family: var(--font-head); }
.chip-filter[aria-pressed="true"] { background: var(--ef-primary); border-color: var(--ef-primary); color: #fff; }
.search { position: relative; min-width: min(320px, 100%); }
.search input { width: 100%; min-height: 46px; padding: 10px 14px 10px 42px; border-radius: 999px; border: 1.5px solid #cbd5e1; font: inherit; }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ef-muted); }
.filters__empty { text-align: center; padding: 40px; color: var(--ef-muted); }

/* ---------- Insight article ---------- */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: var(--ef-grad-amber); transform: scaleX(0); transform-origin: left; }
.ins-hero__shot { position: relative; }
.ins-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
.ins-main { min-width: 0; font-size: 1.05rem; }
.ins-main > * + * { margin-top: 48px; }
.ins-definition { font-size: 1.15rem; color: var(--ef-text); padding: 22px 24px; border-left: 4px solid var(--ef-amber); background: #fffbeb; border-radius: 0 14px 14px 0; }
.ins-definition p:last-child { margin: 0; }
.takeaways { padding: 24px; border-radius: 18px; background: #f5f7ff; border: 1px solid #e0e7ff; }
.takeaways__title { font-size: 1.2rem; }
.takeaways ul { list-style: none; display: grid; gap: 10px; }
.takeaways li { display: flex; gap: 10px; align-items: flex-start; }
.takeaways .icon { color: var(--ef-green); margin-top: 3px; }
.ins-sec__title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ins-sec h3 { margin-top: 1.2em; }
.pain-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.pain { display: flex; gap: 14px; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid #fee2e2; }
.pain__icon { width: 28px; height: 28px; color: var(--ef-red); }
.pain__title { margin: 0 0 4px; font-size: 1.02rem; }
.pain p { margin: 0; color: var(--ef-muted); font-size: .97rem; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.ba { padding: 20px; border-radius: 14px; }
.ba p:last-child { margin: 0; }
.ba__label { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; margin-bottom: 6px; }
.ba--before { background: #fef2f2; } .ba--before .ba__label { color: #b91c1c; }
.ba--after { background: #ecfdf5; } .ba--after .ba__label { color: #047857; }
.inside-item { padding: 4px 0 4px 18px; border-left: 3px solid #e0e7ff; margin-top: 22px; }
.inside-item h3 { margin-top: 0; }
.shot { margin: 14px 0 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--ef-border); box-shadow: var(--ef-shadow); }
.steps { list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--ef-border); }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 12px; background: var(--ef-grad-pill); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.why-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why { padding: 20px; border-radius: 14px; background: #fff; border: 1px solid var(--ef-border); }
.why__icon { width: 30px; height: 30px; color: var(--ef-primary); margin-bottom: 8px; }
.why__title { margin: 0 0 6px; font-size: 1.05rem; }
.why p { margin: 0; color: var(--ef-muted); font-size: .97rem; }
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--ef-border); margin-top: 16px; background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.compare caption { text-align: left; padding: 14px 16px; font-weight: 700; font-family: var(--font-head); color: var(--ef-text); caption-side: top; }
.compare th, .compare td { padding: 12px 14px; border-top: 1px solid var(--ef-border); text-align: left; vertical-align: top; }
.compare thead th { background: #f8fafc; font-family: var(--font-head); color: var(--ef-text); }
.compare tbody th { font-weight: 700; color: var(--ef-text); background: #fcfdff; }
.compare .is-us { background: #eef4ff; color: var(--ef-text); font-weight: 600; }
/* On narrow screens the row labels stay visible while the table scrolls sideways */
.compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--ef-border); }
.compare thead th:first-child { background: #f8fafc; }
.compare thead .is-us { background: var(--ef-primary); color: #fff; }
.compare-sub { margin-top: 32px !important; }
.compare-note { font-size: .85rem; color: var(--ef-muted); margin-top: 10px; }
.who-list { list-style: none; display: grid; gap: 8px; margin-top: 12px; }
.who-list li { display: flex; gap: 10px; align-items: flex-start; }
.who-list .icon { color: var(--ef-green); margin-top: 3px; }
.ins-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.toc { padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--ef-border); }
.toc__title { font-family: var(--font-head); font-weight: 800; margin-bottom: 10px; color: var(--ef-text); }
.toc ol { list-style: none; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ef-text-2); font-size: .93rem; border-left: 3px solid transparent; }
.toc a:hover { background: #f5f7ff; text-decoration: none; }
.toc a.is-active { border-left-color: var(--ef-primary); background: #eef2ff; color: var(--ef-primary); font-weight: 700; }
.toc-mobile { display: none; }
.trial-card { padding: 22px; border-radius: 16px; background: var(--ef-grad-hero); color: #e2e8f0; }
.trial-card strong { display: block; font-family: var(--font-head); color: #fff; font-size: 1.15rem; margin-bottom: 6px; }
.trial-card .btn { margin-top: 12px; width: 100%; }
.author { display: flex; gap: 12px; align-items: center; padding: 18px; border-radius: 14px; background: var(--ef-bg-alt); }
.author__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--ef-grad-pill); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); flex: none; }
.author p { margin: 0; font-size: .92rem; }

/* ---------- 404 / legal ---------- */
.notfound { text-align: center; padding-block: 40px; }
.notfound__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; background: var(--ef-grad-pill); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Thank-you page ---------- */
.thanks-badge { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 18px; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #4ade80; }
.thanks-badge .icon { width: 38px; height: 38px; }
.thanks-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.thanks-card { padding: 26px; }
.thanks-card h2, .thanks-layout .next-steps h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.thanks-list { margin: 4px 0 18px; }
.thanks-list > div { display: grid; grid-template-columns: minmax(110px, 36%) minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ef-border); }
.thanks-list dt { color: var(--ef-muted); }
.thanks-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.thanks-note { margin: 0; color: var(--ef-muted); }
.nowrap { white-space: nowrap; }
.thanks-card .btn { margin-top: 6px; }
.thanks-now { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--ef-border); }
.thanks-now p { margin: 0 0 12px; font-weight: 700; }
.thanks-now .btn .icon { width: 20px; height: 20px; }
.value--link { position: relative; display: block; color: inherit; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.value--link:hover { transform: translateY(-4px); border-color: var(--ef-primary); box-shadow: var(--ef-shadow-lg); }
.value--link.is-suggested { border: 2px solid var(--ef-primary); box-shadow: 0 24px 50px -24px rgba(52, 111, 239, .55); }
.value__badge { position: absolute; top: -13px; right: 18px; padding: 4px 12px; border-radius: 999px; background: var(--ef-grad-amber); color: #1e1b16; font-family: var(--font-head); font-weight: 800; font-size: .78rem; white-space: nowrap; box-shadow: var(--ef-shadow); }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal-updated { color: var(--ef-muted); }

/* ---------- Bangla ---------- */
:lang(bn) body, html:lang(bn) body { font-family: 'Hind Siliguri', 'Inter', system-ui, sans-serif; line-height: 1.8; }
html:lang(bn) h1, html:lang(bn) h2, html:lang(bn) h3, html:lang(bn) h4,
html:lang(bn) .btn, html:lang(bn) .pill, html:lang(bn) .nav__link, html:lang(bn) .nav__mega-btn, html:lang(bn) .kicker,
html:lang(bn) .hero__title, html:lang(bn) .band-num, html:lang(bn) .plan__amount, html:lang(bn) .mega__title, html:lang(bn) .fcard__title,
html:lang(bn) .chip, html:lang(bn) .chip-filter, html:lang(bn) .tour__tab, html:lang(bn) .hub__pill, html:lang(bn) .bd-orbit__item,
html:lang(bn) .field label, html:lang(bn) .billing button, html:lang(bn) .plan__badge, html:lang(bn) .value__badge, html:lang(bn) .hero__badge, html:lang(bn) .toc__title {
  font-family: 'Hind Siliguri', var(--font-head);
  letter-spacing: 0;
}
html:lang(bn) h1, html:lang(bn) h2, html:lang(bn) h3, html:lang(bn) .hero__title { line-height: 1.35; }
html:lang(bn) h1, html:lang(bn) .hero__title { font-size: clamp(1.9rem, 4.2vw, 3.2rem); }
html:lang(bn) p, html:lang(bn) li { word-break: normal; overflow-wrap: anywhere; }
html:lang(bn) .mega__heading, html:lang(bn) .ba__label, html:lang(bn) .tl-item__step { text-transform: none; letter-spacing: 0; }
html:lang(bn) .brand__word, html:lang(bn) .hub__center-label { font-family: 'Montserrat', var(--font-head); }

/* ---------- Large screens: the wider content gets bigger pictures and fuller rows, and text keeps a readable width ---------- */
@media (min-width: 1600px) {
  .hero__copy { max-width: 760px; }
  .hero__visual .device--browser { max-width: 700px; }
  .hero__visual .device--phone { max-width: 260px; }
  .media-row > :not(.media-row__visual) { max-width: 780px; }
}
@media (min-width: 1800px) {
  .fgrid { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header-login { display: none; }
  .burger { display: grid; }
  .header-actions { margin-left: auto; }
  .hub { grid-template-columns: 1fr 200px 1fr; }
  .hub__col--left { justify-items: stretch; }
  .hub__pill { min-width: 0; width: 100%; }
  .hub__center { width: 190px; height: 190px; }
  .hub__center img { width: 90px; height: 90px; }
  .cat-grid, .values { grid-template-columns: repeat(2, 1fr); }
  .ins-layout { grid-template-columns: 1fr; }
  .ins-aside { display: none; }
  .toc-mobile { display: block; margin-bottom: 8px; }
  .toc-mobile summary { cursor: pointer; font-weight: 700; font-family: var(--font-head); padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--ef-border); list-style: none; display: flex; justify-content: space-between; }
  .toc-mobile ol { list-style: none; padding: 10px 18px; display: grid; gap: 6px; }
}
@media (max-width: 900px) {
  .hero { padding-bottom: 100px; }
  .hero__slide { grid-template-columns: 1fr; text-align: left; min-height: 0; gap: 28px; }
  .hero__visual { max-width: 520px; margin: 0 auto; }
  .hero__float--a { left: 0; } .hero__float--b { right: 0; }
  .hub { grid-template-columns: 1fr 1fr; }
  .hub__center { grid-column: 1 / -1; order: -1; margin-bottom: 8px; }
  .hub__col--left { justify-items: stretch; }
  .hub__col--left .hub__pill { flex-direction: row; text-align: left; }
  .hub__pill::after { display: none; }
  .fgrid, .bgrid, .icards, .plans { grid-template-columns: repeat(2, 1fr); }
  .media-row, .two-cards, .contact-layout, .page-hero--split .container, .talk { grid-template-columns: 1fr; }
  .thanks-layout { grid-template-columns: minmax(0, 1fr); }
  .media-row--flip .media-row__visual { order: 0; }
  .band-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .timeline__line { left: 26px; }
  .tl-item { grid-template-columns: 1fr; gap: 18px; padding-left: 72px; }
  .tl-item:nth-child(odd of .tl-item) .tl-item__media { order: 0; }
  .tl-item__node { left: 26px; top: 0; margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .icard--featured .icard__link { grid-template-columns: 1fr; }
  .icard--featured .icard__media { min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--ef-border); }
  .plan--popular { order: -1; }
}
@media (min-width: 700px) and (max-width: 900px) {
  .hero__slide { grid-template-columns: 1.1fr .9fr; gap: 28px; }
  .hero__copy h1, .hero__copy .hero__title { font-size: 2.1rem; }
  .hero__visual { max-width: none; }
  .hero__float { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .site-header__bar { gap: 8px; }
  .header-cta { display: none; }
  .brand { gap: 8px; }
  .brand__word { font-size: 1.15rem; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__mark img { width: 28px; height: 28px; }
  .header-actions { gap: 8px; }
  .site-header .lang-switch button { padding: 4px 8px; font-size: .78rem; }
  .burger { width: 40px; height: 40px; border-radius: 10px; }
  .hero { padding: calc(var(--header-h) + 22px) 0 70px; }
  .hero__slide { gap: 20px; }
  .hero__copy h1, .hero__copy .hero__title { font-size: 1.85rem; margin-bottom: 12px; }
  .hero__sub { font-size: 1rem; margin-bottom: 14px; }
  .hero__checks { gap: 6px; margin-bottom: 16px; font-size: .95rem; }
  .hero__checks li:nth-child(n+4) { display: none; }
  .hero__badge { padding: 7px 12px; margin-bottom: 16px; font-size: .9rem; }
  .hero__ctas { flex-wrap: nowrap; gap: 10px; }
  .hero__ctas .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; font-size: .92rem; white-space: normal; }
  .page-hero__ctas .btn { flex: 1 1 100%; }
  .hero__visual { max-width: 300px; }
  .hero__visual .device--browser { transform: none; }
  .hero__visual .device--phone { max-width: 150px; }
  .hero__blob { width: 100%; }
  .hero__controls { margin-top: 18px; gap: 10px; }
  .hero__wave { height: 56px; }
  .hero__float { display: none; }
  .hub, .icards, .plans, .pain-grid, .before-after, .why-grid, .form-grid, .cat-grid, .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .fgrid, .bgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fcard { flex-direction: column; align-items: flex-start; padding: 14px; gap: 10px; }
  .fcard__title { font-size: .92rem; }
  .bcard { padding: 18px 10px; border-radius: 14px; }
  .bcard__icon { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 10px; }
  .bcard__icon .icon { width: 28px; height: 28px; }
  .bcard p { font-size: .88rem; line-height: 1.45; }
  .bcard .mark { font-size: .95rem; }
  .bd-orbit { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .bd-orbit__center { position: static; grid-column: 1 / -1; inset: auto; border-radius: 18px; padding: 18px; }
  .bd-orbit__item { position: static; transform: none !important; width: auto; height: auto; margin: 0; border-radius: 14px; padding: 14px 10px; min-height: 96px; opacity: 1 !important; }
  .platform__stage { --stage-ar: 1; --ring: 90%; --bubble: 42px; }
  .platform__laptop { width: 82%; }
  .platform__tablet { width: 34%; left: 2%; bottom: 11.5%; } .platform__phone { width: 24%; right: 2%; bottom: 10%; }
  .platform__bubble .icon { width: 20px; height: 20px; }
  .stat-float { display: none; }
  .bubble { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin: 10px auto 0; }
  .phone-scene { display: grid; gap: 8px; }
  .tag-float { display: none; }
  .founder { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .compare { min-width: 560px; }
  .footer-bottom { flex-direction: column; }
  .lang-switch button { padding: 5px 9px; }
}

@media (max-width: 420px) {
  /* Small phones: the header shows one button for the other language, so everything fits */
  .site-header .lang-switch { padding: 2px; }
  .site-header .lang-switch button[aria-pressed="true"] { display: none; }
  .site-header .lang-switch button { padding: 4px 10px; }
}
@media (max-width: 360px) {
  .brand__word { font-size: 1.02rem; }
  .site-header .lang-switch button { padding: 4px 6px; }
  .hero__copy h1, .hero__copy .hero__title { font-size: 1.65rem; }
  .hero__ctas { flex-wrap: wrap; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- Motion ---------- */
/* Nothing is hidden up front: when the animations start (just after the first paint), animations.js hides only the
   blocks still below the screen and reveals them on scroll. What is on screen at once never waits for a script. */
.no-anim [data-reveal], .js.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .lang-loader__spinner { animation: spin 1.6s linear infinite !important; animation-iteration-count: infinite !important; animation-duration: 1.6s !important; }
}

/* ---------- Features and pricing pages ---------- */
.not-yet .icon { color: var(--ef-muted); }
.pay-strip { border-top: 0; margin-top: 22px; padding-top: 0; color: var(--ef-text); }
.pay-strip .footer-pay__label { color: var(--ef-text); }
.pay-strip .pay-chip { border: 1px solid var(--ef-border); }
.plan-table-wrap { max-width: 1040px; }
.container.plan-table-wrap { max-width: calc(1040px + 2 * var(--gutter)); }
.plan-table { table-layout: fixed; }
.plan-table thead th:first-child, .plan-table tbody th { width: 28%; }
.plan-table td { font-weight: 600; color: var(--ef-text); }

/* ---------- Never wider than the screen ---------- */
/* Grid and flex children may shrink below their content's natural width (long emails, wide screenshots) */
.hero__slide > *, .media-row > *, .tl-item > *, .talk > *, .contact-layout > *, .ins-layout > *, .two-cards > *,
.page-hero--split .container > *, .footer-grid > *, .fgrid > *, .bgrid > *, .icards > *, .plans > *, .why-grid > *,
.pain-grid > *, .before-after > *, .cat-grid > *, .values > *, .contact-cards > *, .form-grid > *, .band-grid > * { min-width: 0; }
.talk__way, .footer-contact li, .contact-card__main { min-width: 0; overflow-wrap: anywhere; }
.talk__way .icon-tile { flex: none; }
@media (max-width: 900px) {
  .tl-item, .media-row, .two-cards, .contact-layout, .talk, .page-hero--split .container { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 400px) {
  .timeline__line { left: 18px; }
  .tl-item { padding-left: 52px; }
  .tl-item__node { left: 18px; width: 40px; height: 40px; margin-left: -20px; }
}
@media (max-width: 640px) {
  .fab-wa { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .fab-wa .icon { width: 26px; height: 26px; }
  .to-top { width: 40px; height: 40px; right: 19px; bottom: 74px; }
}
