.flag-language-control{display:flex;align-items:center;gap:7px;position:relative;left:-3px}
.unified-account-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 13px;border:1px solid var(--stroke);border-radius:99px;background:#fff;color:var(--ink);font-size:13px;font-weight:800;text-decoration:none;white-space:nowrap}
.unified-admin-link:not([hidden]){display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 13px;border:1px solid var(--stroke);border-radius:99px;background:#fff;color:var(--ink);font-size:13px;font-weight:800;text-decoration:none}
.unified-account-link:hover,.unified-account-link:focus-visible{border-color:var(--theme-accent,var(--purple));color:var(--theme-accent,var(--purple))}
.account-sync-notice:not([hidden]){margin:12px clamp(18px,4vw,64px);padding:13px 16px;border:1px solid color-mix(in srgb,var(--theme-accent,#376) 45%,white);border-radius:16px;background:color-mix(in srgb,var(--theme-accent,#376) 8%,white);color:var(--ink);font-size:13px}
.account-sync-notice p{margin:0 0 8px}.account-sync-actions{display:flex;gap:8px;flex-wrap:wrap}.account-sync-actions button{padding:8px 11px;border:1px solid var(--theme-accent,#376);border-radius:10px;background:white;color:var(--theme-dark,#234);font:inherit;font-weight:750;cursor:pointer}
.flag-language-control select{position:absolute;width:1px;height:1px;padding:0;border:0;opacity:0;pointer-events:none}
.flag-language-control button{box-sizing:border-box;width:39px;height:39px;display:grid;place-items:center;border:2px solid var(--stroke);border-radius:50%;background:#fff;color:var(--ink);font-size:21px;line-height:1;cursor:pointer;filter:grayscale(.25);transition:transform .18s,border-color .18s,box-shadow .18s}
.flag-language-control button:hover{transform:none}
.flag-language-control button[aria-pressed="true"]{border:2px solid var(--theme-accent,var(--purple));box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-accent,var(--purple)) 20%,transparent);filter:none}
.flag-language-control button:focus-visible{outline:3px solid var(--theme-accent,var(--purple));outline-offset:3px}
.landing-mode .unified-hero{margin:26px clamp(18px,4vw,64px) 0;min-height:530px;padding:clamp(29px,4vw,56px);display:grid;grid-template-columns:minmax(0,1.13fr) minmax(260px,.87fr);gap:24px;align-items:center;position:relative;overflow:hidden;border-radius:30px;background:linear-gradient(115deg,color-mix(in srgb,var(--theme-dark,#24564f) 78%,var(--theme-accent,#3d8e84)),var(--theme-dark,#183e49));color:#fff;box-shadow:0 20px 46px #17342f25}
.landing-mode .unified-hero::before{content:"";position:absolute;inset:0 auto 0 0;width:8px;background:var(--theme-highlight,#f7c678)}
.landing-mode .unified-hero::after{content:"";position:absolute;right:-180px;bottom:-260px;width:590px;height:590px;border:45px solid #ffffff0d;border-radius:50%;pointer-events:none}
.unified-hero-copy,.unified-hero-showcase{position:relative;z-index:1}
.unified-hero-kicker{display:inline-block;padding:8px 13px;border:1px solid #ffffff55;border-radius:99px;background:#ffffff22;color:#fff;font-size:11px;font-weight:850;letter-spacing:1.2px}
.unified-hero h1{max-width:730px;margin:16px 0;font-family:Fredoka,"DM Sans",sans-serif;font-size:clamp(43px,5vw,70px);line-height:1.04;letter-spacing:-2.4px;color:#fff}
.unified-hero-description{max-width:690px;margin:0 0 19px;color:#f5f9f6;font-size:clamp(16px,1.6vw,20px);line-height:1.62}
.unified-hero-points,.unified-hero-metrics{display:flex;gap:8px;flex-wrap:wrap}
.unified-hero-points span{padding:7px 10px;border-radius:99px;background:#ffffff1f;color:#fff;font-size:12px;font-weight:750}
.unified-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0 17px}
.unified-hero .home-button{min-height:50px;padding:11px 17px;font-size:14px}
.unified-hero .home-button-primary{background:var(--theme-highlight,#f7c678);border-color:var(--theme-highlight,#f7c678);color:var(--theme-dark,#183e49)}
.unified-hero .home-button-outline{background:#ffffff14;border-color:#ffffff78;color:#fff}
.unified-hero-metrics{gap:12px 20px;color:#e8f3ee;font-size:11px;font-weight:700}
.unified-hero-metrics strong{color:#fff;font-family:Fredoka,sans-serif;font-size:17px}
.unified-hero-showcase{min-height:340px;display:grid;place-items:center}
.unified-orbit{position:absolute;width:min(95%,365px);aspect-ratio:1;border:2px dashed #ffffff34;border-radius:50%;box-shadow:0 0 0 39px #ffffff08,0 0 0 93px #ffffff06}
.unified-hello-card,.unified-speaking-card,.unified-xp-card{position:absolute;background:#fff;color:#1d3c43;box-shadow:0 16px 32px #0a263f32}
.unified-hello-card{top:26%;left:23%;transform:rotate(-6deg);padding:24px 30px;border-radius:25px;text-align:center}
.unified-hello-card strong{display:block;font:700 clamp(38px,4vw,54px) Fredoka,sans-serif}
.unified-hello-card small,.unified-xp-card small{display:block;font-size:12px;color:#607272;font-weight:750}
.unified-speaking-card{bottom:17%;left:9%;transform:rotate(5deg);padding:13px 17px;border-radius:13px;font-size:11px;font-weight:900;letter-spacing:.7px}
.unified-xp-card{top:14%;right:4%;transform:rotate(8deg);padding:13px 16px;border-radius:14px;font-size:15px;font-weight:900;color:var(--theme-accent,#2d8f78)}
.unified-spark{position:absolute;color:var(--theme-highlight,#f7c678);font-size:30px}.unified-spark-one{left:13%;top:13%}.unified-spark-two{right:9%;bottom:13%}
.home-registration-offer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:16px clamp(12px,3vw,44px);padding:20px clamp(20px,3vw,34px);border-radius:20px;background:color-mix(in srgb,var(--theme-highlight,#f7c678) 23%,white);color:var(--theme-dark,#183e49)}
.home-registration-offer span{display:block;font-size:11px;font-weight:900;letter-spacing:1.4px}.home-registration-offer strong{display:block;margin-top:5px;font:700 clamp(21px,2.4vw,30px)/1.2 Fredoka,'Noto Sans Khmer',sans-serif}.home-registration-offer p{margin:6px 0 0;font-size:14px}.home-registration-offer a{flex:none;padding:12px 18px;border-radius:99px;background:var(--theme-accent,#2d8f78);color:#fff;font-weight:800;text-decoration:none}
/* The palette rules for the older light hero must not wash out this dark
   sales panel. Keep text contrast consistent in all four learner themes. */
body.theme-customized.landing-mode .home-hero.unified-hero{background:linear-gradient(115deg,color-mix(in srgb,var(--theme-dark) 76%,var(--theme-accent)),var(--theme-dark));color:#fff}
body.theme-customized.landing-mode .home-hero.unified-hero h1{color:#fff}
body.theme-customized.landing-mode .home-hero.unified-hero .home-button-outline{color:#fff;border-color:#ffffff78;background:#ffffff14}
body.theme-customized.landing-mode .home-hero.unified-hero .home-button-outline:hover{background:#ffffff2a}
@media(max-width:960px){.landing-mode .unified-hero{grid-template-columns:1fr}.unified-hero-showcase{min-height:260px}.unified-hello-card{top:18%;left:34%}.unified-speaking-card{bottom:9%;left:23%}}
@media(max-width:650px){.flag-language-control{gap:4px}.flag-language-control button{width:34px;height:34px;font-size:18px}.topbar-right .stat-chip,.topbar-right .avatar{display:none!important}.topbar-right{min-width:0;gap:4px}.mobile-brand{font-size:clamp(15px,5vw,21px)!important;white-space:nowrap;letter-spacing:-.5px}.unified-account-link,.unified-admin-link:not([hidden]){min-height:34px;padding:5px 9px;font-size:11px}.unified-admin-link:not([hidden]){display:none}.landing-mode .unified-hero{margin:14px 12px 0;padding:28px 22px;min-height:0;border-radius:24px}.unified-hero h1{font-size:clamp(39px,10vw,54px)}.unified-hero-actions{display:grid;grid-template-columns:1fr}.unified-hero-actions .home-button{width:100%}.unified-hero-metrics{font-size:10px}.unified-hero-showcase{min-height:220px}.unified-orbit{width:235px}.unified-hello-card{left:28%;top:18%;padding:17px 21px}.unified-speaking-card{left:12%;bottom:9%}.unified-xp-card{right:0;top:8%}}
@media(max-width:650px){.home-registration-offer{display:block}.home-registration-offer a{display:inline-block;margin-top:14px}}
