/* =============================================================================
   LEAD Linguistic — design system
   LEAD purple, warmed up for learners: notebook paper, highlighter yellow,
   dictionary serif, letter tiles and speech bubbles.
   ============================================================================= */

:root {
  --ink: #1B0D2E;
  --ink-2: #3B2A52;
  --muted: #675A78;
  --line: #ECE2F7;
  --paper: #FFFCF7;
  --white: #fff;
  --lilac: #F6EEFE;
  --lilac-2: #EBDDFB;
  --purple: #951ED6;
  --purple-d: #7313AD;
  --violet: #6C4CF1;
  --sun: #FFC83D;
  --sun-2: #FFE7A0;
  --coral: #FF6B57;
  --mint: #12B886;
  --sky: #3B9CFF;
  --wa: #25D366;

  --c-listening: #3B9CFF;
  --c-reading: #12B886;
  --c-writing: #FF6B57;
  --c-speaking: #F5A70B;
  --c-grammar: #951ED6;
  --c-vocabulary: #6C4CF1;

  --f-display: "Poppins", system-ui, sans-serif;
  --f-body: "Lato", system-ui, sans-serif;
  --f-serif: "Fraunces", Georgia, serif;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 30px;
  --shadow: 0 1px 2px rgba(27, 13, 46, .05), 0 12px 32px -14px rgba(84, 24, 140, .22);
  --shadow-lg: 0 2px 6px rgba(27, 13, 46, .06), 0 30px 60px -24px rgba(84, 24, 140, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --head-h: 92px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-d); }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.l-skip { position: absolute; top: 0; left: 0; z-index: 3000; background: #fff; padding: 12px 16px; }
.l-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.l-wrap--narrow { max-width: 860px; }
@media (min-width: 768px) { .l-wrap { padding: 0 32px; } }

/* ---------------------------------------------------------------- type --- */
.l-h1, .l-h2, .l-h3, .l-h4 { font-family: var(--f-display); font-weight: 700; color: var(--ink); letter-spacing: -.02em; margin: 0; }
.l-h1 { font-size: clamp(2.25rem, 5.4vw, 4.1rem); line-height: 1.06; }
.l-h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); line-height: 1.1; }
.l-h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.25; }
.l-h4 { font-size: 1.1rem; line-height: 1.3; }
.l-lede { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); line-height: 1.65; margin: 18px 0 0; max-width: 62ch; }
.l-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 14px;
}
.l-eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--sun), var(--coral)); }
.l-eyebrow--sun { color: var(--sun); }

/* dictionary serif accent + highlighter + squiggle */
.l-serif { font-family: var(--f-serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; color: var(--purple); }
.l-hl {
  position: relative; white-space: nowrap; z-index: 0;
  background: linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%) no-repeat 0 0 / 0% 100%;
  transition: background-size .9s var(--ease) .35s;
}
.is-in .l-hl, .l-hl.is-in { background-size: 100% 100%; }
.l-squig { position: relative; white-space: nowrap; }
.l-squig svg { position: absolute; left: -2%; bottom: -.32em; width: 104%; height: .5em; overflow: visible; }
.l-squig path { fill: none; stroke: var(--coral); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.2s var(--ease) .6s; }
.is-in .l-squig path { stroke-dashoffset: 0; }

/* -------------------------------------------------------------- buttons --- */
.l-btn {
  --bg: linear-gradient(135deg, var(--purple), var(--violet));
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font-family: var(--f-display); font-weight: 600; font-size: .98rem; line-height: 1.1;
  color: #fff; background: var(--bg); box-shadow: 0 10px 24px -12px rgba(117, 30, 214, .8);
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
  text-align: center; white-space: nowrap;
}
.l-btn i { transition: transform .25s var(--ease); }
.l-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(117, 30, 214, .9); }
.l-btn:hover i.fa-arrow-right { transform: translateX(4px); }
.l-btn:active { transform: translateY(0); }
.l-btn--sun { --bg: var(--sun); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(230, 160, 0, .9), inset 0 -3px 0 rgba(0, 0, 0, .08); }
.l-btn--sun:hover { color: var(--ink); background: #FFD45F; }
.l-btn--ghost { --bg: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--lilac-2); }
.l-btn--ghost:hover { color: var(--purple); box-shadow: inset 0 0 0 2px var(--purple); }
.l-btn--glass { --bg: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.l-btn--glass:hover { background: rgba(255, 255, 255, .2); }
.l-btn--white { --bg: #fff; color: var(--purple); }
.l-btn--white:hover { color: var(--purple-d); }
.l-btn--wa { --bg: var(--wa); color: #06361A; box-shadow: 0 10px 24px -12px rgba(18, 140, 70, .8); }
.l-btn--wa:hover { color: #06361A; }
.l-btn--sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.l-btn--lg { min-height: 60px; padding: 0 34px; font-size: 1.05rem; }
.l-btn--block { display: flex; width: 100%; }
.l-btn[disabled], .l-btn.is-busy { opacity: .6; pointer-events: none; }
.l-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.l-link { font-family: var(--f-display); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.l-link i { transition: transform .25s var(--ease); }
.l-link:hover i { transform: translateX(4px); }

/* ---------------------------------------------------------------- chips --- */
.l-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-family: var(--f-display); font-size: .78rem; font-weight: 600; line-height: 1.3;
  background: var(--lilac); color: var(--purple-d);
}
.l-chip--sun { background: var(--sun-2); color: #6B4A00; }
.l-chip--mint { background: #DDF7EE; color: #0A7254; }
.l-chip--coral { background: #FFE5E0; color: #B53220; }
.l-chip--sky { background: #E1EFFF; color: #1F64B5; }
.l-chip--ink { background: var(--ink); color: #fff; }
.l-chip--sample { background: #FFF3D1; color: #7A5600; border: 1px dashed #E5B53B; }

/* ------------------------------------------------------ floating header --- */
/* A rounded bar that floats over the page. On the home page it starts as dark
   glass over the hero video and turns white once the page scrolls. */
.l-head { position: fixed; top: 12px; left: 0; right: 0; z-index: 1000; padding: 0 14px; pointer-events: none; }
.l-head__bar {
  pointer-events: auto; max-width: 1280px; margin: 0 auto; height: 70px; padding: 0 12px 0 14px;
  display: flex; align-items: center; gap: 14px; border-radius: 22px;
  background: rgba(255, 255, 255, .95); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 1px 2px rgba(27, 13, 46, .06), 0 18px 40px -22px rgba(54, 16, 90, .45);
  transition: background-color .35s, box-shadow .35s, border-color .35s, height .35s;
}
.l-head.is-stuck .l-head__bar { height: 64px; box-shadow: 0 1px 2px rgba(27, 13, 46, .08), 0 22px 46px -22px rgba(54, 16, 90, .55); }
main { padding-top: 96px; }
body[data-page="home"] main { padding-top: 0; }

.l-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.l-brand:hover { color: var(--ink); }
.l-brand__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px -8px rgba(149, 30, 214, .55), inset 0 0 0 1px var(--line); }
.l-brand__words { display: flex; flex-direction: column; line-height: 1; }
.l-brand__words b { font-family: var(--f-display); font-weight: 700; font-size: 1.28rem; letter-spacing: .02em; transition: color .35s; }
.l-brand__words i { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 1rem; color: var(--purple); margin-top: 2px; transition: color .35s; }

.l-nav { display: none; margin: 0 auto; }
.l-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 4px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); transition: background-color .35s, border-color .35s; }
.l-nav__item { position: relative; }
.l-nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 12px; border: 0; background: none;
  font-family: var(--f-display); font-weight: 500; font-size: .9rem; color: var(--ink-2); white-space: nowrap; cursor: pointer;
  transition: color .2s, background-color .2s, box-shadow .2s;
}
.l-nav__link i { font-size: .6rem; transition: transform .25s; }
.l-nav__link:hover { color: var(--purple); }
.l-nav__link.is-on { color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgba(27, 13, 46, .08), 0 6px 14px -8px rgba(54, 16, 90, .4); }
.has-drop.is-open > .l-nav__link i { transform: rotate(180deg); }
.l-drop {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 340px; padding: 10px;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.l-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-drop.is-open > .l-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.l-drop__item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; color: var(--ink); }
.l-drop__item:hover { background: var(--lilac); color: var(--ink); }
.l-drop__item b { display: block; font-family: var(--f-display); font-weight: 600; font-size: .92rem; }
.l-drop__item small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.l-drop__ic { flex: 0 0 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--lilac); color: var(--purple); }
.l-drop__item:hover .l-drop__ic { background: linear-gradient(135deg, var(--purple), var(--violet)); color: #fff; }
.l-head__cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.l-head__cta .l-btn { display: none; }
.l-head__call { display: none; width: 42px; height: 42px; border-radius: 50%; place-items: center; color: var(--purple); background: var(--lilac); transition: background-color .3s, color .3s; }
.l-head__call:hover { background: var(--purple); color: #fff; }
@media (min-width: 576px) { .l-head__cta .l-btn { display: inline-flex; } }
@media (min-width: 1200px) {
  .l-nav { display: block; }
  .l-head__cta { margin-left: 0; }
  .l-head__call { display: grid; }
  .l-burger { display: none !important; }
}
@media (min-width: 1200px) and (max-width: 1340px) {
  .l-nav__link { padding: 9px 9px; font-size: .86rem; }
  .l-head__call { display: none; }
}
.l-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--ink); padding: 0 13px; cursor: pointer; }
.l-burger span { display: block; height: 2px; border-radius: 2px; background: #fff; }
.l-burger span:nth-child(2) { width: 70%; background: var(--sun); }
@media (max-width: 575px) { .l-head { top: 8px; padding: 0 10px; } .l-head__bar { height: 62px; border-radius: 18px; } main { padding-top: 84px; } }

/* home page, before scrolling: glass over the video */
body[data-page="home"] .l-head:not(.is-stuck) .l-head__bar { background: rgba(20, 8, 36, .38); border-color: rgba(255, 255, 255, .16); box-shadow: none; }
body[data-page="home"] .l-head:not(.is-stuck) .l-brand__words b { color: #fff; }
body[data-page="home"] .l-head:not(.is-stuck) .l-brand__words i { color: var(--sun); }
body[data-page="home"] .l-head:not(.is-stuck) .l-nav ul { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); }
body[data-page="home"] .l-head:not(.is-stuck) .l-nav__link { color: rgba(255, 255, 255, .86); }
body[data-page="home"] .l-head:not(.is-stuck) .l-nav__link:hover { color: #fff; }
body[data-page="home"] .l-head:not(.is-stuck) .l-nav__link.is-on { color: var(--ink); background: #fff; }
body[data-page="home"] .l-head:not(.is-stuck) .l-head__call { background: rgba(255, 255, 255, .12); color: #fff; }
body[data-page="home"] .l-head:not(.is-stuck) .l-burger { background: rgba(255, 255, 255, .14); }

.l-drawer { width: min(380px, 92vw) !important; background: var(--paper); }
.l-drawer .offcanvas-header { border-bottom: 1px solid var(--line); }
.l-drawer__nav { display: flex; flex-direction: column; margin: 18px 0; }
.l-drawer__link, .l-drawer__group > summary {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); cursor: pointer; list-style: none;
}
.l-drawer__group > summary::-webkit-details-marker { display: none; }
.l-drawer__group > summary i { font-size: .8rem; color: var(--purple); transition: transform .25s; }
.l-drawer__group[open] > summary i { transform: rotate(45deg); }
.l-drawer__link.is-on { color: var(--purple); }
.l-drawer__group a { display: flex; gap: 12px; align-items: center; padding: 10px 8px; color: var(--ink-2); font-size: .98rem; }
.l-drawer__group a i { width: 20px; color: var(--purple); }
.l-drawer__foot { display: grid; gap: 10px; }

/* ------------------------------------------------------------- sections --- */
.l-sec { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.l-sec--tight { padding: clamp(40px, 6vw, 72px) 0; }
.l-sec--white { background: #fff; }
.l-sec--lilac { background: var(--lilac); }
.l-sec--ink { background: var(--ink); color: rgba(255, 255, 255, .82); }
.l-sec--ink .l-h2, .l-sec--ink .l-h3 { color: #fff; }
.l-sec--ink .l-lede { color: rgba(255, 255, 255, .72); }
.l-sec--ruled {
  background-color: #fff;
  background-image: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(108, 76, 241, .09) 39px 40px);
}
.l-shead { margin-bottom: clamp(32px, 4vw, 52px); max-width: 760px; }
.l-shead--center { margin-left: auto; margin-right: auto; text-align: center; }
.l-shead--center .l-lede { margin-left: auto; margin-right: auto; }
.l-shead--light .l-h2 { color: #fff; }
.l-shead--light .l-lede { color: rgba(255, 255, 255, .72); }
.l-shead--row > .l-shead { margin-bottom: 0; }
.l-shead--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; max-width: none; }

.l-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .l-grid--2, .l-grid--3, .l-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) {
  .l-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .l-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.l-split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 992px) { .l-split { grid-template-columns: 1fr 1fr; } .l-split--wide { grid-template-columns: 1.15fr .85fr; } }

/* reveal on scroll */
[data-r] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
[data-r="right"] { transform: translateX(32px); }
[data-r="zoom"] { transform: scale(.96); }
[data-r].is-in { opacity: 1; transform: none; }
.no-js [data-r] { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- cards --- */
.l-card {
  position: relative; background: #fff; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 26px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.l-card--hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--lilac-2); }
.l-card p { color: var(--muted); margin: 10px 0 0; }
.l-ic {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; font-size: 1.3rem;
  background: var(--lilac); color: var(--purple); margin-bottom: 18px;
}
.l-ic--sun { background: var(--sun-2); color: #7A5600; }
.l-ic--mint { background: #DDF7EE; color: #0A7254; }
.l-ic--coral { background: #FFE5E0; color: #C23A26; }
.l-ic--sky { background: #E1EFFF; color: #1F64B5; }
.l-ic--violet { background: #ECE7FF; color: var(--violet); }

/* ------------------------------------------------------------ home hero --- */
.l-hero {
  position: relative; overflow: hidden; padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(900px 500px at 92% 10%, rgba(149, 30, 214, .14), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(255, 200, 61, .22), transparent 60%),
    var(--paper);
}
.l-hero::before { /* notebook rules */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, transparent 0 43px, rgba(108, 76, 241, .07) 43px 44px);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%); mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
@media (max-width: 767px) { .l-hero::after { display: none; } }
.l-hero::after { /* margin line */
  content: ""; position: absolute; top: 0; bottom: 0; left: max(12px, calc(50% - 660px)); width: 2px; background: rgba(255, 107, 87, .25); pointer-events: none;
}
.l-hero__grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 992px) { .l-hero__grid { grid-template-columns: 1.05fr .95fr; } }
.l-hero__title { font-size: clamp(2.4rem, 4.7vw, 4.25rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 22px; }
.l-hero__title > span { white-space: nowrap; }
@media (max-width: 380px) { .l-hero__title > span { white-space: normal; } }
.l-hero__title > span { display: block; }
.l-hero__lede { font-size: clamp(1.08rem, 1.5vw, 1.28rem); max-width: 54ch; }
.l-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: .95rem; }
.l-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.l-hero__meta i { color: var(--mint); }

.l-hero__stage { position: relative; min-height: 420px; }
.l-hero__video {
  position: relative; border-radius: 44px 44px 44px 12px; overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--lilac-2);
  box-shadow: 0 40px 80px -40px rgba(72, 18, 120, .55); transform: rotate(1.5deg);
}
.l-hero__video video, .l-hero__video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.l-hero__video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(27, 13, 46, .45)); }
@media (min-width: 576px) { .l-hero__video { aspect-ratio: 4 / 3.6; } }
@media (min-width: 992px) { .l-hero__video { aspect-ratio: 4 / 4.6; } }

.l-float { position: absolute; z-index: 2; animation: l-bob 6s ease-in-out infinite; }
.l-float--2 { animation-delay: -2s; }
.l-float--3 { animation-delay: -4s; }
@keyframes l-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.l-dict {
  background: #fff; border-radius: 18px; padding: 16px 18px; width: 250px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  font-size: .86rem; color: var(--muted); line-height: 1.45;
}
.l-dict b { font-family: var(--f-serif); font-weight: 600; font-size: 1.35rem; color: var(--ink); letter-spacing: -.01em; }
.l-dict i { font-family: var(--f-serif); color: var(--purple); }
.l-dict em { display: block; margin-top: 6px; font-style: normal; }
.l-dict small { display: inline-block; margin-left: 6px; font-family: var(--f-display); font-size: .7rem; font-weight: 600; color: #fff; background: var(--purple); padding: 1px 7px; border-radius: 6px; vertical-align: 3px; }

.l-note {
  width: 172px; padding: 16px 16px 14px; background: var(--sun); color: var(--ink); border-radius: 6px 6px 18px 6px;
  box-shadow: 0 18px 30px -16px rgba(150, 100, 0, .6); transform: rotate(-5deg); font-family: var(--f-display);
}
.l-note small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.l-note b { display: block; font-size: 2rem; line-height: 1.05; margin: 2px 0; }
.l-note span { font-size: .8rem; }

.l-bubble {
  position: relative; display: inline-block; padding: 12px 18px; border-radius: 20px 20px 20px 4px; background: var(--purple); color: #fff;
  font-family: var(--f-display); font-weight: 500; font-size: .92rem; box-shadow: 0 14px 30px -14px rgba(149, 30, 214, .9);
}
.l-bubble--sky { background: var(--sky); box-shadow: 0 14px 30px -14px rgba(59, 156, 255, .9); border-radius: 20px 20px 4px 20px; }
.l-bubble [data-rotate] { display: inline-block; min-width: 9ch; transition: opacity .3s, transform .3s; }
.l-bubble [data-rotate].is-out { opacity: 0; transform: translateY(6px); }

.l-levelchip { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow-lg); }
.l-levelchip b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #DDF7EE; color: #0A7254; font-family: var(--f-display); font-size: 1.1rem; }
.l-levelchip span { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.l-levelchip strong { display: block; color: var(--ink); font-family: var(--f-display); font-size: .92rem; }

.l-hero .l-float--dict { left: -18px; bottom: 34px; }
.l-hero .l-float--note { right: -10px; top: -14px; }
.l-hero .l-float--bubble { left: 6%; top: 18px; }
.l-hero .l-float--level { right: 6%; bottom: -22px; }
@media (max-width: 575px) {
  .l-hero__stage { min-height: 0; margin: 0 6px; }
  .l-dict { width: 210px; padding: 12px 14px; font-size: .78rem; }
  .l-dict b { font-size: 1.15rem; }
  .l-note { width: 136px; padding: 12px; }
  .l-note b { font-size: 1.5rem; }
  .l-hero .l-float--dict { left: -6px; bottom: 18px; }
  .l-hero .l-float--note { right: -4px; top: -16px; }
  .l-hero .l-float--level { display: none; }
}

/* letter tiles */
.l-tiles { display: inline-flex; gap: 8px; }
.l-tile, .l-ctaband__tiles span {
  position: relative; display: grid; place-items: center; width: 48px; height: 52px; border-radius: 9px;
  background: linear-gradient(180deg, #FFF6DD, #F7E2A8); color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 1.5rem;
  box-shadow: 0 4px 0 #D8B861, 0 12px 20px -10px rgba(120, 80, 0, .55);
}
.l-tile sub, .l-ctaband__tiles sub { position: absolute; right: 6px; bottom: 8px; font-size: .55rem; font-weight: 600; }
.l-tile:nth-child(odd) { transform: rotate(-4deg); }
.l-tile:nth-child(even) { transform: rotate(3deg) translateY(4px); }

/* word marquee */
.l-marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 18px 0; border-block: 1px solid #2E1D45; }
.l-marquee__track { display: flex; gap: 48px; width: max-content; animation: l-marq 48s linear infinite; }
.l-marquee:hover .l-marquee__track { animation-play-state: paused; }
.l-marquee__item { display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap; font-family: var(--f-serif); font-style: italic; font-size: 1.35rem; }
.l-marquee__item small { font-family: var(--f-body); font-style: normal; font-size: .85rem; color: var(--sun); letter-spacing: .02em; }
.l-marquee__item::after { content: "\2726"; color: var(--purple); font-style: normal; margin-left: 38px; font-size: .9rem; }
@keyframes l-marq { to { transform: translateX(-50%); } }

/* --------------------------------------------------- assessment promo --- */
.l-assesspromo {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 60px);
  background: linear-gradient(135deg, #2A0F4A 0%, #4B1585 55%, #6C2BC0 100%); color: rgba(255, 255, 255, .85);
  display: grid; gap: 40px; align-items: center; box-shadow: var(--shadow-lg);
}
@media (min-width: 992px) { .l-assesspromo { grid-template-columns: 1fr 1fr; } }
.l-assesspromo .l-h2 { color: #fff; }
.l-assesspromo .l-lede { color: rgba(255, 255, 255, .75); }
.l-assesspromo::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 61, .35), transparent 65%); }
.l-assesspromo__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.l-assesspromo__facts span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-size: .9rem; }
.l-assesspromo__facts i { color: var(--sun); }

.l-ladder { position: relative; display: flex; align-items: flex-end; gap: clamp(6px, 1.4vw, 14px); height: 260px; padding: 0 4px; }
.l-ladder__step {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; height: 100%;
  font-family: var(--f-display); color: #fff;
}
.l-ladder__bar {
  width: 100%; border-radius: 12px 12px 4px 4px; background: rgba(255, 255, 255, .14); position: relative; overflow: hidden;
  height: 0; transition: height 1s var(--ease) var(--d, 0s);
}
.l-ladder__bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--sun), #FF9F43); opacity: 0; transition: opacity .4s; }
.l-ladder__step.is-hot .l-ladder__bar::after { opacity: 1; }
.is-in .l-ladder__bar { height: var(--h); }
.l-ladder__step b { font-size: 1.15rem; }
.l-ladder__step small { font-family: var(--f-body); font-size: .72rem; opacity: .75; text-align: center; line-height: 1.2; min-height: 2.4em; }

/* ------------------------------------------------------ media + collage --- */
.l-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--lilac-2); }
.l-frame img, .l-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.l-collage { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: auto auto; gap: 14px; }
.l-collage .l-frame:nth-child(1) { grid-row: span 2; aspect-ratio: 3 / 4.2; border-radius: 30px 30px 30px 8px; }
.l-collage .l-frame:nth-child(2) { aspect-ratio: 1; border-radius: 30px 30px 8px 30px; }
.l-collage .l-frame:nth-child(3) { aspect-ratio: 1; border-radius: 8px 30px 30px 30px; }
.l-collage .l-note { position: absolute; left: 44%; bottom: -26px; z-index: 2; }
.l-illus-note { font-size: .74rem; color: var(--muted); margin-top: 10px; }

.l-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.l-points li { display: flex; gap: 14px; align-items: flex-start; }
.l-points li > i { flex: 0 0 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: #DDF7EE; color: #0A7254; font-size: .85rem; margin-top: 2px; }
.l-points b { font-family: var(--f-display); font-weight: 600; color: var(--ink); }
.l-points span { color: var(--muted); }

.l-factrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.l-fact { background: #fff; border-radius: 16px; padding: 16px; border: 1px solid var(--line); }
.l-fact b { display: block; font-family: var(--f-display); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--purple); line-height: 1.1; }
.l-fact span { font-size: .85rem; color: var(--muted); line-height: 1.3; display: block; margin-top: 4px; }


/* ------------------------------------------------- cinematic home hero --- */
/* Exactly one screen: headline on the left, level card on the right. */
.l-cine { position: relative; isolation: isolate; overflow: hidden; color: #fff; height: 100svh; min-height: 640px; max-height: 1100px; display: flex; align-items: center; background: #1B0D2E; }
.l-cine__media { position: absolute; inset: 0; z-index: -2; }
.l-cine__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: l-kenburns 24s ease-in-out infinite alternate; }
@keyframes l-kenburns { to { transform: scale(1.1) translate(1.5%, -1%); } }
.l-cine__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 8, 36, .9) 0%, rgba(38, 11, 68, .74) 38%, rgba(48, 14, 88, .4) 70%, rgba(20, 8, 36, .55) 100%),
    linear-gradient(180deg, rgba(20, 8, 36, .55) 0%, transparent 28%, transparent 70%, rgba(20, 8, 36, .7) 100%);
}
.l-cine__in { display: grid; gap: 40px; align-items: center; width: 100%; padding-top: 92px; padding-bottom: 28px; }
@media (min-width: 992px) { .l-cine__in { grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 56px; } }
.l-cine__title {
  margin: 0; font-family: var(--f-display); font-weight: 700; color: #fff;
  font-size: clamp(2.3rem, min(4.5vw, 8vh), 4.4rem); line-height: 1.08; letter-spacing: -.035em;
}
.l-cine__title em { font-family: var(--f-serif); font-style: italic; font-weight: 500; color: var(--sun); letter-spacing: -.02em; }
.l-cine__title mark { background: var(--sun); color: var(--ink); padding: 0 .14em; border-radius: .14em; display: inline-block; transform: rotate(-1.5deg); line-height: 1.02; }
.l-cine__title .l-squig path { stroke: #FF8A78; }
.l-cine__lede { max-width: 560px; margin: clamp(18px, 3.4vh, 30px) 0 0; font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.6; color: rgba(255, 255, 255, .84); }
.l-cine__actions { margin-top: clamp(18px, 3.4vh, 30px); }
.l-cine__facts { display: flex; gap: 0; list-style: none; padding: 0; margin: clamp(22px, 4.4vh, 40px) 0 0; }
.l-cine__facts li { display: flex; align-items: center; gap: 12px; padding: 0 26px; border-left: 1px solid rgba(255, 255, 255, .18); }
.l-cine__facts li:first-child { padding-left: 0; border-left: 0; }
.l-cine__facts b { font-family: var(--f-display); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1; color: var(--sun); }
.l-cine__facts span { font-size: .84rem; line-height: 1.3; color: rgba(255, 255, 255, .72); }

.l-cine__card {
  position: relative; padding: clamp(20px, 3vh, 28px); border-radius: 28px; color: var(--ink);
  background: rgba(255, 255, 255, .96); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.l-cine__card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; pointer-events: none;
  background: linear-gradient(140deg, var(--sun), rgba(255, 255, 255, 0) 40%, rgba(149, 30, 214, .8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.l-cine__tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--sun-2); color: #6B4A00; font-family: var(--f-display); font-weight: 600; font-size: .78rem; }
.l-cine__card h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 1.8vw, 1.6rem); letter-spacing: -.02em; margin: 12px 0 14px; }
.l-cine__ladder { display: grid; gap: 6px; margin-bottom: 16px; }
.l-cine__ladder a {
  position: relative; display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 10px; padding: clamp(6px, 1vh, 9px) 12px; border-radius: 12px;
  color: var(--ink); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .3s var(--ease);
}
.l-cine__ladder a i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: linear-gradient(90deg, rgba(149, 30, 214, .1), rgba(149, 30, 214, .18)); transition: background .35s; }
.l-cine__ladder b, .l-cine__ladder span { position: relative; z-index: 1; }
.l-cine__ladder a i { z-index: 0; }
.l-cine__ladder b { font-family: var(--f-display); font-size: 1rem; }
.l-cine__ladder span { font-size: .86rem; color: var(--muted); }
.l-cine__ladder a:hover, .l-cine__ladder a.is-on { border-color: var(--sun); transform: translateX(4px); }
.l-cine__ladder a:hover i, .l-cine__ladder a.is-on i { background: linear-gradient(90deg, var(--sun-2), var(--sun)); }
.l-cine__ladder a.is-on span, .l-cine__ladder a:hover span { color: var(--ink); }
.l-cine__card p { margin: 10px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.l-cine__pause { position: absolute; left: 20px; bottom: 20px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(15, 6, 28, .4); color: #fff; cursor: pointer; font-size: .8rem; }
.l-cine__pause:hover { background: rgba(255, 255, 255, .2); }
@media (max-height: 720px) and (min-width: 992px) { .l-cine__ladder a { padding: 5px 12px; } .l-cine__card p { display: none; } }
@media (max-width: 991px) {
  .l-cine { height: auto; min-height: 0; max-height: none; }
  .l-cine__in { padding-top: 110px; padding-bottom: 48px; }
  .l-cine__shade { background: linear-gradient(180deg, rgba(20, 8, 36, .7), rgba(38, 11, 68, .72) 50%, rgba(20, 8, 36, .9)); }
}
@media (max-width: 575px) {
  .l-cine__in { padding-top: 96px; }
  .l-cine__title { font-size: clamp(2.2rem, 10.5vw, 3rem); }
  .l-cine__actions .l-btn { width: 100%; }
  .l-cine__facts li { padding: 0 14px; gap: 8px; flex-direction: column; align-items: flex-start; }
  .l-cine__facts span br { display: none; }
  .l-cine__pause { display: none; }
}
@media (prefers-reduced-motion: reduce) { .l-cine__media video { animation: none; } }
/* typewriter headline */
.l-tw__line { display: block; white-space: nowrap; min-height: 1.08em; }
.l-cine__title mark:empty, .l-cine__title em:empty { padding: 0; }
.l-tw__caret { display: inline-block; width: .07em; height: .9em; margin-left: .04em; vertical-align: -.06em; border-radius: 2px; background: var(--sun); animation: l-caret 1s steps(1) infinite; }
.l-cine__title mark .l-tw__caret { background: var(--ink); }
@keyframes l-caret { 50% { opacity: 0; } }
.l-cine__title .l-squig path { stroke-dashoffset: 400; }
.l-cine__title.is-typed .l-squig path { stroke-dashoffset: 0; }
@media (max-width: 575px) { .l-tw__line { white-space: normal; } .l-cine__title { min-height: 4.4em; } }
/* the word strip sits on the dark hero, so it switches to highlighter yellow */
.l-cine + .l-marquee { background: var(--sun); color: var(--ink); border-color: #E8B52C; }
.l-cine + .l-marquee .l-marquee__item small { color: var(--purple-d); }
.l-cine + .l-marquee .l-marquee__item::after { color: var(--ink); }


/* ------------------------------------------------- learning-track cards --- */
.l-track {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; color: var(--ink);
  background: #fff; border-radius: 22px; border: 1px solid rgba(236, 226, 247, .95);
  box-shadow: 0 2px 4px rgba(27, 13, 46, .04), 0 18px 38px -26px rgba(84, 24, 140, .4);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.l-track:hover { color: var(--ink); transform: translateY(-6px); box-shadow: 0 4px 8px rgba(27, 13, 46, .05), 0 30px 56px -30px rgba(84, 24, 140, .55); }
.l-track__img { position: relative; height: 128px; overflow: hidden; }
.l-track__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.l-track:hover .l-track__img img { transform: scale(1.06); }
.l-track__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(27, 13, 46, .2)); }
.l-track__tag { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: 10px; background: #0B0710; color: #fff; font-family: var(--f-display); font-weight: 600; font-size: .74rem; letter-spacing: .02em; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .6); }
.l-track__tag i { color: var(--sun); }
.l-track__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.l-track__body h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 6px; }
.l-track__body p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.l-track__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; font-family: var(--f-display); font-weight: 600; font-size: .88rem; color: var(--purple); }
.l-track .l-xcard__go { flex-basis: 38px; width: 38px; height: 38px; font-size: .8rem; }
.l-track:hover .l-xcard__go { background: linear-gradient(135deg, var(--purple), var(--violet)); transform: scale(1.08); }
.l-track:hover .l-xcard__go .fa-arrow-right { transform: rotate(-45deg); }

/* ------------------------------------------------------------ IELTS skills */
.l-skill {
  --c: var(--purple); --c2: var(--violet);
  position: relative; display: flex; flex-direction: column; height: 100%; padding: 22px 22px 0; overflow: hidden;
  background: #fff; border-radius: 22px; border: 1px solid rgba(236, 226, 247, .95);
  box-shadow: 0 2px 4px rgba(27, 13, 46, .04), 0 18px 38px -26px rgba(84, 24, 140, .38);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.l-skill::before { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -90px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%); pointer-events: none; }
.l-skill:hover { transform: translateY(-6px); box-shadow: 0 4px 8px rgba(27, 13, 46, .05), 0 30px 56px -30px color-mix(in srgb, var(--c) 70%, transparent); }
.l-skill__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.l-skill__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: #fff; font-size: 1.15rem;
  background: linear-gradient(135deg, var(--c), var(--c2)); box-shadow: 0 10px 20px -10px var(--c); }
.l-skill__no { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -.04em; color: color-mix(in srgb, var(--c) 22%, #fff); }
.l-skill h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; margin: 0 0 6px; }
.l-skill p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.l-skill__help { margin-top: 12px !important; font-size: .84rem !important; color: var(--ink-2) !important; }
.l-skill__help i { color: var(--c); margin-right: 6px; }
.l-spec { display: grid; grid-template-columns: repeat(3, 1fr); margin: auto -22px 0; padding-top: 18px; }
.l-spec div { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px 16px; text-align: center; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--c) 4%, #fff); }
.l-spec div + div { border-left: 1px solid var(--line); }
.l-spec b { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; line-height: 1.1; color: var(--c); letter-spacing: -.02em; white-space: nowrap; }
.l-spec span { font-size: .72rem; color: var(--muted); line-height: 1.25; white-space: nowrap; }
.l-skill--listening { --c: #2F86F0; --c2: #6C4CF1; }
.l-skill--reading { --c: #0FA77A; --c2: #0E7490; }
.l-skill--writing { --c: #F0584A; --c2: #F59E0B; }
.l-skill--speaking { --c: #E8930C; --c2: #EF5D7A; }
.l-skill--grammar { --c: var(--purple); --c2: var(--violet); }
.l-skill--vocabulary { --c: var(--violet); --c2: #B4236C; }

.l-modules { display: grid; gap: 18px; }
@media (min-width: 768px) { .l-modules { grid-template-columns: 1fr 1fr; } }
.l-module { border-radius: var(--r); padding: 28px; background: #fff; border: 1px solid var(--line); }
.l-module--ac { background: linear-gradient(160deg, #F4ECFF, #fff 60%); }
.l-module--gt { background: linear-gradient(160deg, #FFF4D6, #fff 60%); }
.l-module ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.l-module li { margin-bottom: 6px; }
.l-notice { display: flex; gap: 14px; align-items: flex-start; border-radius: 16px; padding: 16px 18px; background: #FFF8E6; border: 1px solid #F5DD9A; color: #5E4400; font-size: .95rem; margin-top: 18px; }
.l-notice i { color: #D79A00; margin-top: 4px; }
.l-notice--info { background: #EEF6FF; border-color: #C8E0FF; color: #1D4A80; }
.l-notice--info i { color: var(--sky); }

/* band scale */
.l-bands { display: grid; gap: 8px; }
.l-band { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 10px 10px; }
.l-band b { display: grid; place-items: center; height: 46px; border-radius: 10px; font-family: var(--f-display); font-size: 1.2rem; color: #fff; background: hsl(calc(270 - var(--i) * 18) 70% calc(38% + var(--i) * 3%)); }
.l-band strong { font-family: var(--f-display); font-weight: 600; }
.l-band span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.4; }

/* ------------------------------------------------------------------ why --- */
.l-why { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .3s, transform .35s var(--ease); }
.l-why:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.l-why .l-ic { flex: 0 0 54px; margin: 0; background: rgba(255, 200, 61, .14); color: var(--sun); }
.l-why h3 { font-family: var(--f-display); font-size: 1.1rem; color: #fff; margin: 0 0 6px; }
.l-why p { margin: 0; color: rgba(255, 255, 255, .7); font-size: .97rem; }

/* ---------------------------------------------------------------- steps --- */
.l-steps { position: relative; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 768px) { .l-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .l-steps { grid-template-columns: repeat(6, 1fr); } .l-steps::before { content: ""; position: absolute; top: 34px; left: 6%; right: 6%; height: 2px; background: repeating-linear-gradient(90deg, var(--lilac-2) 0 10px, transparent 10px 18px); } }
.l-step { position: relative; text-align: left; }
@media (min-width: 1100px) { .l-step { text-align: center; } }
.l-step__num {
  position: relative; z-index: 1; display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 22px;
  font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: var(--purple); background: #fff; border: 2px solid var(--lilac-2);
  box-shadow: var(--shadow); margin-bottom: 14px; transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.l-step:hover .l-step__num { transform: rotate(-6deg) scale(1.06); background: var(--purple); color: #fff; }
.l-step:first-child .l-step__num { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.l-step h3 { font-family: var(--f-display); font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 6px; }
.l-step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* --------------------------------------------------------------- people --- */
.l-person { text-align: left; }
.l-avatar {
  display: grid; place-items: center; width: 78px; height: 78px; border-radius: 24px; margin-bottom: 18px;
  font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; color: #fff;
  background: linear-gradient(135deg, var(--a1, var(--purple)), var(--a2, var(--violet)));
  box-shadow: 0 14px 26px -14px rgba(108, 76, 241, .8);
}
.l-person__role { display: block; font-family: var(--f-display); font-weight: 600; color: var(--purple); font-size: .9rem; margin-top: 4px; }
.l-person__qual { font-size: .86rem; color: var(--ink-2); margin-top: 10px; }
.l-person__spec { margin-top: 12px; }
.l-person .l-chip--sample { position: absolute; right: 18px; top: 18px; }

/* --------------------------------------------------------- practice cards */
.l-pcard { display: flex; flex-direction: column; height: 100%; }
.l-pcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.l-pcard h3 { font-family: var(--f-display); font-size: 1.1rem; margin: 0; line-height: 1.3; color: var(--ink); }
.l-pcard p { flex: 1; font-size: .95rem; }
.l-pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--muted); }
.l-pcard__best { font-family: var(--f-display); font-weight: 600; color: var(--mint); }
.l-pcard--listening { border-top: 4px solid var(--c-listening); }
.l-pcard--reading { border-top: 4px solid var(--c-reading); }
.l-pcard--writing { border-top: 4px solid var(--c-writing); }
.l-pcard--speaking { border-top: 4px solid var(--c-speaking); }
.l-pcard--grammar { border-top: 4px solid var(--c-grammar); }
.l-pcard--vocabulary { border-top: 4px solid var(--c-vocabulary); }

.l-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.l-filter button {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 8px 16px;
  font-family: var(--f-display); font-weight: 500; font-size: .9rem; cursor: pointer; transition: all .2s;
}
.l-filter button:hover { border-color: var(--purple); color: var(--purple); }
.l-filter button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.l-filter button span { opacity: .6; margin-left: 4px; }

.l-counts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 768px) { .l-counts { grid-template-columns: repeat(4, 1fr); } }
.l-count { border-radius: 18px; padding: 20px; background: #fff; border: 1px solid var(--line); }
.l-count b { display: block; font-family: var(--f-display); font-size: 2.2rem; line-height: 1; color: var(--ink); }
.l-count span { color: var(--muted); font-size: .9rem; }
.l-count i { float: right; color: var(--purple); font-size: 1.2rem; }

/* ----------------------------------------------------------------- posts --- */
.l-post { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; }
.l-post__band { height: 8px; background: linear-gradient(90deg, var(--purple), var(--violet)); }
.l-post--ielts .l-post__band { background: linear-gradient(90deg, var(--coral), var(--sun)); }
.l-post--english .l-post__band { background: linear-gradient(90deg, var(--purple), var(--violet)); }
.l-post--academic-english .l-post__band { background: linear-gradient(90deg, var(--mint), var(--sky)); }
.l-post--study-abroad .l-post__band { background: linear-gradient(90deg, var(--sky), var(--violet)); }
.l-post__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.l-post h3 { font-family: var(--f-display); font-size: 1.12rem; line-height: 1.35; margin: 12px 0 0; }
.l-post h3 a { color: var(--ink); }
.l-post h3 a:hover { color: var(--purple); }
.l-post p { flex: 1; font-size: .95rem; }
.l-post__meta { display: flex; gap: 14px; font-size: .82rem; color: var(--muted); margin-top: 16px; }

/* ---------------------------------------------------------------- events --- */
.l-event { padding: 0; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.l-event__img { position: relative; aspect-ratio: 16 / 10; }
.l-event__img img { width: 100%; height: 100%; object-fit: cover; }
.l-event__date { position: absolute; left: 16px; bottom: -22px; display: grid; place-items: center; width: 64px; height: 68px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); font-family: var(--f-display); line-height: 1; }
.l-event__date b { font-size: 1.5rem; color: var(--purple); }
.l-event__date small { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.l-event__body { padding: 34px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.l-event__body h3 { font-family: var(--f-display); font-size: 1.12rem; margin: 10px 0 0; }
.l-event__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: .86rem; color: var(--muted); }
.l-event__meta i { color: var(--purple); margin-right: 4px; }

/* ---------------------------------------------------------- testimonials */
.l-quotes { display: grid; gap: 22px; }
@media (min-width: 768px) { .l-quotes { grid-template-columns: repeat(3, 1fr); } }
.l-quote { position: relative; padding: 30px 26px 24px; border-radius: 28px 28px 28px 6px; }
.l-quote::before { content: "\201C"; position: absolute; right: 22px; top: -6px; font-family: var(--f-serif); font-size: 6rem; line-height: 1; color: var(--lilac-2); }
.l-quote blockquote { margin: 0; font-family: var(--f-serif); font-size: 1.12rem; line-height: 1.55; color: var(--ink); position: relative; }
.l-quote__who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.l-quote__who .l-avatar { width: 46px; height: 46px; border-radius: 14px; font-size: 1rem; margin: 0; }
.l-quote__who b { display: block; font-family: var(--f-display); font-size: .95rem; }
.l-quote__who span { font-size: .82rem; color: var(--muted); }
.l-quote:nth-child(2) { background: var(--ink); border-color: var(--ink); }
.l-quote:nth-child(2) blockquote, .l-quote:nth-child(2) b { color: #fff; }
.l-quote:nth-child(2) .l-quote__who span { color: rgba(255, 255, 255, .6); }
.l-quote:nth-child(2)::before { color: rgba(255, 255, 255, .12); }

/* --------------------------------------------------------------- bridge --- */
.l-bridge { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 992px) { .l-bridge { grid-template-columns: 1fr auto 1fr; } }
.l-bridge__card { border-radius: var(--r-lg); padding: 32px; position: relative; overflow: hidden; }
.l-bridge__card h3 { font-family: var(--f-display); font-size: 1.5rem; margin: 6px 0 4px; }
.l-bridge__card p { margin: 0; }
.l-bridge__card ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.l-bridge__card li { font-size: .85rem; padding: 6px 12px; border-radius: 999px; }
.l-bridge__card--ling { background: linear-gradient(140deg, var(--purple), var(--violet)); color: rgba(255, 255, 255, .85); }
.l-bridge__card--ling h3 { color: #fff; }
.l-bridge__card--ling li { background: rgba(255, 255, 255, .14); color: #fff; }
.l-bridge__card--lead { background: #fff; border: 1px solid var(--line); color: var(--muted); }
.l-bridge__card--lead li { background: var(--lilac); color: var(--ink-2); }
.l-bridge__arrow { display: grid; place-items: center; }
.l-bridge__arrow span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sun); color: var(--ink); font-size: 1.3rem; box-shadow: 0 14px 28px -14px rgba(200, 140, 0, .9); }
@media (max-width: 991px) { .l-bridge__arrow span { transform: rotate(90deg); } }

/* ------------------------------------------------------------------ faq --- */
.l-faq { display: grid; gap: 12px; }
.l-faq details { background: #fff; border-radius: 18px; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.l-faq details[open] { box-shadow: var(--shadow); border-color: var(--lilac-2); }
.l-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary i { flex: 0 0 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--lilac); color: var(--purple); font-size: .8rem; transition: transform .3s, background-color .3s; }
.l-faq details[open] summary i { transform: rotate(45deg); background: var(--purple); color: #fff; }
.l-faq__a { padding: 0 22px 20px; color: var(--muted); }
.l-faq__a p { margin: 0 0 10px; }

/* ------------------------------------------------------------ cta band --- */
.l-ctaband {
  position: relative; overflow: hidden; text-align: center; border-radius: var(--r-lg); padding: clamp(40px, 7vw, 80px) clamp(22px, 5vw, 60px);
  background: radial-gradient(600px 300px at 10% 0%, rgba(255, 200, 61, .3), transparent 60%), linear-gradient(135deg, #3A0E66, #951ED6 60%, #6C4CF1);
  color: rgba(255, 255, 255, .82);
}
.l-ctaband .l-h2 { color: #fff; max-width: 760px; margin: 0 auto; }
.l-ctaband p { max-width: 620px; margin: 14px auto 0; }
.l-ctaband .l-actions { justify-content: center; }
.l-ctaband__tiles { display: flex; justify-content: center; gap: 8px; margin-bottom: 26px; }
.l-ctaband__tiles span:nth-child(odd) { transform: rotate(-5deg); }
.l-ctaband__tiles span:nth-child(even) { transform: rotate(4deg) translateY(3px); }

/* --------------------------------------------------------- contact band --- */
.l-reach { display: grid; gap: 16px; }
@media (min-width: 768px) { .l-reach { grid-template-columns: repeat(3, 1fr); } }
.l-reach a { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.l-reach a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.l-reach i { flex: 0 0 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.35rem; }
.l-reach small { display: block; color: var(--muted); font-size: .82rem; }
.l-reach b { font-family: var(--f-display); font-weight: 600; }

.l-insta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 768px) { .l-insta { grid-template-columns: repeat(6, 1fr); } }
.l-insta a { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; display: block; }
.l-insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.l-insta a::after { content: "\f16d"; font-family: "Font Awesome 6 Brands"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: rgba(149, 30, 214, .55); opacity: 0; transition: opacity .3s; }
.l-insta a:hover::after { opacity: 1; }
.l-insta a:hover img { transform: scale(1.08); }
.l-insta__cap { position: absolute; left: 8px; bottom: 8px; z-index: 1; font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--ink); }

/* ---------------------------------------------------------------- footer --- */
.l-foot { position: relative; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .72); padding: 72px 0 0; font-size: .96rem; }
.l-foot a { color: rgba(255, 255, 255, .78); }
.l-foot a:hover { color: var(--sun); }
.l-foot__top { display: grid; gap: 26px; align-items: center; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 992px) { .l-foot__top { grid-template-columns: 1.4fr 1fr; } }
.l-foot__motto p { margin: 0; font-family: var(--f-display); font-weight: 600; color: #fff; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.2; letter-spacing: -.02em; }
.l-foot__motto em { font-family: var(--f-serif); font-weight: 500; color: var(--sun); }
.l-foot__act { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 992px) { .l-foot__act { justify-content: flex-end; } }
.l-foot__act .l-btn--wa:hover { color: #06361A; }
.l-foot__grid { display: grid; gap: 34px; padding: 52px 0 40px; }
@media (min-width: 576px) { .l-foot__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .l-foot__grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.l-foot__brand .l-brand__words b { color: #fff; }
.l-foot__brand .l-brand__words i { color: var(--sun); }
.l-foot__brand p { margin: 18px 0; max-width: 40ch; }
.l-foot__brand p a { color: var(--sun); }
.l-foot__contact { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.l-foot__contact li { display: flex; gap: 12px; }
.l-foot__contact i { color: var(--sun); width: 16px; margin-top: 5px; }
.l-foot__social { display: flex; gap: 8px; }
.l-foot__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.l-foot__social a:hover { background: var(--purple); color: #fff; }
.l-fcol h4 { font-family: var(--f-display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 6px 0 16px; }
.l-fcol ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.l-foot__family { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.l-foot__family > span { font-family: var(--f-display); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.l-foot__family i { color: var(--sun); margin-right: 6px; }
.l-foot__note { font-size: .8rem; color: rgba(255, 255, 255, .5); line-height: 1.55; margin: 0; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.l-foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 18px 0 30px; font-size: .86rem; color: rgba(255, 255, 255, .55); border-top: 1px solid rgba(255, 255, 255, .1); }
.l-foot__legal nav { display: flex; flex-wrap: wrap; gap: 18px; }
.l-foot__giant { font-family: var(--f-serif); font-style: italic; font-weight: 600; font-size: clamp(5rem, 19vw, 17rem); line-height: .8; color: rgba(255, 255, 255, .04); text-align: center; white-space: nowrap; user-select: none; margin-bottom: -.12em; }
@media (max-width: 767px) { .l-foot { padding-bottom: 76px; } }

/* floating WhatsApp, dock, back to top */
.l-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 900; display: none; align-items: center; gap: 0; height: 60px; padding: 0 18px; border-radius: 999px;
  background: var(--wa); color: #fff; font-size: 1.7rem; box-shadow: 0 16px 30px -12px rgba(18, 140, 70, .8); transition: gap .3s, padding .3s;
}
.l-wa span { max-width: 0; overflow: hidden; white-space: nowrap; font-family: var(--f-display); font-weight: 600; font-size: .95rem; transition: max-width .4s var(--ease); }
.l-wa:hover { color: #fff; gap: 10px; }
.l-wa:hover span { max-width: 240px; }
.l-wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: l-ping 2.4s ease-out infinite; }
@keyframes l-ping { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
@media (min-width: 768px) { .l-wa { display: inline-flex; } }
.l-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(54, 16, 90, .5);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.l-dock.is-on { transform: none; }
.l-dock__main { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: 999px; background: var(--sun); color: var(--ink); font-family: var(--f-display); font-weight: 700; }
.l-dock__wa { flex: 0 0 52px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #fff; font-size: 1.6rem; }
.l-dock__main:hover { color: var(--ink); }
.l-dock__wa:hover { color: #fff; }
@media (min-width: 768px) { .l-dock { display: none; } }
.l-top { position: fixed; right: 30px; bottom: 96px; z-index: 899; width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--ink); color: #fff; display: none; place-items: center; opacity: 0; transition: opacity .3s; cursor: pointer; }
.l-top.is-on { opacity: 1; }
@media (min-width: 768px) { .l-top { display: grid; } }
body.is-focus .l-wa, body.is-focus .l-dock, body.is-focus .l-top,
body.is-exam .l-dock, body.is-exam .l-wa, body.is-exam .l-top { display: none !important; }

/* ------------------------------------------------------------ page hero --- */
.l-phero { position: relative; overflow: hidden; padding: 28px 0 clamp(48px, 7vw, 88px); background: var(--paper); }
.l-phero::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(108, 76, 241, .07) 39px 40px); -webkit-mask-image: linear-gradient(#000, transparent 90%); mask-image: linear-gradient(#000, transparent 90%); pointer-events: none; }
.l-phero--lilac { background: radial-gradient(800px 400px at 100% 0%, rgba(149, 30, 214, .13), transparent 60%), var(--paper); }
.l-phero--sun { background: radial-gradient(800px 400px at 100% 0%, rgba(255, 200, 61, .3), transparent 60%), var(--paper); }
.l-phero--mint { background: radial-gradient(800px 400px at 100% 0%, rgba(18, 184, 134, .16), transparent 60%), var(--paper); }
.l-phero--sky { background: radial-gradient(800px 400px at 100% 0%, rgba(59, 156, 255, .16), transparent 60%), var(--paper); }
.l-phero .l-wrap { position: relative; }
.l-phero__grid { display: grid; gap: 40px; align-items: center; margin-top: 30px; }
.l-phero--media .l-phero__grid { margin-top: 20px; }
@media (min-width: 992px) { .l-phero--media .l-phero__grid { grid-template-columns: 1.1fr .9fr; } }
.l-phero__media { position: relative; }
.l-phero__media .l-frame { aspect-ratio: 5 / 4; border-radius: 36px 36px 36px 10px; transform: rotate(1.2deg); }
.l-sticker { position: absolute; left: -12px; bottom: -18px; padding: 12px 16px; border-radius: 14px; font-family: var(--f-display); font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-lg); transform: rotate(-4deg); background: #fff; }
.l-sticker--sun { background: var(--sun); }
.l-sticker--ink { background: var(--ink); color: #fff; }
.l-crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; font-size: .86rem; color: var(--muted); }
.l-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--lilac-2); }
.l-crumbs a { color: var(--muted); }
.l-crumbs a:hover { color: var(--purple); }

/* ----------------------------------------------------------------- forms --- */
.l-form { display: grid; gap: 18px; }
.l-form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .l-form__row { grid-template-columns: 1fr 1fr; } }
.l-field label, .l-field > .l-label { display: block; font-family: var(--f-display); font-weight: 600; font-size: .9rem; margin-bottom: 8px; color: var(--ink); }
.l-field label small, .l-label small { font-family: var(--f-body); font-weight: 400; color: var(--muted); }
.l-input {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
textarea.l-input { min-height: 130px; resize: vertical; line-height: 1.55; }
select.l-input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23951ED6' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.l-input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(149, 30, 214, .12); }
.l-input.is-bad, .l-checks.is-bad { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255, 107, 87, .12); }
.l-checks.is-bad { border-radius: 14px; }
.l-err { display: none; color: #C23A26; font-size: .84rem; margin-top: 6px; }
.l-field.is-bad .l-err { display: block; }
.l-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.l-check { position: relative; }
.l-check input { position: absolute; opacity: 0; pointer-events: none; }
.l-check span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-size: .94rem; cursor: pointer; transition: all .2s; user-select: none;
}
.l-check span::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--lilac-2); transition: all .2s; }
.l-check input[type="radio"] + span::before { border-radius: 50%; }
.l-check input:checked + span { border-color: var(--purple); background: var(--lilac); color: var(--purple-d); font-weight: 700; }
.l-check input:checked + span::before { border-color: var(--purple); background: var(--purple); box-shadow: inset 0 0 0 3px #fff; }
.l-check input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.l-consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.l-consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--purple); flex-shrink: 0; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.l-msg { display: none; padding: 14px 16px; border-radius: 14px; font-size: .95rem; }
.l-msg.is-ok { display: block; background: #DDF7EE; color: #0A5A43; }
.l-msg.is-bad { display: block; background: #FFE5E0; color: #9E2B1A; }
.l-formcard { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.l-thanks { text-align: center; padding: 30px 10px; }
.l-thanks .l-ic { margin: 0 auto 18px; width: 72px; height: 72px; font-size: 1.8rem; background: #DDF7EE; color: var(--mint); }

/* ----------------------------------------------------------------- prose --- */
.l-prose { font-size: 1.1rem; line-height: 1.8; color: var(--ink-2); }
.l-prose h2 { font-family: var(--f-display); font-weight: 700; color: var(--ink); font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 2.2em 0 .6em; letter-spacing: -.015em; line-height: 1.25; }
.l-prose h3 { font-family: var(--f-display); font-weight: 600; color: var(--ink); font-size: 1.22rem; margin: 1.8em 0 .5em; }
.l-prose p { margin: 0 0 1.1em; }
.l-prose ul, .l-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.l-prose li { margin-bottom: .5em; }
.l-prose li::marker { color: var(--purple); font-weight: 700; }
.l-prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--purple); background: var(--lilac); border-radius: 0 16px 16px 0; font-family: var(--f-serif); font-size: 1.2rem; color: var(--ink); }
.l-prose .l-tip { position: relative; margin: 1.6em 0; padding: 20px 22px 20px 64px; border-radius: 18px; background: #FFF8E1; border: 1px solid #F7DE95; color: #4F3B00; font-size: 1.02rem; }
.l-prose .l-tip::before { content: "\f0eb"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--sun); color: var(--ink); font-size: .9rem; }
.l-prose a { text-decoration: underline; text-decoration-color: var(--lilac-2); text-underline-offset: 3px; }
.l-article { display: grid; gap: 48px; }
@media (min-width: 1100px) { .l-article { grid-template-columns: minmax(0, 1fr) 320px; } }
.l-aside { position: sticky; top: calc(var(--head-h) + 20px); display: grid; gap: 18px; align-self: start; }
.l-toc { font-size: .92rem; }
.l-toc ol { padding-left: 18px; margin: 10px 0 0; }
.l-toc li { margin-bottom: 6px; }
.l-toc a { color: var(--ink-2); }
.l-toc a:hover { color: var(--purple); }
.l-artmeta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 22px; color: var(--muted); font-size: .92rem; }
.l-artmeta i { color: var(--purple); margin-right: 6px; }

/* --------------------------------------------------------------- tables --- */
.l-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); font-size: .95rem; }
.l-table th, .l-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.l-table th { background: var(--lilac); font-family: var(--f-display); font-weight: 600; font-size: .85rem; }
.l-table tr:last-child td { border-bottom: 0; }
.l-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* =============================================================================
   Cards, second generation: coloured covers, soft depth, gradient hover ring
   ============================================================================= */
.l-card {
  border: 1px solid rgba(236, 226, 247, .95); border-radius: 24px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 2px 4px rgba(27, 13, 46, .04), 0 20px 44px -26px rgba(84, 24, 140, .32);
}
.l-card--hover::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0;
  background: linear-gradient(135deg, var(--purple), var(--sun) 55%, var(--coral));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .35s;
}
.l-card--hover:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 2px 6px rgba(27, 13, 46, .05), 0 34px 64px -30px rgba(84, 24, 140, .5); }
.l-card--hover:hover::after { opacity: 1; }
.l-ic { background: linear-gradient(135deg, #F3E8FD, #E6D3FB); box-shadow: inset 0 0 0 1px rgba(149, 30, 214, .08); }
.l-ic--sun { background: linear-gradient(135deg, #FFF3CC, #FFE08A); }
.l-ic--mint { background: linear-gradient(135deg, #E2F9F1, #BFEFDD); }
.l-ic--coral { background: linear-gradient(135deg, #FFEBE6, #FFD1C7); }
.l-ic--sky { background: linear-gradient(135deg, #E6F2FF, #C9E2FF); }
.l-ic--violet { background: linear-gradient(135deg, #EEEAFF, #DAD1FF); }

/* ------------------------------------------------- xcard: covered cards --- */
.l-xcard {
  --c1: #951ED6; --c2: #6C4CF1; --glyph: "";
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; color: var(--ink);
  background: #fff; border-radius: 22px; border: 1px solid rgba(236, 226, 247, .95);
  box-shadow: 0 2px 4px rgba(27, 13, 46, .04), 0 22px 44px -28px rgba(84, 24, 140, .4);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.l-xcard:hover { color: var(--ink); transform: translateY(-8px); box-shadow: 0 4px 8px rgba(27, 13, 46, .05), 0 40px 70px -34px color-mix(in srgb, var(--c1) 75%, transparent); }
.l-xcard:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
.l-xcard__cover {
  position: relative; isolation: isolate; height: 112px; padding: 16px 18px; overflow: hidden; color: #fff;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
  background: radial-gradient(180px 160px at 88% 120%, rgba(255, 255, 255, .3), transparent 70%), linear-gradient(135deg, var(--c1), var(--c2));
}
.l-xcard__cover::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9;
  background-image: radial-gradient(rgba(255, 255, 255, .26) 1.2px, transparent 1.4px); background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(115deg, transparent 25%, #000 85%); mask-image: linear-gradient(115deg, transparent 25%, #000 85%);
}
.l-xcard__glyph { position: absolute; right: -6px; bottom: -18px; z-index: -1; font-size: 5.6rem; line-height: 1; color: rgba(255, 255, 255, .2); transform: rotate(-12deg); transition: transform .6s var(--ease), color .4s; }
.l-xcard:hover .l-xcard__glyph { transform: rotate(-3deg) scale(1.08); color: rgba(255, 255, 255, .3); }
.l-xcard__skill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .35); font-family: var(--f-display); font-weight: 600; font-size: .78rem; white-space: nowrap; }
.l-xcard__mode { padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--c1); font-family: var(--f-display); font-weight: 700; font-size: .74rem; white-space: nowrap; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .4); }
.l-xcard__num { position: absolute; left: 18px; bottom: 10px; font-family: var(--f-display); font-weight: 700; font-size: 2.2rem; line-height: 1; letter-spacing: -.04em; color: #fff; }
.l-xcard__num small { font-size: .8rem; font-weight: 600; letter-spacing: .02em; margin-left: 6px; opacity: .8; }
.l-xcard__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.l-xcard__body h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 8px; }
.l-xcard__body p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.l-xcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.l-xcard__meta { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.l-xcard__meta span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap;
  background: color-mix(in srgb, var(--c1) 9%, #fff); color: color-mix(in srgb, var(--c1) 78%, #000); }
.l-xcard__meta .l-xcard__best { background: #DDF7EE; color: #0A7254; }
.l-xcard__go { flex: 0 0 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: .9rem;
  transition: background .35s, transform .45s var(--ease), box-shadow .35s; }
.l-xcard:hover .l-xcard__go { background: linear-gradient(135deg, var(--c1), var(--c2)); transform: scale(1.1); box-shadow: 0 10px 20px -8px var(--c1); }
.l-xcard__go .fa-arrow-right { transition: transform .35s; }
.l-xcard:hover .l-xcard__go .fa-arrow-right { transform: rotate(-45deg); }

/* skins */
.l-xcard--listening { --c1: #2F86F0; --c2: #6C4CF1; }
.l-xcard--reading { --c1: #0FA77A; --c2: #0E7490; }
.l-xcard--writing { --c1: #F0584A; --c2: #F59E0B; }
.l-xcard--speaking { --c1: #F59E0B; --c2: #EF5D7A; }
.l-xcard--grammar { --c1: #951ED6; --c2: #6C4CF1; }
.l-xcard--vocabulary { --c1: #6C4CF1; --c2: #B4236C; }
.l-xcard--ielts { --c1: #F0584A; --c2: #F5A70B; }
.l-xcard--english { --c1: #951ED6; --c2: #6C4CF1; }
.l-xcard--academic-english { --c1: #0FA77A; --c2: #2F86F0; }
.l-xcard--study-abroad { --c1: #2F86F0; --c2: #6C4CF1; }
.l-xcard--ink { --c1: #2A0F4A; --c2: #6C2BC0; }

/* ------------------------------------------------------ people cards --- */
.l-person { padding: 0 !important; overflow: hidden; }
.l-person__band { position: relative; height: 76px; background: linear-gradient(135deg, var(--a1, var(--purple)), var(--a2, var(--violet))); }
.l-person__band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .25) 1.2px, transparent 1.4px); background-size: 14px 14px; -webkit-mask-image: linear-gradient(110deg, transparent 30%, #000); mask-image: linear-gradient(110deg, transparent 30%, #000); }
.l-person__band .l-chip--sample { position: absolute; right: 16px; top: 16px; }
.l-person__body { padding: 0 20px 20px; }
.l-person .l-avatar { margin: -34px 0 12px; width: 68px; height: 68px; font-size: 1.35rem; border-radius: 24px; border: 4px solid #fff; position: relative; }
.l-person .l-chip--sample { position: absolute; right: 16px; top: 16px; }

/* ------------------------------------------------------ event cards --- */
.l-event { border-radius: 26px; }
.l-event__img { overflow: hidden; }
.l-event__img img { transition: transform .8s var(--ease); }
.l-event:hover .l-event__img img { transform: scale(1.06); }
.l-event__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(27, 13, 46, .35)); }
.l-event__date { z-index: 1; }


/* ------------------------------------------------------ count tiles --- */
.l-count { position: relative; overflow: hidden; border-radius: 22px; transition: transform .35s var(--ease), box-shadow .35s; box-shadow: 0 20px 40px -28px rgba(84, 24, 140, .35); }
.l-count i { float: none; position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--purple), var(--violet)); color: #fff; font-size: 1rem; }
.l-count:hover { transform: translateY(-4px); }

/* =============================================================================
   Practice platform: test player, games, writing, speaking, assessment
   ============================================================================= */
.l-app { padding: 24px 0 64px; min-height: 70vh; }
.l-app__intro { max-width: 820px; margin: 0 auto; }
.l-loading { display: grid; place-items: center; min-height: 40vh; color: var(--muted); }
.l-loading::before { content: ""; width: 42px; height: 42px; border-radius: 50%; border: 4px solid var(--lilac-2); border-top-color: var(--purple); animation: l-spin .8s linear infinite; margin-bottom: 14px; }
@keyframes l-spin { to { transform: rotate(360deg); } }

/* intro / start screen */
.l-start { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 44px); }
.l-start__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
@media (min-width: 768px) { .l-start__facts { grid-template-columns: repeat(4, 1fr); } }
.l-start__facts div { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.l-start__facts b { display: block; font-family: var(--f-display); font-size: 1.3rem; }
.l-start__facts span { font-size: .84rem; color: var(--muted); }
.l-modes { display: grid; gap: 12px; margin-top: 8px; }
@media (min-width: 640px) { .l-modes { grid-template-columns: 1fr 1fr; } }
.l-mode { position: relative; }
.l-mode input { position: absolute; opacity: 0; }
.l-mode span { display: block; padding: 16px 18px 16px 52px; border-radius: 16px; border: 2px solid var(--line); cursor: pointer; transition: all .2s; position: relative; }
.l-mode span::before { content: ""; position: absolute; left: 18px; top: 19px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--lilac-2); }
.l-mode b { display: block; font-family: var(--f-display); }
.l-mode small { color: var(--muted); }
.l-mode input:checked + span { border-color: var(--purple); background: var(--lilac); }
.l-mode input:checked + span::before { border-color: var(--purple); background: var(--purple); box-shadow: inset 0 0 0 4px #fff; }

/* exam player */
.l-player { --bar: 64px; background: #fff; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; overflow: clip; }
body.is-focus .l-player { border-radius: 0; border: 0; box-shadow: none; }
.l-player__bar {
  position: sticky; top: var(--head-h); z-index: 20; display: flex; align-items: center; gap: 12px; min-height: var(--bar); padding: 10px 16px;
  background: var(--ink); color: #fff;
}
.l-player__title { font-family: var(--f-display); font-weight: 600; font-size: .95rem; line-height: 1.2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l-player__title small { display: block; font-family: var(--f-body); font-weight: 400; color: rgba(255, 255, 255, .6); font-size: .78rem; }
.l-player__spacer { flex: 1; }
.l-timer { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .1); font-family: var(--f-display); font-weight: 600; font-variant-numeric: tabular-nums; }
.l-timer.is-low { background: var(--coral); animation: l-blink 1s steps(2) infinite; }
@keyframes l-blink { 50% { background: #E04A36; } }
.l-player__btn { border: 0; border-radius: 12px; padding: 9px 14px; font-family: var(--f-display); font-weight: 600; font-size: .88rem; cursor: pointer; background: rgba(255, 255, 255, .12); color: #fff; display: inline-flex; gap: 8px; align-items: center; }
.l-player__btn:hover { background: rgba(255, 255, 255, .2); }
.l-player__btn--sun { background: var(--sun); color: var(--ink); }
.l-player__btn--sun:hover { background: #FFD45F; }
.l-player__tabs { display: flex; gap: 6px; padding: 10px 16px; background: var(--lilac); border-bottom: 1px solid var(--line); overflow-x: auto; }
.l-player__tabs button { border: 0; background: transparent; border-radius: 10px; padding: 8px 14px; font-family: var(--f-display); font-weight: 600; font-size: .88rem; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.l-player__tabs button.is-on { background: #fff; color: var(--purple); box-shadow: var(--shadow); }
.l-player__tabs button small { font-weight: 400; color: var(--muted); margin-left: 4px; }
.l-panes { display: grid; }
.l-pane { padding: clamp(18px, 3vw, 32px); overflow-y: auto; }
.l-pane--text { background: #FFFEFB; font-size: 1.04rem; line-height: 1.75; }
@media (min-width: 992px) {
  .l-panes { grid-template-columns: 1fr 1fr; height: calc(100vh - var(--bar) - 120px); min-height: 560px; }
  body.is-focus .l-panes { height: calc(100vh - var(--bar) - 108px); }
  .l-pane--text { border-right: 1px solid var(--line); }
}
.l-secpair { display: contents; }
.l-secpair.l-hide { display: none !important; }
@media (min-width: 992px) { .l-panes--single { grid-template-columns: 1fr; } .l-panes--single .l-pane--q { max-width: 980px; width: 100%; margin: 0 auto; } }
.l-mobtabs { display: flex; gap: 6px; padding: 8px 16px; border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: calc(var(--head-h) + var(--bar)); z-index: 15; }
body.is-focus .l-player__bar { top: 0; }
body.is-focus .l-mobtabs { top: var(--bar); }
.l-mobtabs button { flex: 1; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 8px; font-family: var(--f-display); font-weight: 600; font-size: .88rem; }
.l-mobtabs button.is-on { background: var(--purple); border-color: var(--purple); color: #fff; }
@media (min-width: 992px) { .l-mobtabs { display: none; } }
@media (max-width: 991px) { .l-panes[data-show="q"] .l-pane--text, .l-panes[data-show="t"] .l-pane--q { display: none; } }
.l-text h2 { font-family: var(--f-serif); font-weight: 600; font-size: 1.6rem; line-height: 1.25; margin: 0 0 6px; }
.l-text h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; margin: 26px 0 8px; }
.l-text .l-text__sub { font-family: var(--f-serif); font-style: italic; color: var(--muted); margin-bottom: 16px; }
.l-text p { margin: 0 0 14px; }
.l-text__lab { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: #fff; font-family: var(--f-display); font-size: .78rem; font-weight: 700; margin-right: 8px; vertical-align: 2px; }
.l-text__block { border: 1px dashed var(--lilac-2); border-radius: 16px; padding: 18px; margin-bottom: 18px; background: #fff; }
.l-intro { font-size: .9rem; color: var(--muted); background: var(--lilac); padding: 10px 14px; border-radius: 12px; margin-bottom: 18px; }
mark.l-mark { background: var(--sun-2); padding: 0 2px; border-radius: 3px; }
mark.l-mark--ans { background: #C9F2E2; box-shadow: 0 0 0 2px #8BE0C1; }

.l-qgroup { margin-bottom: 30px; }
.l-qgroup__head { border-left: 4px solid var(--purple); padding: 2px 0 2px 14px; margin-bottom: 16px; }
.l-qgroup__head b { font-family: var(--f-display); font-size: .98rem; display: block; }
.l-qgroup__head p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.l-qgroup__limit { display: inline-block; margin-top: 6px; font-size: .78rem; font-weight: 900; letter-spacing: .04em; color: var(--coral); }
.l-listbox { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 16px; font-size: .94rem; }
.l-listbox div { display: flex; gap: 10px; padding: 3px 0; }
.l-listbox b { font-family: var(--f-display); min-width: 28px; color: var(--purple); }
.l-gapbody { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px; line-height: 2.3; font-size: 1rem; }
.l-gapbody h4 { font-family: var(--f-display); font-size: 1rem; margin: 0 0 6px; line-height: 1.4; }
.l-gapbody .l-gapbody__sub { font-family: var(--f-display); font-weight: 600; margin-top: 8px; line-height: 1.6; }
.l-gapbody ul { margin: 0; padding-left: 18px; }
.l-q { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); scroll-margin-top: 140px; }
.l-q:last-child { border-bottom: 0; }
.l-qn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--lilac); color: var(--purple-d); font-family: var(--f-display); font-weight: 700; font-size: .85rem; }
.l-q.is-done .l-qn { background: var(--purple); color: #fff; }
.l-q__text { margin: 4px 0 10px; }
.l-opts { display: grid; gap: 8px; }
.l-opt { position: relative; }
.l-opt input { position: absolute; opacity: 0; }
.l-opt span { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; transition: all .15s; font-size: .97rem; line-height: 1.45; background: #fff; }
.l-opt span b { flex: 0 0 auto; font-family: var(--f-display); color: var(--purple); }
.l-opt span:hover { border-color: var(--lilac-2); background: var(--paper); }
.l-opt input:checked + span { border-color: var(--purple); background: var(--lilac); }
.l-opt input:focus-visible + span { outline: 3px solid var(--sun); }
.l-opts--inline { display: flex; flex-wrap: wrap; }
.l-opts--inline .l-opt span { padding: 8px 14px; }
.l-select { min-height: 42px; padding: 6px 34px 6px 12px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; font-size: .95rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23951ED6' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; max-width: 100%; }
.l-gap { display: inline-block; width: 160px; max-width: 100%; min-height: 36px; padding: 4px 10px; border: 0; border-bottom: 2px solid var(--purple); background: #fff; border-radius: 8px 8px 0 0; font: inherit; font-size: .97rem; color: var(--ink); vertical-align: baseline; line-height: 1.5; }
.l-gap:focus { outline: none; background: var(--lilac); }
.l-gapnum { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 7px; background: var(--ink); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: .72rem; margin-right: 6px; vertical-align: 1px; }

/* review marks */
.is-right .l-qn, .l-gap.is-right { background: var(--mint) !important; color: #fff; }
.is-wrong .l-qn, .l-gap.is-wrong { background: var(--coral) !important; color: #fff; }
.l-gap.is-right, .l-gap.is-wrong { border-color: transparent; }
.l-opt.is-key span { border-color: var(--mint); background: #E3F8F0; }
.l-opt.is-miss span { border-color: var(--coral); background: #FFEDE9; }
.l-explain { grid-column: 2; margin-top: 8px; padding: 10px 14px; border-radius: 12px; background: #F4FBF8; border: 1px solid #CBEFE0; font-size: .9rem; color: #234B3D; }
.l-explain b { color: #0A7254; }
.is-wrong .l-explain { background: #FFF6F4; border-color: #FFD3CA; color: #5B2219; }
.is-wrong .l-explain b { color: #C23A26; }

/* question navigator */
.l-qnav { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--paper); position: sticky; bottom: 0; z-index: 10; }
.l-qnav__dots { display: flex; gap: 4px; overflow-x: auto; flex: 1; padding: 4px 2px; scrollbar-width: thin; }
.l-qnav__dots button { flex: 0 0 32px; height: 32px; border-radius: 9px; border: 1.5px solid var(--line); background: #fff; font-family: var(--f-display); font-weight: 600; font-size: .8rem; cursor: pointer; color: var(--ink-2); }
.l-qnav__dots button.is-done { background: var(--purple); border-color: var(--purple); color: #fff; }
.l-qnav__dots button.is-right { background: var(--mint); border-color: var(--mint); color: #fff; }
.l-qnav__dots button.is-wrong { background: var(--coral); border-color: var(--coral); color: #fff; }
.l-qnav__dots button.is-part { margin-left: 10px; }
.l-qnav__count { font-size: .86rem; color: var(--muted); white-space: nowrap; }

/* results */
.l-result { display: grid; gap: 24px; padding: clamp(20px, 3vw, 34px); }
@media (min-width: 992px) { .l-result { grid-template-columns: 340px 1fr; align-items: start; } }
.l-score {
  border-radius: 26px; padding: 28px; text-align: center; color: #fff;
  background: radial-gradient(300px 200px at 20% 0%, rgba(255, 200, 61, .35), transparent 60%), linear-gradient(150deg, #3A0E66, var(--purple));
}
.l-score__band { font-family: var(--f-display); font-weight: 700; font-size: 4.6rem; line-height: 1; margin: 10px 0; }
.l-score__raw { font-family: var(--f-display); font-size: 1.15rem; }
.l-score small { display: block; color: rgba(255, 255, 255, .7); font-size: .82rem; line-height: 1.45; margin-top: 12px; }
.l-ring { --p: 0; width: 170px; height: 170px; margin: 6px auto; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--sun) calc(var(--p) * 1%), rgba(255, 255, 255, .15) 0); }
.l-ring > div { width: 136px; height: 136px; border-radius: 50%; background: #3F0F72; display: grid; place-items: center; align-content: center; }
.l-ring b { font-family: var(--f-display); font-size: 2.8rem; line-height: 1; }
.l-ring span { font-size: .82rem; color: rgba(255, 255, 255, .7); }
.l-breakdown { display: grid; gap: 10px; }
.l-bar { display: grid; grid-template-columns: 150px 1fr 52px; gap: 12px; align-items: center; font-size: .92rem; }
.l-bar__track { height: 12px; border-radius: 999px; background: var(--lilac); overflow: hidden; }
.l-bar__fill { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--violet)); transition: width 1.2s var(--ease); }
.l-bar b { font-family: var(--f-display); text-align: right; }
@media (max-width: 575px) { .l-bar { grid-template-columns: 1fr 52px; } .l-bar__track { grid-column: 1 / -1; grid-row: 2; } }

/* listening player */
.l-audio { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--ink); color: #fff; margin-bottom: 20px; }
.l-audio__btn { width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--sun); color: var(--ink); font-size: 1.2rem; cursor: pointer; flex-shrink: 0; }
.l-audio__btn:disabled { opacity: .45; cursor: not-allowed; }
.l-audio__info { flex: 1; min-width: 180px; }
.l-audio__info b { font-family: var(--f-display); display: block; font-size: .95rem; }
.l-audio__info span { font-size: .82rem; color: rgba(255, 255, 255, .65); }
.l-audio__prog { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .15); margin-top: 8px; overflow: hidden; }
.l-audio__prog i { display: block; height: 100%; width: 0; background: var(--sun); transition: width .3s; }
.l-wave { display: flex; gap: 3px; align-items: center; height: 28px; }
.l-wave i { width: 4px; border-radius: 4px; background: var(--sun); height: 20%; }
.l-audio.is-playing .l-wave i { animation: l-wave 1s ease-in-out infinite; }
.l-wave i:nth-child(2) { animation-delay: -.2s !important; } .l-wave i:nth-child(3) { animation-delay: -.4s !important; } .l-wave i:nth-child(4) { animation-delay: -.6s !important; } .l-wave i:nth-child(5) { animation-delay: -.8s !important; }
@keyframes l-wave { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.l-speaker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .82rem; }
.l-transcript { font-size: .95rem; line-height: 1.7; }
.l-transcript p { margin: 0 0 10px; }
.l-transcript b { font-family: var(--f-display); color: var(--purple); }
.l-voicecheck { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); margin: 18px 0; }

/* writing */
.l-wtask { display: grid; gap: 24px; }
@media (min-width: 1100px) { .l-wtask { grid-template-columns: 1fr 1fr; } }
.l-wprompt { background: #FFFEFB; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.l-wprompt__box { border: 2px solid var(--ink); border-radius: 12px; padding: 16px 18px; font-size: 1.02rem; margin: 12px 0 16px; }
.l-wprompt ul { margin: 8px 0 0; }
.l-chart { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.l-chart svg { width: 100%; height: auto; display: block; font-family: var(--f-body); }
.l-chart + .l-chart { margin-top: 12px; }
.l-chart table { width: 100%; }
.l-editor { width: 100%; min-height: 420px; border: 1.5px solid var(--line); border-radius: 18px; padding: 20px; font: inherit; font-size: 1.04rem; line-height: 1.75; resize: vertical; background: #fff repeating-linear-gradient(to bottom, transparent 0 31px, rgba(108, 76, 241, .08) 31px 32px); background-attachment: local; }
.l-editor:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(149, 30, 214, .1); }
.l-wordbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: 10px; font-size: .9rem; color: var(--muted); }
.l-wordbar b { font-family: var(--f-display); color: var(--ink); font-size: 1.1rem; }
.l-wordbar .is-ok { color: var(--mint); }
.l-model { background: #F4FBF8; border: 1px solid #CBEFE0; border-radius: 18px; padding: 22px; }
.l-model p { margin: 0 0 12px; }
.l-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.l-checklist label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); cursor: pointer; }
.l-checklist input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--mint); flex-shrink: 0; }
.l-checklist b { font-family: var(--f-display); font-weight: 600; display: block; font-size: .92rem; }
.l-checklist span { font-size: .9rem; color: var(--muted); }

/* speaking */
.l-exam { display: grid; gap: 24px; }
@media (min-width: 992px) { .l-exam { grid-template-columns: 1.2fr .8fr; } }
.l-examiner { position: relative; border-radius: 26px; padding: clamp(22px, 4vw, 40px); color: #fff; min-height: 340px; display: flex; flex-direction: column; background: radial-gradient(400px 260px at 100% 0%, rgba(255, 200, 61, .25), transparent 60%), linear-gradient(150deg, #24093F, #5A1896); }
.l-examiner__who { display: flex; align-items: center; gap: 12px; }
.l-examiner__face { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); font-size: 1.4rem; }
.l-examiner.is-talking .l-examiner__face { animation: l-talk .5s ease-in-out infinite alternate; background: var(--sun); color: var(--ink); }
@keyframes l-talk { to { transform: scale(1.08); } }
.l-examiner__q { font-family: var(--f-serif); font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.35; margin: 28px 0; flex: 1; }
.l-examiner__ctrl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.l-cue { background: #FFFDF5; border: 2px solid var(--ink); border-radius: 18px; padding: 22px; color: var(--ink); font-family: var(--f-body); font-size: 1rem; }
.l-cue h3 { font-family: var(--f-display); font-size: 1.15rem; margin: 0 0 10px; }
.l-cue ul { margin: 6px 0 10px; }
.l-bigtimer { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4rem); font-variant-numeric: tabular-nums; line-height: 1; }
.l-bigtimer small { display: block; font-size: .8rem; font-weight: 500; opacity: .7; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.l-rec { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.l-rec i { color: #FF8A7A; }
.l-rec.is-on i { animation: l-blinkdot 1s steps(2) infinite; }
@keyframes l-blinkdot { 50% { opacity: 0; } }
.l-clips { display: grid; gap: 10px; }
.l-clip { display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: .9rem; }
.l-clip audio { width: 100%; height: 36px; }
.l-notes { width: 100%; min-height: 140px; border-radius: 14px; border: 1.5px dashed var(--lilac-2); padding: 14px; font: inherit; background: #fff; }

/* games */
.l-game { max-width: 760px; margin: 0 auto; }
.l-game__hud { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.l-hudbox { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-family: var(--f-display); font-weight: 600; font-size: .92rem; }
.l-hudbox i { color: var(--purple); }
.l-hudbox--streak i { color: var(--coral); }
.l-game__prog { height: 8px; border-radius: 999px; background: var(--lilac); overflow: hidden; margin-bottom: 18px; }
.l-game__prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--purple), var(--violet)); transition: width .4s var(--ease); }
.l-game__card { position: relative; background: #fff; border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 38px); }
.l-game__clock { position: absolute; left: 0; top: 0; height: 5px; border-radius: 26px 0 0 0; background: var(--sun); width: 100%; transform-origin: left; }
.l-game__q { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.55; margin: 6px 0 22px; white-space: pre-line; }
.l-game__opts { display: grid; gap: 10px; }
@media (min-width: 640px) { .l-game__opts--2 { grid-template-columns: 1fr 1fr; } }
.l-gopt { text-align: left; border: 2px solid var(--line); background: #fff; border-radius: 16px; padding: 14px 18px; font: inherit; font-size: 1.02rem; cursor: pointer; transition: all .15s; color: var(--ink); line-height: 1.4; }
.l-gopt:hover:not(:disabled) { border-color: var(--purple); background: var(--lilac); transform: translateY(-2px); }
.l-gopt.is-right { border-color: var(--mint); background: #DDF7EE; color: #0A5A43; }
.l-gopt.is-wrong { border-color: var(--coral); background: #FFE5E0; color: #8E2414; animation: l-shake .35s; }
.l-gopt:disabled { cursor: default; }
@keyframes l-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.l-game__type { display: flex; gap: 10px; flex-wrap: wrap; }
.l-game__type .l-input { flex: 1; min-width: 200px; font-size: 1.1rem; }
.l-feedback { margin-top: 18px; padding: 14px 16px; border-radius: 14px; font-size: .95rem; display: none; }
.l-feedback.is-right { display: block; background: #DDF7EE; color: #0A5A43; }
.l-feedback.is-wrong { display: block; background: #FFE5E0; color: #8E2414; }
.l-flash { perspective: 1200px; cursor: pointer; }
.l-flash__in { position: relative; min-height: 260px; transition: transform .6s var(--ease); transform-style: preserve-3d; }
.l-flash.is-flipped .l-flash__in { transform: rotateY(180deg); }
.l-flash__face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 28px; border-radius: 26px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.l-flash__face--front { background: linear-gradient(150deg, #FFF6DD, #F7E2A8); }
.l-flash__face--front b { font-family: var(--f-serif); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; }
.l-flash__face--back { background: #fff; border: 2px solid var(--lilac-2); transform: rotateY(180deg); }
.l-flash__face--back p { font-size: 1.1rem; margin: 0 0 12px; }
.l-flash__face--back em { color: var(--muted); font-family: var(--f-serif); }
.l-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 2000; }

/* assessment */
.l-assess { max-width: 860px; margin: 0 auto; }
.l-stepper { display: flex; gap: 8px; margin-bottom: 22px; }
.l-stepper span { flex: 1; display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; font-size: .82rem; color: var(--muted); }
.l-stepper span::before { content: attr(data-n); flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--lilac); color: var(--purple); font-size: .8rem; }
.l-stepper span.is-on { color: var(--ink); }
.l-stepper span.is-on::before { background: var(--purple); color: #fff; }
.l-stepper span.is-done::before { content: "\2713"; background: var(--mint); color: #fff; }
@media (max-width: 575px) { .l-stepper span { font-size: 0; flex: 0 0 auto; } .l-stepper span.is-on { font-size: .82rem; flex: 1; } }
.l-aq { background: #fff; border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 40px); }
.l-aq__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; font-size: .9rem; color: var(--muted); }
.l-aq__passage { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-bottom: 18px; font-size: 1rem; line-height: 1.7; max-height: 320px; overflow-y: auto; }
.l-aq__passage h4 { font-family: var(--f-serif); font-weight: 600; font-size: 1.15rem; margin: 0 0 8px; }
.l-aq__q { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.5; margin: 0 0 20px; font-family: var(--f-display); font-weight: 500; }
.l-aq__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.l-level { display: grid; place-items: center; align-content: center; width: 150px; height: 150px; margin: 0 auto 14px; border-radius: 40px; background: var(--sun); color: var(--ink); box-shadow: 0 20px 40px -20px rgba(200, 140, 0, .9); transform: rotate(-4deg); }
.l-level b { font-family: var(--f-display); font-size: 3.6rem; line-height: 1; }
.l-level span { font-family: var(--f-display); font-weight: 600; font-size: .9rem; }
.l-resultcard { background: #fff; border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.l-resultcard__head { padding: clamp(28px, 5vw, 48px); text-align: center; color: rgba(255, 255, 255, .8); background: radial-gradient(500px 260px at 50% 0%, rgba(255, 200, 61, .25), transparent 70%), linear-gradient(150deg, #2A0F4A, #6C2BC0); }
.l-resultcard__head .l-h2 { color: #fff; }
.l-resultcard__body { padding: clamp(22px, 4vw, 40px); display: grid; gap: 26px; }
.l-resultcard__body h3 { font-family: var(--f-display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); margin: 0 0 10px; }
.l-resultcard__body p { margin: 0; color: var(--ink-2); }
.l-cefr { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 20px; }
.l-cefr span { padding: 8px 2px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .6); font-family: var(--f-display); font-weight: 600; font-size: .85rem; }
.l-cefr span.is-on { background: var(--sun); color: var(--ink); }

/* calculator */
.l-calc { display: grid; gap: 24px; }
@media (min-width: 992px) { .l-calc { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.l-range { display: grid; grid-template-columns: 1fr 80px; gap: 14px; align-items: center; }
.l-range input[type="range"] { width: 100%; accent-color: var(--purple); height: 28px; }
.l-range output { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; text-align: center; padding: 6px; border-radius: 12px; background: var(--lilac); }

/* misc */
.l-pop { animation: l-pop .35s var(--ease); }
@keyframes l-pop { from { opacity: 0; transform: translateY(10px); } }
.l-empty { text-align: center; padding: 40px 20px; color: var(--muted); border: 2px dashed var(--line); border-radius: 20px; }
.l-kbd { font-family: var(--f-display); font-size: .78rem; padding: 2px 7px; border-radius: 6px; background: var(--lilac); border: 1px solid var(--lilac-2); }
.l-divider { height: 1px; background: var(--line); margin: 28px 0; }
.l-center { text-align: center; }
.l-mt-0 { margin-top: 0 !important; }
.l-muted { color: var(--muted); }
.l-small { font-size: .9rem; }
.l-hide { display: none !important; }
.l-sample-note { font-size: .82rem; color: var(--muted); margin-top: 16px; display: flex; gap: 8px; align-items: center; }
.l-sample-note i { color: #D79A00; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-r] { opacity: 1; transform: none; }
  .l-marquee__track { animation: none; }
}

@media print {
  .l-topbar, .l-head, .l-foot, .l-wa, .l-dock, .l-top, .l-noprint, .l-stepper { display: none !important; }
  body { background: #fff; }
  .l-resultcard, .l-aq { box-shadow: none; border: 1px solid #ccc; }
  .l-resultcard__head { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  [data-r] { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------ plain inline tag lists --- */
/* Focus areas, specialisms and collocations read as a quiet inline list:
   "Grammar · Vocabulary · Reading", no bubbles. */
.l-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 12px 0 0; padding: 0; list-style: none; font-size: .84rem; color: var(--ink-2); }
.l-tags li { display: inline-flex; align-items: center; }
.l-tags li:not(:last-child)::after { content: ""; width: 4px; height: 4px; border-radius: 50%; margin: 0 9px; background: var(--purple); opacity: .45; }
.l-track .l-tags { margin-top: 10px; font-size: .8rem; }

/* card details: icon + text, separated by a hairline, no backgrounds */
.l-xcard__meta { gap: 0; align-items: center; }
.l-xcard__meta span { padding: 0; border-radius: 0; background: none; color: var(--muted); font-size: .8rem; font-weight: 600; }
.l-xcard__meta span i { color: var(--c1); }
.l-xcard__meta span + span { padding-left: 10px; margin-left: 10px; border-left: 1px solid var(--line); }
.l-xcard__meta .l-xcard__best { background: none; color: #0A7254; }

/* labels: a coloured dot and small capitals instead of a bubble */
.l-chip { padding: 0; border-radius: 0; background: none; gap: 7px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--purple-d); }
.l-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.l-chip--sun { color: #A26B00; }
.l-chip--mint { color: #0A7254; }
.l-chip--coral { color: #C23A26; }
.l-chip--sky { color: #1F64B5; }
.l-chip--ink { color: var(--ink); }
.l-chip--sample { padding: 4px 9px; border-radius: 6px; background: #FFF3D1; border: 1px dashed #E5B53B; color: #7A5600; letter-spacing: .04em; }
.l-chip--sample::before { display: none; }
.l-chip i { font-size: .8rem; }
.l-chip:has(i)::before { display: none; }

/* cover labels: plain text on the colour, no glass bubble */
.l-xcard__skill { padding: 0; border: 0; border-radius: 0; background: none; gap: 8px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.l-xcard__skill i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: rgba(255, 255, 255, .18); font-size: .85rem; }
.l-xcard__mode { padding: 0; border-radius: 0; background: none; box-shadow: none; color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

/* =============================================================================
   Motion layer: animated SVG icons, connectors, doodles, carousel, footer
   ============================================================================= */

/* ------------------------------------------------- animated SVG icons --- */
.ai { display: block; width: 100%; height: 100%; overflow: visible; }
.ai .ai-s { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ai.is-in .ai-s, .is-in .ai .ai-s { animation: ai-draw 1.4s var(--ease) forwards; }
.ai.is-in .ai-s:nth-of-type(2), .is-in .ai .ai-s:nth-of-type(2) { animation-delay: .15s; }
.ai.is-in .ai-s:nth-of-type(3), .is-in .ai .ai-s:nth-of-type(3) { animation-delay: .3s; }
@keyframes ai-draw { to { stroke-dashoffset: 0; } }
/* equaliser bars inside the headphones */
.ai-eq { transform-box: fill-box; transform-origin: 50% 100%; animation: ai-eq 1.1s ease-in-out infinite; }
.ai-eq2 { animation-delay: -.35s; } .ai-eq3 { animation-delay: -.7s; }
@keyframes ai-eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
/* book page turning */
.ai-page { transform-box: view-box; transform-origin: 24px 24px; animation: ai-page 3.4s ease-in-out infinite; }
@keyframes ai-page { 0%, 35% { transform: scaleX(1); } 55%, 70% { transform: scaleX(-1); } 90%, 100% { transform: scaleX(1); } }
/* pen writing a line */
.ai-write { stroke-dasharray: 40; stroke-dashoffset: 40; animation: ai-write 2.6s ease-in-out infinite; }
@keyframes ai-write { 0% { stroke-dashoffset: 40; } 55%, 75% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -40; } }
/* microphone sound waves */
.ai-wave { opacity: 0; transform-box: fill-box; transform-origin: center; animation: ai-wave 1.8s ease-out infinite; }
.ai-w2 { animation-delay: .9s; }
@keyframes ai-wave { 0% { opacity: 0; transform: scale(.7); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.25); } }
/* signal bars */
.ai-bar { transform-box: fill-box; transform-origin: 50% 100%; animation: ai-bar 2.6s var(--ease) infinite; }
.ai-b2 { animation-delay: .15s; } .ai-b3 { animation-delay: .3s; } .ai-b4 { animation-delay: .45s; }
@keyframes ai-bar { 0% { transform: scaleY(0); } 30%, 80% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
/* arrow hitting the target */
.ai-arrow { animation: ai-arrow 2.8s var(--ease) infinite; }
@keyframes ai-arrow { 0% { transform: translate(14px, -14px); opacity: 0; } 25% { opacity: 1; } 40%, 85% { transform: translate(0, 0); opacity: 1; } 100% { transform: translate(0, 0); opacity: 0; } }
/* stacked layers breathing */
.ai-l1 { animation: ai-l1 3s ease-in-out infinite; } .ai-l3 { animation: ai-l3 3s ease-in-out infinite; }
@keyframes ai-l1 { 50% { transform: translateY(-3px); } }
@keyframes ai-l3 { 50% { transform: translateY(3px); } }
/* clipboard tick */
.ai-check { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ai-check 3s var(--ease) infinite; }
@keyframes ai-check { 0%, 15% { stroke-dashoffset: 1; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
/* chat typing dots */
.ai-dot { animation: ai-dot 1.3s ease-in-out infinite; }
.ai-d2 { animation-delay: .18s; } .ai-d3 { animation-delay: .36s; }
@keyframes ai-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-3px); opacity: 1; } }
.ai-float { animation: ai-float 3s ease-in-out infinite; }
@keyframes ai-float { 50% { transform: translate(-1px, -3px); } }
.ai-tassel { transform-box: view-box; transform-origin: 43px 19px; animation: ai-tassel 2.4s ease-in-out infinite; }
@keyframes ai-tassel { 50% { transform: rotate(14deg); } }

/* icon tiles */
.l-skill__ic { padding: 10px; }
.l-skill__ic .ai { stroke-width: 2.6; }
.l-why .l-why__ic { flex: 0 0 58px; height: 58px; padding: 11px; border-radius: 18px; color: var(--sun); background: rgba(255, 200, 61, .1); border: 1px solid rgba(255, 200, 61, .22); transition: transform .4s var(--ease), background-color .3s; }
.l-why:hover .l-why__ic { transform: rotate(-6deg) scale(1.06); background: rgba(255, 200, 61, .18); }

/* ---------------------------------------------- "How it works" line --- */
.l-steps__line { display: none; }
@media (min-width: 1100px) {
  .l-steps::before { display: none; }
  .l-steps__line { display: block; position: absolute; left: 4%; right: 4%; top: 4px; width: 92%; height: 60px; overflow: visible; pointer-events: none; }
  .l-steps__path { fill: none; stroke: #D9C2F5; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
  .l-steps.is-in .l-steps__path { animation: ai-draw 2.2s var(--ease) .2s forwards; }
  .l-steps__dot { fill: var(--sun); filter: drop-shadow(0 0 6px rgba(255, 200, 61, .9)); }
  .l-step { z-index: 1; }
}
.l-step__num { position: relative; }
.l-step__num::after { content: ""; position: absolute; inset: -6px; border-radius: 26px; border: 2px dashed var(--lilac-2); opacity: 0; transition: opacity .3s; animation: l-spin 10s linear infinite; }
.l-step:hover .l-step__num::after { opacity: 1; }

/* -------------------------------------------------------- doodles --- */
.l-sec--doodle { overflow: hidden; }
.l-sec--doodle > .l-wrap { position: relative; z-index: 1; }
.l-doodles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.l-doodle { position: absolute; width: 64px; height: 64px; fill: none; stroke: var(--purple); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: .16; animation: l-drift 14s ease-in-out infinite; }
.l-doodle text { fill: var(--purple); stroke: none; font-family: var(--f-display); font-weight: 700; font-size: 18px; }
.l-doodle .l-doodle__aa { font-family: var(--f-serif); font-style: italic; font-size: 34px; }
.l-doodle--1 { left: 3%; top: 12%; }
.l-doodle--2 { right: 5%; top: 8%; stroke: var(--sun); opacity: .4; width: 46px; height: 46px; animation-duration: 11s; animation-delay: -3s; }
.l-doodle--3 { right: 8%; bottom: 10%; animation-duration: 16s; animation-delay: -6s; }
.l-doodle--4 { left: 6%; bottom: 8%; width: 52px; height: 52px; stroke: var(--coral); opacity: .22; animation-delay: -9s; }
.l-doodle--4 text { fill: var(--coral); font-size: 26px; }
.l-doodle--5 { left: 42%; top: 4%; width: 120px; height: 30px; stroke: var(--coral); opacity: .3; animation-duration: 12s; }
@keyframes l-drift { 0%, 100% { transform: translate(0, 0) rotate(0); } 33% { transform: translate(14px, -18px) rotate(8deg); } 66% { transform: translate(-10px, 12px) rotate(-6deg); } }
@media (max-width: 767px) { .l-doodle--1, .l-doodle--5 { display: none; } }

/* ------------------------------------------------------- carousel --- */
.l-carousel { position: relative; }
.l-carousel__track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 30px; margin: -6px -4px 0;
  scrollbar-width: none; -ms-overflow-style: none;
}
.l-carousel__track::-webkit-scrollbar { display: none; }
.l-carousel__track > * { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; }
@media (max-width: 991px) { .l-carousel__track > * { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 640px) { .l-carousel__track > * { flex-basis: 88%; } }
.l-carousel__nav { display: flex; gap: 10px; }
.l-carousel__btn { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--lilac-2); background: #fff; color: var(--ink); cursor: pointer; transition: background-color .25s, color .25s, transform .25s; }
.l-carousel__btn:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.l-carousel__dots { display: flex; justify-content: center; gap: 8px; }
.l-carousel__dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: var(--lilac-2); cursor: pointer; transition: width .35s var(--ease), background-color .3s; }
.l-carousel__dots button.is-on { width: 30px; background: var(--purple); }
/* story cards inside the carousel */
.l-carousel .l-quote { margin: 0; background: #fff; color: var(--ink); border-radius: 24px; padding: 28px 26px 24px; display: flex; flex-direction: column; border-color: rgba(236, 226, 247, .95) !important; }
.l-carousel .l-quote::before { content: none; }
.l-carousel .l-quote blockquote { color: var(--ink); flex: 1; }
.l-carousel .l-quote b { color: var(--ink); }
.l-carousel .l-quote .l-quote__who span { color: var(--muted); }
.l-quote__mark { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 15px; color: #fff; background: linear-gradient(135deg, var(--purple), var(--violet)); box-shadow: 0 10px 22px -10px var(--purple); }
.l-quote__mark svg { width: 24px; height: 24px; }

/* --------------------------------------------- language -> opportunity --- */
.l-bridge { align-items: center; }
.l-bridge__card { padding: 30px 30px 28px; border-radius: 26px; }
.l-bridge__card h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.25; margin: 4px 0 8px; }
.l-bridge__card p { font-size: 1rem; line-height: 1.6; }
.l-bridge__card ul { display: grid; gap: 10px; margin: 20px 0 0; }
.l-bridge__card li { display: flex; align-items: center; gap: 10px; padding: 0 !important; border-radius: 0 !important; background: none !important; font-size: .98rem; }
.l-bridge__card li i { flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .65rem; }
.l-bridge__ic { display: block; width: 54px; height: 54px; padding: 10px; border-radius: 16px; margin-bottom: 16px; }
.l-bridge__kicker { display: block; font-family: var(--f-display); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.l-bridge__card--ling { background: radial-gradient(420px 260px at 100% 0%, rgba(149, 30, 214, .45), transparent 70%), #1B0D2E; color: rgba(255, 255, 255, .8); box-shadow: 0 30px 60px -30px rgba(27, 13, 46, .7); }
.l-bridge__card--ling h3 { color: #fff; }
.l-bridge__card--ling p { color: rgba(255, 255, 255, .78); }
.l-bridge__card--ling .l-bridge__kicker { color: var(--sun); }
.l-bridge__card--ling .l-bridge__ic { background: rgba(255, 200, 61, .12); color: var(--sun); }
.l-bridge__card--ling li { color: #fff; }
.l-bridge__card--ling li i { background: var(--sun); color: var(--ink); }
.l-bridge__card--lead { background: #fff; color: var(--ink-2); box-shadow: 0 30px 60px -34px rgba(84, 24, 140, .4); }
.l-bridge__card--lead h3 { color: var(--ink); }
.l-bridge__card--lead p { color: var(--muted); }
.l-bridge__card--lead .l-bridge__kicker { color: var(--purple); }
.l-bridge__card--lead .l-bridge__ic { background: var(--lilac); color: var(--purple); }
.l-bridge__card--lead li { color: var(--ink); }
.l-bridge__card--lead li i { background: var(--purple); color: #fff; }
.l-bridge__link { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.l-bridge__link span { font-family: var(--f-serif); font-style: italic; font-size: .95rem; color: var(--muted); }
.l-bridge__svg { width: 140px; height: 90px; overflow: visible; }
.l-bridge__flow { fill: none; stroke: var(--purple); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 10; animation: l-flow 1.2s linear infinite; }
@keyframes l-flow { to { stroke-dashoffset: -12; } }
.l-bridge__plane path { fill: var(--sun); stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; }
@media (max-width: 991px) { .l-bridge__svg { transform: rotate(90deg); width: 110px; height: 70px; } }

/* ------------------------------------------------- two-column FAQs --- */
.l-faq2 { display: grid; gap: 12px; align-items: start; max-width: 1180px; margin: 0 auto; }
@media (min-width: 992px) { .l-faq2 { grid-template-columns: 1fr 1fr; gap: 14px 22px; } }
.l-faq2 .l-faq summary { padding: 16px 18px; font-size: .96rem; }
.l-faq2 .l-faq__a { padding: 0 18px 16px; font-size: .95rem; }

/* ------------------------------------------------- cursor spotlight --- */
.l-xcard__body, .l-skill, .l-track__body { background-image: radial-gradient(360px circle at var(--mx, -400px) var(--my, -400px), rgba(149, 30, 214, .07), transparent 45%); }

/* -------------------------------------------------- scroll progress --- */
.l-progress { position: fixed; left: 0; top: 0; z-index: 1100; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--sun), var(--coral), var(--purple)); pointer-events: none; }

/* ============================================================== footer === */
.l-foot { padding-top: 0; }
.l-foot__glow { position: absolute; left: 50%; top: -260px; width: 900px; height: 520px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(149, 30, 214, .35), transparent); pointer-events: none; }
.l-foot .l-wrap { position: relative; }
.l-foot__stage { display: grid; gap: 30px; align-items: center; padding: 70px 0 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 992px) { .l-foot__stage { grid-template-columns: 1fr 280px; } }
.l-foot__motto p { margin: 0 0 26px; font-family: var(--f-display); font-weight: 600; color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.15; letter-spacing: -.02em; }
.l-foot__motto em { font-family: var(--f-serif); font-weight: 500; color: var(--sun); }
.l-foot__act { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start !important; }
.l-foot__orbit { width: 260px; height: 260px; margin: 0 auto; overflow: visible; font-family: var(--f-display); font-weight: 600; font-size: 12px; }
.l-orbit__ring { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1.5; stroke-dasharray: 3 7; }
.l-orbit__ring--2 { stroke: rgba(255, 200, 61, .25); }
.l-orbit__bob { animation: l-bob2 4s ease-in-out infinite; }
.l-orbit__bob--2 { animation-delay: -1s; } .l-orbit__bob--3 { animation-delay: -2s; } .l-orbit__bob--4 { animation-delay: -3s; }
@keyframes l-bob2 { 50% { transform: translateY(-7px); } }
.l-orbit__dot { fill: var(--sun); filter: drop-shadow(0 0 6px rgba(255, 200, 61, .9)); }
.l-orbit__bubble { fill: #2C1848; stroke: rgba(255, 255, 255, .2); }
.l-orbit__bubble--sun { fill: var(--sun); stroke: none; }
.l-orbit__bubble--mint { fill: #12B886; stroke: none; }
.l-foot__orbit text { fill: #fff; }
.l-foot__orbit .l-orbit__ink { fill: var(--ink); }
.l-orbit__core { fill: var(--purple); filter: drop-shadow(0 0 22px rgba(149, 30, 214, .8)); }
.l-foot__orbit .l-orbit__aa { font-family: var(--f-serif); font-style: italic; font-size: 26px; fill: #fff; }

.l-foot__widgets { display: grid; gap: 18px; padding: 40px 0; }
@media (min-width: 992px) { .l-foot__widgets { grid-template-columns: .9fr 1.1fr; } }
.l-wod, .l-fnews { border-radius: 22px; padding: 24px 26px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.l-wod__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.l-wod__say { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sun); color: var(--ink); cursor: pointer; transition: transform .25s; }
.l-wod__say:hover { transform: scale(1.08); }
.l-wod b { font-family: var(--f-serif); font-weight: 600; font-size: 2.2rem; color: #fff; letter-spacing: -.01em; margin-right: 10px; }
.l-wod [data-wod-pos] { font-family: var(--f-serif); font-style: italic; color: var(--sun); }
.l-wod p { margin: 8px 0 6px; color: rgba(255, 255, 255, .82); }
.l-wod em { display: block; font-family: var(--f-serif); color: rgba(255, 255, 255, .6); margin-bottom: 14px; }
.l-wod .l-link { color: var(--sun); font-size: .9rem; }
.l-fnews h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; color: #fff; margin: 10px 0 6px; }
.l-fnews p { margin: 0 0 14px; color: rgba(255, 255, 255, .7); font-size: .95rem; }
.l-fnews__row { display: flex; gap: 10px; flex-wrap: wrap; }
.l-fnews__row .l-input { flex: 1; min-width: 220px; background: rgba(255, 255, 255, .95); }
.l-fnews .l-consent { margin-top: 12px; color: rgba(255, 255, 255, .62); }
.l-fnews .l-consent a { color: var(--sun); }
.l-fnews .l-thanks h3 { color: #fff; }

.l-foot__stats { display: grid; grid-template-columns: repeat(2, 1fr); border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 768px) { .l-foot__stats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .l-foot__stats { grid-template-columns: repeat(6, 1fr); } }
.l-fstat { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-right: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); transition: background-color .3s; }
.l-fstat:hover { background: rgba(255, 255, 255, .05); }
.l-fstat b { font-family: var(--f-display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--sun); }
.l-fstat span { font-size: .85rem; color: rgba(255, 255, 255, .7); }

.l-foot__grid { display: grid; gap: 34px; padding: 52px 0 40px; }
@media (min-width: 576px) { .l-foot__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .l-foot__grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .l-foot__grid { grid-template-columns: 1.5fr repeat(5, 1fr) 1.35fr; gap: 28px; } }
.l-fcol a { font-size: .92rem; display: inline-flex; transition: color .2s, transform .2s; }
.l-fcol a:hover { transform: translateX(3px); }
.l-fcol--guides a { display: block; line-height: 1.4; }
.l-fcol--guides small { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sun); margin-bottom: 2px; }
.l-fsocs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.l-fsoc { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: .88rem; transition: background-color .25s; }
.l-fsoc:hover { background: var(--purple); color: #fff !important; }
.l-fsoc i { width: 18px; text-align: center; color: var(--sun); }
.l-fsoc:hover i { color: #fff; }

.l-foot__contact { display: grid; gap: 12px; padding: 0 0 34px; }
@media (min-width: 768px) { .l-foot__contact { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .l-foot__contact { grid-template-columns: repeat(5, 1fr); } }
.l-foot__contact > a, .l-fclock { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background-color .3s, transform .3s var(--ease); }
.l-foot__contact > a:hover { background: rgba(255, 255, 255, .08); transform: translateY(-3px); }
.l-foot__contact i { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 200, 61, .12); color: var(--sun); }
.l-foot__contact small { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.l-foot__contact b { display: block; color: #fff; font-family: var(--f-display); font-weight: 600; font-size: .92rem; line-height: 1.35; margin: 2px 0; word-break: break-word; }
.l-foot__contact em { font-style: normal; font-size: .8rem; color: rgba(255, 255, 255, .55); }
.l-fclock b { font-size: 1.5rem; font-variant-numeric: tabular-nums; }

.l-foot__family { display: grid; gap: 12px; padding: 24px 0; }
@media (min-width: 992px) { .l-foot__family { grid-template-columns: auto 1fr 1fr 1fr; align-items: center; } }
.l-foot__familyhead { font-family: var(--f-display); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.l-foot__family a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); }
.l-foot__family a:hover { border-color: var(--sun); }
.l-foot__family a i { color: var(--sun); margin: 0; font-size: 1.1rem; }
.l-foot__family b { display: block; color: #fff; font-family: var(--f-display); font-weight: 600; font-size: .92rem; }
.l-foot__family small { display: block; color: rgba(255, 255, 255, .55); font-size: .8rem; }
.l-foot__legal { align-items: center; }
.l-foot__up { border: 1px solid rgba(255, 255, 255, .2); background: none; color: #fff; border-radius: 999px; padding: 8px 16px; font-family: var(--f-display); font-size: .85rem; cursor: pointer; }
.l-foot__up:hover { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.l-foot__giant { display: none; }
.l-foot__sign { display: block; width: 100%; height: auto; margin-top: -10px; }
.l-foot__sign text { font-family: var(--f-serif); font-style: italic; font-weight: 600; font-size: 210px; fill: transparent; stroke: rgba(255, 255, 255, .14); stroke-width: 1.4; stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.l-foot__sign.is-in text { animation: l-sign 4.5s var(--ease) forwards; }
@keyframes l-sign { 70% { fill: transparent; } to { stroke-dashoffset: 0; fill: rgba(255, 255, 255, .04); } }

@media (prefers-reduced-motion: reduce) {
  .ai .ai-s { stroke-dashoffset: 0; }
  .l-foot__sign text { stroke-dashoffset: 0; fill: rgba(255, 255, 255, .04); }
}

.l-foot .l-btn--sun, .l-foot .l-btn--sun:hover { color: var(--ink) !important; }
.l-foot .l-btn--wa, .l-foot .l-btn--wa:hover { color: #06361A !important; }
.l-quote__who .l-avatar, .l-carousel .l-quote .l-quote__who span.l-avatar { color: #fff !important; }

/* =============================================================================
   Round 3: no pill tags anywhere, book cards, the pathway scene, footer art
   ============================================================================= */

/* ------------------------------------------ no pills, badges or bubbles --- */
.l-tags li { padding: 0 !important; border-radius: 0 !important; background: none !important; }
.l-cine__tag { padding: 0; border-radius: 0; background: none; color: var(--purple-d); font-size: .8rem; letter-spacing: .02em; }
.l-cine__tag i { color: var(--sun); filter: drop-shadow(0 0 0 #A26B00); }
.l-chip--sample { padding: 0; border: 0; border-radius: 0; background: none; color: #A26B00; font-style: italic; text-transform: none; letter-spacing: 0; font-family: var(--f-serif); font-size: .82rem; font-weight: 500; }
.l-chip--sample::before { content: "*"; display: inline; width: auto; height: auto; background: none; border-radius: 0; color: #A26B00; font-style: normal; }
.l-person__band .l-chip--sample { color: #fff; }
.l-person__band .l-chip--sample::before { color: #fff; }
.l-filter { gap: 4px 26px; border-bottom: 2px solid var(--line); }
.l-filter button { border: 0; border-radius: 0; background: none; padding: 10px 2px 12px; margin-bottom: -2px; border-bottom: 3px solid transparent; color: var(--muted); font-weight: 600; }
.l-filter button:hover { color: var(--ink); border-color: transparent; border-bottom-color: var(--lilac-2); }
.l-filter button.is-on { background: none; color: var(--ink); border-bottom-color: var(--purple); }
.l-filter button span { font-family: var(--f-serif); font-style: italic; font-weight: 500; color: var(--purple); opacity: 1; }
.l-assesspromo__facts { gap: 10px 26px; }
.l-assesspromo__facts span { padding: 0; border-radius: 0; background: none; color: rgba(255, 255, 255, .85); }
.l-check span { border-radius: 12px; }
.l-speaker { padding: 0; background: none; border-radius: 0; }
.l-sticker { border-radius: 2px; padding: 14px 18px 12px; box-shadow: 0 14px 24px -14px rgba(0, 0, 0, .55); }
.l-sticker::before { content: ""; position: absolute; left: 50%; top: -9px; width: 64px; height: 18px; transform: translateX(-50%) rotate(3deg); background: rgba(255, 255, 255, .55); border: 1px solid rgba(0, 0, 0, .05); }

/* ------------------------------------------------------- book cards --- */
/* A book spine on the left, a ruled notebook page, a firm ink outline and a
   hard offset shadow that slides on hover. */
.l-book {
  --c1: #951ED6; --c2: #6C4CF1;
  position: relative; display: flex; height: 100%; color: var(--ink); background: #FFFDF8;
  border: 2px solid var(--ink); border-radius: 10px; box-shadow: 6px 6px 0 var(--ink); overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.l-book:hover { color: var(--ink); transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--c1); }
.l-book:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
.l-book__spine {
  position: relative; flex: 0 0 50px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 14px;
  color: #fff; background: linear-gradient(180deg, var(--c1), var(--c2)); border-right: 2px solid var(--ink);
}
.l-book__spine::before, .l-book__spine::after { content: ""; position: absolute; left: 6px; right: 6px; height: 7px; border-top: 1.5px solid rgba(255, 255, 255, .55); border-bottom: 1.5px solid rgba(255, 255, 255, .55); }
.l-book__spine::before { top: 44px; }
.l-book__spine::after { display: none; }
.l-book__spine i { font-size: 1rem; }
.l-book__spine em { margin-top: auto; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-display); font-style: normal; font-weight: 700; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.l-book__page {
  position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 18px 20px 16px 26px;
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, rgba(108, 76, 241, .1) 27px 28px); background-position: 0 14px;
}
.l-book__page::before { content: ""; position: absolute; left: 12px; top: 0; bottom: 0; width: 1.5px; background: rgba(255, 107, 87, .45); }
.l-book__stamp { position: absolute; right: 14px; top: 10px; font-family: var(--f-serif); font-style: italic; font-weight: 700; font-size: 2.7rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--c1); transition: transform .3s; }
.l-book__stamp--ic { display: grid; place-items: center; width: 52px; height: 52px; border: 2px dashed var(--c1); border-radius: 50%; color: var(--c1); -webkit-text-stroke: 0; font-size: 1.15rem; transform: rotate(-10deg); top: 14px; }
.l-book:hover .l-book__stamp { transform: rotate(-4deg) scale(1.06); }
.l-book__kicker { display: block; padding-right: 66px; margin-bottom: 4px; font-family: var(--f-display); font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c1); }
.l-book h3 { margin: 0 0 6px; padding-right: 62px; font-family: var(--f-serif); font-weight: 600; font-size: 1.18rem; line-height: 1.25; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.l-book p { margin: 0; font-size: .92rem; line-height: 28px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.l-book__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 2px dashed rgba(27, 13, 46, .14); }
.l-book__meta { font-size: .78rem; font-weight: 600; color: var(--muted); min-width: 0; }
.l-book__meta i { color: var(--c1); margin-right: 4px; }
.l-book__best { display: block; color: #0A7254; font-weight: 700; }
.l-book__go { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-size: .9rem; padding: 0 2px;
  background: linear-gradient(var(--sun), var(--sun)) no-repeat 0 92% / 100% 38%; transition: background-size .25s; }
.l-book__go i { transition: transform .25s; }
.l-book:hover .l-book__go { background-size: 100% 100%; }
.l-book:hover .l-book__go i { transform: translateX(4px); }
.l-grid > .l-book, .l-carousel__track > .l-book { margin: 0 8px 8px 0; }
.l-book--listening { --c1: #2F7FE0; --c2: #5B4BE8; }
.l-book--reading { --c1: #0E9A70; --c2: #0E7490; }
.l-book--writing { --c1: #E8513F; --c2: #E38B0C; }
.l-book--speaking { --c1: #D9850A; --c2: #E5536F; }
.l-book--grammar { --c1: #8A1CC8; --c2: #6C4CF1; }
.l-book--vocabulary { --c1: #6C4CF1; --c2: #A82063; }
.l-book--ielts { --c1: #E8513F; --c2: #E38B0C; }
.l-book--english { --c1: #8A1CC8; --c2: #6C4CF1; }
.l-book--academic-english { --c1: #0E9A70; --c2: #2F7FE0; }
.l-book--study-abroad { --c1: #2F7FE0; --c2: #6C4CF1; }

/* --------------------------------------------- the pathway scene --- */
.l-path { overflow: hidden; }
.l-path__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 992px) { .l-path__grid { grid-template-columns: .92fr 1.08fr; gap: 56px; } }
.l-path__list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; counter-reset: none; }
.l-path__list li { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 12px 14px; border-radius: 14px; cursor: default; transition: background-color .35s; }
.l-path__list li::after { content: ""; position: absolute; left: 34px; top: 52px; bottom: -8px; width: 2px; background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .18) 0 4px, transparent 4px 9px); }
.l-path__list li:last-child::after { display: none; }
.l-path__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .6); font-family: var(--f-serif); font-style: italic; font-weight: 600; font-size: 1.1rem; transition: all .4s var(--ease); }
.l-path__list h3 { font-family: var(--f-display); font-size: 1.04rem; color: rgba(255, 255, 255, .7); margin: 2px 0 2px; transition: color .35s; }
.l-path__list p { margin: 0; font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .5); transition: color .35s; }
.l-path__list li.is-done .l-path__n { border-color: var(--sun); color: var(--sun); }
.l-path__list li.is-done h3 { color: #fff; }
.l-path__list li.is-done p { color: rgba(255, 255, 255, .72); }
.l-path__list li.is-now { background: rgba(255, 255, 255, .06); }
.l-path__list li.is-now .l-path__n { background: var(--sun); border-color: var(--sun); color: var(--ink); box-shadow: 0 0 0 6px rgba(255, 200, 61, .18); }
.l-path__art { position: relative; }
.l-path__svg { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.l-path__star { fill: #fff; animation: l-twinkle 3s ease-in-out infinite; }
.l-path__star:nth-child(3n) { animation-delay: -1s; } .l-path__star:nth-child(3n+1) { animation-delay: -2s; }
@keyframes l-twinkle { 50% { opacity: .15; } }
.l-path__rays { transform-origin: 455px 150px; animation: l-spin 40s linear infinite; }
.l-path__sunhalo { animation: l-pulse 5s ease-in-out infinite; transform-origin: 455px 150px; }
@keyframes l-pulse { 50% { transform: scale(1.08); opacity: .7; } }
.l-path__cloud { animation: l-cloud 26s linear infinite; }
.l-path__cloud--2 { animation-duration: 38s; animation-delay: -18s; }
@keyframes l-cloud { from { transform: translateX(-160px); } to { transform: translateX(680px); } }
.l-path__bird { fill: none; stroke: rgba(255, 255, 255, .7); stroke-width: 1.6; stroke-linecap: round; animation: l-bird 18s linear infinite; }
.l-path__bird--2 { animation-delay: -7s; animation-duration: 22s; }
@keyframes l-bird { from { transform: translate(-40px, 90px); } to { transform: translate(640px, 30px); } }
.l-path__road { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 14; stroke-linecap: round; }
.l-path__dash { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; }
.l-path__trail { fill: none; stroke: var(--sun); stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 200, 61, .8)); }
.l-path__m circle { fill: #1B0D2E; stroke: rgba(255, 255, 255, .45); stroke-width: 2; transition: fill .4s, stroke .4s; }
.l-path__m text { fill: rgba(255, 255, 255, .8); font-family: var(--f-serif); font-style: italic; font-weight: 600; font-size: 14px; text-anchor: middle; dominant-baseline: central; }
.l-path__m.is-done circle { fill: var(--sun); stroke: #fff; }
.l-path__m.is-done text { fill: var(--ink); }
.l-path__m .l-path__ping { fill: none; stroke: var(--sun); stroke-width: 2; opacity: 0; }
.l-path__m.is-now .l-path__ping { animation: l-ping2 1.8s ease-out infinite; }
@keyframes l-ping2 { 0% { opacity: .9; r: 15; } 100% { opacity: 0; r: 30; } }
.l-path__hiker circle { fill: #fff; }
.l-path__hiker .l-path__halo { fill: rgba(255, 255, 255, .25); animation: l-pulse 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.l-path__flag { fill: var(--sun); }
.l-path__label { fill: rgba(255, 255, 255, .85); font-family: var(--f-serif); font-style: italic; font-size: 15px; }

/* =========================================================== footer art === */
.l-foot__wave { position: relative; display: block; width: 100%; height: 90px; margin-bottom: -2px; overflow: hidden; background: var(--paper); }
.l-foot__wave svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
.l-foot__wave svg.l-wave1 { opacity: .35; animation: l-wave 14s linear infinite; }
.l-foot__wave svg.l-wave2 { animation: l-wave 22s linear infinite reverse; }
.l-foot__wave path { fill: var(--ink); }
@keyframes l-wave { to { transform: translateX(-50%); } }

.l-fdict { padding: 56px 0 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.l-fdict__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 28px; }
.l-fdict__head h3 { margin: 0; font-family: var(--f-serif); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.4rem); color: #fff; letter-spacing: -.01em; }
.l-fdict__head h3 i { color: var(--sun); }
.l-fdict__head p { margin: 0; color: rgba(255, 255, 255, .6); max-width: 46ch; font-size: .95rem; }
.l-fdict__cols { columns: 1; column-gap: 34px; column-rule: 1px solid rgba(255, 255, 255, .08); }
@media (min-width: 640px) { .l-fdict__cols { columns: 2; } }
@media (min-width: 992px) { .l-fdict__cols { columns: 4; } }
.l-fdict__letter { display: block; break-after: avoid; font-family: var(--f-serif); font-style: italic; font-weight: 600; font-size: 2.4rem; line-height: 1; color: var(--sun); margin: 0 0 6px; }
.l-fdict__entry { display: block; break-inside: avoid; padding: 6px 0 16px; color: rgba(255, 255, 255, .72); }
.l-fdict__entry:hover { color: #fff; }
.l-fdict__entry b { font-family: var(--f-serif); font-weight: 600; font-size: 1.12rem; color: #fff; }
.l-fdict__entry .l-fdict__ph { font-family: var(--f-serif); color: rgba(255, 255, 255, .5); margin-left: 6px; font-size: .9rem; }
.l-fdict__entry .l-fdict__pos { font-family: var(--f-serif); font-style: italic; color: var(--sun); margin-left: 6px; font-size: .88rem; }
.l-fdict__entry span.l-fdict__def { display: block; font-size: .9rem; line-height: 1.5; margin-top: 2px; }
.l-fdict__entry:hover span.l-fdict__def { text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 3px; }

.l-hours { padding: 30px 0 34px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 22px; }
@media (min-width: 992px) { .l-hours { grid-template-columns: 260px 1fr; align-items: center; } }
.l-hours h4 { margin: 0 0 6px; font-family: var(--f-serif); font-weight: 600; font-size: 1.5rem; color: #fff; }
.l-hours p { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .6); }
.l-hours__chart { position: relative; display: grid; gap: 7px; }
.l-hours__row { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; font-family: var(--f-display); font-size: .78rem; color: rgba(255, 255, 255, .6); }
.l-hours__row.is-today { color: var(--sun); }
.l-hours__bar { position: relative; height: 12px; border-radius: 3px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 calc(100% / 24 - 1px), transparent calc(100% / 24 - 1px) calc(100% / 24)); }
.l-hours__bar i { position: absolute; top: 0; bottom: 0; left: calc(11 / 24 * 100%); width: calc(8 / 24 * 100%); border-radius: 3px; background: linear-gradient(90deg, var(--purple), var(--violet)); }
.l-hours__row.is-today .l-hours__bar i { background: linear-gradient(90deg, var(--sun), #FF9F43); }
.l-hours__row.is-closed .l-hours__bar i { display: none; }
.l-hours__row.is-closed span:last-child::after { content: "Closed, WhatsApp us"; position: absolute; left: 0; top: -3px; font-size: .74rem; color: rgba(255, 255, 255, .45); }
.l-hours__now { position: absolute; top: -8px; bottom: -8px; width: 2px; background: var(--coral); box-shadow: 0 0 10px var(--coral); }
.l-hours__now::before { display: none; content: attr(data-label); position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-family: var(--f-display); font-size: .7rem; color: var(--coral); white-space: nowrap; }
.l-hours__scale { display: grid; grid-template-columns: 42px 1fr; gap: 12px; font-size: .7rem; color: rgba(255, 255, 255, .4); }
.l-hours__scale div { display: flex; justify-content: space-between; }

.l-skyline { display: block; width: 100%; height: auto; margin-top: 10px; }
.l-skyline .l-sky__bld { fill: #241339; }
.l-skyline .l-sky__bld2 { fill: #2E1A49; }
.l-skyline .l-sky__win { fill: var(--sun); animation: l-win 4s steps(1) infinite; }
.l-skyline .l-sky__win:nth-child(4n) { animation-delay: -1.3s; } .l-skyline .l-sky__win:nth-child(4n+1) { animation-delay: -2.6s; } .l-skyline .l-sky__win:nth-child(5n) { animation-duration: 6s; }
@keyframes l-win { 0%, 60% { opacity: .9; } 61%, 100% { opacity: .15; } }
.l-skyline .l-sky__moon { fill: #FFE7A0; filter: drop-shadow(0 0 14px rgba(255, 231, 160, .6)); }
.l-skyline .l-sky__plane path { fill: #fff; }
.l-skyline .l-sky__trail { fill: none; stroke: rgba(255, 255, 255, .25); stroke-width: 1.5; stroke-dasharray: 3 7; }
@media (prefers-reduced-motion: reduce) { .l-path__cloud, .l-path__bird, .l-foot__wave path, .l-sky__win { animation: none !important; } }

/* ------------------------------------------- footer: even grid, one-line text --- */
.l-foot { font-size: .88rem; }
.l-foot__stage { padding: 56px 0 36px; }
@media (min-width: 992px) { .l-foot__stage { grid-template-columns: 1fr 240px; } }
.l-foot__orbit { width: 240px; height: 240px; }
.l-foot__motto p { font-size: clamp(1.45rem, 2.5vw, 2.1rem); margin-bottom: 22px; }
.l-foot__widgets { padding: 32px 0; gap: 20px; }
@media (min-width: 992px) { .l-foot__widgets { grid-template-columns: 1fr 1fr; } }
.l-wod, .l-fnews { display: flex; flex-direction: column; padding: 22px 24px; }
.l-wod__word { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.l-wod__word b { font-family: var(--f-serif); font-weight: 600; font-size: 1.8rem; color: #fff; line-height: 1.1; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-wod [data-wod-pos] { flex-shrink: 0; font-size: .9rem; }
.l-wod p { font-size: .88rem; margin: 8px 0 4px; }
.l-wod em { font-size: .86rem; margin-bottom: 12px; }
.l-wod .l-link { margin-top: auto; font-size: .84rem; }
.l-fnews h3 { font-size: 1.15rem; margin: 10px 0 4px; }
.l-fnews p { font-size: .86rem; margin-bottom: 14px; }
.l-fnews__row .l-input { min-height: 46px; padding: 10px 14px; font-size: .9rem; }
.l-fnews__row .l-btn { min-height: 46px; padding: 0 20px; font-size: .88rem; }
.l-fnews .l-consent { font-size: .8rem; margin-top: 10px; }

.l-fstat { padding: 16px 18px; }
.l-fstat b { font-size: 1.6rem; }
.l-fstat span { font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.l-fdict { padding: 46px 0 14px; }
.l-fdict__head h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.l-fdict__head p { font-size: .86rem; }
.l-fdict__group { break-inside: avoid; margin-bottom: 8px; }
.l-fdict__letter { font-size: 1.9rem; }
.l-fdict__entry { padding: 4px 0 12px; }
.l-fdict__entry b { font-size: 1rem; }
.l-fdict__entry .l-fdict__ph, .l-fdict__entry .l-fdict__pos { font-size: .8rem; }
.l-fdict__entry span.l-fdict__def { font-size: .82rem; }

.l-foot__brandrow { display: grid; gap: 16px 28px; align-items: center; padding: 30px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 768px) { .l-foot__brandrow { grid-template-columns: auto 1fr auto; } }
.l-foot__brandrow .l-brand__words b { color: #fff; }
.l-foot__brandrow .l-brand__words i { color: var(--sun); }
.l-foot__brandrow p { margin: 0; font-size: .86rem; color: rgba(255, 255, 255, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-foot__brandrow p a { color: var(--sun); }
.l-fsocs { display: flex; gap: 8px; margin: 0; }
.l-fsoc { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 12px; }
.l-fsoc i { width: auto; }

.l-foot__grid { gap: 26px 20px; padding: 36px 0; }
@media (min-width: 480px) { .l-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .l-foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .l-foot__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; } }
.l-fcol { min-width: 0; }
.l-fcol h4 { font-size: .72rem; margin: 0 0 14px; white-space: nowrap; }
.l-fcol ul { gap: 9px; }
.l-fcol li { min-width: 0; }
.l-fcol a, .l-fcol--guides a { display: block; max-width: 100%; font-size: .86rem; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.l-foot__contact { padding: 0 0 30px; gap: 12px; }
@media (min-width: 640px) { .l-foot__contact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .l-foot__contact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .l-foot__contact { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.l-foot__contact > a, .l-fclock { min-width: 0; padding: 14px; gap: 12px; align-items: center; }
.l-foot__contact > a > span, .l-fclock > span { min-width: 0; }
.l-foot__contact i { flex: 0 0 36px; height: 36px; border-radius: 11px; font-size: .9rem; }
.l-foot__contact b, .l-foot__contact em { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-foot__contact b { font-size: .84rem; word-break: normal; }
.l-foot__contact em { font-size: .74rem; }
.l-fclock b { font-size: 1.1rem; }

.l-foot__family { gap: 12px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 768px) { .l-foot__family { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.l-foot__family a { min-width: 0; padding: 12px 14px; }
.l-foot__family a > span { min-width: 0; }
.l-foot__family b, .l-foot__family small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-foot__family b { font-size: .88rem; }
.l-foot__family small { font-size: .76rem; }

.l-foot__note { font-size: .76rem; text-align: center; max-width: 980px; margin: 0 auto; }
.l-foot__legal { display: grid; gap: 12px; justify-items: center; font-size: .82rem; }
@media (min-width: 992px) { .l-foot__legal { grid-template-columns: 1fr auto 1fr; } .l-foot__legal > span { justify-self: start; } .l-foot__up { justify-self: end; } }
.l-foot__legal nav { gap: 22px; }

.l-hours { padding: 26px 0 30px; }
.l-hours h4 { font-size: 1.25rem; }
.l-hours p { font-size: .84rem; }
.l-hours__wrap { display: grid; gap: 6px; }
.l-foot__wave svg { max-width: none; }

.l-drawer__family { display: grid; gap: 4px; margin: 6px 0 18px; padding: 14px 0 0; border-top: 1px solid var(--line); }
.l-drawer__family span { font-family: var(--f-display); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.l-drawer__family a { display: flex; align-items: center; gap: 10px; padding: 8px 4px; color: var(--ink-2); font-size: .95rem; }
.l-drawer__family a i { width: 20px; color: var(--purple); }
