/* The public site (home, about, courses, contact) in the look of aldoctoracademy.com:
   night purple, ALDOCTOR yellow pills, lavender lines, big Bricolage headings.
   Colours come from the theme tokens of app.css, so day and night both work. */

.site {
  --site-line: rgba(106, 63, 176, .16);
  --site-glow: rgba(122, 76, 184, .22);
  --site-card: var(--surface);
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6;
}
:root[data-theme="dark"] .site { --site-line: rgba(201, 184, 222, .16); --site-glow: rgba(122, 76, 184, .45); --site-card: #17131f; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) .site { --site-line: rgba(201, 184, 222, .16); --site-glow: rgba(122, 76, 184, .45); --site-card: #17131f; }
}
.site *, .site *::before, .site *::after { box-sizing: border-box; }
.site img { max-inline-size: 100%; block-size: auto; }
.site a { color: inherit; }
.site-wrap { inline-size: 100%; max-inline-size: 1180px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .site-wrap { padding-inline: 28px; } }
.site-muted { color: var(--muted); }
.site .small { font-size: .88rem; }

/* header */
.site-top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block-end: 1px solid var(--site-line); }
.site-top__in { display: flex; align-items: center; gap: 16px; min-block-size: 72px; }
.site-top__logo { display: flex; flex: none; }
.site-top__logo img { inline-size: auto; block-size: 40px; }
.site-nav { display: flex; gap: 4px; margin-inline: auto; }
.site-nav__links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 600; }
.site-nav__links a:hover { color: var(--text); background: var(--hover); }
.site-nav__links a[aria-current="page"] { color: var(--text); background: var(--brand-soft); }
.site-top__tools { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.site-nav + .site-top__tools { margin-inline-start: 0; }
.site-top__tools form { margin: 0; }
.site-icon { display: inline-grid; place-items: center; inline-size: 40px; block-size: 40px; padding: 0; border: 1px solid var(--site-line); border-radius: 999px; background: transparent; color: var(--text); cursor: pointer; }
.site-icon:hover { background: var(--hover); }
.site-menu { display: none; }
.site-nav__cta { display: none; }
.site-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--site-line); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: .9rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.site-pill:hover { background: var(--hover); }
.site-pill.is-on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
@media (max-width: 899px) {
  .site-menu { display: inline-grid; }
  .site-nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; gap: 2px; padding: 10px 16px 16px; background: var(--bg); border-block-end: 1px solid var(--site-line); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav__links a { padding: 12px 14px; }
  .site-top__tools { margin-inline-start: auto; }
}
@media (max-width: 520px) {
  .site-top__logo img { block-size: 32px; }
  .site-top__tools .site-pill span { display: none; }
  .site-top__tools .site-pill { padding: 0; inline-size: 40px; block-size: 40px; justify-content: center; }
  .site-top__tools > .site-btn { display: none; }
  .site-top__tools { gap: 6px; }
}

/* buttons */
.site-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border: 1px solid var(--site-line); border-radius: 999px; background: var(--site-card); color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s ease, background-color .15s ease; }
.site-btn:hover { background: var(--hover); transform: translateY(-1px); }
.site-btn--primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); box-shadow: 0 6px 20px rgba(255, 212, 0, .25); }
.site-btn--primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.site-btn--lg { padding: 14px 26px; font-size: 1.02rem; }
.site-btn--sm { padding: 7px 14px; font-size: .88rem; }
.site-btn--block { inline-size: 100%; }
.site a.site-btn--primary { color: var(--on-primary); }
.site-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block: 28px 0; }

/* typography */
.site-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--site-line); border-radius: 999px; background: var(--site-card); color: var(--brand); font-size: .85rem; font-weight: 700; }
.site-eyebrow i { inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(255, 212, 0, .18); }
.site-h1 { margin: 18px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 5.4vw, 4rem); line-height: 1.08; letter-spacing: -.02em; }
:lang(ar) .site-h1 { line-height: 1.3; letter-spacing: 0; }
.site-h1 em { font-style: normal; color: var(--brand); background: linear-gradient(transparent 78%, rgba(255, 212, 0, .45) 78%); padding-inline: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.site-h1--page { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.site-h2 { margin: 16px 0 10px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.15; }
:lang(ar) .site-h2 { line-height: 1.35; }
.site-lead { max-inline-size: 640px; margin: 18px 0 0; color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.18rem); }

/* hero */
.site-hero { position: relative; overflow: hidden; padding-block: 56px 48px; background-image: radial-gradient(60% 70% at 85% 10%, var(--site-glow), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(255, 212, 0, .07), transparent 70%); }
[dir="rtl"] .site-hero { background-image: radial-gradient(60% 70% at 15% 10%, var(--site-glow), transparent 70%), radial-gradient(40% 50% at 100% 100%, rgba(255, 212, 0, .07), transparent 70%); }
.site-hero--page { padding-block: 40px 28px; }
.site-hero__grid { display: grid; gap: 32px; align-items: center; }
.site-hero__art { display: flex; justify-content: center; }
.site-hero__art img { inline-size: min(440px, 88%); filter: drop-shadow(0 30px 60px var(--site-glow)); }
@media (min-width: 900px) {
  .site-hero { padding-block: 80px 64px; }
  .site-hero--page { padding-block: 56px 32px; }
  .site-hero__grid { grid-template-columns: 1.15fr .85fr; }
  .site-hero__art img { inline-size: 100%; max-inline-size: 480px; }
}
.site-years { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0 0; color: var(--muted); font-size: .92rem; }
.site-years b { color: var(--text); margin-inline-end: 4px; }
.site-years a { color: var(--brand); font-weight: 600; text-decoration: none; }
.site-years a:hover { text-decoration: underline; }
.site-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-block-end: 18px; color: var(--muted); font-size: .88rem; }
.site-crumbs a { color: var(--muted); }
.site-crumbs a:hover { color: var(--text); }

/* counters band */
.site-stats { border-block: 1px solid var(--site-line); background: var(--site-card); }
.site-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; padding-block: 30px; text-align: center; }
.site-stat { margin: 0; font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1; color: var(--text); }
.site-stat b { color: var(--primary); font-weight: 800; }
:root:not([data-theme="dark"]) .site-stat b { color: #c79a00; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-stat b { color: var(--primary); } }
.site-stats p.site-muted { margin: 8px 0 0; font-weight: 600; }

/* sections and cards */
.site-section { padding-block: 64px; }
.site-section--tight { padding-block: 24px 56px; }
.site-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; margin-block-start: 32px; }
.site-card { padding: 24px; border: 1px solid var(--site-line); border-radius: 20px; background: var(--site-card); transition: transform .2s ease, border-color .2s ease; }
.site-card:not(.looks .site-card):hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.site-card h3 { margin: 16px 0 6px; font-family: var(--font-display); font-size: 1.15rem; }
.site-card p { margin: 0; color: var(--muted); }
.site-card__icon { display: inline-grid; place-items: center; flex: none; inline-size: 46px; block-size: 46px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }
.site-card__icon .ico, .site-card__icon svg { inline-size: 22px; block-size: 22px; }

/* three steps */
.site-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.site-steps li { padding: 24px; border: 1px solid var(--site-line); border-block-end: 4px solid var(--primary); border-radius: 20px; background: var(--site-card); }
.site-steps__n { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-family: var(--font-display); font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.site-steps h3 { margin: 14px 0 6px; font-family: var(--font-display); font-size: 1.2rem; }
.site-steps p { margin: 0; color: var(--muted); }

/* call to action box */
.site-cta { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 56px); border-radius: 28px; background: #2a1650; background-image: radial-gradient(70% 120% at 0% 0%, #7a4cb8, transparent 65%), radial-gradient(50% 90% at 100% 100%, rgba(255, 212, 0, .22), transparent 70%); color: #fff; text-align: center; }
.site-cta .site-h2 { margin-block-start: 0; color: #fff; }
.site-cta p { margin: 0 auto; max-inline-size: 560px; color: #e6dcf4; }
.site-cta .site-actions { justify-content: center; }
.site-cta .site-btn:not(.site-btn--primary) { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }

/* about */
.site-split { display: grid; gap: 40px; align-items: center; }
.site-split--top { align-items: start; }
@media (min-width: 900px) { .site-split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.site-figure { position: relative; margin: 0; }
.site-figure img { display: block; inline-size: 100%; border-radius: 28px; border: 1px solid var(--site-line); background: var(--site-card); }
.site-figure figcaption { position: absolute; inset-inline: 16px; inset-block-end: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: rgba(16, 13, 26, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; }
.site-figure figcaption .site-card__icon { background: var(--primary); color: var(--on-primary); }
.site-figure figcaption b, .site-figure figcaption small { display: block; }
.site-figure figcaption small { color: #c9b8de; }
.site-ticks { display: grid; gap: 10px; margin: 22px 0 28px; padding: 0; list-style: none; }
.site-ticks li { display: flex; align-items: flex-start; gap: 10px; }
.site-ticks .ico { flex: none; margin-block-start: 3px; padding: 3px; inline-size: 22px; block-size: 22px; border-radius: 50%; background: var(--primary); color: var(--on-primary); }

/* courses */
.site-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 26px; }
.site-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.site-course { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--site-line); border-radius: 22px; background: var(--site-card); transition: transform .2s ease, border-color .2s ease; }
.site-course:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.site-course__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #100d1a; background-image: radial-gradient(70% 90% at 50% 0%, rgba(122, 76, 184, .55), transparent 70%); }
.site-course__img img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.site-course__img img.is-fallback { object-fit: contain; object-position: bottom; padding-block-start: 10px; }
.site-course__img--big { aspect-ratio: 4 / 3; border-radius: 28px; border: 1px solid var(--site-line); }
.site-course__tag { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; padding: 4px 12px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: .8rem; font-weight: 800; }
.site-course__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 20px; }
.site-course__body h3 { margin: 0; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3; }
.site-course__body h3 a { text-decoration: none; }
.site-course__body h3 a:hover { color: var(--brand); }
.site-course__body p { margin: 0; }
.site-course__meta { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.site-course__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: auto; padding-block-start: 14px; border-block-start: 1px solid var(--site-line); }
.site-course__foot b { font-family: var(--font-display); font-size: 1.1rem; }
.site-price { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; }
.site-outline { margin-block-start: 18px; padding: 18px 20px; border: 1px solid var(--site-line); border-radius: 18px; background: var(--site-card); }
.site-outline h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.05rem; }
.site-outline ol { display: grid; gap: 4px; margin: 0; padding-inline-start: 22px; }
.site-outline li { padding: 6px 0; border-block-end: 1px dashed var(--site-line); }
.site-outline li:last-child { border-block-end: 0; }
.site-outline li .ico { inline-size: 15px; block-size: 15px; color: var(--muted); margin-inline-end: 4px; }
.site-empty { padding: 28px; border: 1px dashed var(--site-line); border-radius: 20px; color: var(--muted); text-align: center; }

/* contact */
.site-channels { display: grid; gap: 12px; }
.site-channel { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--site-line); border-radius: 18px; background: var(--site-card); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
a.site-channel:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.site-channel.is-best { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary) inset; }
.site-channel > span:last-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-inline-size: 0; }
.site-channel b { font-family: var(--font-display); }
.site-channel small { flex-basis: 100%; color: var(--muted); }
.site-channel .num { direction: inherit; flex-basis: 100%; color: var(--brand); font-weight: 700; overflow-wrap: anywhere; }
.site-badge { padding: 2px 10px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: .74rem; font-weight: 800; }
.site-form { display: grid; gap: 14px; padding: clamp(20px, 4vw, 32px); border: 1px solid var(--site-line); border-radius: 24px; background: var(--site-card); }
.site-form .site-h2 { margin: 0; font-size: 1.6rem; }
.site-form > p { margin: 0; }
.site-form input, .site-form select, .site-form textarea { inline-size: 100%; padding: 11px 14px; border: 1px solid var(--input-border); border-radius: 14px; background: var(--input-bg); color: var(--text); font: inherit; }
.site-form input:focus, .site-form select:focus, .site-form textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: transparent; }
.site-form .grid--2 { display: grid; gap: 14px; }
.site-form .hint { margin: 0; text-align: center; }

/* footer */
.site-foot { margin-block-start: 24px; border-block-start: 1px solid var(--site-line); background: var(--site-card); }
.site-foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 28px; padding-block: 48px 32px; }
@media (min-width: 900px) { .site-foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.site-foot .site-foot__logo { inline-size: auto; block-size: 48px; }
.site-foot h4 { margin: 0 0 12px; font-family: var(--font-display); font-size: 1rem; }
.site-foot ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-foot ul a { color: var(--muted); text-decoration: none; }
.site-foot ul a:hover { color: var(--text); }
.site-foot__contact li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.site-social { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 14px; }
.site-social a { display: inline-grid; place-items: center; inline-size: 40px; block-size: 40px; border: 1px solid var(--site-line); border-radius: 50%; color: var(--text); }
.site-social a:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.site-social svg, .site-card__icon svg.soc { inline-size: 18px; block-size: 18px; }
.site-foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 18px 26px; border-block-start: 1px solid var(--site-line); color: var(--muted); font-size: .86rem; }

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .site-hero__text, .site-hero__art { animation: site-up .6s ease both; }
  .site-hero__art { animation-delay: .12s; }
  @keyframes site-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .site-btn, .site-card, .site-course, .site-channel { transition: none; }
  .site-btn:hover, .site-card:hover, .site-course:hover, a.site-channel:hover { transform: none; }
}
@media print {
  .site-top, .site-foot, .site-cta { display: none; }
}

/* Header and footer stay night-purple in both themes, like the menu of the dashboard:
   the ALDOCTOR logo is drawn in white and yellow and needs a dark ground. */
.site-top, .site-foot {
  --text: #ffffff; --muted: #a497b8; --hover: rgba(201, 184, 222, .1); --brand: #c9b8de; --brand-soft: #2c2639;
  --site-line: rgba(201, 184, 222, .16); --site-card: #17131f;
  color: var(--text);
}
.site-top { background: rgba(16, 13, 26, .9); }
.site-foot { background: #100d1a; }
.site-top .site-nav { --bg: #100d1a; }
@media (max-width: 899px) { .site-top .site-nav { background: #100d1a; } }
@media (max-width: 520px) {
  .site-top .site-nav .site-nav__cta { display: block; margin-block-start: 6px; background: var(--primary); color: var(--on-primary); text-align: center; font-family: var(--font-display); font-weight: 800; }
}

/* ══ 0.15.0 motion layer: splash, 3D DNA, floating science shapes, typed headings, reveal,
   Dr. Maher with orbits, tilting cards, footer marquee. Everything still under reduced motion. ══ */

/* layers: DNA canvas and shapes sit behind the page; cards are glass so the DNA shows through */
.dna-bg { position: fixed; inset: 0; inline-size: 100%; block-size: 100%; z-index: 0; pointer-events: none; }
.site-floaties { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; color: var(--brand); }
.site main, .site .site-foot { position: relative; z-index: 1; }
.site { --site-card: rgba(255, 255, 255, .74); }
:root[data-theme="dark"] .site { --site-card: rgba(23, 19, 31, .68); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]):not([data-theme="dark"]) .site { --site-card: rgba(23, 19, 31, .68); } }
.site-card, .site-course, .site-steps li, .site-channel, .site-form, .site-outline, .site-stats, .site-eyebrow, .site-empty {
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.site-foot { background: rgba(16, 13, 26, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-stats { background: color-mix(in srgb, var(--site-card) 80%, transparent); }

.floaty { position: absolute; inset-block-start: 105%; opacity: .1; animation: floaty-rise linear infinite; }
.floaty svg { inline-size: 100%; block-size: 100%; animation: floaty-spin 18s linear infinite; }
.floaty--y { color: var(--primary); opacity: .14; }
@keyframes floaty-rise { from { transform: translateY(0); } to { transform: translateY(-130vh); } }
@keyframes floaty-spin { to { transform: rotate(360deg); } }

/* splash */
.has-splash body { overflow: hidden; }
.splash { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #08070d; background-image: radial-gradient(40% 45% at 50% 38%, rgba(122, 76, 184, .42), transparent 70%); animation: splash-gone .5s ease 4.5s forwards; }
.splash__in { display: grid; justify-items: center; gap: 14px; inline-size: min(340px, 80vw); }
.splash__maher { inline-size: min(260px, 60vw); block-size: auto; filter: drop-shadow(0 24px 50px rgba(122, 76, 184, .6)); animation: splash-pop .9s cubic-bezier(.2, .9, .3, 1.3) both; }
.splash__logo { inline-size: 100%; block-size: auto; animation: splash-pop .9s .15s cubic-bezier(.2, .9, .3, 1.3) both; }
.splash__bar { inline-size: 100%; block-size: 3px; margin-block-start: 18px; border-radius: 3px; background: rgba(201, 184, 222, .16); overflow: hidden; }
.splash__bar i { display: block; inline-size: 0; block-size: 100%; border-radius: 3px; background: linear-gradient(90deg, #ffd400, #f2a900); box-shadow: 0 0 12px rgba(255, 212, 0, .7); }
.splash__pct { color: #a497b8; font-size: .82rem; letter-spacing: .2em; }
.splash.is-out { animation: splash-out .65s ease forwards; }
.splash.is-out .splash__in { transition: transform .65s ease; transform: scale(1.08); }
@keyframes splash-pop { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }
@keyframes splash-gone { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* headline: the subjects in ALDOCTOR yellow, like the old site */
.site-h1 em { background: none; color: #ffd400; padding: 0; text-shadow: 0 0 28px rgba(255, 212, 0, .25); }
:root:not([data-theme="dark"]) .site-h1 em { color: #8a6d00; text-shadow: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-h1 em { color: #ffd400; text-shadow: 0 0 28px rgba(255, 212, 0, .25); } }

/* typed headings: a blinking yellow caret while the text comes in */
.is-typing::after { content: ""; display: inline-block; inline-size: .08em; min-inline-size: 3px; block-size: .9em; margin-inline-start: .08em; vertical-align: -.08em; background: var(--primary); animation: caret .75s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* reveal on scroll */
.js-motion .reveal { opacity: 0; transform: translateY(28px) scale(.97); transition: opacity .75s ease, transform .75s cubic-bezier(.2, .75, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.js-motion .reveal.is-in { opacity: 1; transform: none; }

/* Dr. Maher: floats, follows the pointer, a big DNA turning behind him and two orbits */
.site-hero__art { position: relative; perspective: 900px; min-block-size: 360px; align-items: center; }
.dna-hero { position: absolute; inset: -6% -10%; inline-size: 120%; block-size: 112%; z-index: 0; pointer-events: none; }
.portrait { position: relative; z-index: 2; display: flex; justify-content: center; inline-size: 100%; transform: translate3d(calc(var(--px, 0) * 16px), calc(var(--py, 0) * 10px), 0) rotateY(calc(var(--px, 0) * 9deg)) rotateX(calc(var(--py, 0) * -6deg)); transition: transform .25s ease-out; }
.site-hero__art .portrait img { inline-size: min(440px, 88%); filter: drop-shadow(0 34px 60px var(--site-glow)); animation: portrait-float 6s ease-in-out infinite; }
@keyframes portrait-float { 50% { transform: translateY(-14px); } }
.site-hero__art::before { content: ""; position: absolute; inset: 12% 16% 6%; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(122, 76, 184, .55), transparent); filter: blur(10px); animation: glow-pulse 4.5s ease-in-out infinite; }
@keyframes glow-pulse { 50% { transform: scale(1.1); opacity: .7; } }
.orbit { position: absolute; z-index: 1; inset-inline: 0; margin-inline: auto; inset-block-start: 52%; border: 1.5px solid rgba(255, 212, 0, .35); border-radius: 50%; pointer-events: none; }
.orbit--1 { inline-size: 86%; aspect-ratio: 2.4 / 1; transform: translateY(-50%) rotate(-18deg); }
.orbit--2 { inline-size: 70%; aspect-ratio: 2.2 / 1; border-color: rgba(201, 184, 222, .4); transform: translateY(-50%) rotate(28deg); }
.orbit i { position: absolute; inset: -6px; border-radius: 50%; animation: orbit-spin 5s linear infinite; }
.orbit--2 i { animation-duration: 7.5s; animation-direction: reverse; }
.orbit i::before { content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: -1px; inline-size: 12px; block-size: 12px; margin-block-start: -6px; border-radius: 50%; background: #ffd400; box-shadow: 0 0 16px 4px rgba(255, 212, 0, .7); }
.orbit--2 i::before { background: #c9b8de; box-shadow: 0 0 16px 4px rgba(201, 184, 222, .7); }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

/* cards lean towards the pointer, with a soft light where it is */
.tilt { position: relative; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .2s ease-out, border-color .2s ease, box-shadow .2s ease; }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s ease; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 212, 0, .14), transparent 60%); }
.tilt:hover::after { opacity: 1; }
.tilt:hover { box-shadow: 0 18px 40px rgba(16, 13, 26, .28); }
.js-motion .reveal.tilt { transition: opacity .75s ease, transform .75s cubic-bezier(.2, .75, .2, 1), border-color .2s ease, box-shadow .2s ease; }
.js-motion .reveal.tilt.is-in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity .75s ease, transform .2s ease-out, border-color .2s ease, box-shadow .2s ease; transition-delay: 0s; }
.site-card.tilt:hover, .site-course.tilt:hover, a.site-channel.tilt:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }
.site-card__icon { transition: transform .3s ease, background-color .3s ease, color .3s ease; }
.site-card:not(.looks .site-card):hover .site-card__icon { transform: rotate(-8deg) scale(1.1); background: var(--primary); color: var(--on-primary); }

/* header firms up after scrolling */
.site-top { transition: background-color .3s ease, box-shadow .3s ease; }
.site-top.is-stuck { background: rgba(10, 8, 18, .94); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }

/* day / night cross-fade */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after { transition: background-color .5s ease, color .5s ease, border-color .5s ease, fill .5s ease !important; }

/* footer: yellow column titles, coloured social marks, the running marquee */
.site-foot h4 { color: #ffd400; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
:lang(ar) .site-foot h4 { letter-spacing: 0; font-size: .95rem; }
.site-social a.soc { inline-size: 44px; block-size: 44px; border-radius: 14px; background: rgba(255, 255, 255, .04); transition: transform .2s ease, background-color .2s ease; }
.site-social a.soc--telegram { color: #27a7e7; }
.site-social a.soc--whatsapp { color: #25d366; }
.site-social a.soc--facebook { color: #1877f2; }
.site-social a.soc--youtube { color: #ff3b30; }
.site-social a.soc--tiktok { color: #ffffff; }
.site-social a.soc svg { inline-size: 22px; block-size: 22px; }
.site-marquee { overflow: hidden; border-block-start: 1px solid var(--site-line); padding-block: 14px; color: var(--muted); font-size: .85rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.site-marquee__track { display: flex; gap: 48px; inline-size: max-content; white-space: nowrap; animation: marquee 38s linear infinite; }
.site-marquee__track b { color: var(--text); }
[dir="rtl"] .site-marquee__track { animation-name: marquee-rtl; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.site-foot__bar { justify-content: center; margin: 0 auto; border-block-start: 0; padding-block: 4px 22px; font-size: .8rem; }

@media (prefers-reduced-motion: reduce) {
  .splash { display: none; }
  .has-splash body { overflow: auto; }
  .site-hero__art .portrait img, .site-hero__art::before, .orbit i, .floaty, .site-marquee__track { animation: none; }
  .site-marquee__track { flex-wrap: wrap; inline-size: auto; }
}
@media (max-width: 899px) {
  .site-hero__art { min-block-size: 300px; }
  .orbit--1 { inline-size: 92%; }
}
@media (min-width: 900px) { .site-hero__art .portrait img { inline-size: 100%; max-inline-size: 460px; } }
.site-hero__art .portrait img { -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); }
.splash__maher { -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent); mask-image: linear-gradient(to bottom, #000 75%, transparent); }
.site-hero__text { position: relative; z-index: 1; }
.site-hero .site-lead, .site-hero .site-years, .site-hero .site-crumbs { text-shadow: 0 1px 14px var(--bg), 0 0 2px var(--bg); }

/* 0.16.0: calmer background, Dr. Maher with Buzz like the old site */
.floaty { opacity: .06; }
.floaty--y { opacity: .08; }
.site-hero__art .portrait img { -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 30px 50px rgba(122, 76, 184, .45)); }
.site-course__img img:not(.is-fallback) { transition: transform .5s ease; }
.site-course:hover .site-course__img img:not(.is-fallback) { transform: scale(1.05); }

/* public guide page */
.site-guide__body h2 { margin: 22px 0 8px; font-family: var(--font-display); font-size: 1.15rem; }
.site-guide__body h2:first-child { margin-block-start: 0; }
.site-guide__body ul, .site-guide__body ol { display: grid; gap: 6px; padding-inline-start: 22px; }
.site-guide__body dt { margin-block-start: 10px; font-weight: 700; }
.site-guide__body dd { margin: 2px 0 0; color: var(--muted); }
.site-guide__steps li::marker { color: var(--primary); font-weight: 800; }
.site-guide__risk li::marker { color: #e0a100; }

/* ══ 0.18.0: section labels without the "AI pill", a calm hero, the new footer ══ */

/* section label: a short yellow rule and the words, nothing else */
.site-eyebrow { gap: 12px; padding: 0; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
  color: var(--brand); font-family: var(--font-display); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.site-eyebrow i { inline-size: 28px; block-size: 2px; border-radius: 2px; background: var(--primary); box-shadow: none; }
:lang(ar) .site-eyebrow { font-size: .95rem; letter-spacing: 0; text-transform: none; }

/* hero: Dr. Maher in front of one soft, still glow, like the old site */
.site-hero__art::before { animation: none; inset: 10% 8% 4%; background: radial-gradient(closest-side, rgba(122, 76, 184, .45), transparent 72%); filter: none; }
.site-hero__art .portrait img { animation-duration: 8s; }
@keyframes portrait-float { 50% { transform: translateY(-8px); } }

/* footer */
.site-foot { margin-block-start: 40px; border-block-start: 1px solid rgba(201, 184, 222, .12); }
.site-foot__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-block: 48px 28px; border-block-end: 1px solid rgba(201, 184, 222, .1); }
.site-foot__brand { max-inline-size: 460px; }
.site-foot__brand p { margin: 14px 0 0; color: #a497b8; line-height: 1.7; }
.site-foot .site-foot__logo { block-size: 52px; }
.site-foot .site-social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-foot .site-social a.soc { inline-size: 42px; block-size: 42px; border-radius: 50%; border: 1px solid rgba(201, 184, 222, .2); background: transparent; color: #c9b8de; }
.site-foot .site-social a.soc svg { inline-size: 19px; block-size: 19px; }
.site-foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 28px; padding-block: 32px 36px; }
.site-foot__h { margin: 0 0 14px; color: #ffffff; font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.site-foot ul { gap: 10px; }
.site-foot ul a { color: #a497b8; transition: color .15s ease; }
.site-foot ul a:hover { color: #ffd400; }
.site-foot__contact li { color: #a497b8; }
.site-foot__contact .ico, .site-foot__contact svg { color: #c9b8de; }
.site-foot__bar { border-block-start: 1px solid rgba(201, 184, 222, .1); background: rgba(0, 0, 0, .25); padding: 0; margin: 0; }
.site-foot__barin { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 18px; }
.site-foot__barin p { margin: 0; color: #8a7da0; font-size: .85rem; }
.site-foot__sub { margin-inline-start: 10px; color: #6f6386; }
.powered { display: inline-flex; align-items: center; gap: 8px; color: #b6c2cf !important; font-size: .95rem !important; white-space: nowrap; }
.powered__brand { display: inline-flex; align-items: center; gap: 6px; }
.powered__brand img { block-size: 22px; inline-size: auto; }
.powered__brand b { color: #ffffff; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
@media (max-width: 640px) {
  .site-foot__top { align-items: flex-start; }
  .site-foot__barin { justify-content: center; text-align: center; }
  .site-foot__sub { display: block; margin: 4px 0 0; }
}

/* 0.18.2: the "Proudly powered by Unilira" signature is the owner's own artwork, as given */
.powered { display: block; line-height: 0; }
.powered img { display: block; block-size: 30px; inline-size: auto; max-inline-size: 100%; }
@media (max-width: 640px) { .powered img { block-size: 26px; margin-inline: auto; } }

/* 0.18.3: no glow ON the splash picture: its fade-out mask cut the glow into a visible box. The purple light is in the splash background. */
.splash__maher { filter: none; }
.splash { background-image: radial-gradient(34% 40% at 50% 36%, rgba(122, 76, 184, .5), transparent 72%); }
/* 0.18.4: the signature links to unilira.com */
.powered a { display: inline-block; border-radius: 6px; transition: opacity .2s; }
.powered a:hover, .powered a:focus-visible { opacity: .8; }
@media (max-width: 640px) { .powered a { display: block; } }

/* ══ 0.19.0: a bigger logo; a professional phone header, side-drawer menu, footer and pages ══ */

/* header: the logo carries the brand */
.site-top__in { min-block-size: 80px; }
.site-top__logo img { block-size: 52px; }
.site-nav__links { display: flex; gap: 4px; }
.site-nav__head, .site-nav__extra, .site-nav__ico, .site-nav__chev, .site-scrim { display: none; }

@media (max-width: 899px) {
  /* no blur on the bar: a blurred parent would trap the fixed drawer inside the bar */
  .site-top { -webkit-backdrop-filter: none; backdrop-filter: none; background: #100d1a; }
  .site-top.is-stuck { background: #0c0a14; }
  .site-top__in { min-block-size: 68px; gap: 10px; }
  .site-top__logo img { block-size: 42px; }
  .site-top__wide { display: none !important; }
  .site-top__tools { gap: 8px; }
  .site-top__tools > .site-top__login { display: inline-flex; padding: 9px 18px; font-size: .92rem; box-shadow: none; }
  .site-menu { inline-size: 44px; block-size: 44px; border-radius: 14px; }

  /* the drawer */
  .site-top .site-nav { position: fixed; inset-block: 0; inset-inline-start: 0; inset-inline-end: auto; z-index: 41; display: flex; flex-direction: column; gap: 0;
    inline-size: min(86vw, 360px); block-size: 100vh; block-size: 100dvh; margin: 0; padding: 0;
    background: #100d1a; border: 0; border-inline-end: 1px solid rgba(201, 184, 222, .14); box-shadow: 0 0 60px rgba(0, 0, 0, .55);
    overflow-y: auto; overscroll-behavior: contain; visibility: hidden; transform: translateX(-105%); outline: none;
    transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .32s; }
  [dir="rtl"] .site-top .site-nav { transform: translateX(105%); }
  .site-top .site-nav.is-open { visibility: visible; transform: none; transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
  .site-nav__head { position: sticky; inset-block-start: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 16px; background: #100d1a; border-block-end: 1px solid rgba(201, 184, 222, .12); }
  .site-nav__head img { inline-size: auto; block-size: 40px; }
  .site-nav__head .site-icon { inline-size: 42px; block-size: 42px; border-radius: 12px; }
  .site-top .site-nav .site-nav__links { display: grid; gap: 4px; padding: 14px 12px 10px; }
  .site-top .site-nav .site-nav__links a { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 14px; background: none;
    color: #e9e3f3; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
  .site-top .site-nav .site-nav__links a:hover { background: rgba(201, 184, 222, .07); }
  .site-nav__ico { display: inline-grid; flex: none; place-items: center; inline-size: 40px; block-size: 40px; border-radius: 12px; background: rgba(201, 184, 222, .08); color: #c9b8de; }
  .site-nav__ico svg { inline-size: 20px; block-size: 20px; }
  .site-top .site-nav .site-nav__links a[aria-current="page"] { background: rgba(255, 212, 0, .09); color: #fff; }
  .site-nav__links a[aria-current="page"] .site-nav__ico { background: #ffd400; color: #0a0800; }
  .site-nav__chev { display: block; flex: none; margin-inline-start: auto; inline-size: 8px; block-size: 8px; border-block-start: 2px solid currentColor; border-inline-start: 2px solid currentColor; opacity: .4; transform: rotate(135deg); }
  [dir="rtl"] .site-nav__chev { transform: rotate(-135deg); }
  .site-nav__extra { display: grid; gap: 10px; margin-block-start: auto; padding: 16px 16px 22px; border-block-start: 1px solid rgba(201, 184, 222, .12); }
  .site-nav__extra .site-btn { padding: 13px 18px; font-size: 1rem; }
  .site-nav__extra .site-btn svg { inline-size: 19px; block-size: 19px; }
  .site-nav__extra .site-btn:not(.site-btn--primary) { background: rgba(255, 255, 255, .04); border-color: rgba(201, 184, 222, .22); color: #fff; }
  .site-nav__prefs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-block-start: 4px; }
  .site-nav__prefs form { display: contents; }
  .site-pref { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; inline-size: 100%; min-block-size: 70px; padding: 10px 6px;
    border: 1px solid rgba(201, 184, 222, .16); border-radius: 14px; background: rgba(255, 255, 255, .03); color: #d9d0e8;
    font: inherit; font-size: .8rem; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; }
  .site-pref:hover { background: rgba(201, 184, 222, .08); }
  .site-pref svg { inline-size: 20px; block-size: 20px; color: #ffd400; }
  .site-nav__reach { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .site-reach { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 10px; border: 1px solid rgba(201, 184, 222, .18); border-radius: 14px;
    background: rgba(255, 255, 255, .04); color: #fff; font-weight: 700; font-size: .92rem; text-decoration: none; }
  .site-reach svg { inline-size: 18px; block-size: 18px; }
  .site-reach--wa { background: #25d366; border-color: #25d366; color: #052e14; }
  .site-nav__social { display: flex; justify-content: center; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
  .site-nav__social a.soc { display: inline-grid; place-items: center; inline-size: 40px; block-size: 40px; border: 1px solid rgba(201, 184, 222, .2); border-radius: 50%; background: transparent; color: #c9b8de; }
  .site-nav__social a.soc svg { inline-size: 18px; block-size: 18px; }

  /* the page behind the open drawer: dimmed, and it does not scroll */
  .site-scrim { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(6, 4, 12, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
  .site-scrim.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
  .site-menu-open, .site-menu-open body { overflow: hidden; }
}
@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .site-top .site-nav, .site-top .site-nav.is-open, .site-scrim, .site-scrim.is-open { transition: none; }
}

/* footer: a short yellow rule over every column title */
.site-foot__h::before { content: ""; display: block; inline-size: 22px; block-size: 2px; margin-block-end: 10px; border-radius: 2px; background: #ffd400; }
.site-foot__reach a { display: inline-flex; align-items: center; gap: 8px; }
.site-foot__hours { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 640px) {
  .site-foot { margin-block-start: 28px; }
  .site-foot__top { flex-direction: column; align-items: center; gap: 18px; padding-block: 36px 26px; text-align: center; }
  .site-foot__brand { margin-inline: auto; }
  .site-foot .site-foot__logo { display: block; block-size: 58px; margin-inline: auto; }
  .site-foot__brand p { font-size: .95rem; }
  .site-foot .site-social { justify-content: center; }
  .site-foot__grid { grid-template-columns: 1fr 1fr; gap: 26px 16px; padding-block: 26px 28px; }
  .site-foot__reach { grid-column: 1 / -1; }
  .site-foot__h { margin-block-end: 12px; font-size: .98rem; }
  .site-foot ul { gap: 9px; }
  .site-foot__reach ul { gap: 8px; }
  .site-foot__reach li a, .site-foot__hours { display: flex; align-items: center; gap: 12px; inline-size: 100%; padding: 12px 14px;
    border: 1px solid rgba(201, 184, 222, .14); border-radius: 14px; background: rgba(255, 255, 255, .03); color: #d9d0e8; }
  .site-foot__reach li a svg, .site-foot__contact li a .ico, .site-foot__contact .site-foot__hours .ico, .site-foot__hours svg { flex: none; color: #ffd400; }
  .site-foot__reach li a span { overflow-wrap: anywhere; }
  .site-foot__barin { flex-direction: column; gap: 14px; padding-block: 20px 26px; }
}

/* pages on a phone: tighter rhythm, cards that read in one glance */
@media (max-width: 640px) {
  .site-section { padding-block: 44px; }
  .site-section--tight { padding-block: 14px 40px; }
  .site-hero { padding-block: 30px 22px; }
  .site-hero--page { padding-block: 26px 12px; }
  .site-h1 { margin-block-start: 12px; }
  .site-lead { margin-block-start: 12px; font-size: 1rem; }
  .site-h2 { margin-block: 12px 8px; }
  .site-hero .site-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-block-start: 22px; }
  .site-hero .site-actions .site-btn { padding: 13px 10px; font-size: .96rem; white-space: normal; text-align: center; }
  .site-years { gap: 8px; margin-block-start: 20px; font-size: .86rem; }
  .site-years b { flex-basis: 100%; }
  .site-years span[aria-hidden="true"] { display: none; }
  .site-years a { padding: 5px 12px; border: 1px solid var(--site-line); border-radius: 999px; background: var(--site-card); }
  .site-hero__grid { gap: 6px; }
  .site-hero__art { min-block-size: 0; }
  .site-hero__art .portrait img { inline-size: min(320px, 82%); }

  .site-stats__grid { grid-template-columns: 1fr 1fr; gap: 0; padding-block: 22px; }
  .site-stats__grid > div + div { border-inline-start: 1px solid var(--site-line); }
  .site-stat { font-size: 2.1rem; }
  .site-stats p.site-muted { margin-block-start: 6px; font-size: .86rem; }

  .site-cards { gap: 10px; margin-block-start: 22px; }
  .site-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; padding: 16px; border-radius: 16px; }
  .site-card > .site-card__icon { grid-row: span 2; inline-size: 42px; block-size: 42px; border-radius: 12px; }
  .site-card > h3, .site-card > p { grid-column: 2; }
  .site-card h3 { margin: 0 0 4px; font-size: 1.02rem; }
  .site-card p { font-size: .9rem; line-height: 1.65; }

  .site-steps { gap: 10px; margin-block-start: 22px; }
  .site-steps li { padding: 16px 18px; border-radius: 16px; }
  .site-steps h3 { margin: 10px 0 4px; font-size: 1.05rem; }
  .site-steps p { font-size: .9rem; }

  .site-cta { padding: 28px 18px; border-radius: 22px; }
  .site-cta .site-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-block-start: 20px; }
  .site-cta .site-btn { inline-size: 100%; }

  .site-filters { flex-wrap: nowrap; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  [dir="rtl"] .site-filters { -webkit-mask-image: linear-gradient(270deg, #000 82%, transparent); mask-image: linear-gradient(270deg, #000 82%, transparent); }
  .site-h1--page { font-size: 1.9rem; }
  .site-filters::-webkit-scrollbar { display: none; }
  .site-filters .site-pill { flex: none; padding: 8px 16px; white-space: nowrap; scroll-snap-align: start; }
  .site-courses { gap: 14px; }
  .site-course { border-radius: 18px; }
  .site-course__body { padding: 16px; }
  .site-course__body h3 { font-size: 1.08rem; }
  .site-course__img--big { border-radius: 20px; }
  .site-outline { padding: 16px; border-radius: 16px; }

  .site-channels { gap: 10px; }
  .site-channel { gap: 12px; padding: 12px 14px; border-radius: 16px; }
  .site-channel .site-card__icon { inline-size: 42px; block-size: 42px; border-radius: 12px; }
  .site-form { padding: 20px 16px; border-radius: 20px; }
  .site-figure img { border-radius: 20px; }
  .site-split { gap: 28px; }
}

/* ══ 0.19.2: the phone header — only the logo and a bold menu button; it stays on top while scrolling ══ */
.site-top__login .ico, .site-top__short { display: none; }
.site-burger { display: grid; gap: 4px; inline-size: 20px; }
.site-burger i { display: block; block-size: 2.5px; border-radius: 2px; background: currentColor; transition: inline-size .2s ease; }
.site-burger i:nth-child(2) { inline-size: 13px; justify-self: end; }
@media (max-width: 899px) {
  .site-top { position: sticky; inset-block-start: 0; border-block-end: 0; background: linear-gradient(180deg, #161125 0%, #0d0a16 100%); }
  .site-top.is-stuck { background: linear-gradient(180deg, #161125 0%, #0d0a16 100%); box-shadow: 0 8px 26px rgba(0, 0, 0, .45); }
  /* a thin purple and yellow line under the bar */
  .site-top::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: -1px; block-size: 2px; pointer-events: none; opacity: .75;
    background: linear-gradient(90deg, rgba(122, 76, 184, 0), rgba(122, 76, 184, .95) 20%, #ffd400 50%, rgba(122, 76, 184, .95) 80%, rgba(122, 76, 184, 0)); }
  .site-top__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-block-size: 66px; }
  .site-top__tools { display: flex; margin-inline-start: auto; }
  .site-top__tools > .site-top__login { display: none !important; }
  .site-top__logo { display: flex; align-items: center; }
  .site-top__logo img { block-size: 44px; filter: drop-shadow(0 2px 10px rgba(255, 212, 0, .12)); }
  .site-top .site-menu { display: inline-grid; place-items: center; inline-size: 46px; block-size: 46px; margin: 0; border: 0; border-radius: 14px;
    background: linear-gradient(145deg, #ffe14d, #ffd400 45%, #f2a900); color: #14101f;
    box-shadow: 0 6px 18px rgba(255, 212, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .45); transition: transform .15s ease, box-shadow .2s ease; }
  .site-top .site-menu:hover { box-shadow: 0 8px 22px rgba(255, 212, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .45); }
  .site-top .site-menu:active { transform: scale(.94); }
  .site-top .site-menu:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
  .site-top .site-menu:hover .site-burger i:nth-child(2) { inline-size: 20px; }
}
@media (max-width: 370px) {
  .site-top__logo img { block-size: 38px; }
  .site-top .site-menu { inline-size: 42px; block-size: 42px; border-radius: 12px; }
}
@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .site-top .site-menu, .site-burger i { transition: none; }
}

/* 0.31.6 the reading rail: one slim DNA down the side that fills as the page is read.
   Two neon strands, yellow and purple, with a soft (not dazzling) glow. */
.dna-rail { --rail-faint: rgba(122, 76, 184, .22); position: fixed; inset-inline-end: 12px; inset-block: 96px 18px; inline-size: 34px; z-index: 25; pointer-events: none; }
:root[data-theme="dark"] .dna-rail { --rail-faint: rgba(255, 255, 255, .14); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dna-rail { --rail-faint: rgba(255, 255, 255, .14); } }
.dna-rail__svg { display: block; inline-size: 100%; block-size: 100%; overflow: visible; }
.dna-rail__strand { fill: none; stroke-width: 2.6; stroke-linecap: round; }
.dna-rail__base .dna-rail__strand { stroke: var(--rail-faint); stroke-dasharray: 3 6; }
.dna-rail__lit .dna-rail__strand--a { stroke: #ffd400; }
.dna-rail__lit .dna-rail__strand--b { stroke: #7a4cb8; }
.dna-rail__lit { opacity: .62; filter: none; }
/* each strand carries its own dot: one where the strands cross, two as they part */
.dna-rail__head { stroke-width: 1.6; }
.dna-rail__head--a { fill: #ffd400; stroke: #ffd400; opacity: .7; }
.dna-rail__head--b { fill: #7a4cb8; stroke: #7a4cb8; opacity: .7; }
.dna-rail__pct { position: absolute; inset-inline-end: calc(100% + 6px); transform: translateY(-50%); unicode-bidi: plaintext; font-variant-numeric: tabular-nums; padding: 2px 8px; border-radius: 99px; background: rgba(107, 82, 150, .7); color: rgba(255, 255, 255, .92); font-size: .72rem; font-weight: 800; line-height: 1.5; box-shadow: 0 3px 10px rgba(0, 0, 0, .18); opacity: 0; transition: opacity .25s; white-space: nowrap; }
.dna-rail.is-reading .dna-rail__pct { opacity: 1; }
@media (max-width: 700px) {
  .dna-rail { inset-inline-end: 3px; inline-size: 14px; }
  .dna-rail__strand { stroke-width: 1.6; }
  .dna-rail__pct { display: none; }
}

/* 0.31.6 reviews: approved reviews as boxes that scroll slowly by (they stop under the pointer) */
.site-reviews__track { overflow: hidden; padding-block: 8px 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.site-reviews__belt { display: flex; gap: 18px; inline-size: max-content; padding-inline: 18px; }
.site-reviews__belt.is-moving { animation: site-reviews-roll 60s linear infinite; }
[dir="rtl"] .site-reviews__belt.is-moving { animation-name: site-reviews-roll-rtl; }
.site-reviews__track:hover .site-reviews__belt, .site-reviews__track:focus-within .site-reviews__belt, .site-reviews__track:focus .site-reviews__belt { animation-play-state: paused; }
@keyframes site-reviews-roll { to { transform: translateX(-50%); } }
@keyframes site-reviews-roll-rtl { to { transform: translateX(50%); } }
.site-review { flex: none; inline-size: 320px; margin: 0; padding: 20px 22px; border-radius: 18px; background: var(--site-card, #fff); border: 1px solid var(--site-line, rgba(0, 0, 0, .08)); box-shadow: 0 10px 30px rgba(20, 10, 40, .08); display: flex; flex-direction: column; gap: 12px; }
.site-review__stars { color: #e3b800; font-size: 1.1rem; letter-spacing: .12em; }
.site-review__off { color: var(--site-line, rgba(0, 0, 0, .15)); }
.site-review blockquote { margin: 0; line-height: 1.75; font-size: .98rem; flex: 1; }
.site-review figcaption { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; }
.site-review figcaption span { color: var(--muted, #8a8399); font-size: .82rem; }
.site-reviews__login { text-align: center; margin-block-start: 8px; }
.site-review-form { max-inline-size: 640px; margin: 10px auto 0; padding: 16px 20px; border-radius: 18px; background: var(--site-card, #fff); border: 1px solid var(--site-line, rgba(0, 0, 0, .08)); }
.site-review-form summary { cursor: pointer; font-weight: 800; font-size: 1.05rem; }
.site-review-form form { display: grid; gap: 10px; margin-block-start: 12px; }
.site-review-form__state { margin: 10px 0 0; color: var(--muted, #8a8399); }
.site-review-form__stars { border: 0; margin: 0; padding: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.site-review-form__stars legend { font-weight: 700; margin-block-end: 4px; }
.site-review-form__stars input { position: absolute; opacity: 0; pointer-events: none; }
.site-review-form__stars label { font-size: 1.9rem; line-height: 1; cursor: pointer; color: var(--site-line, rgba(0, 0, 0, .2)); transition: color .15s; }
.site-review-form__stars input:checked ~ label, .site-review-form__stars label:hover, .site-review-form__stars label:hover ~ label { color: #e3b800; }
.site-review-form__stars input:focus-visible + label { outline: 2px solid #7a4cb8; outline-offset: 2px; border-radius: 4px; }
.site-review-form__label { font-weight: 700; }
.site-review-form textarea { inline-size: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--site-line, rgba(0, 0, 0, .15)); background: transparent; color: inherit; font: inherit; resize: vertical; }
.site-review-form__hint { margin: 0; font-size: .85rem; color: var(--muted, #8a8399); }
@media (max-width: 700px) { .site-review { inline-size: 260px; padding: 16px; } }
@media (prefers-reduced-motion: reduce) {
  .site-reviews__belt.is-moving { animation: none; }
  .site-reviews__track { overflow-x: auto; }
}
.site-review-form__row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.site-review-form__label { display: grid; gap: 4px; }
.site-review-form input[type="text"], .site-review-form select { inline-size: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--site-line, rgba(0, 0, 0, .15)); background: transparent; color: inherit; font: inherit; }
.site-review-form select option { color: #111; }
.site-review-form__trap { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 520px) { .site-review-form__row { grid-template-columns: 1fr; } }

/* ══ 0.31.7 five looks for "why" and "how to start" (.looks.look-N), each with its own entrance ══ */
.looks .site-card, .looks .site-steps li { position: relative; }

/* 1 · glow: soft light in each card, a round purple-to-yellow icon; rise out of a blur; steps on a line */
.look-1 .site-card { border-color: transparent; background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 16%, var(--site-card)), var(--site-card) 62%); box-shadow: inset 0 0 0 1px var(--site-line); overflow: hidden; }
.look-1 .site-card::before { content: ""; position: absolute; inset-block-start: -90px; inset-inline-end: -90px; inline-size: 220px; block-size: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 212, 0, .16), transparent 70%); transition: transform .5s ease; pointer-events: none; }
.look-1 .site-card__icon { inline-size: 54px; block-size: 54px; border-radius: 50%; background: linear-gradient(135deg, #7a4cb8, #e3b800); color: #fff; box-shadow: 0 8px 22px rgba(122, 76, 184, .35); }
.js-motion .look-1 .reveal { filter: blur(8px); transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .75, .2, 1), filter .8s ease; transition-delay: calc(var(--d, 0) * 110ms); }
.js-motion .look-1 .reveal.is-in { filter: none; transform: none; }
.look-1 .site-steps { position: relative; }
.look-1 .site-steps::before { content: ""; position: absolute; inset-inline: 8%; inset-block-start: 46px; block-size: 2px; background: linear-gradient(90deg, #e3b800, #7a4cb8); opacity: .5; }
.look-1 .site-steps li { border: 0; background: transparent; text-align: center; padding-block-start: 0; }
.look-1 .site-steps__n { display: grid; place-items: center; margin-inline: auto; inline-size: 92px; block-size: 92px; border-radius: 50%; padding: 0; font-size: 1rem; background: radial-gradient(circle at 35% 30%, #ffe680, #e3b800); color: #2b1f00; box-shadow: 0 0 0 8px var(--bg), 0 10px 26px rgba(227, 184, 0, .3); position: relative; }

/* 2 · bento: boxes of different sizes with soft colours; zoom in; huge outlined numbers */
@media (min-width: 900px) {
  .look-2 .site-cards { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(170px, auto); }
  .look-2 .site-card:nth-child(1) { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; }
  .look-2 .site-card:nth-child(1) h3 { font-size: 1.7rem; }
  .look-2 .site-card:nth-child(1) .site-card__icon { inline-size: 72px; block-size: 72px; border-radius: 22px; margin-block-end: auto; }
  .look-2 .site-card:nth-child(6) { grid-column: span 2; }
}
.look-2 .site-card { border-radius: 26px; border-color: transparent; }
.look-2 .site-card:nth-child(3n+1) { background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 22%, var(--site-card)), var(--site-card)); }
.look-2 .site-card:nth-child(3n+2) { background: linear-gradient(150deg, color-mix(in srgb, #e3b800 16%, var(--site-card)), var(--site-card)); }
.look-2 .site-card:nth-child(3n) { background: linear-gradient(150deg, color-mix(in srgb, #36c98f 12%, var(--site-card)), var(--site-card)); }
.js-motion .look-2 .reveal { transform: scale(.82); transition: opacity .7s ease, transform .7s cubic-bezier(.34, 1.4, .64, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.look-2 .site-steps li { border: 0; background: transparent; padding-block-start: 0; }
.look-2 .site-steps__n { display: block; padding: 0; background: none; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, #e3b800 80%, transparent); font-size: 2.6rem; line-height: 1.1; letter-spacing: 0; }
.look-2 .site-steps h3 { margin-block-start: 8px; }

/* 3 · neon: thin borders that glow like the reading rail; the border draws itself in; steps on a dashed line */
.look-3 .site-card, .look-3 .site-steps li { background: transparent; border-color: var(--site-line); border-block-end-width: 1px; }
.look-3 .site-card::after, .look-3 .site-steps li::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, #e3b800, #7a4cb8 55%, transparent 80%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .85; pointer-events: none; }
.look-3 .site-card__icon { background: transparent; color: #e3b800; box-shadow: inset 0 0 0 1.5px #e3b800, 0 0 12px rgba(227, 184, 0, .25); border-radius: 50%; }
.js-motion .look-3 .reveal { transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--d, 0) * 120ms); }
.js-motion .look-3 .reveal.is-in { transform: none; }
/* the glowing border draws itself around the card */
.js-motion .look-3 .reveal::after { clip-path: inset(0 100% 100% 0); transition: clip-path 1.2s cubic-bezier(.2, .75, .2, 1); transition-delay: calc(var(--d, 0) * 120ms + .2s); }
.js-motion .look-3 .reveal.is-in::after { clip-path: inset(0 0 0 0); }
.look-3 .site-steps { position: relative; }
.look-3 .site-steps::before { content: ""; position: absolute; inset-inline: 4%; inset-block-start: 50%; border-block-start: 2px dashed color-mix(in srgb, var(--brand) 45%, transparent); }
.look-3 .site-steps li { backdrop-filter: blur(4px); }
.look-3 .site-steps__n { background: transparent; color: #e3b800; box-shadow: inset 0 0 0 1.5px #e3b800, 0 0 10px rgba(227, 184, 0, .3); }
.js-motion .look-3 .site-steps .reveal { transform: scale(.6); transition: opacity .5s ease, transform .6s cubic-bezier(.34, 1.6, .64, 1); transition-delay: calc(var(--d, 0) * 160ms); }
.js-motion .look-3 .site-steps .reveal.is-in { transform: none; }

/* 4 · 3D: cards with depth that fold down into place; the steps as a staircase */
.look-4 .site-cards, .look-4 .site-steps { perspective: 1100px; }
.look-4 .site-card { box-shadow: 0 18px 40px rgba(20, 10, 40, .18), inset 0 1px 0 rgba(255, 255, 255, .06); }
.look-4 .site-card__icon { transform: rotate(45deg); border-radius: 14px; background: linear-gradient(135deg, #7a4cb8, #9b6ad8); color: #fff; }
.look-4 .site-card__icon > * { transform: rotate(-45deg); }
.js-motion .look-4 .reveal { transform: rotateX(62deg) translateY(40px); transform-origin: top center; transition: opacity .8s ease, transform .9s cubic-bezier(.2, .75, .2, 1); transition-delay: calc(var(--d, 0) * 110ms); }
.js-motion .look-4 .reveal.is-in { transform: none; }
@media (min-width: 900px) {
  .look-4 .site-steps li:nth-child(2) { margin-block-start: 34px; }
  .look-4 .site-steps li:nth-child(3) { margin-block-start: 68px; }
}
.look-4 .site-steps li { box-shadow: 0 18px 40px rgba(20, 10, 40, .18); border-block-end-width: 6px; }

/* 5 · clean list: no boxes, icon and words in a tidy list; slide in from the side; a vertical timeline */
.look-5 .site-cards { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 0 36px; }
.look-5 .site-card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; background: transparent; border: 0; border-block-end: 1px dashed var(--site-line); border-radius: 0; padding: 22px 4px; }
.look-5 .site-card:hover { transform: none; }
.look-5 .site-card h3 { margin: 4px 0 4px; }
.look-5 .site-card p { grid-column: 2; }
.look-5 .site-card__icon { grid-row: span 2; border-radius: 50%; background: color-mix(in srgb, var(--brand) 18%, transparent); }
[dir="rtl"] .js-motion .look-5 .reveal, .js-motion[dir="rtl"] .look-5 .reveal { transform: translateX(46px); }
[dir="ltr"] .js-motion .look-5 .reveal, .js-motion[dir="ltr"] .look-5 .reveal { transform: translateX(-46px); }
.js-motion .look-5 .reveal.is-in { transform: none; }
.look-5 .site-steps { grid-template-columns: 1fr; gap: 0; max-inline-size: 720px; position: relative; padding-inline-start: 34px; }
.look-5 .site-steps::before { content: ""; position: absolute; inset-inline-start: 11px; inset-block: 10px; inline-size: 2px; background: linear-gradient(#e3b800, #7a4cb8); opacity: .6; }
.look-5 .site-steps li { border: 0; background: transparent; padding: 0 0 26px; }
.look-5 .site-steps li::before { content: ""; position: absolute; inset-inline-start: -29px; inset-block-start: 4px; inline-size: 14px; block-size: 14px; border-radius: 50%; background: #e3b800; box-shadow: 0 0 0 5px color-mix(in srgb, #e3b800 25%, transparent); }

@media (prefers-reduced-motion: reduce) {
  .looks .reveal, .looks .reveal::after { filter: none !important; clip-path: none !important; transform: none !important; }
}

/* 5 · the steps laid out side by side on a line (desktop): the line draws itself, the dots pop in turn, then the words rise */
@media (min-width: 760px) {
  .look-5 .site-steps { grid-template-columns: repeat(3, 1fr); gap: 0 28px; max-inline-size: none; padding-inline-start: 0; padding-block-start: 34px; }
  .look-5 .site-steps::before { inset-inline: 0; inset-block: 9px auto; inline-size: auto; block-size: 2px; background: linear-gradient(90deg, #7a4cb8, #e3b800); opacity: .7; }
  [dir="rtl"] .look-5 .site-steps::before { background: linear-gradient(270deg, #7a4cb8, #e3b800); }
  .look-5 .site-steps li { padding: 0; }
  .look-5 .site-steps li::before { inset-inline-start: 0; inset-block-start: -32px; inline-size: 16px; block-size: 16px; }
  .js-motion .look-5 .site-steps .reveal { transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--d, 0) * 380ms + .55s); }
  .js-motion .look-5 .site-steps .reveal.is-in { transform: none; }
  .js-motion .look-5 .site-steps li::before { transform: scale(0); transition: transform .45s cubic-bezier(.34, 1.8, .64, 1); transition-delay: calc(var(--d, 0) * 380ms + .25s); }
  .js-motion .look-5 .site-steps li.is-in::before { transform: none; }
  @supports selector(:has(*)) {
    .js-motion .look-5 .site-steps::before { transform: scaleX(0); transform-origin: right center; transition: transform 1.3s cubic-bezier(.65, 0, .35, 1); }
    .js-motion[dir="ltr"] .look-5 .site-steps::before { transform-origin: left center; }
    .js-motion .look-5 .site-steps:has(li.is-in)::before { transform: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .looks .site-steps::before, .looks .site-steps li::before { transform: none !important; }
}

/* ══ 0.31.7 one hover language for the whole public site: only colours change (background and words), no glow, no shadow.
   Yellow things turn purple, quiet things turn yellow (purple words in the day theme, where yellow words are too faint).
   The "why" rows, the steps, the reviews and the social icons stay still. ══ */
.site { --hv-ink: #6a3fb0; --hv-y: #ffd400; --hv-p: #7a4cb8; --hv-wash: rgba(122, 76, 184, .1); }
:root[data-theme="dark"] .site { --hv-ink: #ffd400; --hv-wash: rgba(122, 76, 184, .16); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]):not([data-theme="dark"]) .site { --hv-ink: #ffd400; --hv-wash: rgba(122, 76, 184, .16); } }
.site-top, .site-foot { --hv-ink: #ffd400; --hv-wash: rgba(122, 76, 184, .16); }

/* everything that changes colour does it softly */
.site-btn, .site-pill, .site-icon, .site-nav__links a, .site-crumbs a, .site-years a, .site-foot ul a, .site-course__body h3 a,
.site-card, .site-card h3, .site-course, .site-channel, .site-channel b, .site-review-form summary, .site-pref {
  transition: color .22s ease, background-color .22s ease, border-color .22s ease;
}

@media (hover: hover) {
  /* no light and no shadow on hover anywhere */
  .site .tilt:hover::after { opacity: 0; }
  .site .tilt:hover, .site .site-btn:hover { box-shadow: none; }

  /* buttons: the yellow one turns purple with white words; the quiet one turns yellow with dark words */
  .site .site-btn:hover { transform: none; }
  .site .site-btn--primary:hover { background: var(--hv-p); border-color: var(--hv-p); color: #fff; }
  .site .site-btn:not(.site-btn--primary):hover { background: var(--hv-y); border-color: var(--hv-y); color: #14101f; }

  /* the top menu: yellow words on a faint purple ground */
  .site-nav__links a:hover { color: var(--hv-ink); background: var(--hv-wash); }
  .site-top .site-nav .site-nav__links a:hover .site-nav__ico { background: var(--hv-p); color: #fff; }

  /* round tools in the bar (theme, language) and the drawer's choices */
  .site-icon:hover, .site-pill:not(.is-on):hover, .site-pref:hover { background: var(--hv-y); border-color: var(--hv-y); color: #14101f; }
  .site-pill.is-on:hover { background: var(--hv-p); border-color: var(--hv-p); color: #fff; }

  /* words that are links */
  .site-years a:hover, .site-crumbs a:hover, .site-course__body h3 a:hover { color: var(--hv-ink); }
  .site-foot ul a:hover { color: var(--hv-y); }

  /* cards: a faint purple ground, a purple edge, the title in yellow, the icon yellow */
  .site .site-card:not(.looks .site-card):hover, .site .site-course:hover, .site a.site-channel:hover { background: var(--hv-wash); border-color: var(--hv-p); }
  .site-card:not(.looks .site-card):hover h3, .site-course:hover h3 a, a.site-channel:hover b { color: var(--hv-ink); }
  .site .site-card:not(.looks .site-card):hover .site-card__icon { background: var(--hv-y); color: #14101f; }

  .site-review-form summary:hover { color: var(--hv-ink); }

}

/* the keyboard sees the same colours */
.site-btn:focus-visible, .site-pill:focus-visible, .site-icon:focus-visible, .site-nav__links a:focus-visible, .site-foot ul a:focus-visible { outline: 2px solid var(--hv-ink); outline-offset: 3px; }

/* ══ 0.31.8 five looks for the top bar on a computer (.site-top--n1 … n5; the phone bar stays as it is) ══ */
.site-strip { display: none; }
@media (min-width: 900px) {
  /* 1 · floating capsule: the bar floats as one rounded glass capsule; the page shows above and around it */
  .site-top--n1 { background: transparent; border: 0; box-shadow: none; padding-block-start: 12px; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-top--n1.is-stuck { background: transparent; box-shadow: none; }
  .site-top--n1 .site-top__in { min-block-size: 68px; max-inline-size: 1160px; padding-inline: 18px 10px; border: 1px solid rgba(201, 184, 222, .2); border-radius: 999px;
    background: rgba(18, 14, 30, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .site-top--n1 .site-top__logo img { block-size: 42px; }
  .site-top--n1 .site-nav__links a { padding: 9px 18px; color: #c9bedb; }
  .site-top--n1 .site-nav__links a[aria-current="page"] { background: #ffd400; color: #14101f; }
  .site-top--n1 .site-top__tools .site-icon, .site-top--n1 .site-top__tools .site-pill { border-color: transparent; background: rgba(255, 255, 255, .05); }

  /* 2 · underline: a calm flat bar; the page you are on has a thick yellow line under it, at the bar's edge */
  .site-top--n2 { background: #0f0c18; border-block-end: 1px solid rgba(201, 184, 222, .12); }
  .site-top--n2 .site-top__in { min-block-size: 84px; align-items: stretch; }
  .site-top--n2 .site-top__logo, .site-top--n2 .site-top__tools { align-items: center; }
  .site-top--n2 .site-nav, .site-top--n2 .site-nav__links { align-items: stretch; }
  .site-top--n2 .site-nav__links { gap: 10px; }
  .site-top--n2 .site-nav__links a { position: relative; display: flex; align-items: center; padding: 0 16px; border-radius: 0; background: none !important; color: #a497b8; font-size: 1.04rem; }
  .site-top--n2 .site-nav__links a::after { content: ""; position: absolute; inset-inline: 16px; inset-block-end: -1px; block-size: 3px; border-radius: 3px 3px 0 0; background: #ffd400; opacity: 0; transition: opacity .2s ease; }
  .site-top--n2 .site-nav__links a[aria-current="page"] { color: #fff; }
  .site-top--n2 .site-nav__links a[aria-current="page"]::after { opacity: 1; }
  .site-top--n2 .site-top__login { margin-inline-start: 8px; position: relative; }
  .site-top--n2 .site-top__login::before { content: ""; position: absolute; inset-inline-start: -11px; inset-block: 8px; inline-size: 1px; background: rgba(201, 184, 222, .2); }

  /* 3 · tabs: the pages sit together in one dark track, the open one in purple; the tools in a track of their own */
  .site-top--n3 { background: #100d1a; border-block-end: 0; }
  .site-top--n3::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 1px; background: linear-gradient(90deg, transparent, rgba(122, 76, 184, .8) 25%, rgba(255, 212, 0, .7) 50%, rgba(122, 76, 184, .8) 75%, transparent); }
  .site-top--n3 .site-nav__links { gap: 2px; padding: 5px; border: 1px solid rgba(201, 184, 222, .14); border-radius: 999px; background: rgba(255, 255, 255, .035); }
  .site-top--n3 .site-nav__links a { padding: 8px 20px; color: #bfb3d3; }
  .site-top--n3 .site-nav__links a[aria-current="page"] { background: #7a4cb8; color: #fff; }
  .site-top--n3 .site-top__tools { gap: 2px; padding: 5px; border: 1px solid rgba(201, 184, 222, .14); border-radius: 999px; background: rgba(255, 255, 255, .035); }
  .site-top--n3 .site-top__tools .site-icon, .site-top--n3 .site-top__tools .site-pill { border-color: transparent; }
  .site-top--n3 .site-top__login { padding-block: 8px; box-shadow: none; }

  /* 4 · two bars: a thin strip with WhatsApp, the phone and the social marks, then the main bar; dots between the pages */
  .site-strip { display: block; position: relative; z-index: 31; background: #0a0812; border-block-end: 1px solid rgba(201, 184, 222, .08); color: #a497b8; font-size: .86rem; }
  .site-strip__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-block-size: 38px; }
  .site-strip__reach { display: flex; gap: 22px; }
  .site-strip a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; transition: color .2s ease; }
  .site-strip svg { inline-size: 15px; block-size: 15px; }
  .site-strip a:hover { color: #ffd400; }
  .site-strip__social { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
  .site-strip__social a { display: inline-grid; place-items: center; inline-size: 28px; block-size: 28px; border-radius: 50%; }
  .site-top--n4 { background: #120e1e; }
  .site-top--n4 .site-nav__links { gap: 0; }
  .site-top--n4 .site-nav__links a { position: relative; padding: 8px 18px; border-radius: 0; background: none !important; color: #b3a8c6; }
  .site-top--n4 .site-nav__links a + a::before { content: ""; position: absolute; inset-inline-start: -2px; inset-block-start: 50%; inline-size: 4px; block-size: 4px; margin-block-start: -2px; border-radius: 50%; background: rgba(201, 184, 222, .35); }
  .site-top--n4 .site-nav__links a[aria-current="page"] { color: #ffd400; }
  .site-top--n4 .site-nav__links a:hover { color: #ffd400; }

  /* 5 · icons: every page with its icon in a small tile (yellow for the open page), a purple-to-yellow line under the bar */
  .site-top--n5 { background: linear-gradient(180deg, #15101f, #0e0b16); border-block-end: 0; }
  .site-top--n5::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 2px; background: linear-gradient(90deg, #7a4cb8, #ffd400, #7a4cb8); opacity: .7; }
  .site-top--n5 .site-top__in { min-block-size: 88px; }
  .site-top--n5 .site-nav__links { gap: 6px; }
  .site-top--n5 .site-nav__links a { display: flex; align-items: center; gap: 10px; padding-block: 6px; padding-inline: 8px 14px; border-radius: 14px; background: none; color: #c9bedb; }
  .site-top--n5 .site-nav__ico { display: inline-grid; place-items: center; inline-size: 36px; block-size: 36px; border-radius: 11px; background: rgba(201, 184, 222, .09); color: #c9b8de; transition: background-color .2s ease, color .2s ease; }
  .site-top--n5 .site-nav__ico svg { inline-size: 18px; block-size: 18px; }
  .site-top--n5 .site-nav__links a[aria-current="page"] { background: rgba(255, 212, 0, .08); color: #fff; }
  .site-top--n5 .site-nav__links a[aria-current="page"] .site-nav__ico { background: #ffd400; color: #14101f; }
  .site-top--n5 .site-nav__links a:hover .site-nav__ico { background: #7a4cb8; color: #fff; }
  /* hover: a page link turns yellow in every look */
  .site-top[class*="site-top--n"] .site-nav__links a:not([aria-current]):hover { color: #ffd400; }
}

/* ══ 0.40 the hero in motion (the home page only; the hero keeps its look, it only comes alive) ══
   · a field of molecules drifting behind it, moving away from the pointer (computers)
   · one light scan running down the hero as the page opens
   · three orbits round Dr. Maher's waist, like rings round a planet, one per subject; the symbols
     really pass behind him and then in front of him (one 3D scene, the browser sorts the depth)
   · a light running over the yellow subjects, buttons that lean towards the pointer
   · as the page scrolls, the words drift up and Dr. Maher sinks back a little, the rings tilt
   All of it rests under reduced motion; phones get the orbits and the scan only. */
.site-hero--home { isolation: isolate; }

/* the words drift up as the page scrolls; Dr. Maher sinks back */
.site-hero--home .site-hero__text { translate: 0 calc(var(--hs, 0) * -70px); }
.site-hero--home .site-hero__art { transform-style: preserve-3d; scale: calc(1 - var(--hs, 0) * .1); translate: 0 calc(var(--hs, 0) * 40px); }

/* the yellow subjects: a light runs over them now and then */
.site-hero--home .site-h1 em { background: linear-gradient(100deg, currentColor 0 42%, #fff8d6 50%, currentColor 58% 100%) 130% 0 / 260% 100% repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: hxShine 7s ease-in-out 3.2s infinite; }
@keyframes hxShine { 0%, 70% { background-position: 130% 0; } 100% { background-position: -30% 0; } }

/* buttons that lean towards the pointer */
.site-hero--home [data-magnetic] { translate: var(--mgx, 0) var(--mgy, 0); transition: translate .45s cubic-bezier(.2, .8, .2, 1), background-color .22s ease, border-color .22s ease, color .22s ease; }

/* the orbits */
.hx-orb { position: absolute; z-index: 1; inset-inline: 0; margin-inline: auto; top: 62%; inline-size: calc(var(--d) * 1%); aspect-ratio: 1; translate: 0 -50%; pointer-events: none;
  transform-style: preserve-3d; transform: rotateZ(var(--tilt)) rotateX(calc(var(--rx) + var(--py, 0) * -5deg + var(--hs, 0) * 12deg)); transition: transform 1s cubic-bezier(.16, 1, .3, 1); }
.hx-orb__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--ring); box-shadow: 0 0 0 5px var(--ring-soft) inset; animation: hxRing 1.3s cubic-bezier(.16, 1, .3, 1) var(--delay) both; }
@keyframes hxRing { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
.hx-orb__arm { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateZ(var(--rest)); animation: hxSpin var(--dur) linear var(--phase) infinite; }
.hx-orb__e { position: absolute; inset-block-start: 0; inset-inline: 0; margin-inline: auto; inline-size: 0; block-size: 0; transform-style: preserve-3d; transform: rotateZ(calc(var(--rest) * -1)) rotateX(calc(var(--rx) * -1)) rotateZ(calc(var(--tilt) * -1)); animation: hxFace var(--dur) linear var(--phase) infinite; }
@keyframes hxSpin { from { transform: rotateZ(0deg); } to { transform: rotateZ(360deg); } }
@keyframes hxFace { from { transform: rotateZ(0deg) rotateX(calc(var(--rx) * -1)) rotateZ(calc(var(--tilt) * -1)); } to { transform: rotateZ(-360deg) rotateX(calc(var(--rx) * -1)) rotateZ(calc(var(--tilt) * -1)); } }
.hx-orb__b { position: absolute; inset-inline-start: -19px; inset-block-start: -19px; display: grid; place-items: center; inline-size: 38px; block-size: 38px; border-radius: 50%;
  background: var(--badge); border: 1.5px solid color-mix(in srgb, var(--c) 55%, transparent); color: var(--c);
  animation: hxPop .8s cubic-bezier(.34, 1.5, .64, 1) calc(var(--delay) + .5s) both; }
.hx-orb__b::before { content: ""; position: absolute; inset: -12px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 34%, transparent), transparent); }
.hx-orb__b svg { inline-size: 20px; block-size: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hx-orb__b small { display: none; position: absolute; inset-block-start: calc(100% + 6px); padding: 1px 9px; border-radius: 99px; background: var(--badge); border: 1px solid var(--ring-soft); color: var(--text); font-family: var(--font-display); font-size: .72rem; font-weight: 700; line-height: 1.6; white-space: nowrap; }
@keyframes hxPop { from { opacity: 0; scale: .3; } to { opacity: 1; scale: 1; } }
.hx-orb--phys { --d: 98; --rx: 75deg; --tilt: -14deg; --rest: 205deg; --dur: 15s; --phase: -1.4s; --delay: .7s; --c: #ffd400; --ring: rgba(255, 212, 0, .38); --ring-soft: rgba(255, 212, 0, .08); }
.hx-orb--chem { --d: 86; --rx: 71deg; --tilt: 12deg; --rest: 185deg; --dur: 20s; --phase: -.6s; --delay: .85s; --c: #c9b8de; --ring: rgba(201, 184, 222, .42); --ring-soft: rgba(201, 184, 222, .08); }
.hx-orb--bio { --d: 72; --rx: 78deg; --tilt: -3deg; --rest: 120deg; --dur: 25s; --phase: -8s; --delay: 1s; --c: #5eead4; --ring: rgba(94, 234, 212, .34); --ring-soft: rgba(94, 234, 212, .07); }
.site-hero--home { --badge: rgba(16, 13, 26, .88); }
:root:not([data-theme="dark"]) .site-hero--home { --badge: rgba(255, 255, 255, .95); }
:root:not([data-theme="dark"]) .hx-orb--phys { --c: #b88a00; --ring: rgba(184, 138, 0, .38); --ring-soft: rgba(184, 138, 0, .07); }
:root:not([data-theme="dark"]) .hx-orb--chem { --c: #7a4cb8; --ring: rgba(122, 76, 184, .4); --ring-soft: rgba(122, 76, 184, .07); }
:root:not([data-theme="dark"]) .hx-orb--bio { --c: #0f9f78; --ring: rgba(15, 159, 120, .34); --ring-soft: rgba(15, 159, 120, .06); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-hero--home { --badge: rgba(16, 13, 26, .88); }
  :root:not([data-theme="light"]) .hx-orb--phys { --c: #ffd400; --ring: rgba(255, 212, 0, .38); --ring-soft: rgba(255, 212, 0, .08); }
  :root:not([data-theme="light"]) .hx-orb--chem { --c: #c9b8de; --ring: rgba(201, 184, 222, .42); --ring-soft: rgba(201, 184, 222, .08); }
  :root:not([data-theme="light"]) .hx-orb--bio { --c: #5eead4; --ring: rgba(94, 234, 212, .34); --ring-soft: rgba(94, 234, 212, .07); }
}
.site-hero--home.is-away .hx-orb__arm, .site-hero--home.is-away .hx-orb__e { animation-play-state: paused; }
.has-splash .hx-orb__ring, .has-splash .hx-orb__b { animation-play-state: paused; }
@media (max-width: 899px) {
  .hx-orb--phys { --d: 90; } .hx-orb--chem { --d: 79; } .hx-orb--bio { --d: 67; }
  .hx-orb__b { inline-size: 30px; block-size: 30px; inset-inline-start: -15px; inset-block-start: -15px; }
  .hx-orb__b svg { inline-size: 16px; block-size: 16px; }
  .hx-orb__b small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-orb__arm, .hx-orb__e, .hx-orb__ring, .hx-orb__b, .site-hero--home .site-h1 em { animation: none; }
  .site-hero--home .site-hero__text, .site-hero--home .site-hero__art, .site-hero--home [data-magnetic] { translate: none; scale: none; }
}

/* ══ 0.40 the glass capsule: the top bar floats as one dark glass capsule (dark in both themes: the logo
   is drawn in lavender and yellow), the menu is words only with a soft pill that slides to the link
   under the pointer; on a phone the capsule holds the logo, the sign-in and the menu. The home hero keeps
   the site's background; the numbers float by Dr. Maher as glass chips; his picture fades out at the foot. ══ */
.site .site-top { --cap-bg: rgba(18, 14, 30, .8); --cap-line: rgba(201, 184, 222, .14); background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding-block-start: 12px; }
.site .site-top.is-stuck { background: transparent; box-shadow: none; }
.site .site-top::after { display: none; }
.site .site-top .site-top__in { position: relative; isolation: isolate; inline-size: min(1180px, calc(100% - 24px)); padding-block: 8px; padding-inline: 18px 10px; border-radius: 999px; }
/* the glass is a layer of its own, so the phone menu (fixed inside the bar) is not trapped by it */
.site .site-top .site-top__in::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--cap-bg); border: 1px solid var(--cap-line);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 20px 40px -24px rgba(10, 4, 30, .7); transition: background-color .3s; }
.site .site-top.is-stuck .site-top__in::before { background: rgba(14, 11, 24, .92); }
.site .site-top .site-top__in { animation: capIn .9s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes capIn { from { opacity: 0; translate: 0 -18px; } to { opacity: 1; translate: 0 0; } }
@media (min-width: 900px) {
  .site .site-top .site-top__in { min-block-size: 66px; gap: 14px; }
  .site .site-top .site-top__logo img { block-size: 50px; }
  .site .site-top .site-nav { margin-inline: auto; }
  .site .site-top .site-nav__links { position: relative; gap: 2px; padding: 0; border: 0; background: none; }
  .site .site-top .site-nav__links a { position: relative; z-index: 1; display: inline-flex; align-items: center; padding: 9px 18px; border-radius: 999px; background: none !important; color: #a497b8; font-family: var(--font-display); font-size: .96rem; font-weight: 600; transition: color .35s ease; }
  .site .site-top .site-nav__links a::before, .site .site-top .site-nav__links a::after { display: none; }
  .site .site-top .site-nav__ico, .site .site-top .site-nav__chev { display: none; }
  .site .site-top .site-nav__links a[aria-current="page"], .site .site-top .site-nav__links a:not([aria-current]):hover { color: #fff; background: none; }
  .site-nav__pill { position: absolute; z-index: 0; inset-block: 0; inline-size: 0; border-radius: 999px; background: rgba(201, 184, 222, .12); border: 1px solid rgba(201, 184, 222, .14); opacity: 0; pointer-events: none;
    transition: transform .55s cubic-bezier(.34, 1.45, .64, 1), inline-size .55s cubic-bezier(.34, 1.45, .64, 1), opacity .3s ease; }
  .site .site-top .site-top__tools { gap: 4px; }
  .site .site-top .site-top__tools .site-icon, .site .site-top .site-top__tools .site-pill { border: 0; background: transparent; color: #ddd4ea; }
  .site .site-top .site-top__tools .site-icon:hover, .site .site-top .site-top__tools .site-pill:hover { background: rgba(201, 184, 222, .12); color: #fff; }
  .site .site-top .site-top__tools .site-icon { transition: background-color .3s, transform .5s cubic-bezier(.16, 1, .3, 1); }
  .site .site-top .site-top__tools .site-icon:hover { transform: rotate(-12deg); }
  .site .site-top .site-top__login { min-block-size: 46px; margin-inline-start: 4px; padding: 0 22px; border-radius: 999px; box-shadow: 0 12px 26px -14px rgba(255, 212, 0, .75); }
  .site .site-top .site-top__login .ico { display: none; }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .site .site-top .site-nav__links a { padding-inline: 12px; }
  .site .site-top .site-top__tools .site-pill span { display: none; }
}
.site-nav__pill { display: none; }
@media (min-width: 900px) { .site-nav__pill { display: block; } }
@media (max-width: 899px) {
  .site .site-top { padding-block-start: 8px; }
  .site .site-top .site-top__in { min-block-size: 58px; gap: 8px; padding-block: 6px; padding-inline: 14px 6px; }
  .site .site-top .site-top__logo img { block-size: 40px; }
  .site .site-top .site-top__tools > .site-top__login { display: inline-flex !important; min-block-size: 42px; padding: 0 16px; font-size: .9rem; border-radius: 999px; box-shadow: none; }
  .site .site-top .site-top__login .ico, .site .site-top .site-top__long { display: none; }
  .site .site-top .site-top__short { display: inline; }
  .site .site-top .site-menu { inline-size: 44px; block-size: 44px; border: 1px solid rgba(201, 184, 222, .2); border-radius: 50%; background: rgba(255, 255, 255, .04); color: #fff; box-shadow: none; }
  .site .site-top .site-menu:hover { background: rgba(201, 184, 222, .12); box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .site .site-top .site-top__in { animation: none; } .site-nav__pill { transition: none; } }

/* the hero: the tag, the button with its arrow, the stages as small pills */
.hx-tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border: 1px solid var(--site-line); border-radius: 999px; background: color-mix(in srgb, var(--site-card) 70%, transparent); color: var(--text); font-family: var(--font-display); font-size: .86rem; font-weight: 600; }
[dir="rtl"] .hx-tag { padding: 7px 12px 7px 16px; }
.hx-tag i { inline-size: 8px; block-size: 8px; border-radius: 50%; background: #ffd400; animation: hxBeat 2.2s ease-out infinite; }
@keyframes hxBeat { 0% { box-shadow: 0 0 0 0 rgba(255, 212, 0, .6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 212, 0, 0); } }
.site-hero--home .site-h1 { margin-block-start: 20px; }
.site .hx-cta { gap: 14px; padding-inline: 26px 8px; }
.hx-go { display: inline-grid; place-items: center; inline-size: 40px; block-size: 40px; border-radius: 50%; background: #14101f; color: #ffd400; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.hx-go svg { inline-size: 17px; block-size: 17px; }
[dir="ltr"] .hx-go svg { transform: scaleX(-1); }
.hx-cta:hover .hx-go { transform: translateX(-4px); }
[dir="ltr"] .hx-cta:hover .hx-go { transform: translateX(4px); }
.hx-years { gap: 8px 10px; }
.hx-years a { padding: 4px 14px; border: 1px solid var(--site-line); border-radius: 999px; text-decoration: none !important; transition: border-color .3s, color .3s; }
.hx-years a:hover { border-color: #ffd400; }
.hx-years > span[aria-hidden] { display: none; }

/* Dr. Maher: his picture fades out softly at the foot instead of ending on a hard edge */
.site-hero--home .site-hero__art .portrait img { -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 99.5%); mask-image: linear-gradient(to bottom, #000 84%, transparent 99.5%); }
/* the two numbers float by him as glass chips, a little in front of him (they move more with the pointer) */
.hx-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; margin: 0; padding: 7px 15px 7px 7px; border-radius: 999px;
  background: rgba(18, 14, 30, .78); border: 1px solid rgba(201, 184, 222, .16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 18px 36px -18px rgba(10, 4, 30, .8); color: #fff; text-align: start; white-space: nowrap;
  transform: translate3d(calc(var(--px, 0) * 18px), calc(var(--py, 0) * 12px), 60px); transition: transform .9s cubic-bezier(.16, 1, .3, 1);
  animation: hxChipIn .9s cubic-bezier(.34, 1.4, .64, 1) var(--cd, 1.2s) both, hxBob 6s ease-in-out calc(var(--cd, 1.2s) + 1s) infinite; }
[dir="rtl"] .hx-chip { padding: 7px 7px 7px 15px; }
.hx-chip__ico { display: grid; place-items: center; inline-size: 34px; block-size: 34px; border-radius: 50%; background: #ffd400; color: #14101f; flex: none; }
.hx-chip--b .hx-chip__ico { background: #7a4cb8; color: #fff; }
.hx-chip__ico svg { inline-size: 17px; block-size: 17px; }
.hx-chip__txt { display: grid; line-height: 1.15; }
.hx-chip b { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.hx-chip small { color: #c9b8de; font-size: .72rem; font-weight: 600; }
.hx-chip--a { --cd: 1.25s; inset-block-start: 15%; inset-inline-start: 13%; }
.hx-chip--b { --cd: 1.45s; inset-block-end: 16%; inset-inline-end: 2%; }
@keyframes hxChipIn { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes hxBob { 50% { translate: 0 -8px; } }
:root:not([data-theme="dark"]) .hx-chip { background: rgba(255, 255, 255, .86); border-color: rgba(122, 76, 184, .16); color: #1a1426; box-shadow: 0 18px 36px -20px rgba(60, 30, 120, .45); }
:root:not([data-theme="dark"]) .hx-chip small { color: #6b5f80; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hx-chip { background: rgba(18, 14, 30, .78); border-color: rgba(201, 184, 222, .16); color: #fff; box-shadow: 0 18px 36px -18px rgba(10, 4, 30, .8); }
  :root:not([data-theme="light"]) .hx-chip small { color: #c9b8de; }
}
.has-splash .hx-chip { animation-play-state: paused; }
@media (max-width: 899px) {
  .hx-chip { gap: 7px; padding: 5px 11px 5px 5px; }
  [dir="rtl"] .hx-chip { padding: 5px 5px 5px 11px; }
  .hx-chip__ico { inline-size: 27px; block-size: 27px; } .hx-chip__ico svg { inline-size: 14px; block-size: 14px; }
  .hx-chip b { font-size: .98rem; } .hx-chip small { font-size: .64rem; }
  .hx-chip--a { inset-inline-start: 9%; inset-block-start: 10%; } .hx-chip--b { inset-inline-end: 3%; inset-block-end: 12%; }
}
@media (prefers-reduced-motion: reduce) { .hx-chip, .hx-tag i { animation: none; } .hx-chip { transform: none; } }
/* the reading rail runs down the end side of the screen: the hero keeps clear of it */
.site-hero--home > .site-wrap { padding-inline-end: 96px; }
.site-hero--home .site-hero__art { perspective: 1600px; }
@media (max-width: 899px) { .site-hero--home > .site-wrap { padding-inline-end: 64px; } }
@media (max-width: 700px) { .site-hero--home > .site-wrap { padding-inline-end: 34px; } }
.hx-stage { position: relative; inline-size: 100%; max-inline-size: 440px; margin-inline: auto; justify-self: center; translate: 0 calc(var(--hs, 0) * 40px); scale: calc(1 - var(--hs, 0) * .1); }
@media (max-width: 700px) { .hx-stage { max-inline-size: 360px; } }
@media (max-width: 899px) { .hx-stage { translate: none; scale: none; } }
.site-hero--home .site-hero__art { inline-size: 100%; translate: none; scale: none; }
/* phones: the picture stays put while scrolling (no sinking under the hero's edge), with room under it */
@media (max-width: 899px) {
  .site-hero--home .site-hero__art { translate: none; scale: none; }
  .site.site .site-hero--home { padding-block-end: 44px; }
}

/* the hero's light, softer: the same violet and the faint yellow, fading out in many small steps so no
   ring or edge shows; it starts under the floating bar (no line where the hero begins) and melts into the
   page at its foot; a very fine grain over it keeps the dark colours from banding */
.site .site-hero--home {
  margin-block-start: -78px; padding-block-start: calc(78px + 80px);
  background-image:
    radial-gradient(75% 85% at 85% 0%,
      color-mix(in srgb, var(--site-glow) 92%, transparent) 0%, color-mix(in srgb, var(--site-glow) 78%, transparent) 12%,
      color-mix(in srgb, var(--site-glow) 60%, transparent) 24%, color-mix(in srgb, var(--site-glow) 42%, transparent) 37%,
      color-mix(in srgb, var(--site-glow) 26%, transparent) 50%, color-mix(in srgb, var(--site-glow) 13%, transparent) 63%,
      color-mix(in srgb, var(--site-glow) 5%, transparent) 76%, transparent 90%),
    radial-gradient(50% 60% at 0% 100%, rgba(255, 212, 0, .05) 0%, rgba(255, 212, 0, .03) 35%, rgba(255, 212, 0, .012) 62%, transparent 85%);
}
[dir="rtl"] .site .site-hero--home {
  background-image:
    radial-gradient(75% 85% at 15% 0%,
      color-mix(in srgb, var(--site-glow) 92%, transparent) 0%, color-mix(in srgb, var(--site-glow) 78%, transparent) 12%,
      color-mix(in srgb, var(--site-glow) 60%, transparent) 24%, color-mix(in srgb, var(--site-glow) 42%, transparent) 37%,
      color-mix(in srgb, var(--site-glow) 26%, transparent) 50%, color-mix(in srgb, var(--site-glow) 13%, transparent) 63%,
      color-mix(in srgb, var(--site-glow) 5%, transparent) 76%, transparent 90%),
    radial-gradient(50% 60% at 100% 100%, rgba(255, 212, 0, .05) 0%, rgba(255, 212, 0, .03) 35%, rgba(255, 212, 0, .012) 62%, transparent 85%);
}
.site-hero--home::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (max-width: 899px) { .site .site-hero--home { margin-block-start: -66px; padding-block-start: calc(66px + 56px); } }
@media (max-width: 640px) { .site .site-hero--home { padding-block-start: calc(66px + 30px); } }
/* the glow round Dr. Maher is drawn from the faded picture (on its holder), so the fade does not cut it into a rectangle */
.site-hero--home .site-hero__art .portrait img { filter: none; }
.site-hero--home .site-hero__art .portrait { filter: drop-shadow(0 30px 50px rgba(122, 76, 184, .45)); }
/* Dr. Maher sharp: he moves with the pointer only sideways and up and down, on whole pixels; no tilt, which
   made the browser redraw the picture blurred */
.site-hero--home .site-hero__art .portrait { transform: translate3d(round(calc(var(--px, 0) * 14px), 1px), round(calc(var(--py, 0) * 8px), 1px), 0); }
.site-hero--home .site-hero__art .portrait img { image-rendering: -webkit-optimize-contrast; backface-visibility: hidden; }
/* the background: one plain colour all the way down (the page's own); the only light left is the glow round
   Dr. Maher, drawn without a filter so it never boxes him in and never stops the rings passing behind him */
.site .site-hero--home, [dir="rtl"] .site .site-hero--home { background-image: none; }
.site-hero--home::after { display: none; }
.site-hero--home .site-hero__art .portrait { filter: none; }
.site-hero--home .site-hero__art::before { inset: 0 -6% 2%; filter: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(122, 76, 184, .5) 0%, rgba(122, 76, 184, .38) 22%, rgba(122, 76, 184, .24) 42%, rgba(122, 76, 184, .12) 62%, rgba(122, 76, 184, .04) 80%, transparent 100%); }
:root:not([data-theme="dark"]) .site-hero--home .site-hero__art::before { background: radial-gradient(closest-side, rgba(122, 76, 184, .3) 0%, rgba(122, 76, 184, .22) 22%, rgba(122, 76, 184, .14) 42%, rgba(122, 76, 184, .07) 62%, rgba(122, 76, 184, .02) 80%, transparent 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-hero--home .site-hero__art::before { background: radial-gradient(closest-side, rgba(122, 76, 184, .5) 0%, rgba(122, 76, 184, .38) 22%, rgba(122, 76, 184, .24) 42%, rgba(122, 76, 184, .12) 62%, rgba(122, 76, 184, .04) 80%, transparent 100%); } }
/* the far half of each ring is fainter than the near half, so it reads as going round him */
.hx-orb__ring { -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, .45) 40%, #000 62%); mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, .45) 40%, #000 62%); }
/* the rings a touch clearer, so they read as going round him (the near half bright, the far half behind him) */
.hx-orb__ring { border-width: 2px; border-color: color-mix(in srgb, var(--c) 62%, transparent); }
/* the composition stays exactly as designed at every width: the pointer no longer moves Dr. Maher, the chips
   or the tilt of the rings (the symbols keep turning round him); everything scales together with the stage */
.site-hero--home .site-hero__art .portrait { transform: none; }
.hx-orb { transform: rotateZ(var(--tilt)) rotateX(calc(var(--rx) + var(--hs, 0) * 12deg)); }
.hx-chip { transform: none; }
@keyframes hxBob { 50% { translate: 0 -4px; } }
/* the chips and the symbols are sized from the stage itself, so at any width the whole picture is the same
   composition, only larger or smaller (measured at the full 440px stage) */
.hx-stage { container-type: inline-size; }
.site .hx-chip, [dir="rtl"] .site .hx-chip { gap: 2.3cqi; padding: 1.6cqi 3.4cqi 1.6cqi 1.6cqi; }
[dir="rtl"] .site .hx-chip { padding: 1.6cqi 1.6cqi 1.6cqi 3.4cqi; }
.site .hx-chip__ico { inline-size: 7.8cqi; block-size: 7.8cqi; }
.site .hx-chip__ico svg { inline-size: 3.9cqi; block-size: 3.9cqi; }
.site .hx-chip b { font-size: 4.4cqi; }
.site .hx-chip small { font-size: max(10px, 2.65cqi); }
.site .hx-chip--a { inset-block-start: 15%; inset-inline-start: 13%; }
.site .hx-chip--b { inset-block-end: 16%; inset-inline-end: 2%; }
.site .hx-orb__b { inline-size: 8.7cqi; block-size: 8.7cqi; inset-inline-start: -4.35cqi; inset-block-start: -4.35cqi; }
.site .hx-orb__b svg { inline-size: 4.6cqi; block-size: 4.6cqi; }
.site .hx-orb--phys { --d: 98; } .site .hx-orb--chem { --d: 86; } .site .hx-orb--bio { --d: 72; }
@media (max-width: 899px) { .site .hx-orb--phys { --d: 90; } .site .hx-orb--chem { --d: 79; } .site .hx-orb--bio { --d: 67; } }
/* Dr. Maher stays a plane of the 3D scene (still, but in it), so the rings and symbols pass behind him and in front of him */
.site .site-hero--home .site-hero__art .portrait { transform: translateZ(0); }
/* Dr. Maher inside the rings: three tall orbits round his whole figure, like the shells of an atom with him at
   its heart; the far side of each passes behind him, the near side in front */
.site .hx-orb { top: 50%; }
.site .hx-orb--phys { --d: 112; --rx: 62deg; --tilt: -22deg; }
.site .hx-orb--chem { --d: 104; --rx: 66deg; --tilt: 24deg; }
.site .hx-orb--bio { --d: 96; --rx: 58deg; --tilt: 2deg; }
@media (max-width: 899px) { .site .hx-orb--phys { --d: 100; } .site .hx-orb--chem { --d: 93; } .site .hx-orb--bio { --d: 86; } }
.site .hx-orb--phys { --d: 100; } .site .hx-orb--chem { --d: 93; } .site .hx-orb--bio { --d: 86; }
@media (max-width: 899px) { .site .hx-orb--phys { --d: 88; } .site .hx-orb--chem { --d: 82; } .site .hx-orb--bio { --d: 76; } }
@media (min-width: 900px) and (max-width: 1240px) { .site-hero--home > .site-wrap { padding-inline-end: 112px; } }
/* the entrance fade runs on the stage, not on the 3D scene itself: a fading scene is flattened by the browser,
   which drew every ring behind Dr. Maher */
.site .site-hero--home .site-hero__art { animation: none; }
@media (prefers-reduced-motion: no-preference) { .site .site-hero--home .hx-stage { animation: hxStageIn .8s ease .12s both; } }
@keyframes hxStageIn { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
/* the picture does not mirror in English, so the chips keep their places on it: by his head on Buzz's side,
   and low on his own side */
[dir="ltr"] .site .hx-chip--a { inset-inline-start: auto; inset-inline-end: 13%; }
[dir="ltr"] .site .hx-chip--b { inset-inline-end: auto; inset-inline-start: 2%; }
/* English words are longer: the top chip starts just past his face and grows away from it */
[dir="ltr"] .site .hx-chip--a { inset-inline-end: auto; inset-inline-start: 60%; }
/* once the page scrolls, the capsule turns the academy's violet (the colour of the "15 years" icon) */
.site .site-top.is-stuck .site-top__in::before { background: rgba(122, 76, 184, .97); border-color: rgba(255, 255, 255, .16); box-shadow: 0 18px 40px -20px rgba(60, 20, 120, .75); }
.site .site-top.is-stuck .site-nav__links a { color: rgba(255, 255, 255, .8); }
.site .site-top.is-stuck .site-nav__links a[aria-current="page"], .site .site-top.is-stuck .site-nav__links a:not([aria-current]):hover { color: #fff; }
.site .site-top.is-stuck .site-nav__pill { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .22); }
.site .site-top.is-stuck .site-top__tools .site-icon, .site .site-top.is-stuck .site-top__tools .site-pill { color: #fff; }
.site .site-top.is-stuck .site-top__tools .site-icon:hover, .site .site-top.is-stuck .site-top__tools .site-pill:hover { background: rgba(255, 255, 255, .16); }
.site .site-top.is-stuck .site-menu { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); }

/* ══ 0.41 the three subjects, right under the hero: one card each (the academy's own posters of Dr. Maher),
   the subject's symbol from the rings, and a way to every course ══ */
.hx-subjects__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-block-end: 34px; }
.hx-subjects__intro { max-inline-size: 640px; }
.hx-subjects__intro .site-lead { margin-block-start: 10px; }
.hx-more { display: inline-flex; align-items: center; gap: 12px; min-block-size: 54px; padding-block: 0; padding-inline: 22px 7px; border: 1px solid var(--site-line); border-radius: 999px; color: var(--text); font-family: var(--font-display); font-weight: 700; text-decoration: none; white-space: nowrap; transition: border-color .3s, background-color .3s; }
.site a.hx-more { color: var(--text); }
.hx-more:hover { border-color: #ffd400; background: rgba(255, 212, 0, .06); }
.hx-more:hover .hx-go { transform: translateX(-4px); }
[dir="ltr"] .hx-more:hover .hx-go { transform: translateX(4px); }
.hx-subjects__grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.hx-subj { --c: #c9b8de; --c-ink: #c9b8de; position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--site-line); border-radius: 26px; background: var(--site-card); color: var(--text); text-decoration: none;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), border-color .3s, box-shadow .5s; }
.site a.hx-subj { color: var(--text); }
/* the academy's own colours only: violet, yellow, lavender (the posters' colours); every link one ink */
.hx-subj--chem { --c: #7a4cb8; --c-on: #fff; }
.hx-subj--sci { --c: #ffd400; --c-on: #14101f; }
.hx-subj--bio { --c: #c9b8de; --c-on: #14101f; }
.hx-subj { --c-ink: #6a3fb0; }
:root[data-theme="dark"] .hx-subj { --c-ink: #ffd400; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hx-subj { --c-ink: #ffd400; } }
.hx-subj__img { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #100d1a; }
.hx-subj__img img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.hx-subj__body { position: relative; display: grid; gap: 4px; padding: 38px 24px 24px; }
.hx-subj__ico { position: absolute; inset-block-start: -27px; inset-inline-start: 22px; display: grid; place-items: center; inline-size: 54px; block-size: 54px; border-radius: 50%; background: var(--c); color: var(--c-on, #14101f); border: 4px solid var(--bg); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--c) 80%, transparent); transition: transform .6s cubic-bezier(.34, 1.45, .64, 1); }
.hx-subj__ico svg { inline-size: 24px; block-size: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hx-subj b { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; line-height: 1.3; }
.hx-subj small { justify-self: start; padding: 3px 11px; border-radius: 999px; background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--c-ink); font-family: var(--font-display); font-size: .8rem; font-weight: 700; }
.hx-subj__d { margin-block-start: 6px; color: var(--muted); font-size: .96rem; line-height: 1.75; }
.hx-subj em { display: inline-flex; align-items: center; gap: 8px; margin-block-start: 12px; color: var(--c-ink); font-family: var(--font-display); font-size: .95rem; font-style: normal; font-weight: 700; }
.hx-subj em svg { inline-size: 16px; block-size: 16px; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
[dir="ltr"] .hx-subj em svg { transform: scaleX(-1); }
@media (hover: hover) {
  .hx-subj:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 26px 50px -30px color-mix(in srgb, var(--c) 70%, transparent); }
  .hx-subj:hover .hx-subj__img img { transform: scale(1.05); }
  .hx-subj:hover .hx-subj__ico { transform: rotate(-12deg) scale(1.08); }
  .hx-subj:hover em svg { transform: translateX(-4px); }
  [dir="ltr"] .hx-subj:hover em svg { transform: scaleX(-1) translateX(-4px); }
}
.hx-subj:focus-visible { outline: 3px solid #ffd400; outline-offset: 3px; }
@media (max-width: 640px) {
  .hx-subjects__head { margin-block-end: 26px; }
  .hx-more { inline-size: 100%; justify-content: space-between; }
  .hx-subj b { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .hx-subj, .hx-subj__img img, .hx-subj__ico, .hx-subj em svg { transition: none; } .hx-subj:hover { transform: none; } }

/* on a phone the three cards slide sideways (a swipe, the next one peeking in), not a long column */
@media (max-width: 700px) {
  .hx-subjects__grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding-block: 4px 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hx-subjects__grid::-webkit-scrollbar { display: none; }
  .hx-subj { scroll-snap-align: start; }
  .js-motion .hx-subjects__grid .reveal { opacity: 1; transform: none; transition-delay: 0s; }
  .hx-subj__d { font-size: .92rem; }
}
/* as each subject comes into view, its card fills with the academy's colour once (yellow at night, violet by day),
   one card after the other, and settles back */
.hx-subj { --hl: #7a4cb8; --hl-on: #fff; }
:root[data-theme="dark"] .hx-subj { --hl: #ffd400; --hl-on: #14101f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hx-subj { --hl: #ffd400; --hl-on: #14101f; } }
.hx-subj__img { position: relative; }
.hx-subj__img::after { content: ""; position: absolute; inset-block: -10%; inset-inline-start: 0; inline-size: 38%; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--hl) 42%, transparent), transparent); opacity: 0; pointer-events: none; transform: translateX(-130%) skewX(-16deg); }
.hx-subj.is-lit { animation: subjFill 1.6s cubic-bezier(.4, 0, .2, 1) both; }
.hx-subj.is-lit .hx-subj__img::after { animation: subjShine 1s cubic-bezier(.4, 0, .2, 1) both; }
[dir="rtl"] .hx-subj.is-lit .hx-subj__img::after { animation-name: subjShineRtl; }
.hx-subj.is-lit .hx-subj__ico { animation: subjPop .9s cubic-bezier(.34, 1.45, .64, 1), subjIco 1.6s cubic-bezier(.4, 0, .2, 1); }
.hx-subj.is-lit b, .hx-subj.is-lit small, .hx-subj.is-lit .hx-subj__d, .hx-subj.is-lit em { animation: subjInk 1.6s cubic-bezier(.4, 0, .2, 1); }
@keyframes subjFill { 25%, 70% { background-color: var(--hl); border-color: var(--hl); box-shadow: 0 26px 50px -26px color-mix(in srgb, var(--hl) 80%, transparent); } }
@keyframes subjInk { 25%, 70% { color: var(--hl-on); } }
@keyframes subjIco { 25%, 70% { background-color: var(--hl-on); color: var(--hl); border-color: var(--hl); } }
@keyframes subjShine { 0% { opacity: 0; transform: translateX(-130%) skewX(-16deg); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateX(300%) skewX(-16deg); } }
@keyframes subjShineRtl { 0% { opacity: 0; transform: translateX(130%) skewX(-16deg); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateX(-300%) skewX(-16deg); } }
@keyframes subjPop { 0%, 100% { transform: none; } 40% { transform: scale(1.16) rotate(-10deg); } }
@media (prefers-reduced-motion: reduce) { .hx-subj.is-lit, .hx-subj.is-lit .hx-subj__img::after, .hx-subj.is-lit .hx-subj__ico, .hx-subj.is-lit b, .hx-subj.is-lit small, .hx-subj.is-lit .hx-subj__d, .hx-subj.is-lit em { animation: none; } }

/* ══ 0.41 the phone: the menu opens above the dimmed page again (the capsule's own layer no longer holds
   it under the dimming); day/night and the language sit in the bar as on a computer; a smaller
   "start now"; and on every screen the bar slides away past the middle of the page while reading down ══ */
.site-lang__abbr { display: none; }
.site .site-top { transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.site .site-top.is-hidden { transform: translateY(calc(-100% - 14px)); }
@media (prefers-reduced-motion: reduce) { .site .site-top { transition: none; } }
@media (max-width: 899px) {
  .site .site-top .site-top__in { isolation: auto; animation: capInPhone .7s ease backwards; }
  .site .site-top .site-top__tools { gap: 6px; }
  .site .site-top .site-top__tools .theme-toggle, .site .site-top .site-top__lang .site-pill { display: inline-grid; place-items: center; inline-size: 40px; block-size: 40px; min-block-size: 0; padding: 0;
    border: 1px solid rgba(201, 184, 222, .2); border-radius: 50%; background: rgba(255, 255, 255, .04); color: #fff; box-shadow: none; }
  .site .site-top .site-top__lang .site-pill > svg, .site .site-top .site-top__lang .site-pill > span { display: none; }
  .site .site-top .site-top__lang .site-lang__abbr { display: inline; font-family: var(--font-display); font-size: .8rem; font-weight: 800; letter-spacing: .02em; line-height: 1; }
  .site .site-top .site-top__tools .theme-toggle svg { inline-size: 18px; block-size: 18px; }
  .site .site-top .site-top__tools > .site-top__login { padding: 0 14px; }
  .site .site-top.is-stuck .site-top__tools .theme-toggle, .site .site-top.is-stuck .site-top__lang .site-pill { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); }
  .site .site-hero .site-actions .site-btn { min-block-size: 48px; padding-block: 8px; padding-inline: 12px; font-size: .9rem; white-space: nowrap; }
  .site .site-hero .site-actions .hx-cta { gap: 10px; padding-inline: 16px 6px; }
  .site .site-hero .site-actions .hx-cta .hx-go { inline-size: 32px; block-size: 32px; }
  .site .site-hero .site-actions .hx-cta .hx-go svg { inline-size: 14px; block-size: 14px; }
}
@media (max-width: 420px) {
  .site .site-top .site-top__logo img { block-size: 32px; }
  .site .site-top .site-top__in { padding-inline: 12px 6px; gap: 6px; }
  .site .site-top .site-top__tools { gap: 5px; }
  .site .site-top .site-top__tools .theme-toggle, .site .site-top .site-top__lang .site-pill, .site .site-top .site-menu { inline-size: 38px; block-size: 38px; }
  .site .site-top .site-top__tools > .site-top__login { min-block-size: 38px; padding: 0 12px; font-size: .84rem; }
}
@media (max-width: 370px) { .site .site-top .site-top__logo img { block-size: 27px; } }
@keyframes capInPhone { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .site .site-top .site-top__in { animation: none; } }

/* ══ 0.42 a lighter night: the public pages and the phone menu sit on a softer plum; the menu slides in
   gently, its rows following one by one; on a phone the two hero buttons come under Dr. Maher ══ */
:root[data-theme="dark"] .site { --bg: #1b1529; --site-card: rgba(39, 31, 58, .72); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]):not([data-theme="dark"]) .site { --bg: #1b1529; --site-card: rgba(39, 31, 58, .72); } }
@media (max-width: 899px) {
  .site .site-top .site-nav, .site .site-top .site-nav .site-nav__head { --bg: #221b35; background: #221b35; }
  .site .site-top .site-nav { transition: transform .7s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .7s; }
  .site .site-top .site-nav.is-open { transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
  .site-scrim { transition: opacity .55s ease, visibility 0s linear .55s; }
  .site-scrim.is-open { transition: opacity .55s ease; }
  .site .site-top .site-nav.is-open .site-nav__links a, .site .site-top .site-nav.is-open .site-nav__extra > * { animation: navRowIn .6s cubic-bezier(.22, 1, .36, 1) both; }
  .site .site-top .site-nav.is-open .site-nav__links a:nth-child(2) { animation-delay: .12s; }
  .site .site-top .site-nav.is-open .site-nav__links a:nth-child(3) { animation-delay: .18s; }
  .site .site-top .site-nav.is-open .site-nav__links a:nth-child(4) { animation-delay: .24s; }
  .site .site-top .site-nav.is-open .site-nav__links a:nth-child(5) { animation-delay: .3s; }
  .site .site-top .site-nav.is-open .site-nav__extra > * { animation-delay: .34s; }
  /* the hero on a phone: the words, then Dr. Maher, then the two buttons */
  .site .site-hero--home .site-hero__text { display: contents; }
  .site .site-hero--home .hx-stage { order: 1; }
  .site .site-hero--home .site-actions { order: 2; margin-block-start: 8px; }
}
@keyframes navRowIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .site .site-top .site-nav, .site .site-top .site-nav.is-open, .site-scrim, .site-scrim.is-open { transition: none; }
  .site .site-top .site-nav.is-open .site-nav__links a, .site .site-top .site-nav.is-open .site-nav__extra > * { animation: none; }
}

/* ══ 0.42.1 the reading rail keeps a lane of its own on every page: below 1280px the sections and the footer
   stop short of it (the hero has its own room) ══ */
.site main .site-wrap:not(.site-hero__grid), .site .site-foot .site-wrap { padding-inline-end: 28px; }
@media (min-width: 720px) and (max-width: 1279px) { .site main .site-wrap:not(.site-hero__grid), .site .site-foot .site-wrap { padding-inline-end: 62px; } }
@media (max-width: 719px) { .site main .site-wrap:not(.site-hero__grid), .site .site-foot .site-wrap { padding-inline-end: 26px; } }
.site .site-foot a, .site .site-foot a span { min-inline-size: 0; overflow-wrap: anywhere; }

/* "start now" the same height as the button beside it (its arrow sits inside the usual padding) */
.site .site-hero .site-actions .hx-cta { padding-block: 7px; }
@media (max-width: 899px) { .site .site-hero .site-actions .hx-cta .hx-go { inline-size: 30px; block-size: 30px; } }

/* ══ 0.43 choose your learning path: four worlds (online, the centre, recorded, live) side by side as tall
   panels; the one in focus opens wide and tells its story, the others step back. Everything enters with the
   scroll itself: the title rises line by line, then the words, then each world unveils from below and settles,
   its picture drifting with the page. ══ */
.lp { --p: 1; --pp: 0; position: relative; overflow: clip; }
.js-motion .lp { --p: 0; }
.lp-deco { position: absolute; z-index: 0; inset-block-start: -60px; inset-inline-start: -200px; inline-size: 560px; block-size: 560px; fill: none; stroke: var(--site-line); stroke-width: 1.2; stroke-dasharray: 3 9; pointer-events: none;
  transform: translateY(calc(var(--pp) * 70px)) rotate(calc(var(--pp) * 24deg)); }
.lp .site-wrap { position: relative; z-index: 1; }
.lp-head { display: grid; justify-items: start; gap: 16px; max-inline-size: 780px; margin-block-end: clamp(32px, 5vw, 60px); }
@media (min-width: 900px) {
  .lp-head { max-inline-size: none; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); align-items: end; column-gap: 48px; }
  .lp-head .site-eyebrow { grid-column: 1 / -1; }
  .lp-head .lp-lead { padding-block-end: .9em; border-inline-start: 2px solid var(--site-line); padding-inline-start: 22px; }
}
.lp-title { margin: 0; font-family: var(--font-display); font-size: clamp(2.6rem, 1.2rem + 4.2vw, 5.2rem); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; color: var(--text); }
:lang(ar) .lp-title { letter-spacing: 0; line-height: 1.22; }
.lp-line { display: block; overflow: hidden; padding-block: .02em .1em; }
.lp-line > span { --e: clamp(0, var(--p) * 3.4 - var(--li, 0) * .45, 1); display: block; transform: translateY(calc((1 - var(--e)) * 108%)); }
.lp-line + .lp-line > span { --li: 1; }
.lp-title em { font-style: normal; color: #ffd400; }
.lp-lead { --e: clamp(0, var(--p) * 3 - .9, 1); margin: 0; max-inline-size: 560px; color: var(--muted); font-size: 1.08rem; line-height: 1.85; opacity: var(--e); transform: translateY(calc((1 - var(--e)) * 26px)); }

.lp-stage { display: flex; gap: 14px; block-size: clamp(500px, 64vh, 620px); }
.lp-path { --e: 1; --acc: #b79cff; position: relative; isolation: isolate; flex: 1 1 0; min-inline-size: 0; overflow: hidden; border-radius: 4px; background: #120e1c; color: #fff;
  box-shadow: 0 34px 60px -38px rgba(10, 4, 30, .8);
  clip-path: inset(calc((1 - var(--e)) * 100%) 0 0 0 round 4px);
  transform: translateY(calc((1 - var(--e)) * (70px + var(--i) * 34px)));
  transition: flex-grow .95s cubic-bezier(.16, 1, .3, 1), block-size .8s cubic-bezier(.16, 1, .3, 1); }
.js-motion .lp-path { --e: 0; }
.lp-path--offline { --acc: #ffd400; }
.lp-path--recorded { --acc: #c9b8de; }
.lp-path--live { --acc: #ffffff; }
.lp-path.is-on { flex-grow: 2.7; }
.lp-path::before { content: ""; position: absolute; z-index: 3; inset-inline: 0; inset-block-start: 0; block-size: 3px; background: var(--acc); transform: scaleX(0); transform-origin: var(--from, right) center; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
[dir="ltr"] .lp-path::before { --from: left; }
.lp-path.is-on::before { transform: scaleX(1); }
.lp-path__media { position: absolute; z-index: -2; inset: 0; overflow: hidden; }
.lp-path__media img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: var(--op, 50% 35%);
  transform: translateY(calc(var(--pp) * -22px)) scale(calc(1.3 - var(--e) * .2 + var(--on, 0) * .06)); transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.lp-path.is-on { --on: 1; }
.lp-path--online { --op: 50% 30%; }
.lp-path--offline { --op: 72% 30%; }
.lp-path--recorded { --op: 60% 30%; }
.lp-path--live .lp-path__media { background: radial-gradient(120% 80% at 50% 20%, #7a4cb8 0%, #3d2270 45%, #160f26 100%); }
.lp-path--live .lp-path__media img { object-position: 36% 24%; }
.lp-path::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(to top, rgba(12, 8, 22, .96) 0%, rgba(12, 8, 22, .7) 34%, rgba(12, 8, 22, .12) 66%, rgba(12, 8, 22, .25) 100%); }
.lp-path__dim { position: absolute; z-index: 1; inset: 0; background: rgba(12, 8, 22, .5); opacity: 0; pointer-events: none; transition: opacity .7s ease; }
.lp-stage.has-on .lp-path:not(.is-on) .lp-path__dim { opacity: 1; }

.lp-path__body { position: absolute; z-index: 2; inset-inline: 0; inset-block-end: 0; display: grid; padding: 24px clamp(18px, 2vw, 28px) clamp(20px, 2.4vw, 30px); }
.lp-path__toggle { display: grid; justify-items: start; gap: 6px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.lp-path__toggle:focus-visible { outline: 2px solid var(--acc); outline-offset: 6px; border-radius: 2px; }
.lp-path__n { display: inline-flex; align-items: center; gap: 10px; color: var(--acc); font-family: var(--font-display); font-size: .86rem; font-weight: 700; letter-spacing: .12em; }
.lp-path__ico { display: inline-grid; place-items: center; inline-size: 34px; block-size: 34px; border: 1px solid color-mix(in srgb, var(--acc) 55%, transparent); border-radius: 50%; color: var(--acc); transition: background-color .5s, color .5s; }
.lp-path__ico svg { inline-size: 16px; block-size: 16px; }
.lp-path.is-on .lp-path__ico { background: var(--acc); color: #14101f; }
.lp-path__t { font-family: var(--font-display); font-size: clamp(1.3rem, .9rem + 1.1vw, 2.1rem); font-weight: 800; line-height: 1.15; }
.lp-path__tag { color: rgba(255, 255, 255, .66); font-size: .92rem; max-block-size: 0; opacity: 0; overflow: hidden; transition: max-block-size .6s ease, opacity .5s ease .1s; }
.lp-path.is-on .lp-path__tag { max-block-size: 2em; opacity: 1; }
.lp-path__more { display: grid; gap: 14px; max-block-size: 0; opacity: 0; overflow: hidden; transform: translateY(18px); transition: max-block-size .8s cubic-bezier(.16, 1, .3, 1), opacity .5s ease, transform .7s cubic-bezier(.16, 1, .3, 1); }
.lp-path.is-on .lp-path__more { max-block-size: 320px; opacity: 1; transform: none; transition-delay: .18s, .3s, .3s; }
.lp-path__more p { margin: 14px 0 0; max-inline-size: 440px; color: rgba(255, 255, 255, .82); font-size: .98rem; line-height: 1.75; }
.lp-path__more ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lp-path__more li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: .84rem; }
.lp-path__more li svg { inline-size: 14px; block-size: 14px; color: var(--acc); }
.lp-cta { justify-self: start; display: inline-flex; align-items: center; gap: 12px; padding-block: 7px; padding-inline: 20px 7px; border-radius: 999px; background: var(--acc); color: #14101f; font-family: var(--font-display); font-weight: 700; text-decoration: none; transition: box-shadow .4s ease, transform .4s cubic-bezier(.16, 1, .3, 1); }
.site a.lp-cta { color: #14101f; }
.lp-cta i { display: inline-grid; place-items: center; inline-size: 34px; block-size: 34px; border-radius: 50%; background: #14101f; color: var(--acc); transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.lp-cta i svg { inline-size: 15px; block-size: 15px; }
[dir="ltr"] .lp-cta i svg { transform: scaleX(-1); }
.lp-cta:hover { box-shadow: 0 14px 30px -14px var(--acc); transform: translateY(-2px); }
.lp-cta:hover i { transform: translateX(-5px); }
[dir="ltr"] .lp-cta:hover i { transform: translateX(5px); }
.lp-path.is-on .lp-cta i { animation: lpNudge 2.6s ease-in-out 1.2s infinite; }
@keyframes lpNudge { 0%, 70%, 100% { translate: 0 0; } 80% { translate: -4px 0; } 90% { translate: 0 0; } }
[dir="ltr"] .lp-path.is-on .lp-cta i { animation-name: lpNudgeLtr; }
@keyframes lpNudgeLtr { 0%, 70%, 100% { translate: 0 0; } 80% { translate: 4px 0; } 90% { translate: 0 0; } }

/* each world's own small scene, up top: it gathers when the world is in focus */
.lp-path__ui { position: absolute; z-index: 2; inset-inline: clamp(16px, 2vw, 26px); inset-block-start: clamp(16px, 2vw, 26px); display: flex; pointer-events: none; }
.lp-path__ui > * { opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .6s ease .15s, transform .8s cubic-bezier(.16, 1, .3, 1) .15s; }
.lp-path.is-on .lp-path__ui > * { opacity: 1; transform: none; }
.lp-path.is-on .lp-path__ui > * { animation: lpFloat 6s ease-in-out 1s infinite; }
@keyframes lpFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.lp-screen, .lp-ticket, .lp-film, .lp-live { display: grid; gap: 10px; padding: 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; background: rgba(18, 14, 30, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 18px 36px -20px rgba(0, 0, 0, .7); }
.lp-screen { inline-size: 210px; }
.lp-screen i, .lp-ticket i, .lp-film i { display: block; font-style: normal; }
.lp-screen__bar { display: flex !important; gap: 5px; }
.lp-screen__bar b { inline-size: 7px; block-size: 7px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.lp-screen__bar b:first-child { background: #ffd400; }
.lp-screen__play { display: grid !important; place-items: center; block-size: 62px; border-radius: 8px; background: linear-gradient(135deg, rgba(122, 76, 184, .55), rgba(122, 76, 184, .15)); }
.lp-screen__play svg { inline-size: 26px; block-size: 26px; color: #fff; }
.lp-screen__prog { block-size: 4px; border-radius: 4px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.lp-screen__prog b { display: block; inline-size: 18%; block-size: 100%; background: #b79cff; transition: inline-size 2.4s cubic-bezier(.16, 1, .3, 1) .5s; }
.lp-path.is-on .lp-screen__prog b { inline-size: 68%; }
.lp-ticket { grid-template-columns: auto 1fr; align-items: center; font-size: .82rem; font-weight: 700; }
.lp-ticket__qr { display: grid !important; place-items: center; inline-size: 52px; block-size: 52px; border-radius: 8px; background: #fff; color: #14101f; }
.lp-ticket__qr svg { inline-size: 34px; block-size: 34px; }
.lp-ticket > span { display: inline-flex; align-items: center; gap: 6px; }
.lp-ticket > span svg { inline-size: 16px; block-size: 16px; padding: 2px; border-radius: 50%; background: #ffd400; color: #14101f; }
.lp-film { inline-size: 220px; grid-template-columns: 1fr auto; align-items: center; }
.lp-film__track { position: relative; block-size: 6px; border-radius: 6px; background: rgba(255, 255, 255, .16); }
.lp-film__track b { position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: 26%; border-radius: inherit; background: #c9b8de; transition: inline-size 2.6s cubic-bezier(.16, 1, .3, 1) .5s; }
.lp-path.is-on .lp-film__track b { inline-size: 74%; }
.lp-film__track s { position: absolute; inset-block: -3px; inline-size: 2px; background: rgba(255, 255, 255, .5); }
.lp-film__track s:nth-of-type(1) { inset-inline-start: 20%; } .lp-film__track s:nth-of-type(2) { inset-inline-start: 42%; }
.lp-film__track s:nth-of-type(3) { inset-inline-start: 63%; } .lp-film__track s:nth-of-type(4) { inset-inline-start: 84%; }
.lp-film__speed { padding: 2px 8px; border-radius: 6px; background: #c9b8de; color: #14101f; font-size: .74rem; font-weight: 800; }
.lp-live { gap: 8px; padding: 0; border: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; justify-items: start; }
.lp-live > b { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 6px; background: #e63950; font-size: .78rem; letter-spacing: .08em; }
.lp-live > b i { inline-size: 7px; block-size: 7px; border-radius: 50%; background: #fff; }
.lp-path.is-on .lp-live > b i { animation: lpBeat 1.6s ease-out infinite; }
@keyframes lpBeat { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); } 80%, 100% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } }
.lp-path:not(.is-on) 
@media (hover: hover) { .lp-path:not(.is-on) { cursor: pointer; } }

/* tablet: the same strip, a little shorter */
@media (max-width: 1023px) {
  .lp-stage { block-size: 520px; gap: 10px; }
  .lp-path.is-on { flex-grow: 2.3; }
  .lp-path__ui { inset-inline: 14px; }
  .lp-screen, .lp-film { inline-size: 180px; }
}
/* phone: the worlds stack; a tap opens one and folds the others */
@media (max-width: 760px) {
  .lp-head { margin-block-end: 28px; }
  .lp-stage { flex-direction: column; block-size: auto; gap: 10px; }
  .lp-path { flex: none; block-size: 132px; transform: translateY(calc((1 - var(--e)) * 50px)); }
  .lp-path.is-on { block-size: 470px; }
  .lp-path__body { padding: 18px; }
  .lp-path__toggle { grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; }
  .lp-path__n { grid-row: span 2; font-size: 0; gap: 0; }
  .lp-path__ico { inline-size: 42px; block-size: 42px; }
  .lp-path__t { font-size: 1.35rem; }
  .lp-path__ui { inset-inline: 14px; inset-block-start: 14px; justify-content: flex-end; }
  .lp-screen, .lp-film { inline-size: 150px; }
  .lp-screen__play { block-size: 42px; }
  .lp-path__more p { font-size: .94rem; }
  .lp-deco { inline-size: 380px; block-size: 380px; inset-inline-start: -220px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp, .lp-path { --p: 1 !important; --e: 1 !important; --pp: 0 !important; }
  .lp-path, .lp-path__media img, .lp-path__more, .lp-path__ui > *, .lp-path::before { transition: none; }
  .lp-path.is-on .lp-path__ui > *, .lp-path.is-on .lp-cta i, .lp-path.is-on .lp-live > b i { animation: none; }
}

/* ══ 0.43 the worlds, redrawn: one line for the title; a folded world shows its name standing tall in one line
   over a quiet black-and-white picture, the open one comes into full colour with its number written large ══ */
.lp-line { display: inline-block; vertical-align: top; }
.lp-line + .lp-line { margin-inline-start: .26em; }
.lp-title { white-space: nowrap; font-size: clamp(2.2rem, .6rem + 3.6vw, 4.4rem); }
@media (min-width: 900px) { .lp-head { grid-template-columns: minmax(0, 1fr); row-gap: 14px; } .lp-head .lp-lead { max-inline-size: 620px; padding-block-end: 0; } }
.lp-path__t { white-space: nowrap; }
.lp-path__media img { filter: grayscale(.85) brightness(.72) contrast(1.05); transition: transform .9s cubic-bezier(.16, 1, .3, 1), filter .9s ease; }
.lp-path.is-on .lp-path__media img { filter: none; }
.lp-path__big { position: absolute; z-index: 1; inset-block-start: clamp(10px, 1.6vw, 22px); inset-inline-end: clamp(14px, 1.8vw, 26px); font-family: var(--font-display); font-size: clamp(5rem, 3rem + 5vw, 9.5rem); font-weight: 800; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--acc) 70%, transparent); opacity: 0; transform: translateY(24px); transition: opacity .7s ease .2s, transform 1s cubic-bezier(.16, 1, .3, 1) .2s; pointer-events: none; }
.lp-path.is-on .lp-path__big { opacity: .9; transform: translateY(calc(var(--pp) * 16px)); }
.lp-path__v { position: absolute; z-index: 2; inset-inline: 0; inset-block: clamp(60px, 9vh, 96px) clamp(84px, 12vh, 120px); display: flex; align-items: center; justify-content: center; overflow: hidden; opacity: 1; transition: opacity .45s ease; pointer-events: none; }
.lp-path__v b { writing-mode: vertical-rl; font-family: var(--font-display); font-size: clamp(1.45rem, .8rem + 1.05vw, 2.15rem); font-weight: 800; white-space: nowrap; color: #fff; letter-spacing: .01em; }
[dir="ltr"] .lp-path__v b { transform: rotate(180deg); }
.lp-path.is-on .lp-path__v { opacity: 0; }
.lp-path:not(.is-on) .lp-path__t, .lp-path:not(.is-on) .lp-path__n > :not(.lp-path__ico) { opacity: 0; }
.lp-path__t, .lp-path__n { transition: opacity .5s ease .15s; }
.lp-path:not(.is-on) .lp-path__n { font-size: 0; gap: 0; }
.lp-path:not(.is-on) .lp-path__toggle { justify-items: center; }
.lp-path:not(.is-on) .lp-path__body { justify-items: center; }
.lp-path:not(.is-on) .lp-path__t { position: absolute; }
@media (max-width: 760px) {
  .lp-title { white-space: normal; }
  .lp-path__v, .lp-path__big { display: none; }
  .lp-path:not(.is-on) .lp-path__t { position: static; opacity: 1; }
  .lp-path:not(.is-on) .lp-path__toggle, .lp-path:not(.is-on) .lp-path__body { justify-items: start; }
  .lp-path__media img { filter: grayscale(.5) brightness(.8); }
}
@media (prefers-reduced-motion: reduce) { .lp-path__big, .lp-path__v, .lp-path__media img { transition: none; } }

/* ══ 0.43.1 the worlds on a phone: a row of four tall cards to swipe through (each snaps to the middle, the
   neighbours step back and peek in), with the four names above as tabs that follow the swipe and jump to a world;
   every card tells its whole story over its picture. The computer keeps its strip. ══ */
.lp-tabs { display: none; }
@media (max-width: 760px) {
  .lp-tabs { display: flex; gap: 8px; margin-block: -6px 16px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .lp-tabs::-webkit-scrollbar { display: none; }
  .lp-tab { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--site-line); border-radius: 999px; background: var(--site-card); color: var(--text); font: inherit; font-family: var(--font-display); font-size: .86rem; font-weight: 700; cursor: pointer; scroll-snap-align: start; transition: background-color .35s, color .35s, border-color .35s; }
  .lp-tab svg { inline-size: 16px; block-size: 16px; }
  .lp-tab--online { --acc: #b79cff; } .lp-tab--offline { --acc: #ffd400; } .lp-tab--recorded { --acc: #c9b8de; } .lp-tab--live { --acc: #ffffff; }
  .lp-tab.is-on { background: var(--acc); border-color: var(--acc); color: #14101f; }

  .lp-stage { flex-direction: row; block-size: auto; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 6px 10px; margin-inline: -4px; padding-inline: 4px; }
  .lp-stage::-webkit-scrollbar { display: none; }
  .lp-path, .lp-path.is-on { --sc: .93; display: flex; flex-direction: column; flex: 0 0 86%; block-size: auto; background: #17121f; scroll-snap-align: center; border-radius: 18px;
    clip-path: inset(calc((1 - var(--e)) * 100%) 0 0 0 round 18px);
    transform: translateY(calc((1 - var(--e)) * (40px + var(--i) * 20px))) scale(var(--sc));
    transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
  .lp-path.is-on { --sc: 1; }
  .lp-stage.has-on .lp-path:not(.is-on) .lp-path__dim { opacity: .55; }
  .lp-path::after { display: none; }
  .lp-path__media { position: relative; inset: auto; z-index: 0; flex: none; block-size: min(56vw, 232px); }
  .lp-path__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #17121f 0%, rgba(23, 18, 31, .45) 32%, rgba(23, 18, 31, 0) 62%); }
  .lp-path__body { position: relative; inset: auto; flex: 1; display: flex; flex-direction: column; margin-block-start: -30px; }
  .lp-path__more, .lp-path:not(.is-on) .lp-path__more { flex: 1; display: flex; flex-direction: column; }
  .lp-path__more .lp-cta { margin-block-start: auto; }
  .lp-line { display: block; }
  .lp-line + .lp-line { margin-inline-start: 0; }
  .lp-path__media img, .lp-path.is-on .lp-path__media img { filter: none; object-position: var(--op, 50% 25%); }
  .lp-path--online { --op: 22% 14%; } .lp-path--offline { --op: 74% 16%; } .lp-path--recorded { --op: 62% 16%; }
  .lp-path--live .lp-path__media img { object-position: 30% 12%; }
  .lp-path__v, .lp-path__big { display: none; }
  .lp-path__ui { inset-inline: 14px; inset-block-start: 14px; justify-content: flex-start; }
  [dir="rtl"] .lp-path__ui { justify-content: flex-end; }
  .lp-screen, .lp-film { inline-size: 118px; padding: 9px; gap: 7px; }
  .lp-screen__play { block-size: 30px; }
  .lp-screen__play svg { inline-size: 18px; block-size: 18px; }
  .lp-ticket { font-size: .76rem; } .lp-ticket__qr { inline-size: 42px; block-size: 42px; }
    .lp-path__body { padding: 0 18px 20px; }
  .lp-path__toggle { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; justify-self: stretch; cursor: default; }
  .lp-path__n, .lp-path:not(.is-on) .lp-path__n { grid-row: 1 / span 2; font-size: 0; gap: 0; }
  .lp-path__n > :not(.lp-path__ico) { display: none; }
  .lp-path__ico { inline-size: 44px; block-size: 44px; background: var(--acc); color: #14101f; }
  .lp-path__t, .lp-path:not(.is-on) .lp-path__t { grid-column: 2; position: static; opacity: 1; font-size: 1.4rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lp-path__tag, .lp-path:not(.is-on) .lp-path__tag { grid-column: 2; max-block-size: 2em; opacity: 1; font-size: .84rem; }
  .lp-path__more, .lp-path:not(.is-on) .lp-path__more { max-block-size: none; opacity: 1; transform: none; gap: 12px; }
  .lp-path__more p { margin-block-start: 12px; font-size: .93rem; line-height: 1.75; }
  .lp-path__more ul { gap: 6px; }
  .lp-path__more li { font-size: .76rem; padding: 4px 9px; }
  .lp-path:not(.is-on) .lp-path__ui > * { opacity: 0; }
  .lp-cta { justify-self: stretch; justify-content: space-between; padding-block: 6px; }
}

/* ══ 0.43.2 the worlds as booklets (ملازم): taller and wider, each a portrait booklet with its stapled spine and
   a few pages showing beneath it; on a phone the row turns like the pages of a book as you swipe ══ */
.lp .site-wrap { max-inline-size: 1260px; }
@media (min-width: 1280px) and (max-width: 1400px) { .lp .site-wrap { padding-inline: 62px; } }
.lp-path__spine { display: none; }
@media (min-width: 761px) {
  .lp-stage { gap: 22px; block-size: clamp(620px, 82vh, 800px); padding-block-end: 14px; padding-inline-end: 14px; }
  .lp-path { --stack: 7px 7px 0 -1px #e8e2f1, 14px 14px 0 -2px #c9b8de; border-radius: 3px 10px 10px 3px;
    clip-path: inset(calc((1 - var(--e)) * 100%) -20px -20px -6px);
    box-shadow: var(--stack), 0 38px 60px -36px rgba(10, 4, 30, .85); }
  [dir="rtl"] .lp-path { --stack: -7px 7px 0 -1px #e8e2f1, -14px 14px 0 -2px #c9b8de; border-radius: 10px 3px 3px 10px; clip-path: inset(calc((1 - var(--e)) * 100%) -6px -20px -20px); }
  .lp-path.is-on { flex-grow: 2.5; }
  .lp-path__media { border-radius: inherit; }
  .lp-path__spine { position: absolute; z-index: 3; display: block; inset-block: 0; inset-inline-start: 0; inline-size: 16px; pointer-events: none;
    background: linear-gradient(to right, rgba(0, 0, 0, .55), rgba(0, 0, 0, .12) 70%, rgba(255, 255, 255, .06));
    border-inline-end: 1px solid rgba(255, 255, 255, .1); }
  [dir="rtl"] .lp-path__spine { background: linear-gradient(to left, rgba(0, 0, 0, .55), rgba(0, 0, 0, .12) 70%, rgba(255, 255, 255, .06)); }
  .lp-path__spine::before, .lp-path__spine::after { content: ""; position: absolute; inset-inline-start: 5px; inline-size: 4px; block-size: 26px; border-radius: 2px; background: linear-gradient(to bottom, #f1edf7, #a99fbb); box-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
  .lp-path__spine::before { inset-block-start: 16%; }
  .lp-path__spine::after { inset-block-end: 16%; }
  .lp-path__body { padding-inline-start: clamp(30px, 3vw, 40px); }
  .lp-path__ui { inset-inline-start: clamp(30px, 3vw, 40px); }
  .lp-path__t { font-size: clamp(1.5rem, 1rem + 1.3vw, 2.4rem); }
  .lp-path__more p { font-size: 1.04rem; }
}
:root:not([data-theme="dark"]) .lp-path { --stack: 7px 7px 0 -1px #ffffff, 14px 14px 0 -2px #e4d8f3; }
:root:not([data-theme="dark"])[dir="rtl"] .lp-path, [dir="rtl"]:root:not([data-theme="dark"]) .lp-path { --stack: -7px 7px 0 -1px #ffffff, -14px 14px 0 -2px #e4d8f3; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lp-path { --stack: 7px 7px 0 -1px #e8e2f1, 14px 14px 0 -2px #c9b8de; }
  [dir="rtl"]:root:not([data-theme="light"]) .lp-path { --stack: -7px 7px 0 -1px #e8e2f1, -14px 14px 0 -2px #c9b8de; }
}
/* the phone: booklets that turn like pages; the one facing you is flat, the next ones lean away on their spine */
@media (max-width: 760px) {
  .lp-stage { position: relative; perspective: 1100px; perspective-origin: 50% 40%; }
  .lp-path, .lp-path.is-on { --ry: 0deg; --ox: 50%; --sc: 1; transform-origin: var(--ox) 50%;
    transform: translateY(calc((1 - var(--e)) * (40px + var(--i) * 20px))) rotateY(var(--ry)) scale(var(--sc)); transition: none;
    border-radius: 4px 14px 14px 4px; box-shadow: 6px 6px 0 -1px #e8e2f1, 11px 11px 0 -2px #c9b8de, 0 24px 40px -26px rgba(0, 0, 0, .8);
    clip-path: inset(calc((1 - var(--e)) * 100%) -14px -14px -4px round 4px 14px 14px 4px); }
  [dir="rtl"] .lp-path, [dir="rtl"] .lp-path.is-on { border-radius: 14px 4px 4px 14px; box-shadow: -6px 6px 0 -1px #e8e2f1, -11px 11px 0 -2px #c9b8de, 0 24px 40px -26px rgba(0, 0, 0, .8);
    clip-path: inset(calc((1 - var(--e)) * 100%) -4px -14px -14px round 14px 4px 4px 14px); }
  .lp-stage { padding-block: 8px 18px; padding-inline: 4px 14px; }
  .lp-path__spine { position: absolute; z-index: 3; display: block; inset-block: 0; inset-inline-start: 0; inline-size: 12px; pointer-events: none; background: linear-gradient(to right, rgba(0, 0, 0, .55), rgba(0, 0, 0, .08)); }
  [dir="rtl"] .lp-path__spine { background: linear-gradient(to left, rgba(0, 0, 0, .55), rgba(0, 0, 0, .08)); }
  .lp-path__spine::before, .lp-path__spine::after { content: ""; position: absolute; inset-inline-start: 4px; inline-size: 3px; block-size: 20px; border-radius: 2px; background: linear-gradient(to bottom, #f1edf7, #a99fbb); }
  .lp-path__spine::before { inset-block-start: 14%; }
  .lp-path__spine::after { inset-block-end: 14%; }
  .lp-path__body { padding-inline-start: 26px; }
  .lp-stage.has-on .lp-path:not(.is-on) .lp-path__dim { opacity: calc(min(1, var(--ad, 1)) * .6); }
}
@media (prefers-reduced-motion: reduce) { .lp-path, .lp-path.is-on { --ry: 0deg !important; --sc: 1 !important; } }

/* ══ 0.43.3 the phone book: the four worlds lie one on another like the pages of a booklet; each turns around the
   spine on its side (the left in English, the right in Arabic), shading as it goes, and follows the finger ══ */
@media (max-width: 760px) {
  .lp-stage { display: grid; grid-template-columns: minmax(0, 1fr); overflow: visible; scroll-snap-type: none; gap: 0; perspective: 1900px; perspective-origin: 50% 45%; padding-block: 6px 24px; padding-inline: 4px 16px; margin-inline: 0; touch-action: pan-y; }
  [dir="rtl"] .lp-stage { padding-inline: 4px 16px; }
  .lp-path, .lp-path.is-on { grid-area: 1 / 1; flex: none; scroll-snap-align: none; transform-origin: 0% 50%; -webkit-backface-visibility: hidden; backface-visibility: hidden;
    transform: translateY(calc((1 - var(--e)) * 40px)) rotateY(var(--flip, 0deg)); transition: transform .95s cubic-bezier(.3, .65, .15, 1); }
  [dir="rtl"] .lp-path, [dir="rtl"] .lp-path.is-on { transform-origin: 100% 50%; }
  .lp-stage.is-drag .lp-path { transition: none; }
  .lp-path__dim, .lp-stage.has-on .lp-path:not(.is-on) .lp-path__dim, .lp-stage.has-on .lp-path.is-on .lp-path__dim { display: block; z-index: 5; opacity: calc(var(--turn, 0) * .75); background: linear-gradient(90deg, rgba(12, 8, 22, .2), rgba(12, 8, 22, .85)); transition: none; }
  [dir="rtl"] .lp-path__dim { background: linear-gradient(270deg, rgba(12, 8, 22, .2), rgba(12, 8, 22, .85)) !important; }
  .lp-path:not(.is-on) .lp-path__ui > * { opacity: 0; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .lp-path, .lp-path.is-on { transition: none; } }

/* ══ 0.43.4 a real bookcase: the four worlds stand on a wooden shelf as books; a folded world shows its cloth
   spine (its own colour, gilt bands, its name running up it), the one in focus is pulled out and turned to show its
   cover with its pages at the edge. On a phone the shelf holds the four spines above, and the chosen book below
   turns its pages from the side. ══ */
.lp-path--online, .lp-tab--online { --cloth: #3d2470; --ink: #ffffff; --band: #ffd400; --bh: 90%; --bhp: 128px; }
.lp-path--offline, .lp-tab--offline { --cloth: #e2b400; --ink: #1a1426; --band: #1a1426; --bh: 97%; --bhp: 146px; }
.lp-path--recorded, .lp-tab--recorded { --cloth: #b9a6d6; --ink: #1a1426; --band: #4b2a85; --bh: 86%; --bhp: 154px; }
.lp-path--live, .lp-tab--live { --cloth: #262030; --ink: #ffffff; --band: #e63950; --bh: 93%; --bhp: 134px; }
.lp-shelf-skin, .lp-tab, .lp-path { --spine: linear-gradient(90deg, rgba(0, 0, 0, .5) 0%, rgba(255, 255, 255, .16) 18%, rgba(255, 255, 255, 0) 42%, rgba(0, 0, 0, .1) 70%, rgba(0, 0, 0, .45) 100%),
  linear-gradient(to bottom, transparent 6%, var(--band) 6%, var(--band) 6.8%, transparent 6.8%, transparent 8.4%, var(--band) 8.4%, var(--band) 9%, transparent 9%, transparent 91%, var(--band) 91%, var(--band) 91.6%, transparent 91.6%, transparent 93.2%, var(--band) 93.2%, var(--band) 94%, transparent 94%); }
@media (min-width: 761px) {
  .lp-stage { position: relative; align-items: flex-end; gap: 7px; block-size: clamp(640px, 82vh, 800px); padding: 30px 36px 30px; border-radius: 8px;
    background: radial-gradient(90% 60% at 50% 0%, rgba(255, 236, 200, .07), transparent 70%), linear-gradient(#1d1520, #110c16);
    box-shadow: inset 0 40px 60px -40px rgba(0, 0, 0, .85), inset 14px 0 30px -20px rgba(0, 0, 0, .8), inset -14px 0 30px -20px rgba(0, 0, 0, .8), 0 30px 60px -40px rgba(0, 0, 0, .8); }
  .lp-stage::before { content: ""; position: absolute; z-index: 0; inset-inline: 0; inset-block-end: 0; block-size: 30px; border-radius: 0 0 8px 8px;
    background: linear-gradient(rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 3px), repeating-linear-gradient(90deg, rgba(0, 0, 0, 0) 0 46px, rgba(0, 0, 0, .07) 46px 49px, rgba(0, 0, 0, 0) 49px 91px), linear-gradient(#7a5438, #55392a 45%, #34231a);
    box-shadow: 0 -6px 14px -6px rgba(0, 0, 0, .7); }
  .lp-path, .lp-path.is-on { --stack: none; align-self: flex-end; min-inline-size: clamp(70px, 6.2vw, 96px); flex: 0.0001 1 0; block-size: var(--bh); border-radius: 3px; background: var(--spine), var(--cloth);
    clip-path: inset(calc((1 - var(--e)) * 100%) -24px -4px -24px); box-shadow: 0 -1px 0 rgba(255, 255, 255, .12) inset, 0 12px 18px -10px rgba(0, 0, 0, .75);
    transition: flex-grow .95s cubic-bezier(.16, 1, .3, 1), block-size .7s cubic-bezier(.16, 1, .3, 1), translate .45s cubic-bezier(.16, 1, .3, 1), box-shadow .6s ease; }
  .lp-path.is-on { flex-grow: 1; block-size: 100%; border-radius: 3px 10px 10px 3px; background: #120e1c;
    box-shadow: 7px 6px 0 -1px #efe9df, 13px 11px 0 -2px #ddd3c3, 18px 16px 0 -3px #c8bca8, 0 30px 50px -28px rgba(0, 0, 0, .9); }
  [dir="rtl"] .lp-path.is-on { border-radius: 10px 3px 3px 10px; box-shadow: -7px 6px 0 -1px #efe9df, -13px 11px 0 -2px #ddd3c3, -18px 16px 0 -3px #c8bca8, 0 30px 50px -28px rgba(0, 0, 0, .9); }
  .lp-path:not(.is-on):hover { translate: 0 -12px; }
  [dir="rtl"] .lp-path:not(.is-on), .lp-path:not(.is-on) { border-radius: 3px; }
  .lp-path__media { transition: opacity .7s ease; }
  .lp-path:not(.is-on) .lp-path__media, .lp-path:not(.is-on)::after, .lp-path:not(.is-on) .lp-path__spine { opacity: 0; }
  .lp-path::after { transition: opacity .7s ease; }
  .lp-stage.has-on .lp-path:not(.is-on) .lp-path__dim { opacity: .18; }
  .lp-path__v b { color: var(--ink); font-size: clamp(1.1rem, .7rem + .8vw, 1.6rem); letter-spacing: .02em; text-shadow: none; }
  .lp-path__v { inset-block: 13% 17%; }
  .lp-path:not(.is-on) .lp-path__ico { border-color: color-mix(in srgb, var(--ink) 45%, transparent); color: var(--ink); background: transparent; }
  .lp-path:not(.is-on) .lp-path__body { padding-inline: 0; padding-block-end: 8%; }
  .lp-path::before { display: none; }
  .lp-path__spine::before, .lp-path__spine::after { display: none; }
  .lp-path__spine { inline-size: 22px; background: linear-gradient(to right, rgba(0, 0, 0, .6), rgba(0, 0, 0, .2) 55%, rgba(255, 255, 255, .08) 80%, rgba(0, 0, 0, .3)); transition: opacity .6s ease; }
  [dir="rtl"] .lp-path__spine { background: linear-gradient(to left, rgba(0, 0, 0, .6), rgba(0, 0, 0, .2) 55%, rgba(255, 255, 255, .08) 80%, rgba(0, 0, 0, .3)); }
}
:root:not([data-theme="dark"]) .lp-stage { --wall: 1; }
/* the phone: the shelf of four spines above (a tap pulls one out), the chosen book below */
@media (max-width: 760px) {
  .lp-tabs { position: relative; justify-content: center; align-items: flex-end; gap: 7px; block-size: 208px; margin: 0 0 20px; padding: 16px 16px 24px; overflow: visible; border-radius: 8px;
    background: radial-gradient(90% 60% at 50% 0%, rgba(255, 236, 200, .08), transparent 70%), linear-gradient(#1d1520, #110c16);
    box-shadow: inset 0 30px 40px -30px rgba(0, 0, 0, .85), 0 20px 40px -30px rgba(0, 0, 0, .8); }
  .lp-tabs::before { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 24px; border-radius: 0 0 8px 8px;
    background: linear-gradient(rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 3px), linear-gradient(#7a5438, #55392a 45%, #34231a); box-shadow: 0 -5px 12px -5px rgba(0, 0, 0, .7); }
  .lp-tab, .lp-tab.is-on { position: relative; z-index: 1; flex: 0 0 58px; block-size: var(--bhp); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; padding: 14px 0 10px; border: 0; border-radius: 3px;
    background: var(--spine), var(--cloth); color: var(--ink); box-shadow: 0 10px 14px -8px rgba(0, 0, 0, .8); scroll-snap-align: none; transition: translate .5s cubic-bezier(.34, 1.4, .64, 1), box-shadow .4s; }
  .lp-tab svg { flex: none; inline-size: 15px; block-size: 15px; }
  .lp-tab span { writing-mode: vertical-rl; white-space: nowrap; font-size: .76rem; line-height: 1; }
  [dir="ltr"] .lp-tab span { transform: rotate(180deg); }
  .lp-tab.is-on { translate: 0 -16px; box-shadow: 0 0 0 2px var(--band), 0 18px 24px -10px rgba(0, 0, 0, .85); }
  .lp-path, .lp-path.is-on { border-radius: 3px 12px 12px 3px; box-shadow: 6px 6px 0 -1px #efe9df, 11px 11px 0 -2px #ddd3c3, 0 24px 40px -26px rgba(0, 0, 0, .85); }
  [dir="rtl"] .lp-path, [dir="rtl"] .lp-path.is-on { border-radius: 12px 3px 3px 12px; box-shadow: -6px 6px 0 -1px #efe9df, -11px 11px 0 -2px #ddd3c3, 0 24px 40px -26px rgba(0, 0, 0, .85); }
  .lp-path__spine::before, .lp-path__spine::after { display: none; }
  .lp-path__spine { inline-size: 18px; background: linear-gradient(to right, rgba(0, 0, 0, .6), rgba(0, 0, 0, .15) 60%, rgba(255, 255, 255, .08) 85%, rgba(0, 0, 0, .3)); }
  [dir="rtl"] .lp-path__spine { background: linear-gradient(to left, rgba(0, 0, 0, .6), rgba(0, 0, 0, .15) 60%, rgba(255, 255, 255, .08) 85%, rgba(0, 0, 0, .3)); }
}
@media (prefers-reduced-motion: reduce) { .lp-path, .lp-tab { transition: none; } }

/* ══ 0.43.5 the books made real, in the academy's colours only: cloth spines in its violet, yellow, lavender and
   dark grey, round in the hand (light along one edge, shade along the other), raised bands in yellow or violet,
   a fine woven grain, the title pressed in; the bookcase itself in the academy's deep plum ══ */
.lp-path--online, .lp-tab--online { --cloth: #6a3fb0; --ink: #ffffff; --band: #ffd400; }
.lp-path--offline, .lp-tab--offline { --cloth: #ffd400; --ink: #1a1426; --band: #6a3fb0; }
.lp-path--recorded, .lp-tab--recorded { --cloth: #c9b8de; --ink: #1a1426; --band: #6a3fb0; }
.lp-path--live, .lp-tab--live { --cloth: #2b2438; --ink: #ffffff; --band: #ffd400; }
.lp-tab, .lp-path { --spine: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(255, 255, 255, .26) 12%, rgba(255, 255, 255, .06) 30%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .14) 78%, rgba(0, 0, 0, .55) 100%),
  linear-gradient(to bottom, transparent 9%, rgba(0, 0, 0, .5) 9%, rgba(0, 0, 0, .5) 9.25%, rgba(255, 255, 255, .45) 9.25%, rgba(255, 255, 255, .45) 9.50%, var(--band) 9.50%, var(--band) 10.60%, rgba(0, 0, 0, .55) 10.60%, rgba(0, 0, 0, .55) 11.00%, transparent 11.00%, transparent 13.5%, rgba(0, 0, 0, .5) 13.5%, rgba(0, 0, 0, .5) 13.75%, rgba(255, 255, 255, .45) 13.75%, rgba(255, 255, 255, .45) 14.00%, var(--band) 14.00%, var(--band) 15.10%, rgba(0, 0, 0, .55) 15.10%, rgba(0, 0, 0, .55) 15.50%, transparent 15.50%, transparent 84.5%, rgba(0, 0, 0, .5) 84.5%, rgba(0, 0, 0, .5) 84.75%, rgba(255, 255, 255, .45) 84.75%, rgba(255, 255, 255, .45) 85.00%, var(--band) 85.00%, var(--band) 86.10%, rgba(0, 0, 0, .55) 86.10%, rgba(0, 0, 0, .55) 86.50%, transparent 86.50%, transparent 89%, rgba(0, 0, 0, .5) 89%, rgba(0, 0, 0, .5) 89.25%, rgba(255, 255, 255, .45) 89.25%, rgba(255, 255, 255, .45) 89.50%, var(--band) 89.50%, var(--band) 90.60%, rgba(0, 0, 0, .55) 90.60%, rgba(0, 0, 0, .55) 91.00%, transparent 91.00%),
  repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 1px, rgba(255, 255, 255, 0) 1px 3px),
  repeating-linear-gradient(90deg, rgba(0, 0, 0, .06) 0 1px, rgba(0, 0, 0, 0) 1px 3px); }
.lp-path__v b, .lp-tab span { text-shadow: 0 1px 0 rgba(255, 255, 255, .22), 0 -1px 0 rgba(0, 0, 0, .45); }
.lp-path--offline .lp-path__v b, .lp-path--recorded .lp-path__v b, .lp-tab--offline span, .lp-tab--recorded span { text-shadow: 0 1px 0 rgba(255, 255, 255, .5), 0 -1px 0 rgba(0, 0, 0, .2); }
.lp-live > b { background: #7a4cb8; }
.lp-live > b i { background: #ffd400; }
@media (min-width: 761px) {
  .lp-stage { background: radial-gradient(80% 55% at 50% 0%, rgba(201, 184, 222, .12), transparent 70%), linear-gradient(#21182f, #140f1d);
    box-shadow: inset 0 46px 60px -40px rgba(0, 0, 0, .9), inset 18px 0 30px -18px rgba(0, 0, 0, .85), inset -18px 0 30px -18px rgba(0, 0, 0, .85), 0 0 0 10px #1d1529, 0 0 0 11px rgba(201, 184, 222, .14), 0 40px 70px -40px rgba(0, 0, 0, .9); }
  .lp-stage::before { block-size: 32px; background: linear-gradient(rgba(201, 184, 222, .45), rgba(201, 184, 222, 0) 3px), linear-gradient(rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .35)), linear-gradient(#3a2a5c, #2a1e44 55%, #1a1426); box-shadow: 0 -8px 16px -6px rgba(0, 0, 0, .75); }
  .lp-path:not(.is-on) { box-shadow: inset 0 3px 2px -1px rgba(255, 255, 255, .28), inset 0 -4px 3px -1px rgba(0, 0, 0, .45), 8px 0 12px -6px rgba(0, 0, 0, .7), -2px 0 6px -3px rgba(0, 0, 0, .5); }
  .lp-path.is-on { box-shadow: 7px 6px 0 -1px #f4effa, 13px 11px 0 -2px #e2d8f0, 18px 16px 0 -3px #cbbde0, 0 30px 50px -28px rgba(0, 0, 0, .9); }
  [dir="rtl"] .lp-path.is-on { box-shadow: -7px 6px 0 -1px #f4effa, -13px 11px 0 -2px #e2d8f0, -18px 16px 0 -3px #cbbde0, 0 30px 50px -28px rgba(0, 0, 0, .9); }
  .lp-path.is-on::after { background: linear-gradient(115deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 30%), linear-gradient(to top, rgba(12, 8, 22, .96) 0%, rgba(12, 8, 22, .7) 34%, rgba(12, 8, 22, .12) 66%, rgba(12, 8, 22, .25) 100%); }
}
@media (max-width: 760px) {
  .lp-tabs { background: radial-gradient(80% 55% at 50% 0%, rgba(201, 184, 222, .12), transparent 70%), linear-gradient(#21182f, #140f1d); box-shadow: inset 0 30px 40px -30px rgba(0, 0, 0, .9), 0 0 0 6px #1d1529, 0 0 0 7px rgba(201, 184, 222, .14), 0 20px 40px -30px rgba(0, 0, 0, .8); }
  .lp-tabs::before { background: linear-gradient(rgba(201, 184, 222, .45), rgba(201, 184, 222, 0) 3px), linear-gradient(#3a2a5c, #2a1e44 55%, #1a1426); }
  .lp-tab, .lp-tab.is-on { box-shadow: inset 0 3px 2px -1px rgba(255, 255, 255, .28), inset 0 -4px 3px -1px rgba(0, 0, 0, .45), 6px 0 10px -5px rgba(0, 0, 0, .7); }
  .lp-tab.is-on { box-shadow: 0 0 0 2px #ffd400, inset 0 3px 2px -1px rgba(255, 255, 255, .28), 0 18px 24px -10px rgba(0, 0, 0, .85); }
  .lp-path, .lp-path.is-on { box-shadow: 6px 6px 0 -1px #f4effa, 11px 11px 0 -2px #e2d8f0, 0 24px 40px -26px rgba(0, 0, 0, .85); }
  [dir="rtl"] .lp-path, [dir="rtl"] .lp-path.is-on { box-shadow: -6px 6px 0 -1px #f4effa, -11px 11px 0 -2px #e2d8f0, 0 24px 40px -26px rgba(0, 0, 0, .85); }
}

/* ══ 0.43.6 just the books: no bookcase around them; the open one stands up straight, the others lean away
   from it on their bottom corner, like books in a row when one has been taken out ══ */
@media (min-width: 761px) {
  .lp-stage { background: none; box-shadow: none; border-radius: 0; padding: 30px 46px 18px; gap: 10px; }
  .lp-stage::before { display: none; }
  .lp-path:not(.is-on) { rotate: -4deg; transform-origin: 0% 100%; transition: flex-grow .95s cubic-bezier(.16, 1, .3, 1), block-size .7s cubic-bezier(.16, 1, .3, 1), translate .45s cubic-bezier(.16, 1, .3, 1), rotate .8s cubic-bezier(.16, 1, .3, 1), box-shadow .6s ease; }
  .lp-path.is-on ~ .lp-path:not(.is-on) { rotate: 4deg; transform-origin: 100% 100%; }
  [dir="rtl"] .lp-path:not(.is-on) { rotate: 4deg; transform-origin: 100% 100%; }
  [dir="rtl"] .lp-path.is-on ~ .lp-path:not(.is-on) { rotate: -4deg; transform-origin: 0% 100%; }
  .lp-path.is-on { rotate: 0deg; }
}
@media (max-width: 760px) {
  .lp-tabs { background: none; box-shadow: none; block-size: 190px; padding: 18px 18px 10px; gap: 9px; }
  .lp-tabs::before { display: none; }
  .lp-tab, .lp-tab.is-on { transform-origin: 0% 100%; transition: translate .5s cubic-bezier(.34, 1.4, .64, 1), rotate .6s cubic-bezier(.16, 1, .3, 1), box-shadow .4s; }
  .lp-tab { rotate: -5deg; }
  .lp-tab.is-on ~ .lp-tab { rotate: 5deg; transform-origin: 100% 100%; }
  [dir="rtl"] .lp-tab { rotate: 5deg; transform-origin: 100% 100%; }
  [dir="rtl"] .lp-tab.is-on ~ .lp-tab { rotate: -5deg; transform-origin: 0% 100%; }
  .lp-tab.is-on, [dir="rtl"] .lp-tab.is-on { rotate: 0deg; }
}
@media (prefers-reduced-motion: reduce) { .lp-path, .lp-tab { transition: none; } }

/* ══ 0.43.7 the books stand on a fixed base in the academy's violet (a lit top, a deep front, a yellow edge) and
   lean the way books really do when one has been taken out: they fall in towards the gap and rest against the
   open book, which stands in front of them ══ */
@media (min-width: 761px) {
  .lp-stage { padding-block-end: 26px; }
  .lp-stage::before { display: block; content: ""; position: absolute; z-index: 0; inset-inline: 18px; inset-block-end: 0; block-size: 26px; border-radius: 4px;
    background: linear-gradient(#a07ad8 0, #8e63cc 7px, #ffd400 7px, #ffd400 9px, #5a3496 9px, #3d2470 100%);
    box-shadow: 0 18px 26px -12px rgba(0, 0, 0, .55), 0 2px 0 rgba(255, 255, 255, .18) inset; }
  .lp-path { z-index: 1; }
  .lp-path.is-on { z-index: 3; }
  .lp-path:not(.is-on), [dir="rtl"] .lp-path.is-on ~ .lp-path:not(.is-on) { rotate: 3.5deg; transform-origin: 0% 100%; }
  .lp-path.is-on ~ .lp-path:not(.is-on), [dir="rtl"] .lp-path:not(.is-on) { rotate: -3.5deg; transform-origin: 100% 100%; }
  [dir="rtl"] .lp-path.is-on ~ .lp-path:not(.is-on) { rotate: 3.5deg; transform-origin: 0% 100%; }
}
@media (max-width: 760px) {
  .lp-tabs { padding-block-end: 20px; }
  .lp-tabs::before { display: block; content: ""; position: absolute; inset-inline: 10px; inset-block-end: 0; block-size: 20px; border-radius: 4px;
    background: linear-gradient(#a07ad8 0, #8e63cc 6px, #ffd400 6px, #ffd400 8px, #5a3496 8px, #3d2470 100%); box-shadow: 0 14px 20px -10px rgba(0, 0, 0, .55); }
  .lp-tab { z-index: 1; }
  .lp-tab.is-on { z-index: 3; }
  .lp-tab, [dir="rtl"] .lp-tab.is-on ~ .lp-tab { rotate: 4deg; transform-origin: 0% 100%; }
  .lp-tab.is-on ~ .lp-tab, [dir="rtl"] .lp-tab { rotate: -4deg; transform-origin: 100% 100%; }
  [dir="rtl"] .lp-tab.is-on ~ .lp-tab { rotate: 4deg; transform-origin: 0% 100%; }
  .lp-tab.is-on, [dir="rtl"] .lp-tab.is-on { rotate: 0deg; }
}

/* ══ 0.43.8 video tapes instead of books: each world is a cassette standing on the base; a folded one shows its
   black plastic spine with grip ridges and a label in its colour carrying its name, the open one shows its sleeve
   (the poster) in a black cassette frame with its screws; on a phone the same tapes above, the chosen one below ══ */
.lp-path--live, .lp-tab--live { --cloth: #f4effa; --ink: #1a1426; }
.lp-path, .lp-tab { --plastic: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(255, 255, 255, .12) 10%, rgba(255, 255, 255, .03) 28%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .5) 100%),
  repeating-linear-gradient(to bottom, rgba(255, 255, 255, .09) 0 2px, rgba(0, 0, 0, .35) 2px 4px, rgba(0, 0, 0, 0) 4px 6px),
  linear-gradient(#221b2e, #15101d); }
@media (min-width: 761px) {
  .lp-path:not(.is-on) { background: var(--plastic); background-size: 100% 100%, 100% 9%, 100% 100%; background-repeat: no-repeat, repeat-y, no-repeat; background-position: 0 0, 0 0, 0 0; }
  .lp-path__v { inset-inline: 9px; inset-block: 12% 16%; border-radius: 5px; overflow: hidden;
    background: linear-gradient(90deg, rgba(0, 0, 0, .18), rgba(255, 255, 255, .22) 18%, rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, .14)), repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0) 0 12px, rgba(0, 0, 0, .07) 12px 13px), var(--cloth);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35), 0 1px 0 rgba(255, 255, 255, .12); }
  .lp-path__v b { text-shadow: none; font-size: clamp(1rem, .65rem + .75vw, 1.45rem); }
  .lp-path--offline .lp-path__v b, .lp-path--recorded .lp-path__v b { text-shadow: none; }
  .lp-path:not(.is-on) .lp-path__ico { border-color: rgba(255, 255, 255, .25); color: #c9b8de; }
  .lp-path.is-on { box-shadow: 6px 6px 0 -1px #2b2438, 11px 11px 0 -2px #1a1426, 0 30px 50px -28px rgba(0, 0, 0, .9); border-radius: 8px; }
  [dir="rtl"] .lp-path.is-on { box-shadow: -6px 6px 0 -1px #2b2438, -11px 11px 0 -2px #1a1426, 0 30px 50px -28px rgba(0, 0, 0, .9); border-radius: 8px; }
  .lp-path.is-on .lp-path__spine { display: block; z-index: 4; inset: 0; inline-size: auto; border-radius: inherit; background:
      radial-gradient(circle at 18px 18px, #7d7590 0 3px, #3a3346 3px 4.5px, transparent 5px),
      radial-gradient(circle at calc(100% - 18px) 18px, #7d7590 0 3px, #3a3346 3px 4.5px, transparent 5px),
      radial-gradient(circle at 18px calc(100% - 18px), #7d7590 0 3px, #3a3346 3px 4.5px, transparent 5px),
      radial-gradient(circle at calc(100% - 18px) calc(100% - 18px), #7d7590 0 3px, #3a3346 3px 4.5px, transparent 5px);
    border: 9px solid #1a1426; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 22px rgba(0, 0, 0, .55); opacity: 1; }
}
@media (max-width: 760px) {
  .lp-tab, .lp-tab.is-on { background: var(--plastic); background-size: 100% 100%, 100% 12%, 100% 100%; background-repeat: no-repeat, repeat-y, no-repeat; color: #c9b8de; padding-block: 12px; }
  .lp-tab span { padding: 8px 4px; border-radius: 4px; background: linear-gradient(90deg, rgba(0, 0, 0, .15), rgba(255, 255, 255, .2) 20%, rgba(255, 255, 255, 0) 45%), var(--cloth); color: var(--ink); text-shadow: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3); }
  .lp-tab--offline span, .lp-tab--recorded span { text-shadow: none; }
  .lp-path, .lp-path.is-on { border-radius: 10px; box-shadow: 5px 5px 0 -1px #2b2438, 9px 9px 0 -2px #1a1426, 0 24px 40px -26px rgba(0, 0, 0, .85); }
  [dir="rtl"] .lp-path, [dir="rtl"] .lp-path.is-on { border-radius: 10px; box-shadow: -5px 5px 0 -1px #2b2438, -9px 9px 0 -2px #1a1426, 0 24px 40px -26px rgba(0, 0, 0, .85); }
  .lp-path__spine, [dir="rtl"] .lp-path__spine { inset: 0; inline-size: auto; z-index: 4; border-radius: inherit; border: 7px solid #1a1426; background:
      radial-gradient(circle at 13px 13px, #7d7590 0 2.5px, #3a3346 2.5px 3.5px, transparent 4px),
      radial-gradient(circle at calc(100% - 13px) 13px, #7d7590 0 2.5px, #3a3346 2.5px 3.5px, transparent 4px);
    box-shadow: inset 0 0 18px rgba(0, 0, 0, .5); }
}

/* ══ 0.44 inside the classroom (عيش تجربة المنصة): the platform itself on show. On a computer the section holds
   still while the page scrolls past it: the title rises line by line, the browser window comes up out of the
   background, tilts into depth and settles, three small windows fly in from the sides, and the window turns from
   a recorded lesson into a live class, a test and the student's dashboard; at the end everything settles and the
   way in appears. On a phone and a tablet the same four screens stand one under another, each in its own phone
   frame with its name beside it. The windows are drawn in the platform's own look (its night and day colours,
   its sidebar, its live room); the scroll only moves transforms and opacity. ══ */
.ic { --a: 1; --b: 1; --s: 0; --mx: 0; --my: 0; position: relative; overflow-x: clip;
  --ic-bg: #100d1a; --ic-surface: #1a1626; --ic-surface-2: #221c31; --ic-text: #ffffff; --ic-muted: #a497b8; --ic-line: rgba(201, 184, 222, .14);
  --ic-brand: #c9b8de; --ic-chip: rgba(201, 184, 222, .1); --ic-pick: rgba(122, 76, 184, .55); --ic-frame: #221b35; --ic-frame-2: #2c2442;
  --ic-ok: #4fd18b; --ic-ok-soft: rgba(79, 209, 139, .14); --ic-shadow: 0 50px 90px -40px rgba(6, 2, 20, .9), 0 18px 40px -24px rgba(6, 2, 20, .7); }
:root[data-theme="light"] .ic { --ic-bg: #f6f3fb; --ic-surface: #ffffff; --ic-surface-2: #f8f5fc; --ic-text: #1a1426; --ic-muted: #6b5f80; --ic-line: #e4dcef;
  --ic-brand: #6a3fb0; --ic-chip: #f0eaf8; --ic-pick: #6a3fb0; --ic-frame: #ece6f6; --ic-frame-2: #ffffff; --ic-ok: #17794b; --ic-ok-soft: #e4f4ec;
  --ic-shadow: 0 50px 90px -44px rgba(61, 34, 112, .45), 0 18px 40px -26px rgba(61, 34, 112, .35); }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .ic { --ic-bg: #f6f3fb; --ic-surface: #ffffff; --ic-surface-2: #f8f5fc; --ic-text: #1a1426; --ic-muted: #6b5f80; --ic-line: #e4dcef;
  --ic-brand: #6a3fb0; --ic-chip: #f0eaf8; --ic-pick: #6a3fb0; --ic-frame: #ece6f6; --ic-frame-2: #ffffff; --ic-ok: #17794b; --ic-ok-soft: #e4f4ec;
  --ic-shadow: 0 50px 90px -44px rgba(61, 34, 112, .45), 0 18px 40px -26px rgba(61, 34, 112, .35); } }

/* the words */
.ic-head { display: grid; justify-items: start; gap: 14px; }
.ic-title { margin: 0; font-family: var(--font-display); font-size: clamp(2.2rem, .8rem + 2.4vw, 3.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; color: var(--text); }
:lang(ar) .ic-title { letter-spacing: 0; line-height: 1.24; }
.ic-line { display: block; overflow: hidden; padding-block: .02em .1em; }
.ic-line > span { --e: clamp(0, var(--a) * 2.6 - .5 - var(--li, 0) * .4, 1); display: block; transform: translateY(calc((1 - var(--e)) * 108%)); }
.ic-line + .ic-line > span { --li: 1; }
.ic-title em { font-style: normal; color: #ffd400; }
.ic-lead { --e: clamp(0, var(--a) * 2.4 - 1.15, 1); margin: 0; max-inline-size: 460px; color: var(--muted); font-size: 1rem; line-height: 1.8; opacity: var(--e); transform: translateY(calc((1 - var(--e)) * 22px)); }

/* the six things inside, as one bar of boxes over the window: the box of the screen in view lights up and a
   yellow line runs across its top while that screen plays; the boxes before it stay filled */
.ic { --ic-cell: #211a31; --ic-cell-on: #2c2242; }
:root[data-theme="light"] .ic { --ic-cell: #ffffff; --ic-cell-on: #fff6cc; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .ic { --ic-cell: #ffffff; --ic-cell-on: #fff6cc; } }
.ic-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--site-line); border-radius: 14px; background: var(--site-line); overflow: hidden; box-shadow: 0 24px 50px -36px rgba(10, 4, 30, .6); }
.ic-feats > li { --fi: clamp(0, (var(--b) - var(--n) * .016) * 14, 1); display: flex; min-inline-size: 0; background: var(--ic-cell); opacity: var(--fi); transform: translateY(calc((1 - var(--fi)) * 16px)); }
.ic-feat { --fp: 0; position: relative; display: grid; align-content: start; gap: 6px; inline-size: 100%; padding: 14px 16px 15px; border: 0; background: transparent; color: var(--muted); font: inherit; text-align: start; cursor: pointer; transition: background-color .35s ease, color .35s ease; }
.ic-feat__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ic-feat__n { font-family: var(--font-display); font-size: .78rem; font-weight: 800; letter-spacing: .08em; color: var(--muted); opacity: .75; transition: color .35s ease, opacity .35s ease; }
.ic-feat__ico { display: grid; place-items: center; inline-size: 30px; block-size: 30px; border: 1px solid var(--site-line); border-radius: 50%; color: var(--brand); transition: background-color .35s ease, color .35s ease, border-color .35s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.ic-feat__ico svg { inline-size: 15px; block-size: 15px; }
.ic-feat__t { font-family: var(--font-display); font-size: 1rem; font-weight: 700; line-height: 1.3; color: inherit; }
.ic-feat__d { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: .8rem; line-height: 1.55; color: var(--muted); }
.ic-feat__fill { position: absolute; inset-inline: 0; inset-block-start: 0; block-size: 3px; background: #ffd400; transform: scaleX(var(--fp)); transform-origin: var(--ic-o, right); }
[dir="ltr"] .ic-feat__fill { --ic-o: left; }
.ic.is-final .ic-feat__fill { transform: scaleX(1); transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.ic-feat:hover, .ic-feat:focus-visible { background: var(--ic-cell-on); color: var(--text); outline: none; }
.ic-feat:focus-visible { box-shadow: inset 0 0 0 2px var(--brand); }
.ic-feat:hover .ic-feat__ico { transform: scale(1.1); }
.ic-feat.is-on { background: var(--ic-cell-on); color: var(--text); }
.ic-feat.is-on .ic-feat__n { color: #ffd400; opacity: 1; }
.ic-feat.is-on .ic-feat__ico { background: #ffd400; border-color: #ffd400; color: #1a1426; }
:root[data-theme="light"] .ic-feat.is-on .ic-feat__n { color: #6a3fb0; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .ic-feat.is-on .ic-feat__n { color: #6a3fb0; } }
.ic-feat.is-ping .ic-feat__ico { animation: icPing .6s cubic-bezier(.22, 1, .36, 1); }
@keyframes icPing { 0% { box-shadow: 0 0 0 0 rgba(255, 212, 0, .55); } 100% { box-shadow: 0 0 0 14px rgba(255, 212, 0, 0); } }

/* the end: one line and the way in */
.ic-end { --e: clamp(0, (var(--b) - .86) * 9, 1); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; opacity: var(--e); transform: translateY(calc((1 - var(--e)) * 24px)); }
.ic-final { margin: 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--text); }
.ic-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.ic-cta2 { position: relative; color: var(--text); font-family: var(--font-display); font-weight: 700; text-decoration: none; padding-block: 4px; }
.ic-cta2::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 2px; background: #ffd400; transform: scaleX(.35); transform-origin: var(--ic-o, right); transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
[dir="ltr"] .ic-cta2::after { --ic-o: left; }
.ic-cta2:hover::after, .ic-cta2:focus-visible::after { transform: scaleX(1); }
.ic-note { flex: 1 0 100%; margin: 0; text-align: center; font-size: .76rem; color: var(--muted); opacity: .8; }

/* ── the stage: the window and the three small ones ── */
.ic-stage { position: relative; container-type: inline-size; min-inline-size: 0; padding-block: 5% 10%; }
.ic-glow { position: absolute; inset: 8% 6% 0; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(122, 76, 184, .45), rgba(122, 76, 184, 0)); opacity: calc(var(--a) * .9); transform: scale(calc(.7 + var(--a) * .3)); pointer-events: none; }
:root[data-theme="light"] .ic-glow { background: radial-gradient(closest-side, rgba(106, 63, 176, .22), rgba(106, 63, 176, 0)); }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .ic-glow { background: radial-gradient(closest-side, rgba(106, 63, 176, .22), rgba(106, 63, 176, 0)); } }
.ic-device {
  --e1: clamp(0, (var(--a) - .3) / .7, 1); --e2: clamp(0, var(--b) / .14, 1); --e4: clamp(0, (var(--b) - .86) / .12, 1);
  position: relative; z-index: 1; display: grid; grid-template-rows: auto minmax(0, 1fr); inline-size: 88%; aspect-ratio: 16 / 10.4; container-type: inline-size;
  border: 1px solid var(--ic-line); border-radius: 12px; overflow: hidden; background: var(--ic-bg); box-shadow: var(--ic-shadow);
  opacity: var(--e1); transform-origin: 50% 60%;
  transform: translate3d(calc(var(--mx) * -6px), calc((1 - var(--e1)) * 110px + (1 - var(--e2)) * 26px + var(--my) * -4px), 0)
    perspective(1800px) rotateX(calc((1 - var(--e1)) * 26deg + (1 - var(--e2)) * 6deg + var(--e2) * (1 - var(--e4)) * 4deg))
    rotateY(calc(var(--ic-ry, -7deg) * var(--e2) * (1 - var(--e4) * .6)))
    scale(calc(.72 + var(--e1) * .14 + var(--e2) * .14));
}
[dir="ltr"] .ic-device { --ic-ry: 7deg; }
.ic-device::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .08) 48%, transparent 60%); transform: translateX(-120%); }
.ic-device.is-switch::after { animation: icSheen .9s cubic-bezier(.4, 0, .2, 1); }
@keyframes icSheen { to { transform: translateX(120%); } }
.ic-device.is-ping { animation: icFlash .7s ease; }
@keyframes icFlash { 0% { box-shadow: var(--ic-shadow), 0 0 0 0 rgba(255, 212, 0, .6); } 100% { box-shadow: var(--ic-shadow), 0 0 0 16px rgba(255, 212, 0, 0); } }

.ic-chrome { display: flex; align-items: center; gap: 2.2cqw; padding: .9cqw 1.4cqw; background: var(--ic-frame); border-block-end: 1px solid var(--ic-line); }
.ic-dots { display: flex; gap: .6cqw; }
.ic-dots i { inline-size: 1cqw; block-size: 1cqw; border-radius: 50%; background: var(--ic-line); }
.ic-dots i:first-child { background: #ff6159; } .ic-dots i:nth-child(2) { background: #ffbd2e; } .ic-dots i:last-child { background: #28c941; }
.ic-url { display: flex; align-items: center; gap: .7cqw; flex: 0 1 46%; margin-inline: auto; padding: .45cqw 1.4cqw; border-radius: 999px; background: var(--ic-frame-2); color: var(--ic-muted); font-size: 1.15cqw; white-space: nowrap; overflow: hidden; }
.ic-url > svg { inline-size: 1.2cqw; block-size: 1.2cqw; flex: none; }
.ic-url > span { display: inline-flex; min-inline-size: 0; overflow: hidden; }
.ic-url__p { display: inline-grid; color: var(--ic-text); }
.ic-url__p b { grid-area: 1 / 1; font-weight: 500; opacity: 0; transform: translateY(60%); transition: opacity .35s ease, transform .45s cubic-bezier(.22, 1, .36, 1); }
.ic-url__p b.is-on { opacity: 1; transform: none; }

.ic-app { display: grid; grid-template-columns: 19% minmax(0, 1fr); min-block-size: 0; }
.ic-sidebar { display: flex; flex-direction: column; gap: .5cqw; padding: 1.6cqw 1.1cqw; background: #100d1a radial-gradient(120% 60% at 50% 0%, rgba(122, 76, 184, .28), transparent 70%); color: #c9b8de; font-size: 1.2cqw; overflow: hidden; }
.ic-sidebar img { inline-size: 78%; block-size: auto; margin: 0 auto 1.2cqw; }
.ic-sidebar small { font-size: .85em; opacity: .6; padding-inline: .8cqw; }
.ic-sidebar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25cqw; }
.ic-sidebar li { display: flex; align-items: center; gap: .9cqw; padding: .75cqw .9cqw; border-radius: .8cqw; border-inline-start: 2px solid transparent; white-space: nowrap; transition: background-color .45s ease, color .45s ease, border-color .45s ease; }
.ic-sidebar li svg { inline-size: 1.4cqw; block-size: 1.4cqw; flex: none; }
.ic-sidebar li.is-on { background: rgba(122, 76, 184, .5); border-color: #ffd400; color: #fff; }

.ic-screens { position: relative; min-inline-size: 0; overflow: hidden; background: var(--ic-bg); }
.ic-screen { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.99); transition: opacity .45s ease, transform .6s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .6s; }
.ic-screen.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease .1s, transform .7s cubic-bezier(.22, 1, .36, 1) .1s, visibility 0s; }
.ic-screen.is-out { transform: translateY(-12px) scale(.985); }
.ic-cap { display: none; }
.ic-win { block-size: 100%; container-type: inline-size; }
.ic-scr { block-size: 100%; display: flex; flex-direction: column; font-size: 1.95cqw; line-height: 1.5; color: var(--ic-text); overflow: hidden; }
.ic-r { opacity: 0; transform: translateY(1.4em); transition: opacity .5s ease, transform .7s cubic-bezier(.22, 1, .36, 1); }
.ic-screen.is-on .ic-r { opacity: 1; transform: none; transition-delay: calc(.18s + var(--k, 0) * .07s); }

/* the platform's pieces, small */
.ic-top { display: flex; align-items: center; gap: 1em; padding: .8em 1.4em; border-block-end: 1px solid var(--ic-line); background: var(--ic-surface); }
.ic-top b { font-family: var(--font-display); font-size: 1.05em; }
.ic-top__menu { display: none; inline-size: 1.3em; block-size: 1.3em; }
.ic-top__who { display: flex; align-items: center; gap: .5em; margin-inline-start: auto; color: var(--ic-muted); font-size: .85em; }
.ic-top__who i { display: grid; place-items: center; inline-size: 1.9em; block-size: 1.9em; border-radius: 50%; background: var(--ic-chip); color: var(--ic-brand); font-style: normal; font-weight: 700; }
.ic-body { flex: 1 1 auto; min-block-size: 0; padding: 1.2em 1.4em; display: grid; align-content: start; gap: .9em; }
.ic-card { display: grid; align-content: start; gap: .5em; padding: .9em 1em; border: 1px solid var(--ic-line); border-radius: .9em; background: var(--ic-surface); box-shadow: 0 1px 2px rgba(26, 20, 38, .05); }
.ic-card > b { font-family: var(--font-display); font-size: 1em; }
.ic-chip { display: inline-flex; align-items: center; gap: .3em; padding: .15em .7em; border-radius: 999px; background: var(--ic-chip); color: var(--ic-brand); font-size: .78em; font-weight: 700; font-style: normal; }
.ic-chip--ok { background: var(--ic-ok-soft); color: var(--ic-ok); }
.ic-chips { display: flex; flex-wrap: wrap; gap: .4em; }
.ic-chips i { display: inline-flex; align-items: center; gap: .3em; padding: .15em .7em; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: .78em; font-style: normal; }
.ic-chips svg, .ic-chip svg { inline-size: 1em; block-size: 1em; }
.ic-meter { display: block; block-size: .55em; border-radius: 999px; background: var(--ic-chip); overflow: hidden; }
.ic-meter i { display: block; block-size: 100%; inline-size: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffd400, #f2a900); transform: scaleX(.6); transform-origin: var(--ic-o, right); transition: transform 1s cubic-bezier(.22, 1, .36, 1) .3s; }
[dir="ltr"] .ic-meter i { --ic-o: left; }
.ic-tabbar { display: none; }

/* 1 · the lesson */
.ic-lsn-hero { display: grid; gap: .25em; padding: 1em 1.2em; border-radius: .9em; color: #fff; background: linear-gradient(120deg, #3d2270, #6a3fb0 60%, #7a4cb8); }
.ic-lsn-hero small { opacity: .75; font-size: .8em; }
.ic-lsn-hero > b { font-family: var(--font-display); font-size: 1.45em; line-height: 1.2; }
.ic-lsn-grid { display: grid; grid-template-columns: minmax(0, 1fr) 31%; gap: .9em; align-items: start; }
.ic-player { position: relative; aspect-ratio: 16 / 9; border-radius: .9em; overflow: hidden; background: #0b0816; }
.ic-player img { inline-size: 100%; block-size: 100%; object-fit: cover; opacity: .55; }
.ic-wm { position: absolute; inset-block-start: 38%; inset-inline-start: 18%; color: rgba(255, 255, 255, .28); font-size: .9em; transform: rotate(-12deg); white-space: nowrap; pointer-events: none; }
.ic-play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; inline-size: 3.6em; block-size: 3.6em; border-radius: 50%; background: #ffd400; color: #1a1426; box-shadow: 0 0 0 .5em rgba(255, 212, 0, .2); transition: transform .4s ease, opacity .4s ease; }
.ic-play svg { inline-size: 1.4em; block-size: 1.4em; }
.ic-screen--lesson.is-playing .ic-play { opacity: 0; transform: scale(.7); }
.ic-ctrl { position: absolute; inset-inline: 0; inset-block-end: 0; display: flex; align-items: center; gap: .8em; padding: .6em .9em; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff; font-size: .75em; }
.ic-bar { flex: 1 1 auto; block-size: .4em; border-radius: 999px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.ic-bar b { display: block; block-size: 100%; background: #ffd400; transform: scaleX(var(--s)); transform-origin: var(--ic-o, left); }
[dir="rtl"] .ic-bar b { --ic-o: right; }
.ic-full { padding: .1em .6em; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; }
.ic-lsn-side { display: grid; gap: .7em; }
.ic-toc { list-style: none; margin: 0; padding: 0; display: grid; gap: .3em; font-size: .85em; color: var(--ic-muted); }
.ic-toc li { display: flex; align-items: center; gap: .5em; padding: .35em .5em; border-radius: .5em; }
.ic-toc li.is-here { background: var(--ic-chip); color: var(--ic-text); }
.ic-toc svg { inline-size: 1.1em; block-size: 1.1em; color: var(--ic-brand); flex: none; }
.ic-done { display: grid; gap: .55em; padding: .9em 1em; border: 1px solid var(--ic-line); border-radius: .9em; background: var(--ic-surface); transition: background-color .5s ease, border-color .5s ease; }
.ic-done__btn { display: block; padding: .6em .8em; border-radius: 999px; background: #ffd400; color: #1a1426; font-weight: 700; font-size: .82em; text-align: center; transition: opacity .3s ease; }
.ic-done__ok { display: none; align-items: center; gap: .4em; color: var(--ic-ok); font-family: var(--font-display); font-weight: 800; }
.ic-done__ok svg { inline-size: 1.2em; block-size: 1.2em; }
.ic-done small { color: var(--ic-muted); font-size: .78em; }
.ic-when-done { display: none !important; }
.ic-screen--lesson.is-done .ic-when-done { display: inline-flex !important; }
.ic-screen--lesson.is-done small.ic-when-done { display: block !important; }
.ic-screen--lesson.is-done .ic-when-open { display: none; }
.ic-screen--lesson.is-done .ic-done { background: var(--ic-ok-soft); border-color: transparent; }
.ic-screen--lesson.is-done .ic-done__btn { display: none; }
.ic-screen--lesson.is-done .ic-done__ok { display: flex; animation: icPop .5s cubic-bezier(.22, 1, .36, 1); }
.ic-screen--lesson.is-done .ic-done .ic-meter i { transform: scaleX(.65); }
@keyframes icPop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

.ic-file { display: flex; align-items: center; gap: .8em; padding: .7em .9em; border: 1px dashed var(--ic-line); border-radius: .9em; background: var(--ic-surface); }
.ic-file > span:nth-child(2) { display: grid; flex: 1 1 auto; min-inline-size: 0; }
.ic-file small { color: var(--ic-muted); font-size: .78em; justify-self: start; }
.ic-file__ico { display: grid; place-items: center; inline-size: 2.2em; block-size: 2.2em; border-radius: .6em; background: rgba(185, 50, 38, .14); color: #e0574a; flex: none; }
.ic-file__ico svg { inline-size: 1.1em; block-size: 1.1em; }

/* 2 · the live class (the room is dark in both looks, like the platform's) */
.ic-screen--live .ic-scr { background: #0b1020; color: #eef2fb; }
.ic-live { padding: 1em; gap: .8em; grid-template-rows: auto minmax(0, 1fr) auto; block-size: 100%; }
.ic-live__head { display: flex; align-items: center; gap: .6em; }
.ic-live__head b { font-family: var(--font-display); margin-inline-end: auto; }
.ic-rec { display: inline-flex; align-items: center; gap: .35em; padding: .15em .65em; border-radius: 999px; background: #b3261e; color: #fff; font-size: .75em; font-weight: 700; }
.ic-rec i { inline-size: .5em; block-size: .5em; border-radius: 50%; background: #fff; }
.ic.is-in[data-st="1"] .ic-rec i { animation: icBlink 1.4s ease-in-out infinite; }
@keyframes icBlink { 50% { opacity: .25; } }
.ic-pill { padding: .15em .65em; border-radius: 999px; background: #151b2e; border: 1px solid #2a3350; font-size: .75em; }
.ic-live__body { display: grid; grid-template-columns: minmax(0, 1fr) 30%; gap: .8em; min-block-size: 0; }
.ic-live__stage { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: .6em; min-block-size: 0; }
.ic-tile { position: relative; display: grid; place-items: center; border-radius: .7em; background: #151b2e; overflow: hidden; aspect-ratio: 16 / 9; }
.ic-tile--main { aspect-ratio: auto; min-block-size: 0; background: radial-gradient(80% 90% at 50% 100%, #2a2350, #151b2e); outline: 2px solid #22c55e; outline-offset: -2px; }
.ic-tile--main img { position: absolute; inset-block-end: 0; inset-inline: 0; margin-inline: auto; block-size: 112%; inline-size: auto; max-inline-size: none; object-fit: contain; }
.ic-tile__cap { position: absolute; inset-inline-start: .5em; inset-block-end: .4em; padding: .1em .5em; border-radius: .4em; background: rgba(0, 0, 0, .55); font-size: .72em; }
.ic-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6em; }
.ic-ini { display: grid; place-items: center; inline-size: 2.2em; block-size: 2.2em; border-radius: 50%; background: #2a3350; font-weight: 700; }
.ic-tile__mute { position: absolute; inset-inline-end: .4em; inset-block-start: .35em; color: #ff8a80; }
.ic-tile__mute svg { inline-size: .9em; block-size: .9em; }
.ic-hand { position: absolute; inset-inline-end: .35em; inset-block-start: .2em; font-size: 1.1em; opacity: 0; transform: translateY(.6em) rotate(-20deg); transition: opacity .35s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.ic-screen--live.is-hand .ic-hand { opacity: 1; transform: none; }
.ic-screen--live.is-hand .ic-tile--me { outline: 2px solid #ffd400; outline-offset: -2px; }
.ic-screen--live.is-hand .ic-live__hand { background: #ffd400; color: #1a1426; }
.ic-live__chat { display: flex; flex-direction: column; gap: .5em; padding: .8em; border-radius: .7em; background: #151b2e; border: 1px solid #2a3350; min-block-size: 0; }
.ic-live__chat > b { font-size: .85em; }
.ic-msg { margin: 0; padding: .45em .7em; border-radius: .7em; background: #202842; font-size: .78em; max-inline-size: 92%; }
.ic-msg small { display: block; color: #ffd400; font-weight: 700; }
.ic-msg--me { align-self: flex-end; background: #1c4a70; }
.ic-compose { display: flex; align-items: center; gap: .4em; margin-block-start: auto; padding: .4em .5em .4em .8em; border-radius: 999px; background: #0b1020; border: 1px solid #2a3350; color: #8b95b3; font-size: .75em; }
.ic-compose span { flex: 1 1 auto; }
.ic-compose i { display: grid; place-items: center; inline-size: 1.8em; block-size: 1.8em; border-radius: 50%; background: #ffd400; color: #1a1426; }
.ic-compose svg { inline-size: 1em; block-size: 1em; }
.ic-live__bar { display: flex; justify-content: center; flex-wrap: wrap; gap: .5em; }
.ic-live__bar span { display: inline-flex; align-items: center; gap: .35em; padding: .4em .8em; border-radius: 999px; background: #151b2e; border: 1px solid #2a3350; font-size: .75em; transition: background-color .4s ease, color .4s ease; }
.ic-live__bar svg { inline-size: 1.1em; block-size: 1.1em; }
.ic-live__leave { background: #b3261e !important; border-color: #b3261e !important; color: #fff; }

/* 3 · the test */
.ic-quizbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6em 1em; padding: .9em 1em; border: 1px solid var(--ic-line); border-radius: .9em; background: var(--ic-surface); }
.ic-quizbar > b { font-family: var(--font-display); }
.ic-timer { display: inline-flex; align-items: center; gap: .35em; padding: .15em .8em; border-radius: 999px; background: var(--ic-chip); color: var(--ic-brand); font-weight: 800; font-variant-numeric: tabular-nums; }
.ic-timer svg { inline-size: 1em; block-size: 1em; }
.ic-qprog { display: grid; gap: .3em; }
.ic-qprog__n { display: grid; color: var(--ic-muted); font-size: .8em; }
.ic-qprog__n span { grid-area: 1 / 1; opacity: 0; transition: opacity .3s ease; }
.ic-qprog__n span.is-on { opacity: 1; }
.ic-qprog i { display: block; block-size: .4em; border-radius: 999px; background: var(--ic-chip); overflow: hidden; }
.ic-qprog i b { display: block; block-size: 100%; background: var(--ic-pick); transform: scaleX(var(--ic-qp, 0)); transform-origin: var(--ic-o, right); transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
[dir="ltr"] .ic-qprog i b { --ic-o: left; }
.ic-qpills { display: flex; gap: .35em; align-self: end; }
.ic-qpill { display: grid; place-items: center; inline-size: 1.9em; block-size: 1.9em; border-radius: 50%; border: 1px solid var(--ic-line); font-size: .75em; font-style: normal; font-weight: 700; color: var(--ic-muted); transition: background-color .4s ease, color .4s ease, border-color .4s ease; }
.ic-qpill.is-here { border: 2px solid var(--ic-brand); color: var(--ic-text); }
.ic-qpill.is-done { background: var(--ic-chip); color: var(--ic-brand); }
.ic-quizq { display: grid; gap: .7em; padding: 1em 1.1em; border: 1px solid var(--ic-line); border-radius: .9em; background: var(--ic-surface); }
.ic-quizq__h { display: flex; align-items: center; gap: .5em; }
.ic-quizq__h b { font-family: var(--font-display); font-size: 1.1em; }
.ic-quizq__h small { color: var(--ic-muted); }
.ic-quizq__h .ic-chip { margin-inline-start: auto; }
.ic-qn { display: grid; place-items: center; inline-size: 1.9em; block-size: 1.9em; border-radius: .45em; background: var(--ic-pick); color: #fff; font-weight: 800; font-size: .85em; }
.ic-quizq p { margin: 0; font-weight: 600; }
.ic-choices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: .45em; }
.ic-choices li { display: flex; align-items: center; gap: .6em; padding: .55em .8em; border: 1px solid var(--ic-line); border-radius: .7em; font-size: .9em; transition: background-color .45s ease, color .45s ease, border-color .45s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.ic-choices i { display: grid; place-items: center; inline-size: 1.7em; block-size: 1.7em; border-radius: 50%; border: 1px solid var(--ic-line); font-style: normal; font-size: .85em; font-weight: 700; }
.ic-screen--exam.is-picked .ic-choice--pick { background: var(--ic-pick); border-color: transparent; color: #fff; transform: scale(1.02); }
.ic-screen--exam.is-picked .ic-choice--pick i { background: #fff; color: #6a3fb0; border-color: #fff; }
.ic-quiznav { display: flex; flex-wrap: wrap; align-items: center; gap: .5em; }
.ic-btn { padding: .45em 1.1em; border-radius: 999px; border: 1px solid var(--ic-line); background: var(--ic-surface); font-size: .82em; font-weight: 700; transition: background-color .4s ease, box-shadow .4s ease; }
.ic-btn--y { background: #ffd400; border-color: #ffd400; color: #1a1426; }
.ic-screen--exam.is-picked .ic-btn--next { box-shadow: 0 0 0 3px rgba(255, 212, 0, .45); }
.ic-saved { display: inline-flex; align-items: center; gap: .3em; margin-inline-start: auto; color: var(--ic-ok); font-size: .78em; opacity: 0; transition: opacity .4s ease; }
.ic-saved svg { inline-size: 1em; block-size: 1em; }
.ic-screen--exam.is-picked .ic-saved { opacity: 1; }

/* 4 · the dashboard */
.ic-dash__hi { display: flex; align-items: center; gap: .6em; }
.ic-dash__hi b { font-family: var(--font-display); font-size: 1.35em; }
.ic-hello { display: flex; align-items: center; gap: 1em; padding: .8em 1.2em; border-radius: .9em; background: linear-gradient(100deg, #100d1a, #3d2270); color: #fff; }
.ic-hello img { inline-size: 3.2em; block-size: 3.2em; border-radius: 50%; object-fit: cover; background: #2c2442; flex: none; }
.ic-hello b { font-family: var(--font-display); font-size: 1.05em; }
.ic-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6em; }
.ic-stat { display: grid; gap: .15em; padding: .7em .8em; border: 1px solid var(--ic-line); border-block-start: 3px solid #ffd400; border-radius: .8em; background: var(--ic-surface); min-inline-size: 0; }
.ic-stat small { color: var(--ic-muted); font-size: .7em; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ic-stat b { font-family: var(--font-display); font-size: 1.5em; line-height: 1.15; justify-self: start; }
.ic-dash__row { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.ic-cont { display: flex; align-items: center; gap: .6em; margin: 0; }
.ic-cont span:last-child { display: grid; }
.ic-cont small { color: var(--ic-muted); font-size: .78em; }
.ic-cont__play { display: grid; place-items: center; inline-size: 2.1em; block-size: 2.1em; border-radius: 50%; background: #ffd400; color: #1a1426; flex: none; }
.ic-cont__play svg { inline-size: 1em; block-size: 1em; }
.ic-meter--dash i { transform: scaleX(0); }
.ic-screen--dash.is-on .ic-meter--dash i { transform: scaleX(.65); }
.ic-tl { list-style: none; margin: 0; padding: 0 .8em 0 0; display: grid; gap: .35em; border-inline-start: 2px solid var(--ic-line); padding-inline-start: .7em; font-size: .8em; color: var(--ic-muted); }
.ic-tl u { color: var(--ic-brand); text-underline-offset: 2px; }

/* the three small windows around the big one */
.ic-float { --fe: clamp(0, (var(--b) - var(--fs)) / .1, 1); --fo: 1; --e4f: clamp(0, (var(--b) - .86) / .12, 1);
  position: absolute; z-index: 3; display: grid; gap: .55em; padding: 1em 1.1em; font-size: 1.32cqw; line-height: 1.5;
  border: 1px solid var(--ic-line); border-radius: 12px; background: var(--ic-surface); color: var(--ic-text); box-shadow: var(--ic-shadow);
  opacity: var(--fe); transition: box-shadow .4s ease, border-color .4s ease, translate .6s cubic-bezier(.22, 1, .36, 1), scale .6s cubic-bezier(.22, 1, .36, 1);
  translate: var(--fox, 0) 0; scale: var(--fz, 1);
  transform: translate3d(calc((1 - var(--fe)) * var(--dx) + var(--mx) * var(--dp) * 14px - var(--e4f, 0) * var(--tx, 0px)), calc((1 - var(--fe)) * var(--dy) + var(--my) * var(--dp) * 10px + (var(--b) - .5) * var(--dp) * -40px - var(--e4f) * var(--ty, 0px)), 0)
    rotate(calc((1 - var(--fe)) * var(--dr))); }
.ic-float--chat { --fs: .03; --dx: -140px; --dy: -60px; --dr: -6deg; --dp: 1.2; --tx: 14px; --out: 9cqw; inset-block-start: 0; inset-inline-end: 1.5%; inline-size: 30%; }
[dir="rtl"] .ic-float--chat { --dx: 140px; --tx: -14px; --out: -9cqw; }
.ic-float--res { --fs: .07; --dx: -120px; --dy: 90px; --dr: 5deg; --dp: .8; --tx: 10px; --out: 9cqw; inset-block-end: 16%; inset-inline-end: 1.5%; inline-size: 24%; grid-template-columns: auto minmax(0, 1fr); align-items: center; }
[dir="rtl"] .ic-float--res { --dx: 120px; --tx: -10px; --out: -9cqw; }
.ic-float--prog { --fs: .11; --dx: 80px; --dy: 140px; --dr: -4deg; --dp: 1; --tx: 0px; --out: 0px; inset-block-end: 0; inset-inline-start: 12%; inline-size: 33%; }
[dir="rtl"] .ic-float--prog { --dx: -80px; }
.ic-float__h { display: flex; align-items: center; gap: .5em; font-family: var(--font-display); font-size: .95em; }
.ic-float__h svg { inline-size: 1.2em; block-size: 1.2em; color: var(--ic-brand); }
.ic-float small { color: var(--ic-muted); font-size: .8em; }
.ic-qa { margin: 0; padding: .5em .7em; border-radius: .6em; border-inline-start: 3px solid #e0a100; background: var(--ic-surface-2); font-size: .85em; }
.ic-qa small { display: block; font-size: .85em; }
.ic-qa--a { border-color: var(--ic-ok); background: var(--ic-chip); }
.ic-ring { --rp: 80; display: grid; place-items: center; inline-size: 4.4em; block-size: 4.4em; border-radius: 50%;
  background: radial-gradient(closest-side, var(--ic-surface) 74%, transparent 76%), conic-gradient(var(--ic-ok) calc(var(--rp) * 1%), var(--ic-chip) 0); }
.ic-ring b { font-family: var(--font-display); font-size: .95em; }
.ic-res { display: grid; justify-items: start; gap: .2em; min-inline-size: 0; }
.ic-res b { font-family: var(--font-display); font-size: .9em; }
.ic-meter--float i { transform: scaleX(.65); }
/* the small window that belongs to the screen in view stands forward; the others step back a little */
.ic[data-st] .ic-float { --fz: .86; --fox: var(--out); }
.ic[data-st="0"] .ic-float--chat, .ic[data-st="2"] .ic-float--res, .ic[data-st="3"] .ic-float--prog, .ic.is-final .ic-float { --fz: 1; --fox: 0px; border-color: rgba(255, 212, 0, .55); }
.ic.is-final .ic-float { border-color: var(--ic-line); }
.ic-float--res { --ty: 130px; } .ic-float--prog { --ty: 120px; }
.ic[data-hl="chat"] .ic-float--chat, .ic[data-hl="prog"] .ic-float--prog { --fox: 0px; --fz: 1.05; border-color: #ffd400; box-shadow: var(--ic-shadow), 0 0 0 4px rgba(255, 212, 0, .28); }
.ic[data-hl="chat"] .ic-device, .ic[data-hl="prog"] .ic-device { filter: saturate(.85) brightness(.9); }
.ic-device { transition: filter .35s ease; }

/* ── a computer with room enough: the title and the bar of boxes on top, the window in the middle under them;
   the section holds still while its story plays ── */
@media (min-width: 1200px) and (min-height: 660px) {
  .ic-wrap { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); gap: 18px; }
  .ic-head { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: end; column-gap: 48px; }
  .ic-head .site-eyebrow { grid-column: 1 / -1; }
  .ic-title { display: flex; flex-wrap: wrap; column-gap: .26em; }
  .ic-lead { padding-inline-start: 20px; border-inline-start: 2px solid var(--site-line); }
  .ic-head { grid-area: 1 / 1; }
  .ic-feats { grid-area: 2 / 1; }
  .ic-stage { grid-area: 3 / 1; justify-self: center; align-self: start; padding-block: 2% 4%; inline-size: min(100%, calc((100svh - 270px) * 1.5)); }
  .ic-end { grid-area: 3 / 1; align-self: end; justify-self: center; z-index: 4; padding-block-end: 4px; }
  .ic.is-pin { --a: 0; --b: 0; block-size: 700vh; padding-block: 0; }
  .ic.is-pin .ic-pin { position: sticky; inset-block-start: 0; block-size: 100vh; block-size: 100svh; display: flex; padding-block: 92px 14px; }
  .ic.is-pin .ic-wrap { inline-size: 100%; block-size: 100%; }
  /* at the end the window steps back a little to make room for the way in */
  .ic .ic-device { transform-origin: 50% 15%; translate: 0 calc(var(--e4) * -2%); scale: calc(1 - var(--e4) * .2); }
  /* once the window comes in, the title steps up out of the way and the bar and the window take its place, so
     the window can be as big as the screen allows (--hd: the title's height, measured by the script) */
  .ic.is-pin { --hb: clamp(0, (var(--b) - .015) / .1, 1); }
  .ic.is-pin .ic-head { opacity: clamp(0, 1 - var(--hb) * 1.6, 1); translate: 0 calc(var(--hb) * var(--hd, 0px) * -.5); }
  .ic.is-pin .ic-feats, .ic.is-pin .ic-stage { translate: 0 calc(var(--hb) * var(--hd, 0px) * -1); }
  .ic-float--prog { inset-block-end: 12%; inset-inline-start: -1%; inline-size: 30%; }
}
@media (min-width: 1400px) { .ic .ic-wrap { max-inline-size: 1320px; } }
@media (min-width: 1200px) and (min-height: 660px) and (max-height: 820px) {
  .ic-title { font-size: clamp(2rem, 1rem + 2vw, 2.8rem); }
  .ic-lead { font-size: .9rem; line-height: 1.65; }
  .ic-feat { padding-block: 10px 11px; gap: 4px; }
  .ic-feat__d { display: none; }
  .ic-wrap { gap: 14px; }
  .ic-stage { inline-size: min(100%, calc((100svh - 205px) * 1.5)); }
}

/* ── a phone or a tablet: the boxes in rows, then the four screens one under another, each in a phone frame ── */
@media (max-width: 1199px), (max-height: 659px) {
  .ic:not(.is-pin) .ic-wrap { display: flex; flex-direction: column; gap: 28px; }
  .ic:not(.is-pin) .ic-head { order: 1; }
  .ic:not(.is-pin) .ic-feats { order: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ic:not(.is-pin) .ic-feats > li { opacity: 1; transform: none; }
  .ic:not(.is-pin) .ic-feat { padding: 12px 12px 13px; }
  .ic:not(.is-pin) .ic-feat__ico { inline-size: 28px; block-size: 28px; }
  .ic:not(.is-pin) .ic-feat__ico svg { inline-size: 14px; block-size: 14px; }
  .ic:not(.is-pin) .ic-feat__t { font-size: .92rem; }
  .ic:not(.is-pin) .ic-feat__d { display: none; }
  .ic:not(.is-pin) .ic-stage { order: 3; display: flex; flex-direction: column; gap: 56px; padding-block: 12px 24px; container-type: normal; }
  .ic:not(.is-pin) .ic-end { order: 4; opacity: 1; transform: none; justify-content: flex-start; }
  .ic:not(.is-pin) .ic-note { text-align: start; }
  .ic:not(.is-pin) .ic-glow, .ic:not(.is-pin) .ic-chrome, .ic:not(.is-pin) .ic-sidebar { display: none; }
  .ic:not(.is-pin) .ic-device, .ic:not(.is-pin) .ic-app, .ic:not(.is-pin) .ic-screens { display: contents; }
  .ic:not(.is-pin) .ic-device { opacity: 1; transform: none; }
  .ic:not(.is-pin) .ic-screen { position: relative; inset: auto; opacity: 1; visibility: visible; transform: none; display: grid; gap: 16px; transition: none; }
  .ic:not(.is-pin) .ic-screen--lesson { order: 10; } .ic:not(.is-pin) .ic-float--chat { order: 11; } .ic:not(.is-pin) .ic-screen--live { order: 20; } .ic:not(.is-pin) .ic-screen--exam { order: 30; } .ic:not(.is-pin) .ic-float--res { order: 31; } .ic:not(.is-pin) .ic-screen--dash { order: 40; } .ic:not(.is-pin) .ic-float--prog { order: 41; }
  .ic:not(.is-pin) .ic-cap { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 2px 12px; }
  .ic:not(.is-pin) .ic-cap__n { grid-row: span 2; font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1; color: #ffd400; }
  .ic:not(.is-pin) .ic-cap b { font-family: var(--font-display); font-size: 1.25rem; color: var(--text); }
  .ic:not(.is-pin) .ic-cap small { color: var(--muted); font-size: .92rem; line-height: 1.6; }
  .ic:not(.is-pin) .ic-win { block-size: auto; inline-size: min(100%, 360px); margin-inline: auto; border: 7px solid #0f0b18; border-radius: 30px; overflow: hidden; background: var(--ic-bg); box-shadow: var(--ic-shadow); }
  .ic:not(.is-pin) .ic-scr { block-size: auto; font-size: 3.8cqw; }
  .ic:not(.is-pin) .ic-r { opacity: 1; transform: none; }
  .ic:not(.is-pin) .ic-float { position: relative; inset: auto; inline-size: min(84%, 320px); margin-block-start: -86px; margin-inline: auto 4%; font-size: .86rem; --fz: 1; --fox: 0px; opacity: 1; transform: none; }
  .ic:not(.is-pin) .ic-float--res { margin-inline: 4% auto; }
  .ic:not(.is-pin)[data-st] .ic-float { --fz: 1; --fox: 0px; }
  /* the rise as each one comes into view */
  .js-motion .ic:not(.is-pin) .ic-screen .ic-cap, .js-motion .ic:not(.is-pin) .ic-win, .js-motion .ic:not(.is-pin) .ic-float { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .9s cubic-bezier(.22, 1, .36, 1); }
  .js-motion .ic:not(.is-pin) .ic-win { transform: translateY(60px) scale(.96); transition-delay: .12s; }
  .js-motion .ic:not(.is-pin) .ic-screen .ic-r { opacity: 0; transform: translateY(1.2em); }
  .js-motion .ic:not(.is-pin) .is-seen .ic-cap, .js-motion .ic:not(.is-pin) .is-seen .ic-win, .js-motion .ic:not(.is-pin) .ic-float.is-seen { opacity: 1; transform: none; }
  .js-motion .ic:not(.is-pin) .is-seen .ic-r { opacity: 1; transform: none; transition-delay: calc(.35s + var(--k, 0) * .08s); }
  .ic:not(.is-pin) .ic-float.is-seen { transition-delay: .25s; }
}
@media (min-width: 640px) and (max-width: 1199px) {
  .ic:not(.is-pin) .ic-screen { grid-template-columns: minmax(0, 1fr) 360px; align-items: center; gap: 32px; }
  .ic:not(.is-pin) .ic-screen:nth-of-type(even) .ic-cap { order: 2; }
  .ic:not(.is-pin) .ic-feats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ic:not(.is-pin) .ic-float { inline-size: 340px; }
  .ic:not(.is-pin) .ic-float--res { margin-inline: auto 4%; }
  .ic:not(.is-pin) .ic-float--prog { margin-inline: 4% auto; }
}
/* ── a phone or a tablet tall enough: the same story as on a computer. The section holds still; the title rises
   and steps aside, the bar of boxes stays on top, and one phone in the middle turns from the lesson to the live
   class, the test and the dashboard while the three small windows come in around it; at the end the way in. ── */
@media (max-width: 1199px) and (min-height: 480px) {
  .ic.is-pin { --a: 0; --b: 0; --hb: clamp(0, (var(--b) - .015) / .1, 1); block-size: 700vh; padding-block: 0; }
  .ic.is-pin .ic-pin { position: sticky; inset-block-start: 0; block-size: 100vh; block-size: 100svh; display: flex; padding-block: 84px 10px; }
  .ic.is-pin .ic-wrap { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); gap: 12px; inline-size: 100%; block-size: 100%; }
  .ic.is-pin .ic-head { grid-area: 1 / 1; gap: 10px; opacity: clamp(0, 1 - var(--hb) * 1.6, 1); translate: 0 calc(var(--hb) * var(--hd, 0px) * -.5); }
  .ic.is-pin .ic-title { font-size: clamp(2rem, 1.2rem + 3vw, 2.8rem); }
  .ic.is-pin .ic-lead { font-size: .92rem; line-height: 1.7; }
  .ic.is-pin .ic-feats, .ic.is-pin .ic-stage { translate: 0 calc(var(--hb) * var(--hd, 0px) * -1); }
  /* the boxes: three a row on a phone (icon and name), six on a tablet */
  .ic.is-pin .ic-feats { grid-area: 2 / 1; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 12px; }
  .ic.is-pin .ic-feat { display: flex; align-items: center; gap: 7px; padding: 9px 9px 10px; }
  .ic.is-pin .ic-feat__top { display: contents; }
  .ic.is-pin .ic-feat__n, .ic.is-pin .ic-feat__d { display: none; }
  .ic.is-pin .ic-feat__ico { flex: none; inline-size: 24px; block-size: 24px; }
  .ic.is-pin .ic-feat__ico svg { inline-size: 12px; block-size: 12px; }
  .ic.is-pin .ic-feat__t { min-inline-size: 0; font-size: .74rem; line-height: 1.25; }
  /* the stage: one phone in the middle, the small windows at its sides */
  .ic.is-pin .ic-stage { grid-area: 3 / 1; align-self: start; padding-block: 8px 4%; }
  .ic.is-pin .ic-device { inline-size: min(72%, calc((100svh - 250px) * .5), 340px); margin-inline: auto; aspect-ratio: 9 / 18.5; grid-template-rows: minmax(0, 1fr);
    border: 6px solid #0f0b18; border-radius: 28px; transform-origin: 50% 10%; translate: 0 calc(var(--e4) * -2%); scale: calc(1 - var(--e4) * .3); }
  .ic.is-pin .ic-chrome, .ic.is-pin .ic-sidebar { display: none; }
  .ic.is-pin .ic-app { grid-template-columns: minmax(0, 1fr); }
  .ic.is-pin .ic-scr { font-size: 4.4cqw; }
  .ic.is-pin .ic-float { font-size: .62rem; inline-size: 46%; padding: .9em 1em; border-radius: 10px; }
  .ic.is-pin .ic-float--chat { inset-block-start: 4%; inset-inline-end: 0; --out: 6cqw; }
  .ic.is-pin .ic-float--res { inset-block-end: 34%; inset-inline-end: auto; inset-inline-start: 0; inline-size: 40%; --out: -6cqw; --tx: -8px; --ty: 70px; }
  .ic.is-pin .ic-float--prog { inset-block-end: 12%; inset-inline-start: auto; inset-inline-end: 0; --out: 6cqw; --ty: 60px; }
  [dir="rtl"] .ic.is-pin .ic-float--chat, [dir="rtl"] .ic.is-pin .ic-float--prog { --out: -6cqw; }
  [dir="rtl"] .ic.is-pin .ic-float--res { --out: 6cqw; --tx: 8px; }
  /* the way in at the end, under the phone */
  .ic.is-pin .ic-end { grid-area: 3 / 1; align-self: end; justify-self: center; z-index: 4; gap: 8px 18px; }
  .ic.is-pin .ic-final { flex: 1 0 100%; text-align: center; font-size: 1.05rem; }
  .ic.is-pin .ic-ctas { justify-content: center; }
  .ic.is-pin .ic-note { font-size: .68rem; }
}
/* on a phone only the small window that belongs to the screen in view stands by the phone (the questions with the
   lesson, the result with the test, the progress with the dashboard); at the end all three come round it */
@media (max-width: 639px) and (min-height: 480px) {
  .ic.is-pin .ic-float { opacity: calc(var(--fe) * var(--fv, 1)); transition: opacity .45s ease, translate .6s cubic-bezier(.22, 1, .36, 1), scale .6s cubic-bezier(.22, 1, .36, 1); }
  .ic.is-pin[data-st] .ic-float { --fv: 0; }
  /* the boxes in one row to swipe through; the row follows the page to the box of the screen in view */
  .ic.is-pin .ic-feats { display: flex; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
  .ic.is-pin .ic-feats::-webkit-scrollbar { display: none; }
  .ic.is-pin .ic-feats > li { flex: 0 0 40%; scroll-snap-align: center; }
  .ic.is-pin .ic-feat { padding-block: 11px 12px; }
  .ic.is-pin[data-st="0"] .ic-float--chat, .ic.is-pin[data-st="2"] .ic-float--res, .ic.is-pin[data-st="3"] .ic-float--prog, .ic.is-pin.is-final .ic-float { --fv: 1; }
  .ic.is-pin[data-st="4"] .ic-float--chat, .ic.is-pin[data-st="5"] .ic-float--prog, .ic.is-pin[data-st="5"] .ic-float--res { --fv: 1; }
}
@media (max-width: 639px) and (min-height: 480px) and (max-height: 720px) {
  .ic.is-pin .ic-float { font-size: .54rem; inline-size: 40%; }
  .ic.is-pin .ic-float--res { inline-size: 36%; }
}
@media (min-width: 640px) and (max-width: 1199px) and (min-height: 480px) {
  .ic.is-pin .ic-feats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ic.is-pin .ic-feat { flex-direction: column; align-items: flex-start; }
  .ic.is-pin .ic-feat__t { font-size: .82rem; }
  .ic.is-pin .ic-float { font-size: .78rem; inline-size: 34%; }
  .ic.is-pin .ic-float--res { inline-size: 30%; }
}

/* a phone and a tablet walk all six boxes: the fifth (questions to the teacher) and the sixth (the progress, with the
   test result) stand large over the middle of the phone, which dims behind them on the dashboard */
@media (max-width: 1199px) and (min-height: 480px) {
  .ic.is-pin .ic-device { transition: filter .45s ease; }
  .ic.is-pin[data-st="4"]:not(.is-final) .ic-device, .ic.is-pin[data-st="5"]:not(.is-final) .ic-device { filter: brightness(.42) saturate(.7); }
  .ic.is-pin[data-st="4"]:not(.is-final) .ic-float--chat, .ic.is-pin[data-st="5"]:not(.is-final) .ic-float--prog, .ic.is-pin[data-st="5"]:not(.is-final) .ic-float--res {
    --fox: 0px; --fz: 1; --tx: 0px; --ty: 0px; z-index: 5; inset-inline: 0; inset-block-end: auto; margin-inline: auto; inline-size: min(86%, 330px);
    font-size: .8rem; padding: 1.1em 1.2em; border-color: rgba(255, 212, 0, .6); animation: icStand .6s cubic-bezier(.22, 1, .36, 1) both; }
  .ic.is-pin[data-st="4"]:not(.is-final) .ic-float--chat { inset-block-start: 22%; }
  .ic.is-pin[data-st="5"]:not(.is-final) .ic-float--prog { inset-block-start: 20%; }
  .ic.is-pin[data-st="5"]:not(.is-final) .ic-float--res { inset-block-start: 46%; animation-delay: .12s; }
}
@media (min-width: 640px) and (max-width: 1199px) and (min-height: 480px) {
  .ic.is-pin[data-st="4"]:not(.is-final) .ic-float:not(.ic-float--chat), .ic.is-pin[data-st="5"]:not(.is-final) .ic-float--chat { opacity: .18; }
}
/* a computer the same: the questions, then the progress with the test result, large over the dimmed window */
@media (min-width: 1200px) and (min-height: 660px) {
  .ic.is-pin .ic-device { transition: filter .45s ease; }
  .ic.is-pin[data-st="4"]:not(.is-final) .ic-device, .ic.is-pin[data-st="5"]:not(.is-final) .ic-device { filter: brightness(.42) saturate(.7); }
  .ic.is-pin[data-st="4"]:not(.is-final) .ic-float--chat, .ic.is-pin[data-st="5"]:not(.is-final) .ic-float--prog, .ic.is-pin[data-st="5"]:not(.is-final) .ic-float--res {
    --fox: 0px; --fz: 1; --tx: 0px; --ty: 0px; --dp: 0; z-index: 5; inset-inline: 0; inset-block-end: auto; margin-inline: auto; inline-size: 40%;
    font-size: 1.8cqw; padding: 1.2em 1.4em; border-color: rgba(255, 212, 0, .6); animation: icStand .6s cubic-bezier(.22, 1, .36, 1) both; }
  .ic.is-pin[data-st="4"]:not(.is-final) .ic-float--chat { inset-block-start: 20%; }
  .ic.is-pin[data-st="5"]:not(.is-final) .ic-float--prog { inset-block-start: 18%; }
  .ic.is-pin[data-st="5"]:not(.is-final) .ic-float--res { inset-block-start: 50%; inline-size: 34%; animation-delay: .12s; }
  .ic.is-pin[data-st="4"]:not(.is-final) .ic-float:not(.ic-float--chat), .ic.is-pin[data-st="5"]:not(.is-final) .ic-float--chat { opacity: .14; }
}
@keyframes icStand { from { opacity: 0; translate: 0 36px; scale: .9; } }
@media (prefers-reduced-motion: reduce) { .ic.is-pin .ic-float { animation: none !important; } }

/* "scroll down": while the section holds still and has more to show, a large faint mark stands behind the window
   at the bottom: three chevrons lighting one after another downwards; it leaves when the way in appears */
.ic-hint { display: none; }
@media (min-width: 1200px) and (min-height: 660px) { .ic.is-pin .ic-hint { display: grid; } }
@media (max-width: 1199px) and (min-height: 480px) { .ic.is-pin .ic-hint { display: grid; } }
.ic-pin { position: relative; }
.ic.is-pin .ic-wrap { position: relative; z-index: 1; }
.ic-hint { position: absolute; z-index: 0; inset-block-end: 2vh; inset-inline: 0; margin-inline: auto; inline-size: max-content; justify-items: center; gap: 6px; pointer-events: none;
  color: var(--brand); opacity: calc(clamp(0, (var(--a) - .55) * 4, 1) * (1 - clamp(0, (var(--b) - .78) * 14, 1))); }
.ic-hint__chev { display: grid; justify-items: center; margin-block-end: -8px; }
.ic-hint__chev svg { inline-size: clamp(90px, 14vw, 170px); block-size: auto; margin-block-start: -18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .16; }
.ic-hint__chev svg:first-child { margin-block-start: 0; }
.ic-hint__t { font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); opacity: .7; }
.ic.is-in:not(.is-final) .ic-hint__chev svg { animation: icChev 2.1s ease-in-out infinite; }
.ic.is-in:not(.is-final) .ic-hint__chev svg:nth-child(2) { animation-delay: .22s; }
.ic.is-in:not(.is-final) .ic-hint__chev svg:nth-child(3) { animation-delay: .44s; }
@keyframes icChev { 0%, 100% { opacity: .1; transform: translateY(0); } 40% { opacity: .5; stroke: #ffd400; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  .ic-hint__chev svg { animation: none !important; opacity: .22; }
  /* less motion asked for: the section still holds and changes screen with the scroll, but nothing flies, tilts or slides */
  .ic.is-pin .ic-device { transform: none; opacity: 1; }
  .ic.is-pin .ic-float { --fe: 1; transform: none; }
  .ic.is-pin .ic-feats > li { --fi: 1; }
}

/* the screens drawn for a phone: the sidebar gives way to the bottom tabs, columns stack */
@container (max-width: 360px) {
  .ic-top { padding: .7em 1em; }
  .ic-top__menu { display: block; }
  .ic-top__who { display: none; }
  .ic-body { padding: 1em; }
  .ic-lsn-grid, .ic-live__body, .ic-dash__row { grid-template-columns: minmax(0, 1fr); }
  .ic-choices { grid-template-columns: minmax(0, 1fr); }
  .ic-stats { grid-template-columns: 1fr 1fr; }
  .ic-tile--main { aspect-ratio: 4 / 3; }
  .ic-live { block-size: auto; }
  .ic-live__chat .ic-compose { margin-block-start: .3em; }
  .ic-tabbar { display: flex; justify-content: space-around; padding: .7em .5em; border-block-start: 1px solid var(--ic-line); background: var(--ic-surface); color: var(--ic-muted); }
  .ic-tabbar svg { inline-size: 1.4em; block-size: 1.4em; }
  .ic-screen--lesson .ic-tabbar svg:nth-child(2), .ic-screen--exam .ic-tabbar svg:nth-child(3), .ic-screen--dash .ic-tabbar svg:nth-child(1) { color: var(--ic-brand); }
}

@media (prefers-reduced-motion: reduce) {
  .ic-screen, .ic-screen.is-on, .ic-r, .ic-url__p b, .ic-feat, .ic-feat__ico, .ic-meter i, .ic-choices li, .ic-hand, .ic-play { transition: none !important; }
  .ic-device.is-switch::after, .ic-device.is-ping, .ic-feat.is-ping .ic-feat__ico, .ic-done__ok, .ic-rec i { animation: none !important; }
}

/* ══ 0.45 the student journey: six sheets of paper dropped on a desk, one for each step from the account at the
   centre to the grade: lined notebook paper with a red margin, the number of the step written large, its words,
   and a small picture of the platform taped on with yellow tape. They fall onto the desk one by one as the section
   comes into view, scattered and turned; a click, a tap or Enter lifts the sheet on top away (it flies off
   turning) and the one under it plays its little moment. At the end the way in, and the sheets can be dropped
   again. The pictures are examples, marked so. ══ */
.sj { --dir: 1; position: relative; overflow-x: clip;
  --sj-surface: #1a1626; --sj-surface-2: #221c31; --sj-text: #ffffff; --sj-muted: #a497b8; --sj-line: rgba(201, 184, 222, .16);
  --sj-chip: rgba(201, 184, 222, .1); --sj-ok: #4fd18b; --sj-ok-soft: rgba(79, 209, 139, .14);
  --sj-desk: #1d1729; --sj-desk-2: #241d33; --sj-desk-line: rgba(201, 184, 222, .12);
  /* the paper stays paper in both looks */
  --sj-paper: #fbf8f1; --sj-ink: #2a2433; --sj-ink-2: #5a5266; --sj-rule: #dfe9f5; --sj-margin: #f0a1a1; }
[dir="rtl"] .sj { --dir: -1; }
:root[data-theme="light"] .sj { --sj-surface: #ffffff; --sj-surface-2: #f8f5fc; --sj-text: #1a1426; --sj-muted: #6b5f80; --sj-line: #e4dcef;
  --sj-chip: #f0eaf8; --sj-ok: #17794b; --sj-ok-soft: #e4f4ec; --sj-desk: #efe6d2; --sj-desk-2: #e6dbc2; --sj-desk-line: rgba(90, 70, 40, .1); }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .sj { --sj-surface: #ffffff; --sj-surface-2: #f8f5fc; --sj-text: #1a1426; --sj-muted: #6b5f80; --sj-line: #e4dcef;
  --sj-chip: #f0eaf8; --sj-ok: #17794b; --sj-ok-soft: #e4f4ec; --sj-desk: #efe6d2; --sj-desk-2: #e6dbc2; --sj-desk-line: rgba(90, 70, 40, .1); } }
.sj-wrap { display: grid; gap: 26px; }
.sj-head { display: grid; justify-items: center; gap: 12px; text-align: center; }
.sj-title { margin: 0; text-wrap: balance; }
.sj-lead { margin: 0; max-inline-size: 56ch; color: var(--muted); line-height: 1.8; }

/* the desk: a wide board with a faint grain, the pile in its middle */
.sj-desk { --pw: min(360px, 82vw); position: relative; display: grid; place-items: center; min-block-size: 620px; border-radius: 28px; padding: 40px 16px;
  background: repeating-linear-gradient(100deg, transparent 0 46px, var(--sj-desk-line) 46px 47px), radial-gradient(120% 90% at 50% 40%, var(--sj-desk-2), var(--sj-desk));
  border: 1px solid var(--site-line); }
.sj-pile { position: relative; display: grid; inline-size: var(--pw); margin: 0; padding: 0; list-style: none; }

/* a sheet: lined paper, a red margin on the inline-end side, the number written large */
.sj-sheet { grid-area: 1 / 1; position: relative; z-index: var(--z); display: grid; align-content: start; gap: 8px; min-block-size: 500px; padding: 26px 22px 20px; padding-inline-start: 48px;
  border-radius: 4px; color: var(--sj-ink); cursor: pointer;
  background-image: linear-gradient(to var(--sj-end, left), transparent calc(100% - 30px), var(--sj-margin) calc(100% - 30px) calc(100% - 28.5px), transparent calc(100% - 28.5px)),
    repeating-linear-gradient(transparent 0 29px, var(--sj-rule) 29px 30px);
  background-color: var(--sj-paper);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 18px 30px -18px rgba(10, 4, 24, .55), 0 2px 6px rgba(10, 4, 24, .12);
  transform: translate(calc(var(--x) * 1%), calc(var(--y) * 1%)) rotate(var(--r));
  transition: transform .8s cubic-bezier(.25, .8, .3, 1), opacity .5s ease, box-shadow .4s ease; }
[dir="rtl"] .sj-sheet { --sj-end: right; }
.sj-sheet:not(.is-top) { pointer-events: none; }
.sj-sheet:not(.is-top) .sj-lift { visibility: hidden; }
.sj-num { font-family: var(--font-display); font-size: 3.2rem; font-weight: 800; line-height: 1; color: #c98a00; letter-spacing: -.02em; }
.sj-h { margin: 0; font-family: var(--font-display); font-size: 1.55rem; line-height: 1.25; color: var(--sj-ink); }
.sj-d { margin: 0; color: var(--sj-ink-2); font-size: .95rem; line-height: 30px; }
/* the picture of the platform, taped on */
.sj-photo { position: relative; justify-self: center; inline-size: 100%; margin-block-start: 10px; padding: 8px 8px 22px; background: #ffffff; border: 1px solid #e6e1d6; rotate: -2deg;
  box-shadow: 0 8px 18px -12px rgba(10, 4, 24, .45); }
.sj-sheet:nth-child(even) .sj-photo { rotate: 1.6deg; }
.sj-photo::before { content: ""; position: absolute; inset-block-start: -11px; inset-inline-start: calc(50% - 40px); inline-size: 80px; block-size: 22px; background: rgba(255, 212, 0, .62); rotate: 3deg;
  -webkit-mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent 0); mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent 0); }
.sj-photo__ex { position: absolute; inset-block-end: 4px; inset-inline-end: 10px; font-size: .64rem; color: #8b8478; }
/* the button on the sheet (the whole sheet answers a click; this one is for the keyboard and for clarity) */
.sj-lift { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-block-start: 8px; padding: 8px 14px; border: 1.5px dashed #c98a00; border-radius: 999px;
  background: transparent; color: #8a5d00; font: inherit; font-size: .85rem; font-weight: 800; cursor: pointer; }
.sj-lift svg { inline-size: 14px; block-size: 14px; }
.sj-lift:focus-visible { outline: 3px solid #ffd400; outline-offset: 3px; }

/* as the section comes into view the sheets fall onto the desk, the bottom one first */
.js-motion .sj.is-js:not(.is-in) .sj-sheet { opacity: 0; transform: translate(calc(var(--x) * 1%), -60%) scale(1.18) rotate(calc(var(--r) * -2)); transition: none; }
.sj.is-dropping .sj-sheet { transition-delay: calc((var(--z) - 1) * .11s); }
/* lifted: it slides to the side of the desk and stays there, smaller, on a pile of the steps already read (on a
   narrow desk the read pile lies under the sheets); the place is worked out by the script (--gx, --gy, --gs, --gr) */
.sj-sheet.is-gone { opacity: 1; transform: translate(var(--gx, 0px), var(--gy, 0px)) rotate(var(--gr, 0deg)) scale(var(--gs, .6)) !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 12px 22px -14px rgba(10, 4, 24, .55), 0 2px 5px rgba(10, 4, 24, .12);
  transition: transform .85s cubic-bezier(.3, .8, .3, 1), box-shadow .5s ease; }
.sj-sheet.is-gone .sj-lift { visibility: hidden; }
.sj-desk { transition: padding .5s ease; }
.sj-desk.has-tray { padding-block-end: calc(36px + var(--tray, 0px)); }
.sj-sheet.is-top { box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 30px 46px -22px rgba(10, 4, 24, .6), 0 4px 10px rgba(10, 4, 24, .14); }
.sj-sheet.is-top:active { transform: translate(calc(var(--x) * 1%), calc(var(--y) * 1% - 6px)) rotate(var(--r)) scale(1.01); }

/* when all six are gone: the way in on the empty desk */
.sj-done { position: absolute; inset: 0; z-index: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center;
  opacity: 0; visibility: hidden; transition: opacity .5s ease .3s, visibility 0s linear .8s; }
.sj.is-done .sj-done { opacity: 1; visibility: visible; transition: opacity .5s ease .45s, visibility 0s; }
.sj-done__t { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); color: var(--text); }
.sj-done__d { color: var(--muted); }
.sj-done__more { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; }
.sj-cta2 { color: var(--muted); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.sj-again { padding: 8px 14px; border: 1px solid var(--site-line); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }

/* the count under the desk */
.sj-count { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 0; color: var(--muted); font-size: .9rem; font-weight: 700; }
.sj-pips { display: flex; gap: 6px; }
.sj-pips i { inline-size: 24px; block-size: 4px; border-radius: 99px; background: var(--site-line); transition: background .35s ease; }
.sj-pips i.is-on { background: #ffd400; }

/* without the script, or on a very narrow screen with less motion: the six sheets one under another */
.sj:not(.is-js) .sj-desk { min-block-size: 0; }
.sj:not(.is-js) .sj-pile { gap: 26px; }
.sj:not(.is-js) .sj-sheet { grid-area: auto; transform: rotate(var(--r)); min-block-size: 0; }
.sj:not(.is-js) .sj-lift, .sj:not(.is-js) .sj-count, .sj:not(.is-js) .sj-again { display: none; }
.sj:not(.is-js) .sj-done { position: static; opacity: 1; visibility: visible; }

@media (max-width: 639px) {
  .sj-desk { --pw: min(330px, calc(100vw - 64px)); min-block-size: 580px; padding: 36px 10px; border-radius: 22px; }
  .sj-sheet { min-block-size: 470px; padding: 20px 16px 16px; padding-inline-start: 40px; }
  .sj-num { font-size: 2.6rem; }
  .sj-h { font-size: 1.3rem; }
  .sj-d { font-size: .88rem; line-height: 28px; }
  .sj-mini { font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sj *, .sj *::before { animation: none !important; }
  .sj-sheet { transition: opacity .3s ease !important; }
  .sj-sheet.is-gone { transition: none !important; }
}

/* the small screens taped on the sheets: drawn in the platform's own look */
.sj-mini { position: relative; display: grid; gap: 10px; align-content: start; inline-size: 100%; max-inline-size: 360px; padding: 14px 16px 30px; border: 1px solid var(--sj-line); border-radius: 18px;
  background: var(--sj-surface); color: var(--sj-text); font-size: .86rem; line-height: 1.5; box-shadow: var(--sj-shadow); }
.sj-mini svg { inline-size: 1.1em; block-size: 1.1em; flex: none; }
.sj-m-ok { display: grid; place-items: center; inline-size: 1.7em; block-size: 1.7em; margin-inline-start: auto; border-radius: 50%; background: var(--sj-ok-soft); color: var(--sj-ok); }
.sj-m-ok svg { inline-size: .9em; block-size: .9em; }
.sj-m-desk { display: inline-flex; align-items: center; gap: .45em; justify-self: start; padding: .3em .8em; border-radius: 99px; background: var(--sj-chip); color: var(--brand); font-size: .82em; font-weight: 700; }
.sj-m-card, .sj-m-row, .sj-m-open, .sj-m-score, .sj-m-q { display: flex; align-items: center; gap: .7em; padding: .7em .8em; border: 1px solid var(--sj-line); border-radius: 12px; background: var(--sj-surface-2); }
.sj-m-card > span:nth-child(2), .sj-m-score > span:nth-child(2) { display: grid; gap: .15em; }
.sj-m-card small { color: var(--sj-muted); }
.sj-m-av { display: grid; place-items: center; inline-size: 2.4em; block-size: 2.4em; border-radius: 50%; background: var(--sj-chip); color: var(--brand); }
.sj-m-btn { justify-self: stretch; padding: .65em; border-radius: 10px; background: #ffd400; color: #1a1426; font-weight: 800; text-align: center; }
.sj-m-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sj-m-chips i, .sj-m-ans i { font-style: normal; padding: .35em .8em; border-radius: 99px; border: 1px solid var(--sj-line); background: var(--sj-surface-2); color: var(--sj-muted); font-size: .82em; transition: background .35s ease, color .35s ease, border-color .35s ease; }
.sj-m-chips i.is-pick, .sj-m-pay i.is-pick, .sj-m-ans i.is-pick { background: #ffd400; border-color: #ffd400; color: #1a1426; font-weight: 700; }
.sj-m-row svg { color: var(--brand); }
.sj-m-row--dim { opacity: .55; }
.sj-m-pay { display: grid; gap: 6px; }
.sj-m-pay i { display: flex; align-items: center; gap: .6em; padding: .55em .8em; border-radius: 10px; border: 1px solid var(--sj-line); background: var(--sj-surface-2); font-style: normal; color: var(--sj-muted); }
.sj-m-open b { color: var(--sj-ok); }
.sj-m-lock { position: relative; display: grid; place-items: center; inline-size: 2em; block-size: 2em; border-radius: 50%; background: var(--sj-ok-soft); color: var(--sj-ok); }
.sj-m-lock svg { grid-area: 1 / 1; }
.sj-m-lock svg:first-child { opacity: 0; }
.sj-m-video { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8.5; border-radius: 12px; overflow: hidden; background: radial-gradient(120% 90% at 50% 30%, #3a2a5c, #120e1c); color: #fff; }
.sj-m-play { display: grid; place-items: center; inline-size: 2.6em; block-size: 2.6em; border-radius: 50%; background: #ffd400; color: #1a1426; }
.sj-m-wm { position: absolute; inset-block-start: 14%; inset-inline-start: 10%; font-size: .72em; color: rgba(255, 255, 255, .45); }
.sj-m-prog { position: absolute; inset-inline: 10px; inset-block-end: 9px; block-size: 4px; border-radius: 99px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.sj-m-prog i { display: block; block-size: 100%; inline-size: 72%; background: #ffd400; }
.sj-m-q { justify-content: space-between; }
.sj-m-time { display: inline-flex; align-items: center; gap: .3em; padding: .2em .6em; border-radius: 99px; background: var(--sj-chip); color: var(--brand); font-size: .82em; font-weight: 700; }
.sj-m-ans { display: grid; gap: 6px; }
.sj-m-ans i { border-radius: 10px; padding: .5em .8em; }
.sj-m-saved { display: inline-flex; align-items: center; gap: .4em; justify-self: start; color: var(--sj-ok); font-size: .82em; font-weight: 700; }
@property --sjr { syntax: '<number>'; inherits: true; initial-value: .9; }
.sj-m-ring { --sjr: .9; display: grid; place-items: center; inline-size: 4.2em; block-size: 4.2em; border-radius: 50%; flex: none;
  background: radial-gradient(closest-side, var(--sj-surface-2) 74%, transparent 76%), conic-gradient(var(--sj-ok) calc(var(--sjr) * 360deg), var(--sj-line) 0); }
.sj-m-ring b { font-size: .86em; }
.sj-m-pass { justify-self: start; padding: .15em .6em; border-radius: 99px; background: var(--sj-ok-soft); color: var(--sj-ok); font-size: .78em; font-style: normal; font-weight: 700; }
.sj-m-next { display: flex; align-items: center; gap: .6em; padding: .65em .8em; border-radius: 10px; background: #ffd400; color: #1a1426; font-weight: 800; }

/* the little moment each small screen plays when the train reaches its stop */
.sj-sheet.is-top .sj-m-card { animation: sjUp .6s cubic-bezier(.22, 1, .36, 1) .15s both; }
.sj-sheet.is-top .sj-m-card .sj-m-ok, .sj-sheet.is-top .sj-m-row .sj-m-ok { animation: sjPop .45s cubic-bezier(.3, 1.6, .5, 1) .9s both; }
.sj-sheet.is-top .sj-m-btn { animation: sjUp .6s cubic-bezier(.22, 1, .36, 1) .45s both; }
.sj-sheet.is-top .sj-m-chips i.is-pick { animation: sjPick .5s ease .5s both; }
.sj-sheet.is-top .sj-m-row { animation: sjUp .6s cubic-bezier(.22, 1, .36, 1) .3s both; }
.sj-sheet.is-top .sj-m-row--dim { animation-delay: .45s; }
.sj-sheet.is-top .sj-m-pay i.is-pick { animation: sjPick .5s ease .35s both; }
.sj-sheet.is-top .sj-m-open { animation: sjUp .6s cubic-bezier(.22, 1, .36, 1) .9s both; }
.sj-sheet.is-top .sj-m-lock svg:first-child { animation: sjLockA 1.6s ease .9s both; }
.sj-sheet.is-top .sj-m-lock svg:last-child { animation: sjLockB 1.6s ease .9s both; }
.sj-sheet.is-top .sj-m-prog i { animation: sjBar 2.6s cubic-bezier(.4, 0, .2, 1) .3s both; }
.sj-sheet.is-top .sj-m-play { animation: sjPulse 1.6s ease-in-out .2s 2; }
.sj-sheet.is-top .sj-m-wm { animation: sjWm 6s ease-in-out infinite alternate; }
.sj-sheet.is-top .sj-m-ans i.is-pick { animation: sjPick .5s ease .7s both; }
.sj-sheet.is-top .sj-m-saved { animation: sjUp .5s ease 1.2s both; }
.sj-sheet.is-top .sj-m-ring { animation: sjRing 1.4s cubic-bezier(.22, 1, .36, 1) .2s both; }
.sj-sheet.is-top .sj-m-pass { animation: sjPop .45s cubic-bezier(.3, 1.6, .5, 1) 1.3s both; }
.sj-sheet.is-top .sj-m-next { animation: sjUp .6s cubic-bezier(.22, 1, .36, 1) 1.5s both; }
@keyframes sjUp { from { opacity: 0; transform: translateY(14px); } }
@keyframes sjPop { from { opacity: 0; transform: scale(.3); } }
@keyframes sjPick { from { background: var(--sj-surface-2); border-color: var(--sj-line); color: var(--sj-muted); } }
@keyframes sjLockA { 0%, 45% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes sjLockB { 0%, 45% { opacity: 0; transform: scale(.6); } 70%, 100% { opacity: 1; transform: none; } }
@keyframes sjBar { from { inline-size: 0; } }
@keyframes sjPulse { 50% { box-shadow: 0 0 0 10px rgba(255, 212, 0, .18); } }
@keyframes sjWm { to { transform: translate(calc(var(--dir) * -120%), 220%); } }
@keyframes sjRing { from { --sjr: 0; } }
.sj-photo .sj-mini { max-inline-size: none; padding: 12px; border-radius: 6px; box-shadow: none; }

/* ══ 0.47 why ALDOCTOR, "not just uploaded videos": six cards in a bento, each with two faces in two colours, light
   violet and ALDOCTOR yellow, swapped from one card to the next (a violet card turns over to yellow, a yellow one
   to violet), the same in the night and the day look: what the platform does on one face, a small moving example
   of it on the other (the speed of a lesson, the notes downloading, a test marked, units filling, a question
   answered, a phone). They turn over by themselves one after another while in view; a click turns one. ══ */
.wy { position: relative; --wy-red: #d6344a; }
/* each face carries its own colours: the yellow cards go from a calm yellow to ALDOCTOR yellow, the violet ones from
   a light violet to a deep violet (white words there); the same in the night and the day look */
.wy-face { --wy-ink: #1a1426; --wy-ink-2: #4b3d63; --wy-acc: #5b2fa6; --wy-on-acc: #ffffff; --wy-ico-bg: #1a1426; --wy-ico-fg: #ffd400;
  --wy-chip: rgba(26, 20, 38, .08); --wy-chip-2: rgba(26, 20, 38, .16); --wy-demo-bg: rgba(255, 255, 255, .55); --wy-ok: #17794b; --wy-shine: rgba(255, 255, 255, .5); }
.wy-card--y .wy-face--a { --wy-a-bg: #fff1b0; }
.wy-card--y .wy-face--b { --wy-b-bg: #ffd84a; }
.wy-card--v .wy-face--a { --wy-a-bg: #e4d8fb; --wy-ico-fg: #e4d8fb; }
.wy-card--v .wy-face--b { --wy-b-bg: #3a2470; --wy-ink: #ffffff; --wy-ink-2: rgba(255, 255, 255, .76); --wy-acc: #ffd400; --wy-on-acc: #1a1426; --wy-ico-bg: #ffd400; --wy-ico-fg: #1a1426;
  --wy-chip: rgba(255, 255, 255, .1); --wy-chip-2: rgba(255, 255, 255, .18); --wy-demo-bg: rgba(255, 255, 255, .08); --wy-ok: #4fd18b; --wy-shine: rgba(255, 255, 255, .08); }
:root[data-theme="light"] .wy-face { outline: 1px solid rgba(26, 20, 38, .06); }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .wy-face { outline: 1px solid rgba(26, 20, 38, .06); } }
.wy-wrap { display: grid; gap: 24px; }
.wy-head { display: grid; gap: 10px; }
.wy-head .site-h2, .wy-head .site-lead { margin: 0; }

.wy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.wy-card--wide { grid-column: span 2; }
.wy-flip { display: block; inline-size: 100%; block-size: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; perspective: 1400px; }
.wy-flip:focus-visible { outline: 3px solid var(--wy-acc); outline-offset: 4px; border-radius: 24px; }
.wy-in { display: grid; block-size: 100%; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3, .75, .3, 1); }
.wy-card.is-turned .wy-in { transform: rotateY(180deg); }
.wy-face { grid-area: 1 / 1; display: grid; gap: 14px; min-block-size: 250px; padding: 22px; border-radius: 24px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  color: var(--wy-ink); box-shadow: 0 26px 50px -34px rgba(10, 4, 24, .75); --text: var(--wy-ink); --muted: var(--wy-ink-2); }
.wy-face--b { transform: rotateY(180deg); }
/* the two faces' colours (set per look above) */
.wy-face--a { background: radial-gradient(120% 120% at 100% 0%, var(--wy-shine), transparent 55%), var(--wy-a-bg); }
.wy-face--b { background: radial-gradient(120% 120% at 100% 0%, var(--wy-shine), transparent 55%), var(--wy-b-bg); }

/* the face with the words */
.wy-face--a { align-content: space-between; grid-template-rows: auto 1fr auto; }
.wy-ico { display: grid; place-items: center; inline-size: 52px; block-size: 52px; border-radius: 16px; background: var(--wy-ico-bg); color: var(--wy-ico-fg); }
.wy-ico svg { inline-size: 24px; block-size: 24px; }
.wy-ico--sm { inline-size: 36px; block-size: 36px; border-radius: 11px; }
.wy-ico--sm svg { inline-size: 17px; block-size: 17px; }
.wy-txt { display: grid; gap: 8px; align-content: end; }
.wy-txt b { font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); line-height: 1.3; }
.wy-txt small { font-size: 1rem; line-height: 1.7; color: var(--wy-ink-2); max-inline-size: 46ch; }
.wy-turn { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--wy-chip); color: var(--wy-ink); font-style: normal; font-size: .8rem; font-weight: 800; }
.wy-turn svg { inline-size: 14px; block-size: 14px; }
/* the face with the example */
.wy-face--b { align-content: start; grid-template-rows: auto 1fr auto; }
.wy-b-top { display: flex; align-items: center; gap: 10px; }
.wy-b-top b { font-family: var(--font-display); font-size: 1.1rem; }
.wy-ex { justify-self: end; font-size: .7rem; color: var(--wy-ink-2); }
@media (hover: hover) { .wy-flip:hover .wy-turn { background: var(--wy-chip-2); } }

/* the examples */
.wy-demo { display: block; align-self: center; border-radius: 14px; background: var(--wy-demo-bg); padding: 12px 14px; font-size: .82rem; color: var(--text); }
.wy-demo svg { inline-size: 1em; block-size: 1em; }
/* 1 · the lesson at its speed */
.wy-vid { direction: ltr; position: relative; display: grid; place-items: center; aspect-ratio: 16 / 5.4; border-radius: 10px; overflow: hidden; background: radial-gradient(120% 120% at 50% 20%, #3a2a5c, #120e1c); color: #fff; }
.wy-vid__play { display: grid; place-items: center; inline-size: 40px; block-size: 40px; border-radius: 50%; background: #ffd400; color: #1a1426; }
.wy-vid__play svg { inline-size: 16px; block-size: 16px; }
.wy-vid__sp { position: absolute; inset-block-start: 10px; inset-inline-end: 10px; display: grid; }
.wy-vid__sp i { grid-area: 1 / 1; padding: 3px 9px; border-radius: 999px; background: #ffd400; color: #1a1426; font-style: normal; font-weight: 800; font-size: .78rem; opacity: 0; }
.wy-vid__sp i:first-child { opacity: 1; }
.wy-vid__bar { position: absolute; inset-inline: 12px; inset-block-end: 10px; block-size: 4px; border-radius: 99px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.wy-vid__bar i { display: block; block-size: 100%; inline-size: 37%; background: #ffd400; }
.wy-vid__t { position: absolute; inset-block-end: 18px; inset-inline-start: 12px; font-size: .7rem; color: rgba(255, 255, 255, .6); }
/* 2 · the notes */
.wy-pdf { display: flex; align-items: center; gap: 14px; }
.wy-pdf__page { flex: none; display: grid; gap: 5px; inline-size: 54px; padding: 8px 7px; border-radius: 4px; background: #fbf8f1; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); rotate: -4deg; }
.wy-pdf__page i { block-size: 3px; border-radius: 2px; background: #cfc7d9; }
.wy-pdf__page i:nth-child(2) { inline-size: 70%; }
.wy-pdf__fig { block-size: 16px !important; background: #e8dbff !important; }
.wy-pdf__meta { display: grid; gap: 8px; flex: 1; min-inline-size: 0; }
.wy-pdf__dl { display: block; block-size: 5px; border-radius: 99px; background: color-mix(in srgb, var(--text) 12%, transparent); overflow: hidden; }
.wy-pdf__dl i { display: block; block-size: 100%; inline-size: 100%; background: var(--wy-acc); }
/* 3 · a test marked */
.wy-quiz { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wy-quiz i { display: grid; place-items: center; inline-size: 26px; block-size: 26px; border-radius: 50%; font-style: normal; }
.wy-quiz i.is-ok { background: color-mix(in srgb, var(--wy-ok) 16%, transparent); color: var(--wy-ok); }
.wy-quiz i.is-no { background: color-mix(in srgb, var(--wy-red) 16%, transparent); color: var(--wy-red); }
.wy-quiz__score { margin-inline-start: auto; padding: 4px 12px; border-radius: 999px; background: var(--wy-acc); color: var(--wy-on-acc); font-weight: 800; }
/* 4 · the units filling */
.wy-prog { display: grid; gap: 8px; }
.wy-prog__row { display: grid; grid-template-columns: 5.5em minmax(0, 1fr) 2.6em; align-items: center; gap: 10px; }
.wy-prog__row small { color: var(--muted); }
.wy-prog__row b { font-size: .78rem; text-align: end; }
.wy-prog__bar { display: block; block-size: 7px; border-radius: 99px; background: color-mix(in srgb, var(--text) 10%, transparent); overflow: hidden; }
.wy-prog__bar i { display: block; block-size: 100%; inline-size: var(--w); border-radius: inherit; background: var(--wy-acc); }
.wy-prog__row:last-of-type .wy-prog__bar i { background: var(--wy-red); }
.wy-prog__weak { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--wy-red) 14%, transparent); color: var(--wy-red); font-style: normal; font-size: .74rem; font-weight: 800; }
/* 5 · a question answered */
.wy-chat { display: grid; gap: 8px; }
.wy-chat__q, .wy-chat__a { max-inline-size: 86%; padding: 8px 12px; border-radius: 12px; line-height: 1.6; }
.wy-chat__q { justify-self: start; background: var(--wy-acc); color: var(--wy-on-acc); border-end-start-radius: 4px; font-weight: 700; }
.wy-chat__a { justify-self: end; display: grid; gap: 2px; background: color-mix(in srgb, var(--text) 9%, transparent); border-end-end-radius: 4px; }
.wy-chat__a small { color: var(--wy-ok); font-weight: 800; font-size: .72rem; }
.wy-chat__dots { justify-self: end; display: none; gap: 4px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--text) 9%, transparent); }
.wy-chat__dots i { inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--muted); }
/* 6 · a phone */
.wy-phone { display: grid; place-items: center; }
.wy-phone__scr { display: grid; gap: 6px; inline-size: 74px; padding: 14px 8px 18px; border: 3px solid color-mix(in srgb, var(--text) 30%, transparent); border-radius: 16px; }
.wy-phone__scr i { display: block; block-size: 5px; border-radius: 3px; background: color-mix(in srgb, var(--text) 18%, transparent); }
.wy-phone__scr i:last-child { inline-size: 60%; }
.wy-phone__vid { display: grid !important; place-items: center; block-size: 34px !important; border-radius: 6px !important; background: #2a2040 !important; color: #ffd400; }

/* the examples move once their card shows its front in view */
.wy.is-in .wy-card.is-turned .wy-vid__sp i { animation: wySpeed 3.9s steps(1) infinite; }
.wy.is-in .wy-card.is-turned .wy-vid__sp i:first-child { opacity: 0; }
.wy.is-in .wy-card.is-turned .wy-vid__sp i:nth-child(2) { animation-delay: 1.3s; }
.wy.is-in .wy-card.is-turned .wy-vid__sp i:nth-child(3) { animation-delay: 2.6s; }
.wy.is-in .wy-card.is-turned .wy-vid__bar i { animation: wyRun 7.8s linear infinite; }
.wy.is-in .wy-card.is-turned .wy-vid__play { animation: wyPulse 2.2s ease-in-out infinite; }
.wy.is-in .wy-card.is-turned .wy-pdf__dl i { animation: wyFill 1.6s cubic-bezier(.4, 0, .2, 1) .9s both; }
.wy.is-in .wy-card.is-turned .wy-quiz i { animation: wyPop .4s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(.9s + var(--q, 0) * .18s); }
.wy-quiz i:nth-child(2) { --q: 1; } .wy-quiz i:nth-child(3) { --q: 2; } .wy-quiz i:nth-child(4) { --q: 3; }
.wy.is-in .wy-card.is-turned .wy-quiz__score { animation: wyPop .5s cubic-bezier(.3, 1.6, .5, 1) 1.8s both; }
.wy.is-in .wy-card.is-turned .wy-prog__bar i { animation: wyFill 1.4s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(.9s + var(--q, 0) * .15s); }
.wy-prog__row:nth-child(2) { --q: 1; } .wy-prog__row:nth-child(3) { --q: 2; }
.wy.is-in .wy-card.is-turned .wy-prog__weak { animation: wyPop .45s cubic-bezier(.3, 1.6, .5, 1) 2s both; }
.wy.is-in .wy-card.is-turned .wy-chat__q { animation: wyUp .5s ease .9s both; }
.wy.is-in .wy-card.is-turned .wy-chat__dots { display: flex; animation: wyDots 1.2s ease 1.4s both; }
.wy.is-in .wy-card.is-turned .wy-chat__dots i { animation: wyBlink 1s ease-in-out infinite; }
.wy.is-in .wy-card.is-turned .wy-chat__dots i:nth-child(2) { animation-delay: .15s; } .wy.is-in .wy-card.is-turned .wy-chat__dots i:nth-child(3) { animation-delay: .3s; }
.wy.is-in .wy-card.is-turned .wy-chat__a { animation: wyUp .5s ease 2.6s both; }
.wy.is-in .wy-card.is-turned .wy-phone__scr { animation: wyTilt 4s ease-in-out infinite; }
@keyframes wySpeed { 0% { opacity: 1; } 33.33% { opacity: 0; } }
@keyframes wyRun { from { inline-size: 8%; } to { inline-size: 96%; } }
@keyframes wyPulse { 50% { box-shadow: 0 0 0 10px rgba(255, 212, 0, .16); } }
@keyframes wyFill { from { inline-size: 0; } }
@keyframes wyPop { from { opacity: 0; transform: scale(.3); } }
@keyframes wyUp { from { opacity: 0; transform: translateY(10px); } }
@keyframes wyDots { 0%, 90% { opacity: 1; } 100% { opacity: 0; block-size: 0; padding-block: 0; } }
@keyframes wyBlink { 50% { opacity: .3; } }
@keyframes wyTilt { 50% { rotate: -6deg; } }

.wy-note { margin: 0; color: var(--muted); font-size: .85rem; }

@media (max-width: 1023px) {
  .wy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wy-card--wide { grid-column: auto; }
  .wy-card--1, .wy-card--4 { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .wy-grid { grid-template-columns: minmax(0, 1fr); }
  .wy-card--1, .wy-card--4 { grid-column: auto; }
  .wy-face { min-block-size: 230px; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .wy *, .wy *::before { animation: none !important; }
  .wy-in { transition: none; transform: none !important; }
  .wy-face { backface-visibility: visible; transform: none; transition: opacity .3s ease; }
  .wy-card.is-turned .wy-face--a, .wy-card:not(.is-turned) .wy-face--b { opacity: 0; visibility: hidden; }
}

/* ══ 0.48 every page in the home page's style: about, the courses, a course and contact share one page hero (a
   path back home, the eyebrow, a large title, the words, and a picture of their own: Dr. Maher among the scientists
   in a turned frame, a fan of the course posters, the course's poster, Dr. Maher with the ways to reach him), the
   academy's colours in blocks (soft yellow, strong yellow, light violet, deep plum) and the same rounded cards. The
   reviews get a two-part card (a side that invites, the form), and the closing band ("ready to start with Dr.
   Maher?") gets Dr. Maher beside it and the yellow way in. ══ */
.pg-hero, .pg-story, .pg-teach, .pg-list, .pg-outline, .pg-contact, .pg-reviews, .pg-cta-wrap {
  --pg-ink: #1a1426; --pg-ink-2: #4b3d63; --pg-soft-y: #fff1b0; --pg-y: #ffd84a; --pg-soft-v: #e4d8fb; --pg-v: #3a2470; --pg-plum: #1d1530; }

/* the page hero */
.pg-hero { position: relative; overflow-x: clip; padding-block: 136px 72px; isolation: isolate; }
.pg-hero::before, .pg-hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.pg-hero::before { inline-size: 520px; block-size: 520px; inset-block-start: -180px; inset-inline-end: -120px; background: radial-gradient(circle, rgba(122, 76, 184, .55), transparent 70%); }
.pg-hero::after { inline-size: 420px; block-size: 420px; inset-block-end: -220px; inset-inline-start: 8%; background: radial-gradient(circle, rgba(255, 212, 0, .18), transparent 70%); }
.pg-hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.pg-hero__text { display: grid; gap: 16px; align-content: center; min-inline-size: 0; }
.pg-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.pg-crumb a { color: var(--muted); text-decoration: none; }
.pg-crumb a:hover { color: var(--text); }
.pg-crumb i { inline-size: 5px; block-size: 5px; border-radius: 50%; background: #ffd400; }
.pg-crumb span { color: var(--text); max-inline-size: 28ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-hero .site-eyebrow { margin: 0; }
.pg-h1 { margin: 0; font-family: var(--font-display); font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); line-height: 1.08; letter-spacing: -.01em; color: var(--text); text-wrap: balance; }
.pg-h1--course { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); }
.pg-lead { margin: 0; max-inline-size: 58ch; color: var(--muted); font-size: 1.08rem; line-height: 1.85; }
.pg-h2 { margin: 0; font-family: var(--font-display); font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); line-height: 1.2; color: var(--text); text-wrap: balance; }
.pg-h2--sm { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.pg-head { display: grid; gap: 12px; margin-block-end: 28px; }
.pg-head .site-eyebrow, .pg-head .site-h2 { margin: 0; }
.pg-head--center { justify-items: center; text-align: center; }

/* the numbers under the about title */
.pg-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 6px; }
.pg-stat { display: grid; gap: 2px; margin: 0; padding: 14px 20px; border-radius: 20px; background: var(--pg-y); color: var(--pg-ink); min-inline-size: 150px; }
.pg-stat b { font-family: var(--font-display); font-size: 2rem; line-height: 1.1; }
.pg-stat small { font-size: .85rem; font-weight: 700; color: var(--pg-ink-2); }
.pg-stat--v { background: var(--pg-soft-v); }

/* a picture in a turned frame, with a yellow card behind it */
.pg-frame { position: relative; margin: 0; justify-self: center; inline-size: min(100%, 480px); }
.pg-frame--wide { inline-size: min(100%, 560px); }
.pg-frame__back { position: absolute; inset: 0; border-radius: 30px; background: var(--pg-y); rotate: -5deg; translate: 0 10px; }
.pg-frame img { position: relative; display: block; inline-size: 100%; block-size: auto; aspect-ratio: 1; object-fit: cover; border-radius: 30px; border: 6px solid var(--site-card); box-shadow: 0 40px 80px -40px rgba(6, 2, 20, .8); rotate: 2deg; }
.pg-frame--wide img { aspect-ratio: 16 / 11; }
.pg-frame img.is-fallback { object-fit: contain; background: var(--pg-soft-v); }
.pg-sticker { position: absolute; inset-block-end: -18px; inset-inline-start: -18px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 18px; background: var(--pg-plum); color: #fff; box-shadow: 0 20px 40px -20px rgba(6, 2, 20, .9); rotate: -3deg; }
.pg-sticker > span:last-child { display: grid; }
.pg-sticker b { font-family: var(--font-display); }
.pg-sticker small { color: rgba(255, 255, 255, .7); }
.pg-sticker__ico { display: grid; place-items: center; inline-size: 38px; block-size: 38px; border-radius: 12px; background: #ffd400; color: var(--pg-ink); }
.pg-sticker__ico svg { inline-size: 18px; block-size: 18px; }

/* about: the story and its four ticks */
.pg-story__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pg-story__text { position: relative; display: grid; gap: 16px; justify-items: start; }
.pg-story__text p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.9; }
.pg-quote { position: absolute; inset-block-start: -64px; inset-inline-start: -12px; z-index: -1; font-family: Georgia, serif; font-size: 11rem; line-height: 1; color: #ffd400; opacity: .14; }
.pg-ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pg-tick { position: relative; display: grid; align-content: space-between; gap: 18px; min-block-size: 170px; padding: 20px; border-radius: 24px; color: var(--pg-ink); font-weight: 700; line-height: 1.6; }
.pg-tick--y { background: var(--pg-soft-y); }
.pg-tick--v { background: var(--pg-soft-v); }
.pg-tick:nth-child(2) { translate: 0 22px; } .pg-tick:nth-child(4) { translate: 0 22px; }
.pg-tick__n { position: absolute; inset-block-start: 16px; inset-inline-end: 18px; font-family: var(--font-display); font-size: .85rem; color: var(--pg-ink-2); }
.pg-tick__ico { display: grid; place-items: center; inline-size: 40px; block-size: 40px; border-radius: 13px; background: var(--pg-ink); color: #ffd400; }
.pg-tick__ico svg { inline-size: 18px; block-size: 18px; }

/* about: how the lessons go, three tiles */
.pg-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pg-tile { position: relative; display: grid; align-content: start; gap: 12px; min-block-size: 260px; padding: 26px; border-radius: 28px; overflow: hidden; }
.pg-tile h3 { margin: 0; font-family: var(--font-display); font-size: 1.35rem; }
.pg-tile p { margin: 0; line-height: 1.8; }
.pg-tile__n { position: absolute; inset-block-end: -18px; inset-inline-end: 10px; font-family: var(--font-display); font-size: 7rem; font-weight: 800; line-height: 1; opacity: .12; }
.pg-tile__ico { display: grid; place-items: center; inline-size: 52px; block-size: 52px; border-radius: 16px; margin-block-end: 8px; }
.pg-tile__ico svg { inline-size: 24px; block-size: 24px; }
.pg-tile--y { background: var(--pg-y); color: var(--pg-ink); } .pg-tile--y p { color: var(--pg-ink-2); } .pg-tile--y .pg-tile__ico { background: var(--pg-ink); color: #ffd400; }
.pg-tile--v { background: var(--pg-soft-v); color: var(--pg-ink); } .pg-tile--v p { color: var(--pg-ink-2); } .pg-tile--v .pg-tile__ico { background: var(--pg-v); color: #fff; }
.pg-tile--d { background: var(--pg-v); color: #fff; } .pg-tile--d p { color: rgba(255, 255, 255, .78); } .pg-tile--d .pg-tile__ico { background: #ffd400; color: var(--pg-ink); }

/* courses: the year filter and the fan of posters */
.pg-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 6px; }
.pg-filter { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--site-line); background: var(--site-card); color: var(--text); font-weight: 800; font-size: .92rem; text-decoration: none; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.pg-filter:hover { border-color: #ffd400; }
.pg-filter.is-on { background: #ffd400; border-color: #ffd400; color: var(--pg-ink); }
.pg-fan { position: relative; justify-self: center; inline-size: min(100%, 600px); aspect-ratio: 1.15; }
.pg-fan__card { position: absolute; inline-size: 76%; block-size: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px; border: 5px solid var(--site-card); box-shadow: 0 30px 60px -30px rgba(6, 2, 20, .85); transition: rotate .6s cubic-bezier(.22, 1, .36, 1), translate .6s cubic-bezier(.22, 1, .36, 1); }
.pg-fan__card--1 { inset-block-start: 4%; inset-inline-start: 0; rotate: -9deg; }
.pg-fan__card--2 { inset-block-start: 30%; inset-inline-start: 24%; rotate: 6deg; z-index: 2; }
.pg-fan__card--3 { inset-block-end: 0; inset-inline-start: 4%; rotate: -2deg; z-index: 1; }
@media (hover: hover) { .pg-fan:hover .pg-fan__card--1 { rotate: -13deg; } .pg-fan:hover .pg-fan__card--2 { rotate: 10deg; } }

/* courses: the cards */
.pg-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.pg-course { display: grid; grid-template-rows: auto 1fr; border-radius: 26px; overflow: hidden; border: 1px solid var(--site-line); background: var(--site-card); transition: translate .35s cubic-bezier(.22, 1, .36, 1), border-color .35s ease; }
.pg-course:hover { translate: 0 -4px; border-color: color-mix(in srgb, #ffd400 60%, transparent); }
.pg-course__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--pg-plum); }
.pg-course__img img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: scale .6s cubic-bezier(.22, 1, .36, 1); }
.pg-course__img img.is-fallback { object-fit: contain; background: var(--pg-soft-v); }
.pg-course:hover .pg-course__img img { scale: 1.05; }
.pg-course__img::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(16, 10, 28, .78)); }
.pg-course__tag { position: absolute; z-index: 1; inset-block-start: 14px; inset-inline-start: 14px; padding: 5px 12px; border-radius: 999px; background: #ffd400; color: var(--pg-ink); font-size: .8rem; font-weight: 800; }
.pg-course__subj { position: absolute; z-index: 1; inset-block-end: 14px; inset-inline-start: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; font-size: .8rem; font-weight: 800; backdrop-filter: blur(6px); }
.pg-course__body { display: grid; grid-template-rows: auto 1fr auto auto; gap: 12px; padding: 20px 22px 22px; }
.pg-course__body h3 { margin: 0; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; }
.pg-course__body h3 a { color: var(--text); text-decoration: none; }
.pg-course__desc { margin: 0; color: var(--muted); line-height: 1.75; font-size: .95rem; }
.pg-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pg-meta li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text); font-size: .82rem; font-weight: 700; }
.pg-meta svg { inline-size: 14px; block-size: 14px; color: #c9a400; }
.pg-meta--lg li { padding: 8px 14px; font-size: .92rem; }
.pg-course__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block-start: 14px; border-block-start: 1px dashed var(--site-line); }
.pg-price { font-family: var(--font-display); font-size: 1.3rem; color: var(--text); }
.pg-price--lg { padding: 10px 18px; border-radius: 16px; background: var(--site-card); border: 1px solid var(--site-line); font-size: 1.5rem; }
.pg-go { display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; padding-inline: 16px 6px; border-radius: 999px; background: var(--pg-ink); color: #fff; font-weight: 800; text-decoration: none; }
.pg-go i { display: grid; place-items: center; inline-size: 32px; block-size: 32px; border-radius: 50%; background: #ffd400; color: var(--pg-ink); }
.pg-go svg { inline-size: 15px; block-size: 15px; }
[dir="ltr"] .pg-go svg, [dir="ltr"] .pg-channel__go svg { scale: -1 1; }
.pg-empty { display: grid; justify-items: center; gap: 14px; padding: 48px 24px; border-radius: 28px; border: 1.5px dashed var(--site-line); text-align: center; color: var(--muted); }
.pg-empty p { margin: 0; }
.pg-empty__ico { display: grid; place-items: center; inline-size: 60px; block-size: 60px; border-radius: 20px; background: var(--pg-soft-v); color: var(--pg-v); }
.pg-empty__ico svg { inline-size: 26px; block-size: 26px; }
.pg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* a course: the units and their lessons */
.pg-units { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 18px; }
.pg-unit { display: grid; gap: 12px; padding: 22px; border-radius: 26px; border: 1px solid var(--site-line); background: var(--site-card); }
.pg-unit__t { margin: 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--text); }
.pg-lessons { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pg-lessons li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--text) 5%, transparent); }
.pg-lessons__n { flex: none; display: grid; place-items: center; inline-size: 34px; block-size: 34px; border-radius: 11px; background: #ffd400; color: var(--pg-ink); font-family: var(--font-display); font-size: .85rem; }
.pg-lessons__t { flex: 1; min-inline-size: 0; color: var(--text); font-weight: 700; }
.pg-lessons svg { flex: none; inline-size: 16px; block-size: 16px; color: var(--muted); }

/* contact: Dr. Maher with the ways to reach him, the hours, the channels and the form */
.pg-hours { display: flex; align-items: center; gap: 12px; margin: 4px 0 0; padding: 12px 16px; border-radius: 18px; border: 1px solid var(--site-line); background: var(--site-card); justify-self: start; }
.pg-hours > span:last-child { display: grid; }
.pg-hours b { color: var(--text); } .pg-hours small { color: var(--muted); }
.pg-hours__ico { display: grid; place-items: center; inline-size: 40px; block-size: 40px; border-radius: 13px; background: var(--pg-soft-v); color: var(--pg-v); }
.pg-hours__ico svg { inline-size: 18px; block-size: 18px; }
.pg-hero__maher { position: relative; justify-self: center; inline-size: min(100%, 420px); aspect-ratio: 1; }
/* a round yellow disc; Dr. Maher stands in it, his head above its rim and his legs ending on its curve (no straight cut) */
.pg-hero__ring { position: absolute; inset: auto 6% 0; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, var(--pg-y), #f5b800); box-shadow: 0 40px 70px -40px rgba(6, 2, 20, .6); }
.pg-hero__maher img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: contain;
  -webkit-mask-image: linear-gradient(#000, #000), radial-gradient(44% 44% at 50% 56%, #000 99.4%, transparent 100%); mask-image: linear-gradient(#000, #000), radial-gradient(44% 44% at 50% 56%, #000 99.4%, transparent 100%);
  -webkit-mask-size: 100% 56%, 100% 100%; mask-size: 100% 56%, 100% 100%; -webkit-mask-position: top, center; mask-position: top, center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.pg-bubble { position: absolute; z-index: 2; display: grid; place-items: center; inline-size: 62px; block-size: 62px; border-radius: 20px; color: #fff; box-shadow: 0 18px 36px -16px rgba(6, 2, 20, .8); animation: pgFloat 5s ease-in-out infinite; }
.pg-bubble svg { inline-size: 28px; block-size: 28px; }
/* the ways to reach him around the disc: three on each side */
.pg-bubble { text-decoration: none; transition: scale .2s ease; }
.pg-bubble:hover, .pg-bubble:focus-visible { scale: 1.08; }
.pg-hero__maher a.pg-bubble, .pg-hero__maher a.pg-bubble:hover { color: #fff !important; }
.pg-bubble:focus-visible { outline: 3px solid #ffd400; outline-offset: 3px; }
.pg-bubble--telegram { inset-block-start: 14%; inset-inline-start: -3%; background: #2aa3de; }
.pg-bubble--facebook { inset-block-start: 46%; inset-inline-start: -8%; background: #1877f2; animation-delay: -1.2s; }
.pg-bubble--phone { inset-block-end: 6%; inset-inline-start: 2%; background: var(--pg-v); animation-delay: -2.4s; }
.pg-bubble--youtube { inset-block-start: 10%; inset-inline-end: -2%; background: #ff2d2d; animation-delay: -.6s; }
.pg-bubble--whatsapp { inset-block-start: 42%; inset-inline-end: -8%; background: #25d366; animation-delay: -1.8s; }
.pg-bubble--tiktok { inset-block-end: 6%; inset-inline-end: 2%; background: #111016; box-shadow: 0 18px 36px -16px rgba(6, 2, 20, .8), inset 0 0 0 2px rgba(255, 255, 255, .12); animation-delay: -3s; }
@keyframes pgFloat { 50% { translate: 0 -10px; rotate: -4deg; } }
.pg-contact__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 44px); align-items: start; }
.pg-channels { display: grid; gap: 12px; }
.pg-channel { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 22px; border: 1px solid var(--site-line); background: var(--site-card); color: var(--text); text-decoration: none; transition: translate .3s cubic-bezier(.22, 1, .36, 1), border-color .3s ease; }
.pg-channel:hover { translate: 0 -3px; border-color: #ffd400; }
.pg-channel.is-best { background: var(--pg-y); border-color: var(--pg-y); color: var(--pg-ink); }
.pg-channel__ico { flex: none; display: grid; place-items: center; inline-size: 52px; block-size: 52px; border-radius: 16px; color: #fff; background: var(--pg-v); }
.pg-channel__ico svg { inline-size: 24px; block-size: 24px; }
.pg-channel--telegram .pg-channel__ico { background: #2aa3de; }
.pg-channel--whatsapp .pg-channel__ico { background: #25d366; }
.pg-channel__txt { display: grid; gap: 2px; flex: 1; min-inline-size: 0; }
.pg-channel__txt b { font-family: var(--font-display); font-size: 1.1rem; }
.pg-channel__txt small { color: var(--muted); }
.pg-channel.is-best .pg-channel__txt small { color: var(--pg-ink-2); }
.pg-channel__val { font-weight: 800; overflow-wrap: anywhere; justify-self: start; }
.pg-badge { display: inline-block; margin-inline-start: 6px; padding: 2px 10px; border-radius: 999px; background: var(--pg-ink); color: #ffd400; font-size: .72rem; vertical-align: middle; }
.pg-channel__go { flex: none; display: grid; place-items: center; inline-size: 36px; block-size: 36px; border-radius: 50%; background: color-mix(in srgb, currentColor 10%, transparent); }
.pg-channel__go svg { inline-size: 16px; block-size: 16px; }
.pg-contact .site-form { display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); border-radius: 28px; border: 1px solid var(--site-line); background: var(--site-card); }
.pg-form__head { display: flex; align-items: flex-start; gap: 14px; }
.pg-form__head p { margin: 6px 0 0; }
.pg-form__ico { flex: none; display: grid; place-items: center; inline-size: 52px; block-size: 52px; border-radius: 16px; background: #25d366; color: #fff; }
.pg-form__ico svg { inline-size: 26px; block-size: 26px; }

/* the reviews: the belt as it was, the form in a two-part card */
.pg-reviews .site-reviews__track { margin-block-end: 28px; }
.pg-rform { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); max-inline-size: 1040px; margin-inline: auto; border-radius: 30px; overflow: hidden; border: 1px solid var(--site-line); background: var(--site-card); box-shadow: 0 40px 80px -50px rgba(6, 2, 20, .7); }
.pg-rform__side { position: relative; display: grid; align-content: end; gap: 10px; padding: 32px; background: var(--pg-v); color: #fff; overflow: hidden; }
.pg-rform__quote { position: absolute; inset-block-start: 18px; inset-inline-end: 24px; font-family: Georgia, serif; font-size: 10rem; line-height: .8; line-height: 1; color: #ffd400; opacity: .9; }
.pg-rform__stars { color: #ffd400; font-size: 1.6rem; letter-spacing: .1em; }
.pg-rform__side b { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.2; }
.pg-rform__side small { color: rgba(255, 255, 255, .78); font-size: .98rem; line-height: 1.7; }
.pg-rform .site-review-form { margin: 0; max-inline-size: none; border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: clamp(20px, 3vw, 32px); }
.pg-rform .site-review-form summary { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.25rem; color: var(--text); }
.pg-rform .site-review-form summary svg { inline-size: 22px; block-size: 22px; color: #c9a400; }
.pg-rform .site-review-form form { display: grid; gap: 12px; margin-block-start: 16px; }
.pg-rform .site-review-form input[type="text"], .pg-rform .site-review-form select, .pg-rform .site-review-form textarea { border-radius: 14px; }
.pg-rform .site-review-form__stars label { font-size: 2rem; }

/* the closing band */
.site-cta.pg-cta { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; gap: 12px; padding: 0; text-align: start; border-radius: 34px; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 120% at 0% 0%, #5b2fa6, transparent 60%), linear-gradient(135deg, #2a1650, #1d1530 60%, #14101f); border: 1px solid rgba(201, 184, 222, .18); color: #fff; }
.pg-cta__glow { position: absolute; z-index: -1; inset-block-end: -120px; inset-inline-end: 10%; inline-size: 420px; block-size: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 212, 0, .35), transparent 65%); filter: blur(20px); }
.pg-cta__text { display: grid; justify-items: start; gap: 14px; padding: clamp(28px, 4vw, 56px); align-self: center; }
.pg-cta__tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 212, 0, .16); color: #ffd400; font-weight: 800; font-size: .85rem; }
.pg-cta__tag svg { inline-size: 15px; block-size: 15px; }
.site-cta.pg-cta .pg-cta__title { margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.15; color: #fff; text-wrap: balance; }
.site-cta.pg-cta p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 1.08rem; }
.pg-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block-start: 8px; }
.pg-cta__tg { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; padding-inline: 8px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-weight: 800; text-decoration: none; transition: background .25s ease, border-color .25s ease; }
.pg-cta__tg:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); }
.pg-cta__tg-ico { display: grid; place-items: center; inline-size: 36px; block-size: 36px; border-radius: 50%; background: #2aa3de; }
.pg-cta__tg-ico svg { inline-size: 18px; block-size: 18px; }
.pg-cta__art { position: relative; align-self: end; block-size: 100%; min-block-size: 320px; }
.pg-cta__disc { position: absolute; inset-block-end: -30%; inset-inline: 6%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #ffd84a, #f0a800); }
.pg-cta__art img { position: absolute; inset-block-end: 0; inset-inline: 0; margin-inline: auto; inline-size: min(100%, 360px); block-size: auto; filter: drop-shadow(0 20px 30px rgba(6, 2, 20, .5)); }

/* the day look: the soft blocks keep their colours; the plum cards stay dark */
:root[data-theme="light"] .pg-hero::before { background: radial-gradient(circle, rgba(122, 76, 184, .28), transparent 70%); }
:root[data-theme="light"] .pg-hero::after { background: radial-gradient(circle, rgba(255, 212, 0, .4), transparent 70%); }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .pg-hero::before { background: radial-gradient(circle, rgba(122, 76, 184, .28), transparent 70%); } :root:not([data-theme]) .pg-hero::after { background: radial-gradient(circle, rgba(255, 212, 0, .4), transparent 70%); } }
:root[data-theme="light"] .pg-stat, :root[data-theme="light"] .pg-tick, :root[data-theme="light"] .pg-tile--y, :root[data-theme="light"] .pg-tile--v { box-shadow: 0 0 0 1px rgba(26, 20, 38, .08), 0 24px 40px -30px rgba(61, 34, 112, .45); }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .pg-stat, :root:not([data-theme]) .pg-tick, :root:not([data-theme]) .pg-tile--y, :root:not([data-theme]) .pg-tile--v { box-shadow: 0 0 0 1px rgba(26, 20, 38, .08), 0 24px 40px -30px rgba(61, 34, 112, .45); } }

/* a tablet and a phone */
@media (max-width: 1023px) {
  .pg-hero { padding-block: 112px 48px; }
  .pg-hero__in, .pg-story__in, .pg-contact__in { grid-template-columns: minmax(0, 1fr); }
  .pg-frame, .pg-fan, .pg-hero__maher { inline-size: min(100%, 420px); }
  .pg-tiles { grid-template-columns: minmax(0, 1fr); }
  .pg-tile { min-block-size: 0; }
  .pg-rform { grid-template-columns: minmax(0, 1fr); }
  .pg-rform__side { min-block-size: 200px; }
  .site-cta.pg-cta { grid-template-columns: minmax(0, 1fr); }
  .pg-cta__art { min-block-size: 0; block-size: auto; inline-size: min(100%, 340px); aspect-ratio: 1; justify-self: center; }
  .pg-cta__art img { inline-size: 100%; }
  .pg-cta__disc { inset-block-end: -18%; inset-inline: 4%; }
}
@media (max-width: 639px) {
  .pg-hero { padding-block: 100px 36px; }
  .pg-h1 { font-size: clamp(2rem, 1.4rem + 4vw, 2.8rem); }
  .pg-ticks { grid-template-columns: minmax(0, 1fr); }
  .pg-tick { min-block-size: 0; translate: none !important; }
  .pg-sticker { inset-inline-start: 0; inset-block-end: -14px; padding: 10px 14px; }
  .pg-bubble { inline-size: 50px; block-size: 50px; border-radius: 16px; }
  .pg-bubble--facebook { inset-inline-start: -4%; } .pg-bubble--whatsapp { inset-inline-end: -4%; }
  .pg-hero__maher { inline-size: min(78%, 300px); }
  .pg-frame, .pg-fan { inline-size: min(92%, 360px); }
  .pg-contact .site-form .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .pg-cta__text { padding-block-end: 4px; }
  .pg-cta__actions { display: grid; inline-size: 100%; gap: 10px; }
  .pg-cta__actions > * { inline-size: 100%; justify-content: center; }
  .pg-cta__tg { padding-block: 8px; min-block-size: 54px; }
  .pg-cta__art { inline-size: min(88%, 300px); }
}
@media (prefers-reduced-motion: reduce) {
  .pg-bubble { animation: none; }
  .pg-course, .pg-channel, .pg-fan__card, .pg-course__img img { transition: none; }
}

/* ══ 0.42 the day look on ALDOCTOR yellow: a warm pale-yellow page with the academy's violet: the subject words
   in violet, the top bar violet, the main button grey with the yellow arrow, violet marks and lines; Dr. Maher in a yellow
   glow with amber, violet and dark rings. The night stays as it is. ══ */
:root[data-theme="light"] .site { --bg: #fff6d1; --surface: #fffdf3; --surface-2: #fff9e2; --site-card: rgba(255, 253, 243, .9); --site-line: rgba(106, 63, 176, .16); --site-glow: rgba(255, 212, 0, .35);
  --text: #1a1426; --text-2: #3b3150; --muted: #6b5f80; --brand: #6a3fb0; --brand-soft: rgba(106, 63, 176, .1); --link: #6a3fb0; --border: rgba(106, 63, 176, .18); --hover: #fff0b8;
  --hv-ink: #6a3fb0; --hv-wash: rgba(255, 212, 0, .26); }
:root[data-theme="light"] .site .site-h1 em { color: #6a3fb0; -webkit-text-fill-color: currentColor; text-shadow: none; animation: none; background: none; padding: 0; }
:root[data-theme="light"] .site main .site-btn--primary { background: #3a3540; border-color: #3a3540; color: #ffd400; box-shadow: 0 16px 30px -16px rgba(40, 36, 46, .7); }
:root[data-theme="light"] .site main .site-btn--primary:hover { background: #2b2731; color: #ffd400; }
:root[data-theme="light"] .site main .site-btn--primary .hx-go { background: #ffd400; color: #1a1426; }
:root[data-theme="light"] .site main .site-btn:not(.site-btn--primary) { background: #fffdf3; border-color: rgba(106, 63, 176, .28); color: #1a1426; }
:root[data-theme="light"] .site main .site-btn:not(.site-btn--primary):hover { border-color: #6a3fb0; color: #6a3fb0; }
:root[data-theme="light"] .site .hx-tag i { background: #6a3fb0; }
:root[data-theme="light"] .site .hx-years a:hover { border-color: #6a3fb0; color: #6a3fb0; }
:root[data-theme="light"] .site .site-hero--home .site-hero__art::before { background: radial-gradient(closest-side, rgba(255, 212, 0, .6) 0%, rgba(255, 212, 0, .42) 24%, rgba(255, 212, 0, .24) 46%, rgba(255, 212, 0, .1) 68%, transparent 100%); }
:root[data-theme="light"] .site .hx-orb--phys { --c: #e0a400; --ring: rgba(224, 164, 0, .55); --ring-soft: rgba(224, 164, 0, .1); }
:root[data-theme="light"] .site .hx-orb--chem { --c: #6a3fb0; --ring: rgba(106, 63, 176, .5); --ring-soft: rgba(106, 63, 176, .07); }
:root[data-theme="light"] .site .hx-orb--bio { --c: #1a1426; --ring: rgba(26, 20, 38, .3); --ring-soft: rgba(26, 20, 38, .05); }
:root[data-theme="light"] .site .hx-orb--phys { --b-bg: #ffd400; --b-ink: #1a1426; }
:root[data-theme="light"] .site .hx-orb--chem { --b-bg: #6a3fb0; --b-ink: #ffffff; }
:root[data-theme="light"] .site .hx-orb--bio { --b-bg: #3a3540; --b-ink: #ffd400; }
:root[data-theme="light"] .site .hx-orb__b { background: var(--b-bg); border: 0; color: var(--b-ink); box-shadow: 0 6px 14px -6px rgba(26, 20, 38, .45); filter: none; }
:root[data-theme="light"] .site .hx-orb__b::before { display: none; }
:root[data-theme="light"] .site .hx-orb__b svg { stroke-width: 1.35; }
:root[data-theme="light"] .site .lp-title em { color: #6a3fb0; }
:root[data-theme="light"] .site .hx-chip { background: rgba(255, 253, 243, .95); border-color: rgba(106, 63, 176, .16); color: #1a1426; box-shadow: 0 18px 36px -20px rgba(106, 63, 176, .4); }
:root[data-theme="light"] .site .hx-chip small { color: #6b5f80; }
:root[data-theme="light"] .site .hx-subj { --c-ink: #6a3fb0; --hl: #6a3fb0; --hl-on: #ffffff; }
:root[data-theme="light"] .site .hx-subj--sci { --c: #ffd400; --c-on: #1a1426; }
:root[data-theme="light"] .site .hx-subj--chem { --c: #6a3fb0; --c-on: #ffffff; }
:root[data-theme="light"] .site .hx-subj--bio { --c: #c9b8de; --c-on: #1a1426; }
:root[data-theme="light"] .site .hx-subj small { background: rgba(106, 63, 176, .1); }
:root[data-theme="light"] .site .hx-more:hover { border-color: #6a3fb0; background: rgba(255, 212, 0, .3); }
:root[data-theme="light"] .site .hx-more .hx-go { background: #3a3540; color: #ffd400; }
:root[data-theme="light"] .site .site-top .site-top__in::before, :root[data-theme="light"] .site .site-top.is-stuck .site-top__in::before { background: rgba(122, 76, 184, .97); border-color: rgba(255, 255, 255, .16); box-shadow: 0 18px 40px -20px rgba(60, 20, 120, .6); }
:root[data-theme="light"] .site .site-top .site-nav__links a { color: rgba(255, 255, 255, .82); }
:root[data-theme="light"] .site .site-top .site-nav__links a[aria-current="page"], :root[data-theme="light"] .site .site-top .site-nav__links a:not([aria-current]):hover { color: #ffffff; }
:root[data-theme="light"] .site .site-top .site-nav__pill { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .22); }
:root[data-theme="light"] .site .site-top .site-top__tools .site-icon, :root[data-theme="light"] .site .site-top .site-top__tools .site-pill { color: #ffffff; }
@media (prefers-color-scheme: light) {
:root:not([data-theme]) .site { --bg: #fff6d1; --surface: #fffdf3; --surface-2: #fff9e2; --site-card: rgba(255, 253, 243, .9); --site-line: rgba(106, 63, 176, .16); --site-glow: rgba(255, 212, 0, .35);
  --text: #1a1426; --text-2: #3b3150; --muted: #6b5f80; --brand: #6a3fb0; --brand-soft: rgba(106, 63, 176, .1); --link: #6a3fb0; --border: rgba(106, 63, 176, .18); --hover: #fff0b8;
  --hv-ink: #6a3fb0; --hv-wash: rgba(255, 212, 0, .26); }
:root:not([data-theme]) .site .site-h1 em { color: #6a3fb0; -webkit-text-fill-color: currentColor; text-shadow: none; animation: none; background: none; padding: 0; }
:root:not([data-theme]) .site main .site-btn--primary { background: #3a3540; border-color: #3a3540; color: #ffd400; box-shadow: 0 16px 30px -16px rgba(40, 36, 46, .7); }
:root:not([data-theme]) .site main .site-btn--primary:hover { background: #2b2731; color: #ffd400; }
:root:not([data-theme]) .site main .site-btn--primary .hx-go { background: #ffd400; color: #1a1426; }
:root:not([data-theme]) .site main .site-btn:not(.site-btn--primary) { background: #fffdf3; border-color: rgba(106, 63, 176, .28); color: #1a1426; }
:root:not([data-theme]) .site main .site-btn:not(.site-btn--primary):hover { border-color: #6a3fb0; color: #6a3fb0; }
:root:not([data-theme]) .site .hx-tag i { background: #6a3fb0; }
:root:not([data-theme]) .site .hx-years a:hover { border-color: #6a3fb0; color: #6a3fb0; }
:root:not([data-theme]) .site .site-hero--home .site-hero__art::before { background: radial-gradient(closest-side, rgba(255, 212, 0, .6) 0%, rgba(255, 212, 0, .42) 24%, rgba(255, 212, 0, .24) 46%, rgba(255, 212, 0, .1) 68%, transparent 100%); }
:root:not([data-theme]) .site .hx-orb--phys { --c: #e0a400; --ring: rgba(224, 164, 0, .55); --ring-soft: rgba(224, 164, 0, .1); }
:root:not([data-theme]) .site .hx-orb--chem { --c: #6a3fb0; --ring: rgba(106, 63, 176, .5); --ring-soft: rgba(106, 63, 176, .07); }
:root:not([data-theme]) .site .hx-orb--bio { --c: #1a1426; --ring: rgba(26, 20, 38, .3); --ring-soft: rgba(26, 20, 38, .05); }
:root:not([data-theme]) .site .hx-orb--phys { --b-bg: #ffd400; --b-ink: #1a1426; }
:root:not([data-theme]) .site .hx-orb--chem { --b-bg: #6a3fb0; --b-ink: #ffffff; }
:root:not([data-theme]) .site .hx-orb--bio { --b-bg: #3a3540; --b-ink: #ffd400; }
:root:not([data-theme]) .site .hx-orb__b { background: var(--b-bg); border: 0; color: var(--b-ink); box-shadow: 0 6px 14px -6px rgba(26, 20, 38, .45); filter: none; }
:root:not([data-theme]) .site .hx-orb__b::before { display: none; }
:root:not([data-theme]) .site .hx-orb__b svg { stroke-width: 1.35; }
:root:not([data-theme]) .site .lp-title em { color: #6a3fb0; }
:root:not([data-theme]) .site .hx-chip { background: rgba(255, 253, 243, .95); border-color: rgba(106, 63, 176, .16); color: #1a1426; box-shadow: 0 18px 36px -20px rgba(106, 63, 176, .4); }
:root:not([data-theme]) .site .hx-chip small { color: #6b5f80; }
:root:not([data-theme]) .site .hx-subj { --c-ink: #6a3fb0; --hl: #6a3fb0; --hl-on: #ffffff; }
:root:not([data-theme]) .site .hx-subj--sci { --c: #ffd400; --c-on: #1a1426; }
:root:not([data-theme]) .site .hx-subj--chem { --c: #6a3fb0; --c-on: #ffffff; }
:root:not([data-theme]) .site .hx-subj--bio { --c: #c9b8de; --c-on: #1a1426; }
:root:not([data-theme]) .site .hx-subj small { background: rgba(106, 63, 176, .1); }
:root:not([data-theme]) .site .hx-more:hover { border-color: #6a3fb0; background: rgba(255, 212, 0, .3); }
:root:not([data-theme]) .site .hx-more .hx-go { background: #3a3540; color: #ffd400; }
:root:not([data-theme]) .site .site-top .site-top__in::before, :root:not([data-theme]) .site .site-top.is-stuck .site-top__in::before { background: rgba(122, 76, 184, .97); border-color: rgba(255, 255, 255, .16); box-shadow: 0 18px 40px -20px rgba(60, 20, 120, .6); }
:root:not([data-theme]) .site .site-top .site-nav__links a { color: rgba(255, 255, 255, .82); }
:root:not([data-theme]) .site .site-top .site-nav__links a[aria-current="page"], :root:not([data-theme]) .site .site-top .site-nav__links a:not([aria-current]):hover { color: #ffffff; }
:root:not([data-theme]) .site .site-top .site-nav__pill { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .22); }
:root:not([data-theme]) .site .site-top .site-top__tools .site-icon, :root:not([data-theme]) .site .site-top .site-top__tools .site-pill { color: #ffffff; }
}

/* 0.48.1 the "Ready to start" band stays dark violet in the day look, so its login button keeps the yellow */
:root[data-theme="light"] .site main .pg-cta .site-btn--primary { background: #ffd400; border-color: #ffd400; color: #1a1426; box-shadow: 0 16px 34px -14px rgba(255, 212, 0, .55); }
:root[data-theme="light"] .site main .pg-cta .site-btn--primary:hover { background: #ffde33; color: #1a1426; }
:root[data-theme="light"] .site main .pg-cta .site-btn--primary .hx-go { background: #1a1426; color: #ffd400; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .site main .pg-cta .site-btn--primary { background: #ffd400; border-color: #ffd400; color: #1a1426; box-shadow: 0 16px 34px -14px rgba(255, 212, 0, .55); }
  :root:not([data-theme]) .site main .pg-cta .site-btn--primary:hover { background: #ffde33; color: #1a1426; }
  :root:not([data-theme]) .site main .pg-cta .site-btn--primary .hx-go { background: #1a1426; color: #ffd400; }
}

/* 0.48.1 the footer opens with the logo large in the middle, the line about the academy under it and the social icons centred */
.site-foot__top { position: relative; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding-block: 64px 40px; text-align: center; isolation: isolate; }
.site-foot__top::before { content: ""; position: absolute; z-index: -1; inset-block-start: 20px; inset-inline-start: 50%; translate: -50% 0; inline-size: min(700px, 94%); block-size: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 212, 0, .14), rgba(122, 76, 184, .12) 55%, transparent); filter: blur(10px); pointer-events: none; }
[dir="rtl"] .site-foot__top::before { translate: 50% 0; }
.site-foot__brand { display: grid; justify-items: center; max-inline-size: 620px; margin-inline: auto; }
.site-foot .site-foot__logo { display: block; inline-size: min(100%, 560px); block-size: auto; max-inline-size: 100%; margin-inline: auto; filter: drop-shadow(0 14px 34px rgba(0, 0, 0, .4)); }
.site-foot__brand > a { display: block; inline-size: min(100%, 560px); }
.site-foot__brand { max-inline-size: 780px; inline-size: 100%; }
.site-foot__brand p { max-inline-size: 620px; margin-block-start: 22px; margin-inline: auto; font-size: 1.08rem; text-wrap: balance; }
.site-foot .site-social { justify-content: center; margin-block-start: 0; }
@media (max-width: 640px) {
  .site-foot__top { padding-block: 44px 30px; gap: 18px; }
  .site-foot .site-foot__logo { inline-size: min(86%, 320px); }
  .site-foot__brand p { font-size: .95rem; }
}

/* 0.51.1 courses hero: the headline on one line on a laptop, sized to its own column so it never runs
   out of it; the three posters as a neat deck, one behind the other, that are dealt in one by one
   (the back one first) when the hero comes into view */
@media (min-width: 1100px) {
  .pg-hero--courses .pg-hero__in { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); }
  .pg-hero--courses .pg-hero__text { container-type: inline-size; }
  .pg-hero--courses .pg-h1 { white-space: nowrap; text-wrap: nowrap; font-size: 3rem; font-size: min(4.6rem, var(--h1-fit, 7.1cqi)); }
}
/* 0.51.4 the deck a little more spread at rest; a pointer on it fans the three out so each poster shows whole */
.pg-hero--courses .pg-fan__card { inline-size: 72%; inset: auto; rotate: none; transform-origin: 50% 60%; }
.pg-hero--courses .pg-fan__card--1 { inset-block-start: 0; inset-inline-start: 30%; z-index: 1; rotate: 8deg; scale: .88; }
.pg-hero--courses .pg-fan__card--3 { inset-block-start: 22%; inset-inline-start: 15%; z-index: 2; rotate: 2deg; scale: .94; }
.pg-hero--courses .pg-fan__card--2 { inset-block-start: 44%; inset-inline-start: 0; z-index: 3; rotate: -4deg; }
[dir="rtl"] .pg-hero--courses .pg-fan__card--1 { rotate: -8deg; }
[dir="rtl"] .pg-hero--courses .pg-fan__card--3 { rotate: -2deg; }
[dir="rtl"] .pg-hero--courses .pg-fan__card--2 { rotate: 4deg; }
.pg-fan.is-ready .pg-fan__card { transition: opacity .45s ease, translate .85s cubic-bezier(.22, 1, .36, 1), scale .85s cubic-bezier(.22, 1, .36, 1), rotate .85s cubic-bezier(.22, 1, .36, 1); }
.pg-fan.is-ready:not(.is-in) .pg-fan__card { opacity: 0; translate: 0 38%; }
.pg-fan.is-ready .pg-fan__card--1 { transition-delay: 0s; }
.pg-fan.is-ready .pg-fan__card--3 { transition-delay: .28s; }
.pg-fan.is-ready .pg-fan__card--2 { transition-delay: .56s; }
.pg-fan.is-ready.is-in .pg-fan__card { opacity: 1; translate: 0 0; }
@media (hover: hover) {
  .pg-hero--courses .pg-fan:is(:hover, .is-spread) .pg-fan__card { transition-delay: 0s; transition-duration: .45s, .6s, .6s, .6s; }
  .pg-hero--courses .pg-fan.is-in:is(:hover, .is-spread) .pg-fan__card--1 { translate: 22% -14%; rotate: 13deg; scale: .8; }
  .pg-hero--courses .pg-fan.is-in:is(:hover, .is-spread) .pg-fan__card--3 { translate: 0 -6%; rotate: 0deg; scale: .84; }
  .pg-hero--courses .pg-fan.is-in:is(:hover, .is-spread) .pg-fan__card--2 { translate: -20% 12%; rotate: -11deg; scale: .86; }
  [dir="rtl"] .pg-hero--courses .pg-fan.is-in:is(:hover, .is-spread) .pg-fan__card--1 { translate: -22% -14%; rotate: -13deg; }
  [dir="rtl"] .pg-hero--courses .pg-fan.is-in:is(:hover, .is-spread) .pg-fan__card--2 { translate: 20% 12%; rotate: 11deg; }
}
@media (prefers-reduced-motion: reduce) { .pg-fan.is-ready .pg-fan__card { opacity: 1; translate: none; transition: none; } }

/* 0.51.1 about page, the four points: at first nothing but the page (each card shows its back, and a
   card's back is not drawn), then they turn over one by one when they come into view */
.pg-ticks.is-ready .pg-tick { transform: perspective(900px) rotateY(90deg); opacity: 0; transition: transform 1.3s cubic-bezier(.25, .8, .25, 1), opacity .35s ease; }
.pg-ticks.is-ready.is-in .pg-tick { transform: perspective(900px) rotateY(0deg); opacity: 1; }
.pg-ticks.is-ready .pg-tick:nth-child(2) { transition-delay: .45s; }
.pg-ticks.is-ready .pg-tick:nth-child(3) { transition-delay: .9s; }
.pg-ticks.is-ready .pg-tick:nth-child(4) { transition-delay: 1.35s; }
@media (prefers-reduced-motion: reduce) { .pg-ticks.is-ready .pg-tick { transform: none; transition: none; } }

/* 0.51.1 about page, "how we explain": the side cards come in from their own side, the middle one
   rises from inside the page */
.pg-teach { overflow-x: clip; }

/* 0.51.1 the closing call ("ready to start with Dr. Maher?"): a bright ALDOCTOR-yellow card with dark
   ink, three promises, a dark main button, and Dr. Maher stepping out over the card's top edge in
   front of a violet disc. It comes alive when it comes into view. */
.pg-cta-wrap { padding-block-start: clamp(80px, 9vw, 130px); }
.site-cta.cta2 { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); align-items: end; gap: 8px; padding: 0; overflow: visible; text-align: start; border-radius: 36px; color: #1a1426;
  background: linear-gradient(120deg, #ffe14d 0%, #ffd400 45%, #ffbf1f 100%); box-shadow: 0 40px 80px -40px rgba(255, 196, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .55); }
.cta2__helix { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; pointer-events: none;
  background: radial-gradient(60% 90% at 0% 100%, rgba(255, 255, 255, .35), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M20 0c40 30 40 90 0 120M60 0C20 30 20 90 60 120' fill='none' stroke='%231a1426' stroke-opacity='.07' stroke-width='3'/%3E%3C/svg%3E") repeat; }
.cta2__text { display: grid; justify-items: start; gap: 14px; padding: clamp(28px, 4.5vw, 60px); padding-inline-end: 0; align-self: center; }
.cta2__tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: #1a1426; color: #ffd400; font-weight: 800; font-size: .88rem; }
.cta2__tag svg { inline-size: 15px; block-size: 15px; }
.site-cta.cta2 .cta2__title { margin: 0; font-family: var(--font-display); font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.6rem); line-height: 1.1; color: #1a1426; text-wrap: balance; }
.site-cta.cta2 .cta2__lead { margin: 0; max-inline-size: none; color: rgba(26, 20, 38, .78); font-size: 1.12rem; font-weight: 600; }
.cta2__ticks { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.cta2__ticks li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #1a1426; }
.cta2__ticks li > span { display: grid; place-items: center; flex: none; inline-size: 28px; block-size: 28px; border-radius: 9px; background: #1a1426; color: #ffd400; }
.cta2__ticks svg { inline-size: 15px; block-size: 15px; }
.cta2__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block-start: 10px; }
.cta2__go { display: inline-flex; align-items: center; gap: 14px; padding: 9px 9px 9px 26px; padding-inline: 26px 9px; border-radius: 999px; background: #1a1426; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; text-decoration: none; box-shadow: 0 18px 30px -16px rgba(26, 20, 38, .8); transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease; }
.cta2__go i { display: grid; place-items: center; inline-size: 42px; block-size: 42px; border-radius: 50%; background: #ffd400; color: #1a1426; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.cta2__go svg { inline-size: 18px; block-size: 18px; }
[dir="ltr"] .cta2__go svg { transform: scaleX(-1); }
.cta2__go:hover { transform: translateY(-2px); box-shadow: 0 24px 36px -16px rgba(26, 20, 38, .9); }
.cta2__go:hover i { transform: translateX(-4px); }
[dir="ltr"] .cta2__go:hover i { transform: translateX(4px); }
.cta2__tg { display: inline-flex; align-items: center; gap: 10px; padding: 8px; padding-inline: 8px 18px; border-radius: 999px; border: 2px solid rgba(26, 20, 38, .8); color: #1a1426; font-weight: 800; text-decoration: none; transition: background .25s ease; }
.cta2__tg:hover { background: rgba(26, 20, 38, .08); }
.cta2__tg-ico { display: grid; place-items: center; inline-size: 34px; block-size: 34px; border-radius: 50%; background: #2aa3de; color: #fff; }
.cta2__tg-ico svg { inline-size: 18px; block-size: 18px; }
.cta2__art { position: relative; align-self: stretch; display: grid; align-items: end; justify-items: center; min-block-size: 100%; }
.cta2__disc { position: absolute; inset-block-end: 0; inset-inline-start: 50%; translate: -50% 0; inline-size: min(92%, 380px); aspect-ratio: 1; border-radius: 50% 50% 0 0 / 50% 50% 0 0; background: radial-gradient(circle at 50% 30%, #7a4cb8, #3d2270 70%); }
[dir="rtl"] .cta2__disc { translate: 50% 0; }
.cta2__ring { position: absolute; inset-block-end: 12%; inset-inline-start: 50%; translate: -50% 0; inline-size: min(112%, 470px); aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(26, 20, 38, .22); }
[dir="rtl"] .cta2__ring { translate: 50% 0; }
.cta2__art img { position: relative; inline-size: min(100%, 400px); block-size: auto; margin-block-start: clamp(-150px, -11vw, -80px); filter: drop-shadow(0 26px 30px rgba(26, 20, 38, .35)); }
/* coming alive */
.js-motion .cta2 .cta2__art img { transition: transform 1s cubic-bezier(.2, .8, .2, 1) .2s, opacity .6s ease .2s; }
.js-motion .cta2 .cta2__disc { transition: transform .9s cubic-bezier(.2, .8, .2, 1); transform-origin: 50% 100%; }
.js-motion .cta2 .cta2__ticks li { transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.js-motion .cta2 .cta2__ticks li:nth-child(2) { transition-delay: .15s; } .js-motion .cta2 .cta2__ticks li:nth-child(3) { transition-delay: .3s; }
.js-motion .cta2:not(.is-in) .cta2__art img { transform: translateY(18%); opacity: 0; }
.js-motion .cta2:not(.is-in) .cta2__disc { transform: scale(.4); }
.js-motion .cta2:not(.is-in) .cta2__ticks li { opacity: 0; transform: translateX(24px); }
[dir="rtl"].js-motion .cta2:not(.is-in) .cta2__ticks li { transform: translateX(-24px); }
.js-motion .cta2 .cta2__ring { animation: cta2Spin 40s linear infinite; }
@keyframes cta2Spin { to { rotate: 360deg; } }
@media (max-width: 900px) {
  .pg-cta-wrap { padding-block-start: 40px; }
  .site-cta.cta2 { grid-template-columns: minmax(0, 1fr); }
  .cta2__text { padding: 28px 22px 8px; }
  .cta2__art { min-block-size: 0; }
  .cta2__art img { inline-size: min(78%, 300px); margin-block-start: 0; }
  .cta2__ring { display: none; }
  .cta2__actions { display: grid; grid-template-columns: minmax(0, 1fr); inline-size: 100%; }
  .cta2__go, .cta2__tg { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .cta2__ring { animation: none; } }
.site-cta.cta2 .cta2__go, .site-cta.cta2 .cta2__go:hover { color: #fff; }
.site-cta.cta2 .cta2__tg, .site-cta.cta2 .cta2__tg:hover { color: #1a1426; }
/* Dr. Maher steps out over the card's top edge */
@media (min-width: 901px) {
  .cta2__art { margin-block-start: clamp(-170px, -12vw, -90px); }
  .cta2__art img { margin-block-start: 0; inline-size: min(100%, 430px); }
}
@media (max-width: 900px) { .cta2__disc { inline-size: min(72%, 280px); } .cta2__art { padding-block-start: 18px; } }

/* 0.51.1 touch screens: no frosted glass over a moving page (on a phone it is drawn again on every frame of
   the scroll); the same bars in a solid colour */
@media (pointer: coarse) {
  .site-top, .site-top--n1 .site-nav, .site-foot, .site-figure figcaption, .look-3 .site-steps li { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .site-foot { background: #120e1d; }
  .site-figure figcaption { background: rgba(16, 13, 26, .94); }
}
@media (pointer: coarse) { .site-top--n1 .site-top__in { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(18, 14, 30, .97); } }

/* 0.51.2 the journey's ending: once every sheet is read, the pile (now only the read sheets in their tray)
   lets taps through, and "Enter the platform", "Ask about your account" and "Drop the sheets again" sit on top */
.sj.is-done .sj-pile { pointer-events: none; }
.sj.is-done .sj-done { z-index: 60; }

/* 0.51.2 the helices behind the page: as tall as the largest viewport (a phone's address bar never resizes them) */
.dna-bg { block-size: 100vh; block-size: 100lvh; }

/* ══ 0.52.0 ══ */
/* a hero's headline keeps room for the marks above its letters (the eyebrow over it never touches them) */
.pg-hero .pg-h1 { padding-block-start: .14em; line-height: 1.16; }

/* about: the headline turns ALDOCTOR yellow once it is written, sweeping in the reading direction */
.pg-hero--about { --hl: #ffd400; }
:root[data-theme="light"] .pg-hero--about { --hl: #b58900; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .pg-hero--about { --hl: #b58900; } }
/* each word is written in white and the yellow follows right behind it (data-hl, see site.js) */
.pg-hero--about .hl-w { color: var(--hl); transition: color .8s ease; }
.pg-hero--about .hl-w.is-hl { color: var(--text); }

/* about: the numbers, one glass card, an icon each, the number large and yellow */
.pg-hero--about .pg-stats { display: inline-flex; flex-wrap: wrap; align-items: stretch; gap: 0; inline-size: fit-content; max-inline-size: 100%; margin-block-start: 10px; padding: 6px; border-radius: 26px; border: 1px solid var(--site-line); background: linear-gradient(140deg, color-mix(in srgb, var(--site-card) 92%, #7a4cb8) 0%, var(--site-card) 70%); box-shadow: 0 30px 60px -36px rgba(6, 2, 20, .8); }
.pg-hero--about .pg-stat, .pg-hero--about .pg-stat--v { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 14px; row-gap: 0; min-inline-size: 0; padding: 14px 22px; border-radius: 20px; background: none; color: var(--text); box-shadow: none !important; }
.pg-stat__ico { grid-row: 1 / span 2; display: grid; place-items: center; inline-size: 52px; block-size: 52px; border-radius: 16px; background: #ffd400; color: #1a1426; box-shadow: 0 10px 22px -10px rgba(255, 212, 0, .7); }
.pg-stat--v .pg-stat__ico { background: #7a4cb8; color: #fff; box-shadow: 0 10px 22px -10px rgba(122, 76, 184, .8); }
.pg-stat__ico svg { inline-size: 24px; block-size: 24px; }
.pg-hero--about .pg-stat b { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.7rem); line-height: 1.05; color: var(--hl); }
.pg-hero--about .pg-stat--v b { color: var(--text); }
.pg-hero--about .pg-stat small { font-size: .92rem; color: var(--muted); }
.pg-stats__sep { inline-size: 1px; margin-block: 12px; background: var(--site-line); }
@media (max-width: 520px) { .pg-hero--about .pg-stats { display: grid; inline-size: 100%; } .pg-stats__sep { inline-size: auto; block-size: 1px; margin: 0 16px; } }

/* about: the three cards, slower, each from its own side (the middle one from inside the page) */
.pg-tiles.is-ready .pg-tile { opacity: 0; transition: opacity 1s ease, transform 1.5s cubic-bezier(.16, .9, .25, 1); }
.pg-tiles.is-ready .pg-tile:nth-child(3n+1) { transform: translateX(-80%) rotate(-6deg); }
.pg-tiles.is-ready .pg-tile:nth-child(3n+2) { transform: scale(.4); transition-delay: .3s; }
.pg-tiles.is-ready .pg-tile:nth-child(3n+3) { transform: translateX(80%) rotate(6deg); transition-delay: .6s; }
[dir="rtl"] .pg-tiles.is-ready .pg-tile:nth-child(3n+1) { transform: translateX(80%) rotate(6deg); }
[dir="rtl"] .pg-tiles.is-ready .pg-tile:nth-child(3n+3) { transform: translateX(-80%) rotate(-6deg); }
.pg-tiles.is-ready.is-go .pg-tile { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .pg-tiles.is-ready .pg-tile:nth-child(n), [dir="rtl"] .pg-tiles.is-ready .pg-tile:nth-child(n) { transform: translateY(40px) scale(.96); }
  .pg-tiles.is-ready.is-go .pg-tile:nth-child(n), [dir="rtl"] .pg-tiles.is-ready.is-go .pg-tile:nth-child(n) { transform: none; }
}

/* contact: the networks as their own app icons */
.pg-bubble svg.ico--brand { inline-size: 30px; block-size: 30px; }
.pg-bubble--youtube { background: #ff0000; }
.pg-hero__maher a.pg-bubble--youtube, .pg-hero__maher a.pg-bubble--youtube:hover { color: #ff0000 !important; }
.pg-bubble--telegram { background: linear-gradient(160deg, #37aee2, #1e96c8); }
.pg-bubble--facebook { background: #0866ff; }
.pg-bubble--whatsapp { background: #25d366; }
.pg-bubble--tiktok { background: #000000; }
.pg-bubble--youtube svg.ico--brand { inline-size: 50px; block-size: 50px; }
.pg-bubble--facebook svg.ico--brand { inline-size: 38px; block-size: 38px; }

/* reviews: the side panel is a little scene of reviews arriving */
.pg-rform__side { align-content: end; gap: 12px; padding: 28px 30px 32px; background: radial-gradient(90% 70% at 30% 20%, #6a3fb0, #3d2270 70%); }
.pg-rform__quote, .pg-rform__stars { display: none; }
.rv-art { display: block; inline-size: 100%; max-inline-size: 360px; block-size: auto; margin-block-end: 8px; overflow: visible; filter: drop-shadow(0 18px 24px rgba(10, 4, 30, .45)); }
.rv-b { transform-box: fill-box; transform-origin: center; animation: rvFloat 6s ease-in-out infinite; }
.rv-b--2 { animation-delay: -2s; } .rv-b--3 { animation-delay: -4s; }
.rv-spark { animation: rvTwinkle 2.6s ease-in-out infinite; }
@keyframes rvFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes rvTwinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.pg-rform .site-review-form__stars label { font-size: 2.3rem; transition: transform .2s ease, color .2s ease; }
.pg-rform .site-review-form__stars label:hover { transform: scale(1.15); }
.pg-rform .site-review-form textarea { min-block-size: 130px; }
@media (prefers-reduced-motion: reduce) { .rv-b, .rv-spark { animation: none; } }
/* YouTube's own button: red frame, white play sign, wherever it is shown */
a.soc--youtube { color: #ff0000 !important; }

/* about: the years of teaching as a bar of one step per year, lighting up one after another */
.pg-hero--about .pg-stat--v { grid-template-rows: auto auto auto; }
.pg-yrs { grid-column: 1 / -1; display: flex; gap: 4px; inline-size: 100%; min-inline-size: 240px; margin-block-start: 12px; }
.pg-yrs i { flex: 1 1 0; block-size: 14px; border-radius: 4px; background: color-mix(in srgb, var(--text) 14%, transparent); position: relative; overflow: hidden; }
.pg-yrs i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #ffd400, #ffb800); box-shadow: 0 0 10px rgba(255, 212, 0, .55); transform: scaleX(0); transform-origin: right; transition: transform .35s ease calc(.25s + var(--i, 0) * 90ms); }
[dir="ltr"] .pg-yrs i::after { transform-origin: left; }
.pg-stat--v.is-in .pg-yrs i::after, html:not(.js-motion) .pg-yrs i::after { transform: scaleX(1); }
.pg-yrs i:first-child { border-start-start-radius: 999px; border-end-start-radius: 999px; }
.pg-yrs i:last-child { border-start-end-radius: 999px; border-end-end-radius: 999px; }

/* 0.52.1 about: the years of teaching, the number riding on the end of a bar that fills as it counts */
.pg-yrsbox { --p: 1; display: grid; gap: 10px; inline-size: min(100%, 440px); margin-block-start: 10px; padding: 18px 26px 24px; border-radius: 26px; border: 1px solid var(--site-line);
  background: linear-gradient(140deg, color-mix(in srgb, var(--site-card) 90%, #7a4cb8) 0%, var(--site-card) 70%); box-shadow: 0 30px 60px -36px rgba(6, 2, 20, .8); }
.pg-yrsbox__t { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--muted); }
.pg-yrsbox__track { position: relative; padding-block-start: 58px; padding-inline: 30px; }
.pg-yrsbox__bar { position: relative; display: block; block-size: 14px; margin-inline: -30px; border-radius: 999px; background: color-mix(in srgb, var(--text) 12%, transparent); overflow: hidden; }
.pg-yrsbox__bar i { position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: calc(var(--p) * 100%); border-radius: inherit; background: linear-gradient(90deg, #ffb800, #ffd400 60%, #ffe86b); box-shadow: 0 0 14px rgba(255, 212, 0, .6); }
[dir="rtl"] .pg-yrsbox__bar i { background: linear-gradient(270deg, #ffb800, #ffd400 60%, #ffe86b); }
.pg-yrsbox__tip { position: absolute; inset-block-start: 0; inset-inline-start: calc(30px + var(--p) * (100% - 60px)); translate: -50% 0; display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; padding: 6px 14px 8px; border-radius: 14px; background: #ffd400; color: #1a1426; font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; box-shadow: 0 10px 22px -10px rgba(255, 212, 0, .8); }
[dir="rtl"] .pg-yrsbox__tip { translate: 50% 0; }
.pg-yrsbox__tip b { font-size: 1.9rem; line-height: 1; }
.pg-yrsbox__tip::after { content: ""; position: absolute; inset-block-end: -6px; inset-inline-start: 50%; inline-size: 12px; block-size: 12px; translate: -50% 0; rotate: 45deg; background: #ffd400; border-radius: 2px; }
[dir="rtl"] .pg-yrsbox__tip::after { translate: 50% 0; }
/* the call button in the green of a phone's call key */
.pg-bubble--phone { background: linear-gradient(160deg, #5ad96f, #26b247); }

/* ══ 0.53.0 the public "How to use" page ══ */
.gd-hero { position: relative; padding-block: 128px 26px; isolation: isolate; overflow-x: clip; }
.gd-hero::before { content: ""; position: absolute; z-index: -1; inline-size: 520px; block-size: 520px; inset-block-start: -200px; inset-inline-end: -140px; border-radius: 50%; filter: blur(70px); background: radial-gradient(circle, rgba(122, 76, 184, .5), transparent 70%); }
.gd-hero .site-wrap { display: grid; gap: 14px; justify-items: start; }
.gd-hero .site-eyebrow { margin: 0; }
.gd-hero__t { margin: 0; padding-block-start: .1em; font-family: var(--font-display); font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); line-height: 1.15; color: var(--text); text-wrap: balance; }
.gd-hero__lead { margin: 0; max-inline-size: 64ch; color: var(--muted); font-size: 1.1rem; line-height: 1.85; }
.gd-who { display: flex; align-items: center; gap: 12px; margin: 6px 0 0; padding: 10px; padding-inline-end: 18px; border-radius: 18px; border: 1px solid var(--site-line); background: var(--site-card); max-inline-size: 100%; }
.gd-who__ico { display: grid; place-items: center; flex: none; inline-size: 40px; block-size: 40px; border-radius: 12px; background: #7a4cb8; color: #fff; }
.gd-who__ico svg { inline-size: 20px; block-size: 20px; }
.gd-who b { display: block; font-size: .85rem; color: var(--muted); }
.gd-who span:last-child { font-weight: 600; color: var(--text); line-height: 1.6; }

.gd__in { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.gd-body { display: grid; gap: 18px; min-inline-size: 0; }
.gd-card { padding: 24px 26px; border-radius: 26px; border: 1px solid var(--site-line); background: var(--site-card); }
.gd-card h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-family: var(--font-display); font-size: 1.3rem; color: var(--text); }
.gd-card__ico { display: grid; place-items: center; flex: none; inline-size: 40px; block-size: 40px; border-radius: 12px; background: color-mix(in srgb, #7a4cb8 30%, transparent); color: #c9b8ff; }
.gd-card__ico--y { background: #ffd400; color: #1a1426; }
.gd-card__ico svg { inline-size: 20px; block-size: 20px; }
.gd-checks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.gd-checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.75; color: var(--text); }
.gd-checks li > span { display: grid; place-items: center; flex: none; inline-size: 26px; block-size: 26px; margin-block-start: 2px; border-radius: 8px; background: #ffd400; color: #1a1426; }
.gd-checks svg { inline-size: 15px; block-size: 15px; }
/* the steps: a numbered path down the page */
.gd-steps { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.gd-steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-block-end: 18px; }
.gd-steps li:not(:last-child)::before { content: ""; position: absolute; inset-block: 44px 0; inset-inline-start: 21px; inline-size: 2px; background: linear-gradient(#ffd400, color-mix(in srgb, #ffd400 15%, transparent)); }
.gd-steps__n { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%; background: #ffd400; color: #1a1426; font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; box-shadow: 0 8px 18px -8px rgba(255, 212, 0, .7); }
.gd-steps p { margin: 0; padding-block-start: 9px; line-height: 1.8; color: var(--text); }
.gd-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; margin: 0; }
.gd-fields > div { padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--text) 5%, transparent); border: 1px solid var(--site-line); }
.gd-fields dt { font-weight: 800; color: var(--text); }
.gd-fields dd { margin: 6px 0 0; color: var(--muted); line-height: 1.7; }
.gd-card--warn { border-color: color-mix(in srgb, #f5a524 45%, transparent); background: linear-gradient(160deg, color-mix(in srgb, #f5a524 12%, var(--site-card)), var(--site-card) 70%); }
.gd-card--warn .gd-card__ico { background: #f5a524; color: #1a1426; }
.gd-warn { display: grid; gap: 8px; margin: 0; padding-inline-start: 20px; color: var(--text); line-height: 1.75; }
.gd-warn li::marker { color: #f5a524; }
.gd-faq { display: grid; gap: 10px; }
.gd-faq details { border-radius: 16px; border: 1px solid var(--site-line); background: color-mix(in srgb, var(--text) 4%, transparent); }
.gd-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font-weight: 800; color: var(--text); cursor: pointer; list-style: none; }
.gd-faq summary::-webkit-details-marker { display: none; }
.gd-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; inline-size: 28px; block-size: 28px; border-radius: 50%; background: #ffd400; color: #1a1426; font-weight: 800; transition: rotate .25s ease; }
.gd-faq details[open] summary::after { rotate: 45deg; }
.gd-faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); line-height: 1.75; }
.gd-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-radius: 26px; background: linear-gradient(120deg, #ffe14d, #ffd400 50%, #ffbf1f); color: #1a1426; }
.gd-help b { font-family: var(--font-display); font-size: 1.25rem; }
.gd-help p { margin: 4px 0 0; color: rgba(26, 20, 38, .78); font-weight: 600; max-inline-size: 52ch; line-height: 1.7; }
.gd-help__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.gd-help__btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #1a1426; color: #fff; font-weight: 800; text-decoration: none; }
a.gd-help__btn, a.gd-help__btn:hover { color: #fff !important; }
.gd-help__btn--wa { background: #25d366; }
.gd-help__btn svg { inline-size: 20px; block-size: 20px; }
/* the list of guides: it stays in view beside the guide while the page scrolls */
.gd-nav { position: sticky; inset-block-start: 100px; display: grid; gap: 10px; max-block-size: calc(100vh - 120px); overflow: auto; padding: 16px; border-radius: 26px; border: 1px solid var(--site-line); background: var(--site-card); scrollbar-width: thin; }
.gd-nav__t { display: flex; align-items: center; gap: 8px; margin: 0 4px 4px; font-family: var(--font-display); font-weight: 800; color: var(--text); }
.gd-nav__t svg { inline-size: 18px; block-size: 18px; color: #ffd400; }
.gd-nav ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.gd-nav__a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px; border-radius: 16px; color: var(--text); text-decoration: none; transition: background .2s ease; }
.gd-nav__a:hover { background: color-mix(in srgb, var(--text) 6%, transparent); }
a.gd-nav__a.is-on { background: #ffd400; color: #1a1426; }
.gd-nav__ico { display: grid; place-items: center; inline-size: 34px; block-size: 34px; border-radius: 10px; background: color-mix(in srgb, #7a4cb8 30%, transparent); color: #c9b8ff; }
.gd-nav__a.is-on .gd-nav__ico { background: #1a1426; color: #ffd400; }
.gd-nav__ico svg { inline-size: 17px; block-size: 17px; }
.gd-nav__txt b { display: block; font-size: .98rem; line-height: 1.4; }
.gd-nav__txt small { display: block; margin-block-start: 3px; font-size: .82rem; line-height: 1.55; color: var(--muted); }
.gd-nav__a.is-on small { color: rgba(26, 20, 38, .72); }
/* a phone: the guides become a row of chips above the guide, one swipe across */
@media (max-width: 900px) {
  .gd-hero { padding-block: 104px 18px; }
  .gd__in { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .gd-nav { order: -1; position: static; max-block-size: none; overflow: visible; padding: 0; border: 0; background: none; }
  .gd-nav__t { display: none; }
  .gd-nav ul { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding-block-end: 6px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .gd-nav ul::-webkit-scrollbar { display: none; }
  .gd-nav li { flex: none; scroll-snap-align: start; }
  .gd-nav__a { display: flex; align-items: center; gap: 8px; padding: 8px; padding-inline-end: 14px; border-radius: 999px; border: 1px solid var(--site-line); background: var(--site-card); white-space: nowrap; }
  .gd-nav__ico { inline-size: 28px; block-size: 28px; border-radius: 50%; }
  .gd-nav__txt small { display: none; }
  .gd-card { padding: 18px 16px; border-radius: 20px; }
  .gd-card h2 { font-size: 1.15rem; }
  .gd-help { padding: 18px; }
  .gd-help__btns, .gd-help__btn { inline-size: 100%; justify-content: center; }
}

/* ══ 0.53.0 one course on the public site ══ */
/* the hero: the course's own poster, blurred and dark, behind everything */
.cr-hero { position: relative; overflow: clip; padding-block: 124px 70px; isolation: isolate; }
.cr-hero__bg { position: absolute; inset: -40px; z-index: -2; background-size: cover; background-position: center; filter: blur(46px) saturate(1.3); opacity: .55; transform: scale(1.1); }
.cr-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 13, 26, .55) 0%, rgba(16, 13, 26, .78) 60%, var(--bg, #100d1a) 100%); }
:root[data-theme="light"] .cr-hero::after { background: linear-gradient(180deg, rgba(246, 243, 251, .55) 0%, rgba(246, 243, 251, .85) 60%, var(--bg, #f6f3fb) 100%); }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .cr-hero::after { background: linear-gradient(180deg, rgba(246, 243, 251, .55) 0%, rgba(246, 243, 251, .85) 60%, var(--bg, #f6f3fb) 100%); } }
.cr-hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.cr-hero__text { display: grid; gap: 18px; justify-items: start; min-inline-size: 0; }
.cr-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.cr-tag { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--site-line); background: color-mix(in srgb, var(--site-card) 80%, transparent); color: var(--text); font-weight: 800; font-size: .9rem; backdrop-filter: blur(6px); }
.cr-tag--y { background: #ffd400; border-color: #ffd400; color: #1a1426; }
.cr-hero__t { margin: 0; padding-block-start: .08em; font-family: var(--font-display); font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.4rem); line-height: 1.08; color: var(--text); text-wrap: balance; }
.cr-hero__lead { margin: 0; max-inline-size: 56ch; font-size: 1.12rem; line-height: 1.85; color: var(--muted); }
.cr-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cr-stats li { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 16px 10px 10px; padding-inline: 10px 18px; border-radius: 18px; border: 1px solid var(--site-line); background: color-mix(in srgb, var(--site-card) 85%, transparent); backdrop-filter: blur(8px); }
.cr-stats__ico { grid-row: 1 / span 2; display: grid; place-items: center; inline-size: 42px; block-size: 42px; border-radius: 13px; background: color-mix(in srgb, #7a4cb8 35%, transparent); color: #d8c8ff; }
.cr-stats li:first-child .cr-stats__ico { background: #ffd400; color: #1a1426; }
.cr-stats__ico svg { inline-size: 20px; block-size: 20px; }
.cr-stats b { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--text); }
.cr-stats small { font-size: .85rem; font-weight: 700; color: var(--muted); }
.cr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-block-start: 4px; }
.cr-price { display: grid; padding: 8px 18px; border-radius: 18px; border: 1px dashed color-mix(in srgb, #ffd400 60%, transparent); }
.cr-price small { font-size: .8rem; color: var(--muted); font-weight: 700; }
.cr-price b { font-family: var(--font-display); font-size: 1.4rem; color: #ffd400; }
/* the poster, tilted a little in space, with a yellow glow */
.cr-poster { position: relative; margin: 0; justify-self: center; inline-size: min(100%, 600px); perspective: 1200px; }
.cr-poster__glow { position: absolute; inset: 8% 6%; z-index: -1; border-radius: 30px; background: radial-gradient(circle, rgba(255, 212, 0, .55), transparent 70%); filter: blur(40px); }
.cr-poster img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 26px; border: 6px solid color-mix(in srgb, var(--site-card) 70%, #ffd400); box-shadow: 0 40px 80px -36px rgba(6, 2, 20, .9); transform: rotateY(-8deg) rotateX(4deg); transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
[dir="rtl"] .cr-poster img { transform: rotateY(8deg) rotateX(4deg); }
@media (hover: hover) { .cr-poster:hover img, [dir="rtl"] .cr-poster:hover img { transform: none; } }
.cr-poster__by { position: absolute; inset-block-end: -18px; inset-inline-start: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 16px; background: #1a1426; color: #fff; font-weight: 800; box-shadow: 0 18px 30px -16px rgba(6, 2, 20, .9); }
.cr-poster__by svg { inline-size: 18px; block-size: 18px; color: #ffd400; }

/* the body: the lessons, and a card that stays beside them */
.cr-body__in { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.cr-outline { display: grid; gap: 14px; min-inline-size: 0; }
.cr-outline__head { display: grid; gap: 10px; margin-block-end: 6px; }
.cr-outline__head .site-eyebrow, .cr-outline__head .pg-h2 { margin: 0; }
.cr-unit { border-radius: 24px; border: 1px solid var(--site-line); background: var(--site-card); overflow: hidden; }
.cr-unit__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; list-style: none; }
.cr-unit__head::-webkit-details-marker { display: none; }
.cr-unit__n { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 14px; background: #ffd400; color: #1a1426; font-family: var(--font-display); font-weight: 800; }
.cr-unit__t { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: var(--text); }
.cr-unit__count { padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--text) 8%, transparent); font-size: .85rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.cr-unit__chev { inline-size: 12px; block-size: 12px; border-inline-end: 2.5px solid var(--muted); border-block-end: 2.5px solid var(--muted); rotate: 45deg; translate: 0 -3px; transition: rotate .25s ease; }
.cr-unit[open] .cr-unit__chev { rotate: -135deg; translate: 0 3px; }
.cr-lessons { position: relative; display: grid; gap: 0; margin: 0; padding: 0 20px 16px; list-style: none; }
.cr-lessons li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding-block: 10px; border-block-start: 1px solid var(--site-line); }
.cr-lessons__n { display: grid; place-items: center; inline-size: 36px; block-size: 36px; margin-inline: auto; border-radius: 50%; border: 2px solid color-mix(in srgb, #ffd400 60%, transparent); color: var(--text); font-weight: 800; font-size: .85rem; }
.cr-lessons__t { color: var(--text); font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.cr-lessons__lock { display: grid; place-items: center; inline-size: 32px; block-size: 32px; border-radius: 10px; background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--muted); }
.cr-lessons__lock svg { inline-size: 16px; block-size: 16px; }
.cr-lessons li:hover .cr-lessons__n { background: #ffd400; border-color: #ffd400; color: #1a1426; }
.cr-side { position: sticky; inset-block-start: 100px; }
.cr-side__card { border-radius: 26px; border: 1px solid var(--site-line); background: var(--site-card); overflow: hidden; box-shadow: 0 30px 60px -36px rgba(6, 2, 20, .8); }
.cr-side__img { display: block; inline-size: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cr-side__body { display: grid; gap: 12px; padding: 18px 20px 20px; }
.cr-side__t { font-family: var(--font-display); font-size: 1.2rem; color: var(--text); }
.cr-side__price { margin: 0; font-family: var(--font-display); font-size: 1.6rem; color: #ffd400; }
.cr-side__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cr-side__list li { display: flex; align-items: center; gap: 10px; color: var(--text); }
.cr-side__list svg { inline-size: 18px; block-size: 18px; color: #ffd400; flex: none; }
@media (max-width: 980px) {
  .cr-hero { padding-block: 104px 50px; }
  .cr-hero__in { grid-template-columns: minmax(0, 1fr); }
  .cr-poster { order: -1; inline-size: min(100%, 460px); }
  .cr-poster img, [dir="rtl"] .cr-poster img { transform: none; }
  .cr-body__in { grid-template-columns: minmax(0, 1fr); }
  .cr-side { position: static; }
  .cr-side__img { display: none; }
}
@media (max-width: 560px) {
  .cr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); inline-size: 100%; }
  .cr-actions, .cr-actions .site-btn { inline-size: 100%; }
  .cr-actions .site-btn { justify-content: space-between; }
  .cr-unit__head { grid-template-columns: auto minmax(0, 1fr) auto; padding: 14px; gap: 10px; }
  .cr-unit__count { display: none; }
  .cr-lessons { padding: 0 14px 12px; }
  .cr-lessons li { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; }
}
