/* chat.f1mtech.com landing, f1mtech.com look (f1x system): navy + logo orange, Bricolage/Manrope,
   boxed cards with drifting colour blobs, cartoon counsellor, real class photos. */
:root {
    --navy: #13295B;
    --navy-deep: #0A1A3D;
    --navy-ink: #10245A;
    --blue: #2F5BD3;
    --orange: #F39200;
    --amber: #F5A524;
    --ink: #0E1A33;
    --text: #4A566E;
    --muted: #6B7489;
    --line: rgba(14, 26, 51, .1);
    --cool: #EDF1F7;
    --warm: #F7F3EC;
    --white: #fff;
    --r: 18px;
    --r-lg: 28px;
    --shadow: 0 18px 40px rgba(16, 36, 90, .10);
    --font-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
    --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lx { margin: 0; background: #fff; color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.lx img { max-width: 100%; display: block; }
.lx button { font: inherit; cursor: pointer; }
.lx-wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.lx-skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.lx-skip:focus { left: 12px; }
.lx h1, .lx h2, .lx h3, .lx h4 { font-family: var(--font-display); letter-spacing: -.02em; margin: 0; }

/* Buttons */
.lx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; font-size: 15px; text-decoration: none; transition: transform .24s var(--ease), box-shadow .24s var(--ease), background .24s; }
.lx-btn:hover { transform: translateY(-2px); }
.lx-btn--amber { background: linear-gradient(135deg, #FFB43D, var(--orange)); color: #1B1205; box-shadow: 0 12px 26px rgba(243, 146, 0, .32); }
.lx-btn--navy { background: var(--navy); color: #fff; box-shadow: 0 10px 22px rgba(19, 41, 91, .25); }
.lx-btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.lx-btn--line { background: #fff; color: var(--navy); border-color: rgba(19, 41, 91, .25); }
.lx-btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.lx-link { color: var(--blue); font-weight: 700; font-size: 14px; text-decoration: none; }
.lx-link:hover { text-decoration: underline; }

/* Header */
.lx-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.lx-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(16, 36, 90, .06); }
.lx-header__row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.lx-brand img { width: 160px; height: auto; }
.lx-nav { display: flex; gap: 26px; margin-left: 12px; }
.lx-nav a { color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.lx-nav a:hover { color: var(--blue); }
.lx-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lx-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 999px; font-weight: 800; font-size: 14px; text-decoration: none; }
.lx-pill--amber { background: #FFC24D; color: #1B1205; }
.lx-menu { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.lx-menu span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }
.lx-mobile { display: none; }

/* Hero: boxed navy card with drifting colour blobs */
.lx-hero-wrap { padding-top: 18px; }
.lx-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; min-height: 560px; padding: 56px 56px 0; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 55%, #0E1F4A 100%); color: #fff; }
.lx-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(120, 160, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 160, 255, .08) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(80% 90% at 70% 50%, #000 15%, transparent 75%); mask-image: radial-gradient(80% 90% at 70% 50%, #000 15%, transparent 75%); }
.lx-mesh { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.lx-mesh i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; animation: lxDrift 20s ease-in-out infinite alternate; }
.lx-mesh i:nth-child(1) { width: 46%; height: 80%; left: -10%; top: -30%; background: var(--blue); animation-duration: 22s; }
.lx-mesh i:nth-child(2) { width: 40%; height: 75%; right: -6%; top: -25%; background: var(--orange); opacity: .5; animation-delay: -6s; }
.lx-mesh i:nth-child(3) { width: 38%; height: 70%; left: 30%; bottom: -40%; background: #7A4BE0; opacity: .55; animation-delay: -11s; animation-duration: 26s; }
.lx-mesh i:nth-child(4) { width: 30%; height: 60%; right: 18%; bottom: -30%; background: #21B5E8; opacity: .4; animation-delay: -3s; }
@keyframes lxDrift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6%, 8%) scale(1.08); } 100% { transform: translate(-5%, -4%) scale(.96); } }

.lx-hero__copy { position: relative; z-index: 2; padding-bottom: 56px; align-self: center; }
.lx-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .07); color: #FFD27A; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lx-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.lx-hero h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.04; font-weight: 800; }
.lx-hero__sub { margin: 12px 0 0; color: #FFC24D; font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 700; }
.lx-hero__text { max-width: 560px; margin: 14px 0 0; color: #C9D3E8; font-size: 16.5px; }
.lx-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.lx-ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 24px 0 0; padding: 0; list-style: none; }
.lx-ticks li { display: flex; align-items: center; gap: 7px; color: #E3E9F6; font-size: 14px; font-weight: 700; }
.lx-ticks li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(245, 165, 36, .2); color: #FFC24D; font-size: 11px; font-weight: 900; }
.lx-notice { margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 194, 77, .14); color: #FFE2A8; font-size: 14px; }

/* Hero art: a light rounded stage with the counsellor at her desk; the chat card overlaps its corner. */
.lx-hero__art { position: relative; z-index: 1; align-self: end; padding: 0 0 48px 0; }
.lx-stage { position: relative; overflow: hidden; aspect-ratio: 1100 / 820; border-radius: 26px; background: radial-gradient(70% 80% at 30% 20%, #FFFFFF 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(135deg, #EAF0FF 0%, #F4F1FF 45%, #FFEFD9 100%); box-shadow: 0 30px 70px rgba(4, 12, 34, .35); }
.lx-stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(47, 91, 211, .14) 1.4px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%); mask-image: linear-gradient(180deg, #000 0%, transparent 70%); }
.lx-stage__tag { position: absolute; left: 18px; top: 18px; z-index: 2; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--navy); font-size: 12.5px; font-weight: 800; box-shadow: 0 8px 18px rgba(19, 41, 91, .12); }
.lx-person { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; }
/* Compact card (greeting + start button) on the stage's lower-left corner: over the desk, never her face.
   The topic buttons live in the section below, so the card does not repeat them. */
.lx-chatcard { position: absolute; left: -40px; bottom: 16px; z-index: 3; width: min(270px, 48%); padding: 14px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px rgba(4, 12, 34, .4); animation: lxFloat 6s ease-in-out infinite; }
.lx-chatcard .lx-chatcard__bubble p, .lx-chatcard .lx-chatcard__chips { display: none; }
@keyframes lxFloat { 50% { transform: translateY(-8px); } }
.lx-chatcard__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.lx-chatcard__head img { width: 40px; height: 40px; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.lx-chatcard__head strong { display: block; font-size: 15px; }
.lx-chatcard__head span { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 600; }
.lx-chatcard__head i { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; }
.lx-chatcard__bubble { margin: 12px 0; padding: 12px 14px; border-radius: 4px 16px 16px 16px; background: #EEF3FF; font-size: 13.5px; }
.lx-chatcard__bubble p { margin: 4px 0 0; color: var(--text); }
.lx-chatcard__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lx-chatcard__chips button { padding: 7px 11px; border: 1px solid rgba(47, 91, 211, .25); border-radius: 999px; background: #fff; color: var(--blue); font-size: 12.5px; font-weight: 700; }
.lx-chatcard__chips button:hover { background: #EEF3FF; }
.lx-chatcard__start { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 12px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; }
.lx-context { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.lx-context span { padding: 8px 12px; border: 1px solid rgba(255, 194, 77, .35); border-radius: 12px; background: rgba(255, 255, 255, .10); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.3; }
.lx-context small { display: block; color: #FFC24D; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

/* Sections */
.lx-section { padding: clamp(56px, 7vw, 96px) 0; }
.lx-section--cool { background: var(--cool); }
.lx-section--warm { background: var(--warm); }
.lx-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.lx-kicker { margin: 0 0 10px; color: var(--orange); font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.lx-head h2, .lx-classes__copy h2 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); line-height: 1.12; font-weight: 800; color: var(--ink); }
.lx-head p:not(.lx-kicker), .lx-classes__copy p:not(.lx-kicker) { margin: 12px 0 0; color: var(--text); font-size: 16.5px; }

/* Topic cards */
.lx-topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lx-topic { position: relative; display: grid; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-align: left; color: var(--ink); transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s; }
.lx-topic:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--tone) 40%, transparent); }
.lx-topic__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: color-mix(in srgb, var(--tone) 12%, #fff); color: var(--tone); font-size: 22px; font-weight: 800; }
.lx-topic strong { font-family: var(--font-display); font-size: 19px; }
.lx-topic small { color: var(--text); font-size: 14.5px; }
.lx-topic em { color: var(--tone); font-style: normal; font-weight: 800; font-size: 14px; }

/* Courses */
.lx-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.lx-tab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1px solid rgba(19, 41, 91, .15); border-radius: 999px; background: #fff; color: var(--navy); font-weight: 800; font-size: 14.5px; }
.lx-tab span { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: var(--cool); font-size: 12px; }
.lx-tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 10px 22px rgba(19, 41, 91, .22); }
.lx-tab.is-active span { background: var(--orange); color: #1B1205; }
.lx-group { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 6px 0 16px; font-size: 20px; color: var(--ink); }
.lx-group small { color: var(--muted); font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.lx-full { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; margin-bottom: 34px; }
.lx-course { border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: transform .24s var(--ease), box-shadow .24s var(--ease); }
.lx-course:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.lx-course--full { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-top: 4px solid var(--orange); }
.lx-course__top { display: flex; gap: 14px; align-items: center; }
.lx-course__icon { width: 64px; height: 64px; border-radius: 16px; object-fit: contain; background: #F3F6FF; }
.lx-course h4 { font-size: 19px; line-height: 1.2; }
.lx-meta { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; font-weight: 700; }
.lx-course__text { margin: 0; color: var(--text); font-size: 14.5px; }
.lx-levels { display: flex; flex-wrap: wrap; gap: 6px; }
.lx-levels span { padding: 4px 10px; border-radius: 99px; background: #FFF3DF; color: #8A4B00; font-size: 12.5px; font-weight: 800; }
.lx-course__actions { display: flex; align-items: center; gap: 16px; margin-top: auto; }
.lx-code { display: grid; place-items: center; flex: 0 0 auto; width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(145deg, #E8F0FF, #D7E4FF); color: var(--blue); font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.lx-code--sm { width: 46px; height: 46px; border-radius: 13px; font-size: 14px; }
.lx-short { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.lx-course--short { display: grid; grid-template-columns: 46px 1fr 16px; align-items: center; gap: 12px; padding: 12px 14px; text-align: left; color: var(--ink); }
.lx-course__name strong { display: block; font-size: 15px; line-height: 1.25; }
.lx-course__name small { color: var(--muted); font-size: 12.5px; font-weight: 700; }
.lx-chev { color: var(--blue); font-size: 22px; font-weight: 800; }

/* Classroom photos */
.lx-classes { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.lx-photos { position: relative; min-height: 420px; }
.lx-photo { position: absolute; border: 6px solid #fff; border-radius: 22px; object-fit: cover; box-shadow: var(--shadow); }
.lx-photo--a { left: 0; top: 0; width: 72%; height: 290px; transform: rotate(-2deg); }
.lx-photo--b { right: 0; top: 70px; width: 46%; height: 200px; transform: rotate(3deg); }
.lx-photo--c { left: 18%; bottom: 0; width: 52%; height: 170px; transform: rotate(1.5deg); }

/* Centres */
.lx-centres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lx-centre { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.lx-centre--online { background: var(--navy); color: #fff; border-color: var(--navy); }
.lx-centre__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #FFF3DF; color: var(--orange); font-size: 20px; font-weight: 800; }
.lx-centre--online .lx-centre__icon { background: rgba(255, 255, 255, .12); color: #FFC24D; }
.lx-centre h3 { font-size: 18px; }
.lx-centre p { margin: 0; color: var(--text); font-size: 14px; }
.lx-centre--online p { color: #C9D3E8; }
.lx-centre__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.lx-centre__actions button, .lx-centre__actions a { padding: 8px 13px; border: 1px solid rgba(19, 41, 91, .18); border-radius: 99px; background: #fff; color: var(--navy); font-size: 13px; font-weight: 800; text-decoration: none; }
.lx-centre--online .lx-centre__actions button, .lx-centre--online .lx-centre__actions a { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }

/* How it works */
.lx-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.lx-steps li { position: relative; padding: 26px; border-radius: var(--r); background: var(--cool); }
.lx-steps span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: var(--orange); color: #1B1205; font-family: var(--font-display); font-size: 18px; font-weight: 800; }
.lx-steps h3 { font-size: 19px; }
.lx-steps p { margin: 6px 0 0; color: var(--text); font-size: 14.5px; }

/* Closing band */
.lx-cta-wrap { padding-bottom: 72px; }
.lx-cta { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 44px 48px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: #fff; }
.lx-cta h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.lx-cta p { max-width: 620px; margin: 8px 0 0; color: #C9D3E8; }

/* Footer */
.lx-footer { background: var(--navy-deep); color: #C9D3E8; padding-top: 56px; }
.lx-footer__grid { display: grid; grid-template-columns: minmax(230px, 300px) minmax(0, 1fr); gap: 40px; align-items: start; }
.lx-footer__logo { display: inline-block; padding: 8px 12px; border-radius: 12px; background: #fff; }
.lx-footer__logo img { width: 150px; height: auto; }
.lx-footer__brand p { margin: 14px 0; font-size: 14.5px; }
.lx-footer__wa { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; text-decoration: none; }
.lx-footer__wa .whatsapp-icon { width: 20px; height: 20px; }
/* Centre cards: auto-fit, so 2, 3, 4 or more centres share the row and wrap neatly. */
.lx-footer__label { margin: 0 0 14px; color: #FFC24D; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lx-footer__offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
/* Exactly 4 centres: 2 x 2 reads better than 3 + 1. */
.lx-footer__offices:has(> :nth-child(4):last-child) { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.lx-footer__office { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px 18px 18px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); overflow: hidden; transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease); }
.lx-footer__office::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--orange), var(--amber) 60%, transparent); }
.lx-footer__office::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(243, 146, 0, .18), transparent 70%); pointer-events: none; }
.lx-footer__office:hover { transform: translateY(-3px); border-color: rgba(255, 194, 77, .35); background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); }
.lx-footer__city { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: rgba(243, 146, 0, .16); color: #FFC24D; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; }
.lx-footer__office h2 { margin: 0; color: #fff; font-family: var(--font-display); font-size: 17px; line-height: 1.25; }
.lx-footer__office address { display: flex; gap: 8px; font-style: normal; font-size: 13.5px; line-height: 1.5; }
.lx-footer__office svg { flex: none; width: 16px; height: 16px; margin-top: 2px; fill: none; stroke: #FFC24D; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lx-footer__contact { display: grid; gap: 6px; margin-top: auto; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, .12); }
.lx-footer__contact a { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13.5px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.lx-footer__contact a svg { margin-top: 0; }
.lx-footer__contact a:hover { color: #FFC24D; }
.lx-footer__map { color: #FFC24D; font-size: 13px; font-weight: 800; text-decoration: none; }
.lx-footer__map span { display: inline-block; transition: transform .3s var(--ease); }
.lx-footer__map:hover span { transform: translateX(4px); }
.lx-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding: 18px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.lx-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 16px; }
.lx-footer__bottom a { color: #C9D3E8; text-decoration: none; }
.lx-footer__bottom a:hover { color: #fff; }
.lx-footer__bottom p { margin: 0; }

.lx-starting { position: fixed; left: 50%; bottom: 24px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; opacity: 0; transform: translate(-50%, 10px); transition: .3s; pointer-events: none; }
.lx-starting.visible { opacity: 1; transform: translate(-50%, 0); }

/* Tablet */
@media (max-width: 1100px) {
    .lx-nav { display: none; }
    .lx-menu { display: flex; }
    .lx-mobile.open { display: grid; gap: 4px; padding: 8px 16px 16px; border-top: 1px solid var(--line); background: #fff; }
    .lx-mobile a { padding: 10px 4px; color: var(--ink); font-weight: 700; text-decoration: none; }
    .lx-hero { grid-template-columns: 1fr; padding: 40px 32px 0; }
    .lx-hero__copy { padding-bottom: 8px; }
    .lx-hero__art { width: min(640px, 100%); margin-left: auto; padding-bottom: 40px; }
    .lx-chatcard { left: -24px; }
    .lx-topics { grid-template-columns: repeat(2, 1fr); }
    .lx-centres { grid-template-columns: repeat(2, 1fr); }
    .lx-classes { grid-template-columns: 1fr; }
    .lx-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Phone */
@media (max-width: 640px) {
    .lx-header__row { min-height: 64px; gap: 10px; }
    .lx-brand img { width: 120px; }
    .lx-pill--amber { display: none; }
    .lx-hero-wrap { padding-top: 10px; }
    .lx-hero { padding: 30px 20px 0; border-radius: 22px; }
    .lx-hero__text { font-size: 15.5px; }
    .lx-hero__actions .lx-btn { width: 100%; }
    .lx-hero__art { width: 100%; padding-bottom: 20px; }
    .lx-stage { border-radius: 20px; }
    .lx-stage__tag { left: 12px; top: 12px; font-size: 11px; padding: 5px 10px; }
    /* Phones: the chat card sits under the stage (overlapping its bottom edge), never over her face. */
    .lx-chatcard { position: relative; left: auto; bottom: auto; width: auto; margin: -28px 12px 0; padding: 12px; border-radius: 18px; animation: none; }
    .lx-chatcard__head img { width: 32px; height: 32px; }
    .lx-chatcard__head strong { font-size: 13px; }
    .lx-chatcard__bubble { margin: 10px 0 0; padding: 10px; font-size: 12.5px; }
    .lx-chatcard__bubble p, .lx-chatcard__chips { display: none; }
    .lx-chatcard__start { padding: 10px 12px; font-size: 13px; }
    .lx-topics, .lx-centres, .lx-steps { grid-template-columns: 1fr; }
    .lx-full { grid-template-columns: 1fr; }
    /* Every category visible: boxes, 2 per row; an odd last box takes the full row. */
    .lx-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .lx-tab { justify-content: space-between; min-height: 52px; padding: 10px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.25; text-align: left; }
    .lx-tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .lx-photos { min-height: 330px; }
    .lx-photo--a { height: 220px; }
    .lx-photo--b { height: 150px; top: 60px; }
    .lx-photo--c { height: 130px; }
    .lx-cta { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
    .lx-cta .lx-btn { width: 100%; }
    .lx-footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .lx-mesh i, .lx-chatcard { animation: none; }
    .lx-btn, .lx-topic, .lx-course { transition: none; }
}

/* Jyoti, the AI Counsellor (2026-11-13): her face in the chat card. */
.lx-chatcard__head img.lx-chatcard__face { border-radius: 50%; object-fit: cover; border: 2px solid #F5B301; }
