/* =========================================================
   MAX ONE EDUCATION – shared stylesheet (mobile-first)
   Breakpoints: tablet ≥768px, desktop ≥1200px
   ========================================================= */
:root {
  --navy: #082957;
  --navy-2: #0b3470;
  --blue: #0756B5;
  --bright: #1484E8;
  --red: #E51D2A;
  --red-dark: #b8121d;
  --yellow: #FFD326;
  --green: #159447;
  --purple: #6d35c9;
  --orange: #f07d12;
  --pink: #d6337a;
  --white: #fff;
  --bg: #F3F8FF;
  --text: #13213a;
  --muted: #4a5875;
  --line: #d6e3f5;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 8px 24px rgba(8, 41, 87, .10);
  --shadow-sm: 0 3px 10px rgba(8, 41, 87, .08);
  --font-bn: 'Hind Siliguri', 'Noto Sans Bengali', 'Nirmala UI', 'Vrinda', system-ui, sans-serif;
  --font-en: 'Poppins', 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font: var(--font-bn);
  --container: 1200px;
}
html:lang(en-BD) { --font: var(--font-en); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; }
[lang="bn"] { font-family: var(--font-bn); }
[lang="en"] { font-family: var(--font-en); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.25em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 8px; }
main:focus { outline: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .6em 1.3em; border: 0; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; color: #fff; background: var(--blue); box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, filter .15s; text-align: center; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); filter: brightness(1.05); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }
.btn-red { background: linear-gradient(180deg, #f2343f, var(--red-dark)); }
.btn-blue { background: linear-gradient(180deg, var(--bright), var(--blue)); }
.btn-navy { background: var(--navy); }
.btn-green { background: linear-gradient(180deg, #1fb158, var(--green)); }
.btn-orange { background: linear-gradient(180deg, #ff9a32, #e0640a); }
.btn-purple { background: linear-gradient(180deg, #8a52e6, var(--purple)); }
.btn-pink { background: linear-gradient(180deg, #ea4f93, #c11f63); }
.btn-outline { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.btn-google { background: #fff; color: var(--text); border: 2px solid var(--line); }
.btn-sm { min-height: 40px; font-size: .9rem; padding: .45em 1em; }
.btn-lg { min-height: 52px; font-size: 1.08rem; padding: .7em 1.6em; }
.btn-xl { min-height: 64px; font-size: 1.25rem; padding: .8em 2em; border: 4px solid var(--yellow); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; color: var(--blue); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { background: #fff; position: relative; z-index: 50; box-shadow: 0 2px 10px rgba(8, 41, 87, .08); }
.topbar { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 12px; padding-top: 8px; padding-bottom: 8px; }
.brand img { width: 150px; height: auto; }
.tagline { display: none; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(180deg, var(--blue), var(--navy)); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: .9rem; }
.lang-switch a { color: #fff; text-decoration: none; padding: 4px 4px; min-height: 32px; display: inline-flex; align-items: center; opacity: .85; }
.lang-switch a[aria-current] { color: var(--yellow); font-weight: 700; opacity: 1; }
.lang-switch .ic { width: 1em; height: 1em; }
.auth-pill { grid-column: 1 / -1; order: 3; display: flex; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(180deg, #f2343f, var(--red-dark)); color: #fff; border-radius: 999px; padding: 4px 16px; font-weight: 700; box-shadow: var(--shadow-sm); }
.auth-pill a { color: #fff; text-decoration: none; padding: 8px 4px; }
.auth-pill a:hover, .auth-pill a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--navy); color: #fff; cursor: pointer; }
.nav-toggle .ic { width: 26px; height: 26px; }
.nav-toggle .nt-close, .nav-toggle[aria-expanded="true"] .nt-open { display: none; }
.nav-toggle[aria-expanded="true"] .nt-close { display: inline-flex; }
.topbar .auth-pill { grid-row: 2; }
.main-nav { background: linear-gradient(180deg, var(--blue), var(--navy)); }
.js .main-nav { display: none; }
.js .main-nav.open { display: block; }
.main-nav ul { display: flex; flex-direction: column; padding-top: 6px; padding-bottom: 10px; }
.main-nav a { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; padding: 12px 14px; border-radius: 10px; min-height: 48px; }
.main-nav a:hover { background: rgba(255, 255, 255, .12); }
.main-nav a[aria-current="page"] { background: var(--yellow); color: var(--navy); }

/* ---------- Hero banners ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, .25), transparent 60%),
  linear-gradient(120deg, #0a4fb0 0%, #0d6ad8 45%, #0a3f8e 100%); }
.hero::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -26px; height: 52px; background: var(--bg); border-radius: 50% 50% 0 0; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; align-items: end; gap: 0; padding-top: 22px; }
.hero-left { order: 2; display: flex; justify-content: center; }
.hero-left img { width: 260px; }
.hero-right { display: none; }
.hero-text { order: 1; text-align: center; padding-bottom: 8px; }
.hero h1 { color: #fff; font-size: clamp(1.7rem, 6vw, 3.1rem); font-weight: 800; margin-bottom: .3em; text-shadow: 0 3px 10px rgba(0, 0, 0, .25); letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-sub { font-size: 1rem; opacity: .95; margin-bottom: .6em; }
.hero-sub-lg { font-size: clamp(1.1rem, 3.5vw, 1.5rem); font-weight: 700; margin-bottom: .4em; }
.hero-ribbon { display: inline-block; background: var(--yellow); color: var(--navy); font-weight: 700; padding: 6px 18px; border-radius: 999px; margin: 6px 0 10px; font-size: .95rem; }
.hero-ribbon.red { background: linear-gradient(180deg, #f2343f, var(--red-dark)); color: #fff; border: 2px solid #fff; }
.hero-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 4px; }
.hero-pills li { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 10px; border-radius: 12px; font-weight: 700; font-size: .92rem; border: 2px solid rgba(255, 255, 255, .7); box-shadow: var(--shadow-sm); }
.pill-red { background: linear-gradient(180deg, #f2343f, var(--red-dark)); }
.pill-blue { background: linear-gradient(180deg, var(--bright), var(--blue)); }
.pill-green { background: linear-gradient(180deg, #1fb158, var(--green)); }
.pill-purple { background: linear-gradient(180deg, #8a52e6, var(--purple)); }
.coming-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; font-weight: 800; letter-spacing: .06em; padding: 8px 18px; border-radius: 999px; border: 3px solid var(--yellow); margin: 4px 0 12px; box-shadow: var(--shadow); }
.coming-badge.sm { font-size: .85rem; padding: 4px 14px; margin: 0 0 8px; }
.bd-flag { width: 170px; height: auto; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .3)); transform: rotate(-4deg); }
.bubble-wrap { display: flex; align-items: flex-end; gap: 8px; }
.bubble { background: #fff; color: var(--navy); font-weight: 800; font-style: italic; padding: 16px 18px; border-radius: 50%; text-align: center; line-height: 1.2; box-shadow: var(--shadow); margin: 0 0 40px; font-family: var(--font-en); }
.bigben { width: 100px; border-radius: 12px 12px 0 0; }
.hero-badge-stack { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-bottom: 30px; }
.big-ic { display: inline-flex; align-items: center; justify-content: center; width: 110px; height: 110px; border-radius: 50%; background: rgba(255, 255, 255, .15); border: 3px solid rgba(255, 255, 255, .6); }
.big-ic .ic { width: 56px; height: 56px; }
.script { font-family: var(--font-en); font-style: italic; font-weight: 700; font-size: 1.5rem; line-height: 1.1; transform: rotate(-6deg); text-align: center; }
.lock-stack { position: relative; }
.mini-ic { position: absolute; right: -6px; bottom: 26px; width: 52px; height: 52px; border-radius: 50%; background: var(--green); display: inline-flex; align-items: center; justify-content: center; border: 3px solid #fff; }
.mini-ic .ic { width: 28px; height: 28px; }
.hero-vlab { background: radial-gradient(ellipse at 70% 20%, rgba(120, 220, 255, .35), transparent 55%), linear-gradient(120deg, #063a8a, #0d6ad8 55%, #072f6e); }
.hero-spoken { background: radial-gradient(ellipse at 80% 30%, rgba(255, 255, 255, .25), transparent 55%), linear-gradient(120deg, #0a3f8e, #1484E8 55%, #0a3f8e); }
.hero-franchise { background: radial-gradient(ellipse at 20% 10%, rgba(255, 211, 38, .25), transparent 50%), linear-gradient(120deg, #0a4fb0, #0d6ad8 50%, #082957); }
.hero-about { background: radial-gradient(ellipse at 60% 10%, rgba(255, 255, 255, .3), transparent 55%), linear-gradient(120deg, #0756B5, #1484E8 55%, #0a3f8e); }
.hero-contact { background: radial-gradient(ellipse at 40% 0%, rgba(255, 255, 255, .25), transparent 60%), linear-gradient(120deg, #082957, #0756B5 50%, #1484E8); }
.hero-login, .hero-register, .hero-forgot { background: radial-gradient(ellipse at 30% 10%, rgba(255, 255, 255, .22), transparent 55%), linear-gradient(120deg, #0756B5, #0d6ad8 50%, #0a3f8e); }
.hero-legal { background: linear-gradient(120deg, var(--navy), var(--blue)); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; padding-bottom: 4px; font-size: .9rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.breadcrumbs a { text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.breadcrumbs .ic { width: 1em; height: 1em; }

/* ---------- Sections, titles, cards ---------- */
.section { padding: 14px 0; }
.panel { background: #fff; border-radius: 26px; padding-top: 18px; padding-bottom: 18px; box-shadow: var(--shadow); }
.sec-title { display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; max-width: 100%; margin: 0 auto 16px; padding: 8px 22px; border-radius: 999px; background: linear-gradient(180deg, var(--blue), var(--navy)); color: #fff; font-size: clamp(1.1rem, 3.6vw, 1.5rem); text-align: center; box-shadow: var(--shadow-sm); }
.sec-title .ic { color: var(--yellow); }
.bar-title { display: flex; align-items: center; gap: 10px; background: linear-gradient(180deg, var(--blue), var(--navy)); color: #fff; padding: 10px 18px; border-radius: 14px 40px 14px 14px; font-size: clamp(1.05rem, 3.2vw, 1.35rem); margin-bottom: 14px; }
.bar-title.sm { font-size: 1.1rem; }
.bar-title.green { background: linear-gradient(180deg, #1fb158, #0e7436); }
.bar-title.purple { background: linear-gradient(180deg, #8a52e6, #5225a3); }
.bar-title.red { background: linear-gradient(180deg, #e83e6c, #a5123c); }
.bar-title .ic { width: 1.4em; height: 1.4em; }
.h-big { font-size: clamp(1.4rem, 4vw, 2rem); color: var(--navy); }
.lead { font-size: 1.05rem; color: var(--muted); text-align: center; max-width: 820px; margin: 0 auto 16px; }
.why-se .lead { text-align: left; margin-left: 0; }
.note { font-size: .88rem; color: var(--muted); }
.center { text-align: center; }
.center-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; text-align: center; }
.card { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.grid.tight { gap: 0 16px; }
.tint-blue { background: linear-gradient(135deg, #eaf4ff, #d5e8ff); border: 2px solid #9cc7f5; }
.tint-green { background: linear-gradient(135deg, #ecfbef, #d4f3dc); border: 2px solid #94dba9; }
.tint-orange { background: linear-gradient(135deg, #fff4e8, #ffe2c4); border: 2px solid #f6bd85; }
.tint-purple { background: linear-gradient(135deg, #f5efff, #e5d8ff); border: 2px solid #c3a8f2; }
.tint-pink { background: linear-gradient(135deg, #fff0f5, #ffdbe7); border: 2px solid #f4a8c3; }
.tint-yellow { background: linear-gradient(135deg, #fffbe6, #fff1b8); border: 2px solid #f3d872; }
.badge { display: inline-block; padding: 2px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: #fff; vertical-align: middle; }
.badge-blue { background: var(--blue); } .badge-green { background: var(--green); } .badge-orange { background: var(--red); }
.badge-purple { background: var(--purple); } .badge-red { background: var(--red); } .badge-pink { background: var(--pink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.chips li { background: #fff; border: 1px solid var(--line); padding: 2px 10px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--navy); }
.ticks li { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; }
.ticks .ic { color: var(--blue); margin-top: .2em; }
.ticks.green .ic { color: var(--green); }
.ticks.boxed li { background: rgba(255, 255, 255, .8); border-radius: 10px; padding: 8px 12px; margin-bottom: 8px; font-weight: 600; }
.ticks.lg li { font-size: 1.1rem; font-weight: 600; }
.det-h { font-weight: 700; color: var(--navy); margin: 8px 0 2px; font-size: .9rem; }

/* Academic level cards (home) */
.level-card { position: relative; display: flex; gap: 12px; align-items: flex-end; border-radius: var(--radius); padding: 14px 14px 0; overflow: hidden; }
.level-kid { width: 96px; flex: none; align-self: flex-end; }
.level-body { flex: 1; padding-bottom: 14px; position: relative; z-index: 1; }
.level-body h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lv-class { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.lv-ver { font-size: .88rem; color: var(--muted); margin-bottom: 4px; }
.level-icon { position: absolute; right: 12px; top: 12px; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .75); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.tint-green .level-icon { color: var(--green); } .tint-orange .level-icon { color: var(--red); } .tint-purple .level-icon { color: var(--purple); }
.level-icon .ic { width: 30px; height: 30px; }

/* Platform features (home) */
.feat-card { display: flex; gap: 14px; align-items: center; border-radius: var(--radius); padding: 14px; }
.feat-img { width: 110px; border-radius: 12px; flex: none; }
.feat-card h3 { font-size: 1.2rem; margin-bottom: .25em; }
.feat-card h3 a { color: var(--red); text-decoration: none; }
.feat-card h3 a:hover { text-decoration: underline; }
.feat-card.tint-green h3 a { color: var(--green); }
.feat-card.tint-blue h3 a { color: var(--blue); }
.feat-card p { margin: 0; color: var(--text); font-size: .95rem; }

/* Promo banners */
.promo { position: relative; display: grid; grid-template-columns: 1fr; gap: 12px; align-items: center; text-align: center; border-radius: 28px; padding: 18px; background: linear-gradient(90deg, #fff3a8, var(--yellow) 50%, #ffe36e); border: 4px solid #fff; box-shadow: 0 0 0 3px var(--red), var(--shadow); overflow: hidden; }
.promo-img { width: 180px; margin: 0 auto; border-radius: 16px; }
.promo-mic { display: none; }
.promo h2 { color: var(--red); font-size: clamp(1.5rem, 5vw, 2.4rem); font-weight: 800; margin-bottom: .2em; }
.promo-support h2, .promo-partner h2 { color: var(--navy); font-size: clamp(1.25rem, 4vw, 1.9rem); }
.promo-ribbon { display: inline-block; background: var(--red); color: #fff; font-weight: 700; padding: 6px 18px; border-radius: 999px; margin: 0; }
.promo-side { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.brush { background: var(--navy); color: #fff; font-weight: 800; font-size: 1.4rem; padding: 10px 24px; border-radius: 6px 30px 6px 30px; transform: rotate(-3deg); margin: 0; font-style: italic; }
.promo-mega { display: inline-flex; justify-content: center; color: var(--red); }
.promo-mega .ic { width: 64px; height: 64px; }

/* Benefits */
.benefits .benefit { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--bright); }
.benefits .benefit:nth-child(2) { border-color: var(--green); } .benefits .benefit:nth-child(3) { border-color: var(--red); } .benefits .benefit:nth-child(4) { border-color: var(--yellow); }
.benefit > .ic { width: 40px; height: 40px; color: var(--blue); }
.benefit h3 { font-size: 1.08rem; margin-bottom: .2em; }
.benefit p { margin: 0; font-size: .93rem; color: var(--muted); }

/* Courses */
.course-card { border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 16px; }
.course-card:target { box-shadow: 0 0 0 4px var(--yellow), var(--shadow); }
.cc-top { display: flex; gap: 10px; align-items: flex-end; }
.cc-kid { width: 90px; }
.course-card h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: .2em; }
.course-card > p { margin: 0; font-size: .95rem; flex: 1; }
.course-card .btn .ic { transition: transform .2s; }
.course-card .btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.cc-details { background: rgba(255, 255, 255, .85); border-radius: 12px; padding: 10px 12px; }
.other-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; border-radius: var(--radius); padding: 16px 12px; scroll-margin-top: 16px; }
.other-card:target { box-shadow: 0 0 0 4px var(--yellow), var(--shadow); }
.oc-img { width: 120px; border-radius: 12px; }
.oc-icon { display: inline-flex; width: 88px; height: 88px; border-radius: 50%; align-items: center; justify-content: center; background: #fff; color: var(--navy); }
.oc-icon .ic { width: 48px; height: 48px; }
.other-card h3 { font-size: 1.15rem; margin: 0; }
.other-card p { font-size: .92rem; margin: 0; flex: 1; }
.icon-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; background: linear-gradient(180deg, #fff, #eaf3ff); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.icon-row li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 8px 4px; font-weight: 700; color: var(--navy); font-size: .95rem; }
.icon-row .ic { width: 40px; height: 40px; color: var(--red); }
.icon-row li:nth-child(even) .ic { color: var(--blue); }
.icon-row li:nth-child(3n) .ic { color: var(--green); }
.cta-banner { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: center; text-align: center; border-radius: 28px; padding: 20px; background: linear-gradient(90deg, #fff7c4, var(--yellow) 60%, #ffe36e); border: 4px solid #fff; box-shadow: 0 0 0 3px var(--yellow), var(--shadow); }
.cta-banner h2 { color: var(--red); font-size: clamp(1.25rem, 4vw, 1.9rem); margin-bottom: .2em; }
.cta-banner p { margin: 0; font-weight: 600; color: var(--navy); }
.cta-icon { display: inline-flex; justify-content: center; color: var(--navy); }
.cta-icon .ic { width: 64px; height: 64px; }

/* Contact */
.info-grid { margin-bottom: 18px; }
.info-card { display: flex; gap: 12px; border-radius: var(--radius); padding: 14px; }
.info-ic { display: inline-flex; width: 50px; height: 50px; flex: none; border-radius: 50%; align-items: center; justify-content: center; color: #fff; background: var(--blue); }
.tint-pink .info-ic { background: var(--pink); } .tint-green .info-ic { background: var(--green); } .tint-yellow .info-ic { background: var(--orange); }
.info-ic .ic { width: 26px; height: 26px; }
.info-card h3 { font-size: 1.08rem; margin-bottom: .2em; }
.info-card p { margin: 0; font-size: .95rem; }
.info-card small { color: var(--muted); }
.map-card { display: grid; gap: 12px; background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-card iframe { width: 100%; height: 260px; border: 0; border-radius: 12px; }
.map-note p { margin-bottom: .5em; }
.help-card { display: flex; gap: 14px; align-items: center; margin-top: 16px; }
.help-ic { color: var(--blue); } .help-ic .ic { width: 56px; height: 56px; }
.help-card h3 { margin-bottom: .3em; }
.link-list li { padding: 2px 0; } .link-list a { font-weight: 600; }

/* Forms */
.form .field { margin-bottom: 14px; }
.form label { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form label .ic { color: var(--blue); }
.req { color: var(--red); }
.opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="password"], .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid #c9d8ee; border-radius: 12px; background: #fff; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.form textarea { resize: vertical; min-height: 110px; }
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23082957' stroke-width='2.5' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form select:disabled { background-color: #f0f3f8; color: var(--muted); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--bright); box-shadow: 0 0 0 4px rgba(20, 132, 232, .18); outline: none; }
.form [aria-invalid="true"] { border-color: var(--red) !important; background-color: #fff6f6; }
.field-error { color: var(--red); font-size: .88rem; font-weight: 600; margin: 4px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.hint { display: block; color: var(--muted); font-size: .85rem; margin-top: 4px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 52px !important; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: transparent; color: var(--navy); cursor: pointer; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.pw-toggle .eye-hide, .pw-toggle[aria-pressed="true"] .eye-show { display: none; }
.pw-toggle[aria-pressed="true"] .eye-hide { display: inline; }
.check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; color: var(--text) !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--blue); }
.form-status { margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-weight: 600; border: 2px solid; }
.form-status.is-success { background: #eafaf0; border-color: var(--green); color: #0b6a31; }
.form-status.is-error { background: #fff0f0; border-color: var(--red); color: #a00f19; }
.form-status.is-info { background: #fff9e0; border-color: #e5b800; color: #6b5300; }
.form-status.is-loading { background: #eef5ff; border-color: var(--bright); color: var(--navy); }
.form-intro { text-align: center; font-weight: 500; }
.switch-auth { text-align: center; margin: 12px 0 8px; font-weight: 600; }
.row-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.row-between a { font-weight: 700; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); margin: 14px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.or span { border: 1px solid var(--line); border-radius: 50%; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.g-logo { width: 22px; height: 22px; }
.step-label { display: inline-block; background: var(--bg); color: var(--navy); border-radius: 999px; padding: 2px 12px; font-size: .85rem; font-weight: 700; }
.back-link { display: flex; justify-content: center; align-items: center; gap: 8px; font-weight: 700; font-size: 1.1rem; }

/* Auth pages */
.side-panel { padding: 0; overflow: hidden; }
.panel-head { background: linear-gradient(180deg, var(--blue), var(--navy)); color: #fff; padding: 18px; margin: 0; }
h2.panel-head, .panel-head h2 { color: #fff; font-size: clamp(1.25rem, 3.5vw, 1.6rem); margin: 0; }
.panel-head p { margin: 6px 0 0; opacity: .95; }
.why-list { padding: 14px; display: grid; gap: 10px; }
.why-list li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; font-weight: 700; color: var(--navy); }
.why-list .ic { width: 32px; height: 32px; color: var(--red); }
.why-list .tint-blue .ic { color: var(--blue); } .why-list .tint-green .ic { color: var(--green); } .why-list .tint-purple .ic { color: var(--purple); } .why-list .tint-orange .ic { color: var(--orange); }
.panel-img { width: 100%; }
.auth-card { border: 2px solid #9cc7f5; }
.auth-logo { display: flex; justify-content: center; margin-bottom: 6px; }
.auth-logo img { width: 200px; }
.auth-title { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: clamp(1.4rem, 4vw, 2rem); }
.auth-title .ic { width: 42px; height: 42px; padding: 8px; border-radius: 50%; background: var(--blue); color: #fff; }
.process { background: #fff; border-radius: 26px; padding: 16px; box-shadow: var(--shadow); display: grid; gap: 12px; align-items: center; }
.process h2 { background: linear-gradient(180deg, var(--blue), var(--navy)); color: #fff; border-radius: 20px; padding: 12px 18px; margin: 0; font-size: 1.3rem; text-align: center; }
.process-steps { display: grid; gap: 10px; }
.process-steps li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); }
.process-steps .ic { width: 36px; height: 36px; color: var(--blue); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: .9rem; flex: none; }
.step-num.big { width: 44px; height: 44px; font-size: 1.3rem; }
.s1 { background: var(--green); } .s2 { background: var(--bright); } .s3 { background: var(--purple); } .s4 { background: var(--orange); } .s5 { background: var(--red); }
.security { border: 2px solid #94dba9; }
.sec-list { display: grid; gap: 10px; }
.sec-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.sec-list .ic { color: var(--green); width: 26px; height: 26px; }

/* Spoken English */
.why-se { display: grid; gap: 16px; align-items: center; }
.why-img { width: 220px; margin: 0 auto; border-radius: 50%; border: 6px solid var(--yellow); aspect-ratio: 1; object-fit: cover; object-position: 40% 20%; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-weight: 700; background: #fff; border: 2px solid; }
.chip-green { border-color: var(--green) !important; } .chip-green .ic { color: var(--green); }
.chip-pink { border-color: var(--pink) !important; } .chip-pink .ic { color: var(--pink); }
.chip-blue { border-color: var(--bright) !important; } .chip-blue .ic { color: var(--bright); }
.chip-purple { border-color: var(--purple) !important; } .chip-purple .ic { color: var(--purple); }
.se-level { border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.se-top { display: flex; align-items: flex-end; gap: 10px; }
.se-kid { width: 76px; }
.se-level h3 { font-size: 1.25rem; }
.se-level.tint-green h3 { color: var(--green); } .se-level.tint-blue h3 { color: var(--blue); }
.se-level.tint-red { background: linear-gradient(135deg, #fff0f2, #ffd9de); border: 2px solid #f4a0a9; }
.se-level.tint-red h3 { color: var(--red); }
.se-level .ticks { flex: 1; }
.bars { display: inline-flex; gap: 3px; align-items: flex-end; vertical-align: middle; margin-left: 4px; }
.bars i { width: 6px; background: #cbd5e5; border-radius: 2px; }
.bars i:nth-child(1) { height: 10px; } .bars i:nth-child(2) { height: 16px; } .bars i:nth-child(3) { height: 22px; }
.bars-1 i:nth-child(-n+1), .bars-2 i:nth-child(-n+2), .bars-3 i { background: currentColor; }
.outline { display: grid; gap: 8px; background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.outline li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; background: var(--bg); font-weight: 700; color: var(--navy); }
.outline .num { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 32px; border-radius: 999px; background: linear-gradient(180deg, var(--bright), var(--blue)); color: #fff; }
.learn-list li { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 14px; box-shadow: var(--shadow-sm); font-weight: 700; color: var(--navy); }
.learn-list .ic { width: 34px; height: 34px; color: var(--red); flex: none; }
.mode-card { border-radius: var(--radius); padding: 18px; text-align: center; }
.mode-ic { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; align-items: center; justify-content: center; background: #fff; color: var(--blue); margin-bottom: 8px; }
.mode-ic .ic { width: 34px; height: 34px; }
.mode-card p { margin: 0; }
.cta-notify { text-align: left; }
.cta-notify .cta-icon { justify-content: flex-start; }
.notify-form { background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--shadow-sm); }

/* Franchise */
.icon-row-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fr-img { border-radius: 12px; margin-bottom: 12px; width: 100%; }
.pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.pkg { border-radius: 12px; overflow: hidden; text-align: center; border: 2px solid; background: #fff; display: flex; flex-direction: column; align-items: center; }
.pkg h3 { color: #fff; width: 100%; padding: 8px 4px; font-size: .98rem; margin: 0 0 8px; }
.pkg h3 small { display: block; font-weight: 600; font-size: .8rem; }
.pkg .ic { width: 30px; height: 30px; }
.pkg p { font-size: .8rem; padding: 6px; margin: 0; font-weight: 600; }
.pkg-green { border-color: var(--green); } .pkg-green h3 { background: var(--green); } .pkg-green .ic { color: var(--green); }
.pkg-blue { border-color: var(--blue); } .pkg-blue h3 { background: var(--blue); } .pkg-blue .ic { color: var(--blue); }
.pkg-purple { border-color: var(--purple); } .pkg-purple h3 { background: var(--purple); } .pkg-purple .ic { color: var(--purple); }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.steps li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-weight: 700; color: var(--navy); position: relative; }
.step-ic { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; align-items: center; justify-content: center; color: #fff; box-shadow: var(--shadow-sm); }
.step-ic .ic { width: 32px; height: 32px; }
.steps .step-num { position: absolute; top: -4px; left: calc(50% + 18px); width: 24px; height: 24px; font-size: .8rem; background: var(--yellow); color: var(--navy); }

/* Virtual lab */
.top-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.top-feats li { display: flex; align-items: center; gap: 10px; padding: 12px; font-weight: 700; color: var(--navy); }
.top-feats .ic { width: 36px; height: 36px; color: var(--blue); }
.top-feats li:nth-child(4) .ic { color: var(--red); }
.lab-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 2px solid; padding-bottom: 14px; scroll-margin-top: 16px; }
.lab-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.lab-card h3 { text-align: center; color: #fff; padding: 8px; margin: 0 0 8px; font-size: 1.2rem; }
.lab-card h3 small { display: block; font-size: .85rem; font-weight: 600; opacity: .95; }
.lab-card .det-h, .lab-card .ticks { padding: 0 14px; }
.lab-red { border-color: #f4a0a9; } .lab-red h3 { background: linear-gradient(180deg, #ef3b47, var(--red-dark)); }
.lab-blue { border-color: #9cc7f5; } .lab-blue h3 { background: linear-gradient(180deg, var(--bright), var(--blue)); }
.lab-green { border-color: #94dba9; } .lab-green h3 { background: linear-gradient(180deg, #1fb158, var(--green)); }
.lab-purple { border-color: #c3a8f2; } .lab-purple h3 { background: linear-gradient(180deg, #8a52e6, var(--purple)); }
.steps-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lbd { align-items: center; }
.lbd-img { width: 100%; max-width: 420px; margin: 0 auto; }
.ribbon-title { display: inline-block; background: linear-gradient(180deg, var(--blue), var(--navy)); color: #fff; padding: 8px 22px; transform: skew(-8deg); font-style: italic; }

/* About */
.who-body { display: grid; gap: 12px; }
.who-body p { font-size: 1.02rem; }
.who-img { width: 160px; margin: 0 auto; }
.vm { display: grid; gap: 16px; }
.vm-card { position: relative; padding-right: 80px; }
.vm-card p { font-weight: 600; margin: 0; }
.vm-ic { position: absolute; right: 16px; bottom: 16px; color: var(--red); }
.vm-ic .ic { width: 52px; height: 52px; }
.strengths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.strengths li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 14px 8px; border-radius: 14px; font-weight: 700; color: var(--navy); }
.strengths .ic { width: 40px; height: 40px; color: var(--blue); }
.strengths .tint-green .ic { color: var(--green); } .strengths .tint-purple .ic { color: var(--purple); } .strengths .tint-pink .ic { color: var(--red); }
.dir-body { display: grid; gap: 14px; }
.dir-photo { width: 100%; max-width: 260px; margin: 0 auto; border-radius: 14px; box-shadow: var(--shadow); }
.director blockquote { margin: 0; }
.dir-name { font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 1.3rem; color: var(--blue); margin: 0; }
.dir-role { margin: 0; color: var(--muted); }
.draft-flag { display: inline-block; background: #fff6d6; border: 2px dashed #e5b800; color: #6b5300; font-size: .85rem; font-weight: 700; padding: 4px 10px; border-radius: 8px; }
.cta-banner.slim h2 { color: var(--navy); font-style: italic; }
.legal p { font-size: 1.02rem; }

/* ---------- Red feature strip ---------- */
.feature-strip { background: linear-gradient(180deg, #ee2531, #c3111c); color: #fff; margin-top: 24px; }
.feature-strip ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding-top: 10px; padding-bottom: 10px; }
.feature-strip li { display: flex; align-items: center; gap: 10px; padding: 10px 8px; }
.feature-strip li:last-child { grid-column: 1 / -1; justify-content: center; }
.feature-strip .ic { width: 34px; height: 34px; flex: none; }
.feature-strip strong { display: block; font-size: .98rem; line-height: 1.3; }
.feature-strip small { display: block; font-size: .8rem; opacity: .92; line-height: 1.3; }

/* ---------- Footer ---------- */
.site-footer { color: #e3ecff; background: radial-gradient(ellipse at 80% 0%, rgba(20, 132, 232, .35), transparent 50%), linear-gradient(180deg, #0a3170, var(--navy)); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px; padding-top: 30px; padding-bottom: 24px; }
.f-logo { display: inline-block; background: #fff; border-radius: 16px; padding: 8px 14px; }
.f-logo img { width: 200px; }
.f-tagline { font-family: var(--font-en); font-style: italic; font-weight: 700; color: #fff; margin: 10px 0 6px; display: flex; align-items: center; gap: 8px; }
.f-tagline::before, .f-tagline::after { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--yellow); }
.f-brand p:last-child { font-size: .92rem; }
.site-footer h2 { color: #fff; font-size: 1.3rem; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding-bottom: 6px; position: relative; }
.site-footer h2::after { content: ""; position: absolute; left: 34px; bottom: 0; width: 70px; height: 3px; border-radius: 2px; background: var(--yellow); }
.site-footer h2 .ic { color: var(--yellow); }
.f-col li a { display: flex; align-items: center; gap: 6px; color: #e3ecff; text-decoration: none; padding: 5px 0; min-height: 34px; }
.f-col li a:hover { color: var(--yellow); }
.f-col li .ic { color: #3fd0ff; width: 1em; height: 1em; }
.f-contact address { font-style: normal; }
.f-contact p { display: flex; gap: 10px; align-items: center; color: #fff; font-weight: 600; font-size: 1.05rem; margin-bottom: 10px; }
.f-contact p .ic { color: #3fd0ff; width: 1.4em; height: 1.4em; }
.f-contact a { color: #fff; }
.f-contact-link { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow) !important; font-weight: 700; text-decoration: none; margin-top: 6px; }
.f-bottom { border-top: 1px solid rgba(255, 255, 255, .15); background: linear-gradient(90deg, #06214a, #0b3a7f 50%, #06214a); position: relative; }
.f-bottom::after { content: ""; display: block; height: 8px; background: linear-gradient(90deg, var(--red), #ff5a3c 30%, var(--bright) 70%, var(--blue)); }
.f-bottom p { text-align: center; color: #fff; margin: 0; padding-top: 14px; padding-bottom: 14px; font-size: .95rem; }
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--red); color: #fff; box-shadow: var(--shadow); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.to-top .ic { width: 24px; height: 24px; }

/* =================== Tablet ≥ 768px =================== */
@media (min-width: 768px) {
  .topbar { grid-template-columns: auto 1fr auto; padding-top: 10px; padding-bottom: 10px; }
  .brand img { width: 190px; }
  .tagline { display: flex; flex-direction: column; text-align: center; margin: 0; padding-left: 14px; border-left: 2px solid var(--navy); }
  .tg-main { color: var(--navy); font-weight: 700; font-size: 1rem; line-height: 1.3; }
  .tg-sub { color: var(--navy); font-size: .78rem; font-weight: 600; }
  .header-actions { flex-direction: column; align-items: flex-end; gap: 6px; }
  .topbar .auth-pill { grid-row: auto; grid-column: auto; order: 0; }
  .header-actions { display: grid; grid-template-columns: auto auto; grid-template-areas: "lang toggle" "auth toggle"; justify-items: end; }
  .lang-switch { grid-area: lang; } .auth-pill { grid-area: auth; } .nav-toggle { grid-area: toggle; }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-inner { grid-template-columns: 1fr 1.3fr; }
  .hero-left { order: 0; }
  .hero-left img { width: 100%; max-width: 330px; }
  .hero-text { order: 0; padding-bottom: 34px; }
  .hero-pills { grid-template-columns: repeat(4, auto); justify-content: center; }
  .level-kid { width: 110px; }
  .promo { grid-template-columns: auto 1fr auto; text-align: left; padding: 16px 24px; }
  .promo-img { width: 170px; margin: 0; }
  .promo-partner { grid-template-columns: auto 1fr auto; }
  .cta-banner { grid-template-columns: auto 1fr auto; text-align: left; padding: 18px 28px; }
  .cta-notify { grid-template-columns: auto 1fr; }
  .cta-notify .notify-form { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr auto; gap: 0 12px; align-items: start; }
  .cta-notify .notify-form .btn { margin-top: 32px; }
  .cta-notify .notify-form .form-status { grid-column: 1 / -1; }
  .icon-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .top-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-strip ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-strip li:last-child { grid-column: auto; justify-content: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who-body { grid-template-columns: 1fr auto; align-items: center; }
  .dir-body { grid-template-columns: 220px 1fr; align-items: start; }
  .strengths { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-se { grid-template-columns: auto 1fr; }
  .map-card { grid-template-columns: 1.4fr 1fr; align-items: center; }
  .process { grid-template-columns: auto 1fr; }
  .process-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lbd { grid-template-columns: 1fr 1fr; }
  .lbd .center-cta { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section { padding: 18px 0; }
}

/* =================== Desktop ≥ 1200px (nav inline from 1024) =================== */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .header-actions { grid-template-areas: "lang" "auth"; grid-template-columns: auto; }
  .js .main-nav, .main-nav { display: block; }
  .main-nav ul { flex-direction: row; justify-content: center; padding-top: 5px; padding-bottom: 5px; }
  .main-nav li { display: flex; align-items: center; }
  .main-nav li + li::before { content: ""; width: 1px; height: 22px; background: rgba(255, 255, 255, .45); margin: 0 4px; }
  .main-nav a { padding: 6px 14px; min-height: 40px; border-radius: 10px; font-size: 1rem; white-space: nowrap; }
  .main-nav a[aria-current="page"] { box-shadow: inset 0 0 0 2px #fff3a0; }
  .brand img { width: 220px; }
  .tg-main { font-size: 1.15rem; }
  .tg-sub { font-size: .85rem; }
  .hero-inner { grid-template-columns: minmax(250px, 1fr) 2fr minmax(200px, 1fr); }
  .hero-right { display: flex; justify-content: center; align-items: center; align-self: center; padding-bottom: 30px; }
  .hero-right > img { max-width: 100%; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .benefits.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-index .grid-2 .level-card, .page-index .feat-card { min-height: 150px; }
  .icon-row { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .icon-row-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .icon-row li + li { border-left: 1px solid var(--line); }
  .top-feats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .feature-strip ul { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .feature-strip li + li { border-left: 2px solid rgba(255, 255, 255, .6); }
  .feature-strip li { justify-content: center; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .f-col + .f-col, .f-brand + .f-col { border-left: 2px solid rgba(255, 255, 255, .2); padding-left: 24px; }
  .contact-grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .se-grid { grid-template-columns: 1.7fr 1fr; align-items: start; }
  .se-grid .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .auth-grid { grid-template-columns: 1fr 1.6fr; align-items: start; }
  .login-grid { grid-template-columns: 1fr 1.1fr; }
  .fr-grid { align-items: stretch; }
  .lbd { grid-template-columns: 1fr 1fr 1.2fr; }
  .lbd .center-cta { grid-column: auto; flex-direction: column; align-items: center; }
  .promo-mic { display: inline-flex; position: absolute; left: 200px; top: 18px; width: 54px; height: 54px; border-radius: 50%; background: var(--blue); color: #fff; align-items: center; justify-content: center; border: 3px solid #fff; }
  .promo-spoken .promo-text { padding-left: 40px; }
}
@media (min-width: 1200px) {
  .hero-left img { max-width: 360px; }
  .bd-flag { width: 200px; }
}

/* Print */
@media print {
  .site-header .main-nav, .nav-toggle, .to-top, .feature-strip, .hero::after { display: none !important; }
  .hero { color: #000; background: none; }
  .hero h1 { color: #000; text-shadow: none; }
}

/* ---------- Refinements ---------- */
[hidden] { display: none !important; }
.hero-left img { border-radius: 22px 22px 0 0; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.level-kid, .cc-kid, .se-kid { clip-path: inset(5px 5px 0 5px); }
@media (min-width: 1024px) { .promo-spoken .promo-text { padding-left: 70px; } .promo-mic { left: 205px; top: 50%; transform: translateY(-50%); } }
.map-card iframe { background: #e8f0fb; }
.align-start { align-items: start !important; }
@media (min-width: 768px) {
  .hero-pills { display: flex; flex-wrap: wrap; justify-content: center; }
  .hero-pills li { white-space: nowrap; }
}
.hero h1 { font-size: clamp(1.7rem, 5.2vw, 2.8rem); }
.grid > * { min-width: 0; }
@media (max-width: 767.98px) {
  .topbar { grid-template-columns: 1fr auto auto; }
  .header-actions { display: contents; }
  .brand { grid-column: 1; grid-row: 1; }
  .lang-switch { grid-column: 2; grid-row: 1; padding: 4px 10px; }
  .nav-toggle { grid-column: 3; grid-row: 1; }
  .topbar .auth-pill { grid-column: 1 / -1; grid-row: 2; }
  .brand img { width: 130px; }
}
@media (min-width: 768px) and (max-width: 1199.98px) { .dir-body { grid-template-columns: 1fr; } }
.steps li, .top-feats li, .icon-row li, .pkg, .strengths li, .feature-strip li, .why-list li, .process-steps li { overflow-wrap: anywhere; }
@media (max-width: 400px) { .steps-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .top-feats { grid-template-columns: 1fr; } .pkgs { grid-template-columns: 1fr; } }
@media (min-width: 1024px) and (max-width: 1199.98px) { .main-nav a { padding: 6px 8px; font-size: .9rem; gap: 6px; } .main-nav li + li::before { margin: 0 2px; } }

/* =========================================================
   Approved design graphics (banners, cards, panels)
   ========================================================= */
.hero-banner { position: relative; background: linear-gradient(90deg, #0a4aa5, #0d63cf 50%, #0a4aa5); line-height: 0; }
.hb-inner { max-width: 1440px; margin: 0 auto; }
.hb-img { width: 100%; height: auto; }
.dimg { width: 100%; height: auto; display: block; border-radius: 16px; }
.hb-img.dimg { border-radius: 0; }
.dlink { display: block; border-radius: 16px; transition: transform .15s, box-shadow .15s; }
.dlink:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.dlink:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.img-grid { gap: 12px; }
.img-card { min-width: 0; }
.img-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 16px; transition: transform .15s, box-shadow .15s; }
.img-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.course-card.img-card { padding: 0; gap: 8px; }
.course-card.img-card .cc-details { background: #fff; border: 1px solid var(--line); }
.course-card.img-card:target { box-shadow: none; }
.course-card.img-card:target .img-btn { box-shadow: 0 0 0 4px var(--yellow); }
.banner-img .dimg, .dimg.banner-img { border-radius: 24px; }
.strip-img { border-radius: 18px; }
.center-img { display: flex; justify-content: center; }
.center-img .dimg { max-width: 760px; }
.center-cta.tight { margin-top: 10px; }
.se-level.img-card { display: flex; flex-direction: column; gap: 8px; padding: 0; }
.img-lab { padding-bottom: 12px; }
.img-lab .dlink, .img-lab .dimg { border-radius: 0; }
.img-lab .dlink:hover { transform: none; box-shadow: none; filter: brightness(1.04); }
.lbd2 { align-items: center; }
.center-col { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.btn-img { max-width: 520px; width: 100%; border-radius: 60px; }
.btn-img .dimg { border-radius: 60px; }
.side-img .dimg { border-radius: 20px; box-shadow: var(--shadow); }
.why-text { margin-top: 14px; }
.about-nctb { margin-top: 14px; }
.process-h { background: linear-gradient(180deg, var(--blue), var(--navy)); color: #fff; border-radius: 20px; padding: 12px 18px; margin: 0; font-size: 1.2rem; font-weight: 700; text-align: center; }
.desk-only { display: none !important; }
@media (min-width: 768px) {
  .desk-only { display: block !important; }
  .mob-only { display: none !important; }
  .lbd2 { grid-template-columns: 1.3fr 1fr; }
}
/* On phones, keep the banner readable: show the central (text) part of the design banner */
@media (max-width: 767.98px) {
  .hb-img { height: 150px; object-fit: cover; object-position: 50% 50%; }
}
@media (min-width: 1024px) {
  .se-grid .grid-3 { gap: 10px; }
}

/* ---------- Virtual Lab example experiments ---------- */
.lab-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 16px; }
.lab-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 700; color: var(--navy); cursor: pointer; }
.lab-tab[aria-selected="true"] { color: #fff; border-color: transparent; }
.tab-red[aria-selected="true"] { background: linear-gradient(180deg, #ef3b47, var(--red-dark)); }
.tab-blue[aria-selected="true"] { background: linear-gradient(180deg, var(--bright), var(--blue)); }
.tab-green[aria-selected="true"] { background: linear-gradient(180deg, #1fb158, var(--green)); }
.tab-purple[aria-selected="true"] { background: linear-gradient(180deg, #8a52e6, var(--purple)); }
.lab-panel { scroll-margin-top: 16px; }
.demo-grid { display: grid; gap: 18px; }
.demo-stage { background: linear-gradient(180deg, #f6faff, #e9f2ff); border: 2px solid #c9dcf5; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.demo-stage svg, .demo-stage canvas { width: 100%; max-width: 420px; height: auto; display: block; }
.demo-stage canvas { border-radius: 12px; border: 1px solid var(--line); }
.demo-side h3 { font-size: 1.3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.formula { font-family: var(--font-en); background: var(--yellow); color: var(--navy); border-radius: 8px; padding: 2px 10px; font-size: 1rem; }
.demo-steps { list-style: decimal; padding-left: 1.4em; margin-bottom: 12px; color: var(--muted); }
.demo-steps li { margin-bottom: 2px; }
.slider { margin-bottom: 12px; }
.slider label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.slider output { color: var(--red); font-weight: 800; }
.slider input[type="range"] { width: 100%; height: 32px; accent-color: var(--blue); }
.readouts { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; justify-content: center; }
.readouts p { margin: 0; background: #fff; border-radius: 12px; padding: 8px 14px; box-shadow: var(--shadow-sm); text-align: center; min-width: 120px; }
.readouts span { display: block; font-size: .82rem; color: var(--muted); }
.readouts strong { font-size: 1.15rem; color: var(--navy); }
.observe { display: flex; gap: 8px; align-items: flex-start; background: #eafaf0; border: 1px solid #94dba9; border-radius: 12px; padding: 10px 12px; font-weight: 600; }
.observe .ic { color: var(--green); margin-top: .2em; }
.wire-flow { animation: flow 2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -40; } }
.bulb-glow { transition: opacity .2s; filter: blur(4px); }
.chem-btns, .org-btns, .cell-toggle { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chem-btn, .org-btn { min-height: 42px; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; color: var(--navy); }
.chem-btn[aria-pressed="true"], .org-btn[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.org-btn:disabled { opacity: .5; cursor: not-allowed; }
.liquid { transition: fill .4s; }
.ph-scale { position: relative; width: 100%; max-width: 420px; height: 18px; border-radius: 9px; background: linear-gradient(90deg, #e3262b, #f07a28, #f6cf2a, #9cc93a, #4fb447, #1f8f95, #2d6fb5, #4b3a9e, #4a1f72); }
.ph-marker { position: absolute; top: -6px; width: 6px; height: 30px; margin-left: -3px; background: var(--navy); border-radius: 3px; transition: left .4s; left: 50%; }
.ph-labels { display: flex; justify-content: space-between; width: 100%; max-width: 420px; font-size: .8rem; color: var(--muted); }
.litmus { display: flex; gap: 14px; }
.strip { width: 22px; height: 60px; border-radius: 4px; transition: background .4s; box-shadow: var(--shadow-sm); }
.strip-blue { background: #3d7fe0; } .strip-blue.to-red { background: #e0453d; }
.strip-red { background: #e0453d; } .strip-red.to-blue { background: #3d7fe0; }
.cell [data-part] { transition: opacity .3s, filter .3s; }
.cell [data-part].hl { filter: drop-shadow(0 0 6px #FFD326) drop-shadow(0 0 2px #E51D2A); }
.cell.animal [data-part="wall"], .cell.animal [data-part="chloroplast"] { opacity: 0; }
.cell.animal [data-part="vacuole"] { transform: scale(.35); transform-origin: 200px 125px; }
.org-info { background: #fff; border: 2px solid #c3a8f2; border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; min-height: 76px; }
.org-info strong { color: var(--purple); font-size: 1.1rem; }
.org-info p { margin: 4px 0 0; }
.quiz { border: 2px solid #9cc7f5; border-radius: 14px; padding: 12px 14px; margin: 12px 0 0; background: #f6faff; }
.quiz legend { display: flex; gap: 6px; align-items: center; font-weight: 700; color: var(--navy); padding: 0 6px; }
.quiz ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 6px 0 10px; }
.q-opt { display: flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; min-height: 42px; }
.quiz-result { font-weight: 700; margin: 8px 0 0; }
.quiz-result.ok { color: var(--green); } .quiz-result.bad { color: var(--red); }
.vlab-ready .no-js-note, .no-js-note { display: none; }
.no-js .no-js-note { display: block; }
@media (min-width: 1024px) { .demo-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.demo-stage svg.beaker { max-width: 220px; } .demo-stage svg.circuit { max-width: 400px; }

/* =========================================================
   Page banners: picture-only background + live bilingual text
   ========================================================= */
.hero2 { position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(180deg, #1a72dc, #0c56b8); }
.hb-bg { display: none; }
.hb-text { position: relative; z-index: 1; padding: 22px 16px 16px; display: flex; flex-direction: column; align-items: center; }
.hero2 h1 { margin: 0; color: #fff; font-weight: 800; line-height: 1.2; font-size: clamp(1.55rem, 6.4vw, 2.2rem);
  text-shadow: 0 2px 6px rgba(0, 20, 70, .45); }
.hero2 h1 em { font-style: normal; color: var(--yellow); }
.hero2 .hb-ic { width: 1.15em; height: 1.15em; vertical-align: -.2em; margin-right: .3em; stroke-width: 1.8; filter: drop-shadow(0 2px 4px rgba(0, 20, 70, .4)); }
.hb-alt { margin: 4px 0 0; font-weight: 700; font-size: 1rem; text-shadow: 0 1px 4px rgba(0, 20, 70, .5); }
.hb-alt.big { font-size: clamp(1.1rem, 4.6vw, 1.5rem); }
.hb-sub { margin: 6px 0 0; font-size: .95rem; text-shadow: 0 1px 4px rgba(0, 20, 70, .5); }
.hb-sub.big { font-size: clamp(1rem, 4.2vw, 1.3rem); font-weight: 700; line-height: 1.35; }
.hb-sub.strong { font-weight: 700; font-size: 1.05rem; }
.hb-ribbon { margin: 10px 0 0; display: inline-block; background: var(--yellow); color: var(--navy); font-weight: 700; padding: 5px 18px; border-radius: 999px; font-size: .92rem; box-shadow: 0 3px 8px rgba(0, 20, 70, .3); }
.hb-ribbon.red { background: linear-gradient(180deg, #f2343f, var(--red-dark)); color: #fff; border: 2px solid #fff; }
.hero2 .hero-pills { margin: 10px 0 0; }
.hero2 .hero-pills li { color: #fff; }
.hero2 .coming-badge { margin: 10px 0 0; }
.swoosh { display: block; width: min(70%, 300px); height: 14px; margin: 6px auto 0; border-bottom: 5px solid var(--yellow); border-radius: 0 0 50% 50% / 0 0 100% 100%; transform: rotate(-2deg); }
.hb-script, .hb-bubble { display: none; }
.hb-pics { display: grid; grid-template-columns: 1fr 1fr; height: clamp(110px, 26vw, 200px); }
.hb-pics span { background-size: auto 100%; background-repeat: no-repeat; background-position: left center; }
.hb-pics span + span { background-position: right center; }
@media (min-width: 1200px) {
  .hero2 { min-height: calc(100vw * var(--r)); display: flex; align-items: center; justify-content: center; }
  .hb-bg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .hb-pics { display: none; }
  .hb-text { width: 100%; box-sizing: border-box; padding: 10px var(--x2) 10px var(--x1); }
  .hero2 h1 { font-size: clamp(1.6rem, 2.5vw, 2.6rem); }
  .hb-alt.big { font-size: clamp(1.1rem, 1.6vw, 1.6rem); }
  .hb-sub { font-size: clamp(.85rem, 1vw, 1rem); }
  .hb-sub.big { font-size: clamp(1rem, 1.45vw, 1.4rem); }
  .hero2-home h1 { font-size: clamp(1.4rem, 2.1vw, 2.2rem); }
  .hero2 .hero-pills { display: flex; flex-wrap: nowrap; gap: 8px; }
  .hero2 .hero-pills li { padding: 6px 10px; font-size: clamp(.75rem, .9vw, .9rem); white-space: nowrap; }
  .hb-script { display: block; position: absolute; z-index: 1; right: 12%; top: 12%; margin: 0; font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: clamp(1.2rem, 1.9vw, 1.9rem); line-height: 1.15; transform: rotate(-8deg); text-shadow: 0 2px 6px rgba(0, 20, 70, .5); border-bottom: 4px solid var(--yellow); padding-bottom: 2px; }
  .hb-bubble { display: flex; align-items: center; justify-content: center; position: absolute; z-index: 1; right: 10%; top: 10%; width: 12.5%; aspect-ratio: 1.2; margin: 0; background: #fff; color: var(--navy); border-radius: 50%; font-weight: 800; font-style: italic; font-size: clamp(.8rem, 1.1vw, 1.1rem); line-height: 1.2; padding: 8px 12px; box-sizing: border-box; box-shadow: var(--shadow); text-shadow: none; }
  .hb-bubble::after { content: ""; position: absolute; left: 14%; bottom: -8px; width: 22px; height: 22px; background: #fff; transform: rotate(35deg) skew(10deg); border-radius: 3px; }
}
@media (min-width: 1440px) { .hero2 { min-height: 290px; } }

/* =========================================================
   Live-text versions of the design cards, strips and bands
   (pictures come from assets/images/art and assets/images/*.webp)
   ========================================================= */
.tone-blue   { --c: #0b63ce; --c2: #0a3f96; --t1: #eaf5ff; --t2: #cfe5ff; }
.tone-green  { --c: #17a34a; --c2: #0d7a35; --t1: #effbe9; --t2: #d3f2c6; }
.tone-orange { --c: #e8590c; --c2: #c2410c; --t1: #fff6ea; --t2: #ffe3c4; }
.tone-purple { --c: #7c3aed; --c2: #5b21b6; --t1: #f6efff; --t2: #e6d8ff; }
.tone-pink   { --c: #db2777; --c2: #b0175c; --t1: #fff0f6; --t2: #ffd6e7; }
.tone-red    { --c: #e11d2a; --c2: #b8121d; --t1: #fff0f0; --t2: #ffd8d8; }
.tone-navy   { --c: #0b3a82; --c2: #082957; --t1: #eef4ff; --t2: #d9e6fb; }
.tone-teal   { --c: #0e8f8a; --c2: #0b6b67; --t1: #ebfbfa; --t2: #c9f1ee; }
.x-grid { gap: 14px; }
.x-pill { display: inline-block; background: linear-gradient(180deg, var(--c), var(--c2)); color: #fff; font-weight: 700; font-size: .9rem; padding: 3px 14px; border-radius: 999px; line-height: 1.4; }
.x-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; padding: 8px 16px; border: 0; border-radius: 999px; background: linear-gradient(180deg, var(--c), var(--c2)); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: 0 4px 10px rgba(8, 41, 87, .18); transition: transform .15s, filter .15s; }
.x-btn:hover { transform: translateY(-1px); filter: brightness(1.06); color: #fff; }
.x-btn .ic { width: 1.1em; height: 1.1em; }
.btn-xl { min-height: 60px; font-size: clamp(1.05rem, 2.8vw, 1.35rem); padding: .7em 2em; }

/* pill heading (navy by default) */
.x-ptitle { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 6px 22px 6px 14px; border-radius: 0 999px 999px 0; background: linear-gradient(180deg, var(--c, #0b3a82), var(--c2, #082957)); color: #fff; font-size: clamp(1.1rem, 3.4vw, 1.4rem); font-weight: 700; line-height: 1.3; box-shadow: 0 3px 8px rgba(8, 41, 87, .2); }
.x-ptitle .ic { width: 1.25em; height: 1.25em; flex: none; }
.x-card { padding: 0 0 16px; overflow: hidden; }
.x-card > .x-ptitle { margin: 0 0 14px; border-radius: 0 0 999px 0; }
.x-card > :not(.x-ptitle) { margin-left: 16px; margin-right: 16px; }

/* home: class level cards */
.x-lv { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 8px; min-height: 120px; padding: 10px 12px 0 8px; border-radius: 18px; border: 2px solid var(--c); background: linear-gradient(90deg, var(--t1), var(--t2)); color: var(--text); text-decoration: none; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.x-lv:hover, .x-feat:hover, .x-oc:hover, .x-cc:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.x-lv-kid { width: clamp(70px, 20vw, 104px); height: auto; align-self: end; }
.x-lv-body { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 0 10px; text-align: center; }
.x-lv-body h3 { margin: 0; color: var(--c2); font-size: clamp(1.35rem, 4.6vw, 1.75rem); font-weight: 800; line-height: 1.1; }
.x-lv-sub { font-size: .85rem; font-weight: 600; color: var(--muted); }
.x-lv-art { width: clamp(58px, 15vw, 104px); height: auto; align-self: center; padding-bottom: 8px; }

/* home: feature cards */
.x-feat { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 18px; border: 2px solid var(--c); background: linear-gradient(90deg, var(--t1), var(--t2)); color: var(--text); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.x-feat-img { width: clamp(84px, 24vw, 150px); height: auto; flex: none; border-radius: 10px; }
.x-feat-body h3 { margin: 0 0 2px; color: var(--c2); font-size: clamp(1.1rem, 3.6vw, 1.35rem); font-weight: 800; line-height: 1.25; }
.x-feat-body span { display: block; font-size: .95rem; font-weight: 600; color: #22314f; line-height: 1.45; }

/* yellow promo band */
.x-band { display: grid; grid-template-columns: 1fr; gap: 10px; align-items: center; justify-items: center; padding: 14px 16px; border-radius: 28px; background: linear-gradient(180deg, #fff27a, #ffd21e 60%, #ffc400); border: 3px solid #fff; box-shadow: var(--shadow); text-align: center; overflow: hidden; }
.x-band-pic img { display: block; width: clamp(150px, 46vw, 240px); height: auto; }
.x-band-text h2 { margin: 0; color: #d0101c; font-size: clamp(1.25rem, 4.6vw, 2rem); font-weight: 800; line-height: 1.25; }
.x-band-sub { margin: 4px 0 0; color: var(--navy); font-weight: 700; font-size: clamp(1rem, 3vw, 1.3rem); }
.x-ribbon { display: inline-block; margin: 8px 0 0; padding: 4px 16px; border-radius: 999px; background: linear-gradient(180deg, #f2343f, var(--red-dark)); color: #fff; font-weight: 700; font-size: .9rem; }
.x-band-side { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.x-blob { margin: 0; display: inline-block; padding: 12px 26px; background: var(--navy); color: #fff; font-weight: 800; font-style: italic; font-size: 1.15rem; line-height: 1.25; text-decoration: none; border-radius: 46% 54% 40% 60% / 60% 42% 58% 40%; transform: rotate(-4deg); box-shadow: 0 6px 14px rgba(8, 41, 87, .3); }
a.x-blob:hover { color: var(--yellow); }
.x-band-thin { padding: 10px 16px; }
.x-band-thin .x-band-pic img { width: 74px; }
.x-band-thin .x-band-text h2 { color: var(--navy); font-style: italic; font-size: clamp(1rem, 3vw, 1.3rem); }

/* icon strip with a heading pill */
.x-strip { position: relative; background: linear-gradient(180deg, #fff, #eef5ff); border: 2px solid #cfe0f7; border-radius: 22px; padding: 0 10px 12px; box-shadow: var(--shadow-sm); text-align: center; }
.x-strip > .x-ptitle { border-radius: 0 0 18px 18px; padding: 6px 26px; margin: 0 auto 12px; display: flex; width: fit-content; max-width: 100%; justify-content: center; }
.x-strip ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 6px; }
.x-strip li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 4px; font-weight: 700; font-size: .95rem; line-height: 1.3; color: var(--navy); }
.x-sic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(180deg, var(--t1), var(--t2)); color: var(--c); flex: none; }
.x-sic .ic { width: 30px; height: 30px; }
@media (min-width: 768px) {
  .x-strip ul { display: flex; justify-content: center; flex-wrap: wrap; }
  .x-strip li { flex: 1 1 0; min-width: 110px; }
  .x-strip li + li { border-left: 2px solid #dbe6f5; }
}

/* tiles (virtual lab features, strengths) */
.x-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.x-tiles li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: linear-gradient(180deg, #fff, #eef5ff); border: 2px solid #cfe0f7; font-weight: 700; color: var(--navy); line-height: 1.3; }
.x-tiles-3 li { flex-direction: column; text-align: center; background: linear-gradient(180deg, var(--t1, #fff), #fff); border-color: var(--t2, #cfe0f7); }
@media (min-width: 768px) { .x-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } .x-tiles.x-tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* courses: class cards and other courses */
.x-cc { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 20px; border: 2px solid var(--c); background: linear-gradient(160deg, var(--t1), var(--t2)); position: relative; transition: transform .15s, box-shadow .15s; }
.x-cc:target { box-shadow: 0 0 0 4px var(--yellow); }
.x-cc-top { display: flex; gap: 8px; align-items: flex-start; }
.x-cc-kid { width: 42%; max-width: 128px; height: auto; flex: none; }
.x-cc-text { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.x-cc-text h3 { margin: 0; color: var(--c2); font-size: clamp(1.3rem, 4.4vw, 1.6rem); font-weight: 800; line-height: 1.15; }
.x-cc-desc { margin: 0; font-size: .9rem; color: #22314f; line-height: 1.45; flex: 1; }
.x-cc-art { width: 78px; height: auto; }
.x-cc-top { justify-content: center; }
.x-oc .x-btn { font-size: .88rem; padding: 8px 10px; gap: 4px; }
.x-cc .cc-details { background: #fff; border-radius: 14px; padding: 12px; }
.x-oc { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 20px; border: 2px solid var(--c); background: linear-gradient(160deg, var(--t1), var(--t2)); transition: transform .15s, box-shadow .15s; }
.x-oc-top { display: flex; align-items: center; gap: 10px; }
.x-oc-img { width: 84px; height: auto; flex: none; border-radius: 10px; }
.x-oc h3 { margin: 0; color: var(--c2); font-size: 1.2rem; font-weight: 800; line-height: 1.2; }
.x-oc p { margin: 0; font-size: .92rem; color: #22314f; flex: 1; }
.x-oc .coming-badge { flex: 0; align-self: flex-start; }

/* spoken english */
.x-intro { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px; border-radius: 26px; background: linear-gradient(180deg, #f3f8ff, #dcebff); border: 2px solid #c6dcf7; box-shadow: var(--shadow-sm); text-align: center; }
.x-intro-img { width: min(260px, 70vw); height: auto; border-radius: 20px; }
.x-intro-text h2 { margin: 0; color: var(--navy); font-size: clamp(1.25rem, 4.4vw, 2rem); font-weight: 800; line-height: 1.25; }
.x-intro-alt { margin: 4px 0 10px; color: var(--blue); font-weight: 700; }
.x-intro .chip-row { justify-content: center; }
.x-sl { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 20px; border: 2px solid var(--c); background: linear-gradient(180deg, var(--t1), #fff); }
.x-sl-top { display: flex; align-items: flex-end; gap: 8px; }
.x-sl-kid { width: 84px; height: auto; flex: none; }
.x-sl h3 { margin: 0 0 6px; color: var(--c2); font-size: 1.3rem; font-weight: 800; line-height: 1.15; }
.x-bars { display: inline-flex; align-items: flex-end; gap: 4px; height: 26px; }
.x-bars i { display: block; width: 8px; background: #cbd5e1; border-radius: 2px; }
.x-bars i:nth-child(1) { height: 40%; } .x-bars i:nth-child(2) { height: 70%; } .x-bars i:nth-child(3) { height: 100%; }
.x-bars i.on { background: var(--c); }
.x-ticks li { display: flex; gap: 6px; align-items: flex-start; font-weight: 600; padding: 2px 0; }
.x-ticks .ic { color: var(--c); margin-top: .2em; flex: none; }
.x-sl .btn { margin-top: auto; }
@media (min-width: 768px) {
  .x-intro { flex-direction: row; text-align: left; padding: 10px 24px 10px 10px; }
  .x-intro .chip-row { justify-content: flex-start; }
}

/* steps row */
.x-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 8px; counter-reset: s; }
.x-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-weight: 700; color: var(--navy); line-height: 1.3; font-size: .95rem; }
.x-step-ic { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 70%, #fff), var(--c2)); color: #fff; box-shadow: 0 4px 10px rgba(8, 41, 87, .25); border: 3px solid #fff; }
.x-step-ic .ic { width: 30px; height: 30px; }
.x-step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: .95rem; }
@media (min-width: 640px) {
  .x-steps { display: flex; justify-content: center; align-items: flex-start; gap: 0; }
  .x-steps li { flex: 1 1 0; padding: 0 6px; }
  .x-steps li + li::before { content: ""; position: absolute; left: -9px; top: 22px; width: 18px; height: 18px; border-top: 4px solid var(--green); border-right: 4px solid var(--green); transform: rotate(45deg); border-radius: 2px; }
}
.x-steps3 { display: grid; gap: 12px; align-items: center; padding: 12px; border-radius: 24px; background: linear-gradient(180deg, #fff, #eef5ff); border: 2px solid #cfe0f7; box-shadow: var(--shadow-sm); }
.x-steps3 h2 { margin: 0; padding: 10px 22px; border-radius: 18px; background: linear-gradient(180deg, var(--blue), var(--navy)); color: #fff; font-size: clamp(1.1rem, 3.4vw, 1.45rem); text-align: center; line-height: 1.25; }
@media (min-width: 900px) { .x-steps3 { grid-template-columns: 240px 1fr; } .x-steps3 h2 { border-radius: 18px 60px 60px 18px; text-align: left; } }

/* virtual lab cards */
.x-lab { display: flex; flex-direction: column; border-radius: 20px; border: 2px solid var(--c); background: linear-gradient(180deg, var(--t1), #fff); overflow: hidden; padding-bottom: 14px; }
.x-lab > *:not(.x-lab-img) { margin-left: 14px; margin-right: 14px; }
.x-lab-img { width: 100%; height: auto; aspect-ratio: 152 / 105; object-fit: cover; }
.x-lab-title { margin: -18px 14px 0; position: relative; padding: 6px 12px; border-radius: 999px; background: linear-gradient(180deg, var(--c), var(--c2)); color: #fff; text-align: center; font-size: 1.2rem; font-weight: 800; box-shadow: 0 4px 10px rgba(8, 41, 87, .25); }
.x-lab-alt { margin: 6px 0 0; text-align: center; color: var(--c2); font-weight: 700; }
.x-lab .ticks { flex: 1; }
.x-lab .x-btn { width: auto; margin-top: 8px; }
.x-lbd { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.x-lbd-img { width: min(100%, 420px); height: auto; }
.x-slant { display: inline-block; margin: 0 0 8px; padding: 6px 26px; background: linear-gradient(180deg, var(--blue), var(--navy)); color: #fff; font-style: italic; font-size: clamp(1.3rem, 4vw, 1.7rem); transform: skew(-10deg); border-radius: 6px; }
@media (min-width: 768px) { .x-lbd { flex-direction: row; } }

/* about */
.x-who-body { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.x-who-body p { margin: 0; font-size: 1.02rem; line-height: 1.65; }
.x-who-img { width: 170px; height: auto; flex: none; }
@media (min-width: 560px) { .x-who-body { flex-direction: row; align-items: flex-end; } }
.x-vm { display: grid; gap: 14px; }
.x-vmc { border-radius: 20px; border: 2px solid var(--c); background: linear-gradient(90deg, var(--t1), #fff); overflow: hidden; padding-bottom: 12px; }
.x-vmc > .x-ptitle { border-radius: 0 0 999px 0; }
.x-vmc-body { display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.x-vmc-body p { margin: 0; font-weight: 600; flex: 1; }
.x-vmc-art { width: 80px; height: auto; flex: none; }
.x-dir-body { display: flex; flex-direction: column; gap: 14px; }
.x-dir-photo { width: min(210px, 60vw); height: auto; border-radius: 16px; box-shadow: var(--shadow-sm); align-self: center; }
.x-dir-body p { margin: 0 0 8px; }
.x-dir-role { font-weight: 600; color: var(--muted); }
@media (min-width: 560px) { .x-dir-body { flex-direction: row; align-items: flex-start; } .x-dir-photo { align-self: flex-start; } }

/* auth side panels */
.x-panel { border-radius: 22px; overflow: hidden; background: #fff; border: 2px solid #cfe0f7; box-shadow: var(--shadow); align-self: start; }
.x-panel-head { background: linear-gradient(180deg, #1a6fd6, #0a3f96); color: #fff; text-align: center; padding: 16px 16px 0; }
.x-panel-head h2 { margin: 0; color: #fff; font-size: clamp(1.3rem, 4vw, 1.75rem); line-height: 1.25; }
.x-panel-head p { margin: 6px 0 0; font-weight: 600; }
.x-panel-img { display: block; width: 100%; height: auto; margin: 12px auto 0; }
.x-panel-head:not(:has(img)) { padding-bottom: 16px; }
.x-rows { display: grid; gap: 8px; padding: 12px; }
.x-rows li { display: flex; align-items: center; gap: 12px; padding: 6px 12px 6px 6px; border-radius: 14px; background: linear-gradient(90deg, var(--t1), #fff); border: 1px solid var(--t2); font-weight: 700; color: var(--navy); line-height: 1.3; }
.x-rows .x-sic { width: 44px; height: 44px; background: #fff; }
.x-rows .x-sic .ic { width: 26px; height: 26px; }

@media (min-width: 768px) {
  .x-band { grid-template-columns: auto 1fr auto; text-align: left; justify-items: start; padding: 6px 26px 6px 10px; }
  .x-band-text { justify-self: stretch; text-align: center; }
  .x-band-pic img { width: clamp(160px, 20vw, 250px); }
  .x-band-thin .x-band-pic img { width: 64px; }
}
.x-tiles li > span:last-child, .x-rows li > span:last-child, .x-strip li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 359.98px) { .x-tiles:not(.x-tiles-3) { grid-template-columns: 1fr; } }

/* =========================================================
   Design gradients (client feedback: keep the colourful, glossy
   gradients of the reference designs behind the live text)
   ========================================================= */
.tone-blue   { --t3: #8fd2ff; --hi: #4fb3ff; }
.tone-green  { --t3: #a6ec86; --hi: #46c95a; }
.tone-orange { --t3: #ffc58a; --hi: #ff9a3c; }
.tone-purple { --t3: #d7b8ff; --hi: #a66bff; }
.tone-pink   { --t3: #ffb3d1; --hi: #f05a9b; }
.tone-red    { --t3: #ffb0b0; --hi: #ff4b55; }
.tone-navy   { --t3: #a9c8f5; --hi: #2f6fd0; }
.tone-teal   { --t3: #9fe7e0; --hi: #23b8ad; }

/* pastel card: white sheen at top-left, colour deepening to the right, wave in the corner */
.x-lv, .x-feat, .x-cc, .x-oc, .x-sl, .x-lab, .x-vmc {
  border: 3px solid var(--c);
  background:
    radial-gradient(130% 70% at 108% 118%, color-mix(in srgb, var(--hi) 75%, transparent) 0 30%, transparent 31%),
    radial-gradient(150% 85% at 108% 122%, color-mix(in srgb, var(--t3) 80%, transparent) 0 38%, transparent 39%),
    linear-gradient(115deg, rgba(255, 255, 255, .9) 0 22%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(90deg, var(--t1) 0%, var(--t2) 55%, var(--t3) 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85), 0 6px 16px color-mix(in srgb, var(--c) 22%, transparent);
}
.x-cc, .x-oc, .x-sl, .x-lab {
  background:
    radial-gradient(120% 40% at 100% 104%, color-mix(in srgb, var(--hi) 70%, transparent) 0 30%, transparent 31%),
    radial-gradient(140% 50% at 100% 108%, color-mix(in srgb, var(--t3) 85%, transparent) 0 40%, transparent 41%),
    linear-gradient(125deg, rgba(255, 255, 255, .95) 0 25%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, var(--t1) 0%, var(--t2) 60%, var(--t3) 100%);
}
.x-lab { background:
    radial-gradient(120% 30% at 100% 104%, color-mix(in srgb, var(--hi) 60%, transparent) 0 30%, transparent 31%),
    linear-gradient(180deg, #fff 0%, var(--t1) 40%, var(--t2) 80%, var(--t3) 100%); }

/* glossy buttons and pills (light top, deep bottom, shine line) */
.x-btn, .x-pill, .btn-red, .btn-blue, .btn-green, .btn-orange, .btn-purple, .btn-pink, .x-lab-title, .x-ribbon, .hb-ribbon.red, .coming-badge {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .38) 0%, rgba(255, 255, 255, .12) 48%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .12) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(0, 0, 0, .15), 0 4px 10px rgba(8, 41, 87, .22);
}
.x-btn, .x-pill, .x-lab-title { background-color: var(--c); }
.btn-red, .x-ribbon, .hb-ribbon.red, .coming-badge { background-color: #e11d2a; }
.btn-blue { background-color: #0b63ce; } .btn-green { background-color: #17a34a; } .btn-orange { background-color: #ef6c0c; }
.btn-purple { background-color: #7c3aed; } .btn-pink { background-color: #db2777; }

/* glossy navy section headings */
.sec-title, .x-ptitle, .x-steps3 h2, .x-slant, .process-h, .bar-title {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, .06) 48%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .18) 100%), linear-gradient(90deg, var(--c2, #082957), var(--c, #1460c8));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 4px 10px rgba(8, 41, 87, .25);
}
.sec-title { --c: #1460c8; --c2: #082957; }

/* yellow promo band: glossy golden gradient */
.x-band {
  background:
    radial-gradient(70% 120% at 50% -30%, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #fff59a 0%, #ffe42e 35%, #ffd000 70%, #ffb800 100%);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #ffcf2e, 0 8px 22px rgba(196, 140, 0, .35);
}

/* icon strips, tiles and panels: soft blue gradient like the design */
.x-strip { background: linear-gradient(180deg, #ffffff 0%, #eef6ff 55%, #d9ebff 100%); border-color: #b9d6f6; }
.x-tiles li { background: linear-gradient(180deg, #ffffff 0%, #eaf4ff 60%, #d6e9ff 100%); }
.x-tiles-3 li { background: linear-gradient(180deg, #fff 0%, var(--t1) 50%, var(--t2) 100%); border-color: var(--t3); }
.x-sic { background: linear-gradient(180deg, #fff 0%, var(--t2) 100%); box-shadow: inset 0 0 0 1px var(--t3); }
.x-rows li { background: linear-gradient(90deg, #fff 0%, var(--t1) 40%, var(--t2) 100%); border-color: var(--t3); }
.x-panel-head { background: radial-gradient(90% 60% at 50% 0%, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #2a86f0 0%, #0b5ed0 45%, #08378a 100%); }
.x-intro { background: radial-gradient(60% 120% at 0% 50%, #ffe14d 0 30%, transparent 31%), linear-gradient(90deg, #fff 0%, #e8f3ff 45%, #c9e2ff 100%); }
.x-steps3, .x-card { background-image: linear-gradient(180deg, #ffffff 0%, #f1f7ff 60%, #e2efff 100%); }
.x-step-ic { background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 45%), linear-gradient(180deg, var(--hi), var(--c2)); }

/* page banners: light rays and glow behind the live headline */
.hero2::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 34%, #000 66%, transparent 80%); mask-image: linear-gradient(90deg, transparent 20%, #000 34%, #000 66%, transparent 80%);
  background:
    radial-gradient(45% 75% at 50% 45%, rgba(120, 200, 255, .45), rgba(120, 200, 255, 0) 70%),
    repeating-conic-gradient(from 0deg at 50% 120%, rgba(255, 255, 255, .07) 0 4deg, rgba(255, 255, 255, 0) 4deg 11deg),
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 40%, rgba(0, 30, 90, .18)); }
.hb-text, .hb-script, .hb-bubble { z-index: 2; }
@media (max-width: 1199.98px) { .hero2::after { -webkit-mask-image: none; mask-image: none; bottom: auto; height: calc(100% - clamp(110px, 26vw, 200px)); } }
.hero-pills li { background-image: linear-gradient(180deg, rgba(255, 255, 255, .38) 0%, rgba(255, 255, 255, .1) 48%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .14) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 4px 10px rgba(0, 20, 70, .3); }
.pill-red { background-color: #e11d2a; } .pill-blue { background-color: #0b63ce; } .pill-green { background-color: #17a34a; } .pill-purple { background-color: #7c3aed; }
.hb-ribbon:not(.red), .x-blob { background-image: linear-gradient(180deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, .08)); }
.hb-ribbon:not(.red) { background-color: var(--yellow); }
.x-blob { background-color: var(--navy); background-image: linear-gradient(180deg, #1f4fa8, #0a2a66 60%, #071c48); }
/* bolder, full-colour icons like the design */
.x-strip .x-sic, .x-tiles:not(.x-tiles-3) .x-sic { background: none; box-shadow: none; width: 56px; height: 52px; }
.x-strip .x-sic .ic, .x-tiles .x-sic .ic { width: 38px; height: 38px; stroke-width: 2.2; filter: drop-shadow(0 2px 2px color-mix(in srgb, var(--c) 35%, transparent)); }
.x-tiles-3 .x-sic { background: none; box-shadow: none; }
.x-tiles-3 li { border-width: 2px; border-color: var(--hi); }
.x-card, .x-steps3, .x-strip { border: 2px solid #9cc6f3; background-image: radial-gradient(100% 60% at 100% 0%, rgba(173, 214, 255, .55), rgba(173, 214, 255, 0) 70%), linear-gradient(180deg, #ffffff 0%, #eef6ff 55%, #d8eaff 100%); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .8), 0 6px 18px rgba(8, 63, 150, .14); }
.x-vmc > .x-ptitle, .x-card > .x-ptitle { font-size: clamp(1.15rem, 3.4vw, 1.5rem); }
.x-who-body p, .x-dir-body p:first-child, .x-vmc-body p { font-size: 1.05rem; font-weight: 600; color: #13213a; }
