/* Landing overlay: "Cobalt Midnight". Built from the landing tokens:
   cobalt #0056FF (--c-primary), its hover/active steps, ink-strong #171B28. */
html.lx-on #root .landing-page { display: none; }
html.lx-on #root, html.lx-on #root > .app { min-height: 0 !important; height: auto !important; }
html.lx-on body { background: #FAFBFC; }

#lx {
  --cb: 0 86 255;            /* cobalt, the landing primary */
  --cb-hi: 120 164 255;      /* cobalt lifted for text on night: 7.4:1 */
  --cb-deep: 1 62 182;       /* primary-active */
  --night: 5 9 26;
  --night-2: 11 19 51;
  --ink: 23 27 40;
  --muted: 74 84 104;
  --paper: 250 251 252;
  --spring: linear(0, .006, .025 2.8%, .101 6.1%, .539 18.9%, .721 25.3%, .849 31.5%, .937 38.1%, .968 41.8%, .991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001);
  --out: cubic-bezier(.16, 1, .3, 1);
  color: rgb(var(--ink));
  font-size: 1.6rem;
  line-height: 1.9;
  overflow-x: clip;
}
#lx, #lx *, #lx *::before, #lx *::after { box-sizing: border-box; }
:where(#lx) :where(h1, h2, h3, p, blockquote, dl, dd, ol, ul, figure) { margin: 0; }
:where(#lx) :where(ol, ul) { list-style: none; padding: 0; }
:where(#lx) a { color: inherit; text-decoration: none; }
:where(#lx) svg { width: 2rem; height: 2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
#lx :focus-visible { outline: 2px solid rgb(var(--cb)); outline-offset: 3px; }
/* zero specificity: a rounded ring for plain elements, while pills (.lx-btn ...) keep their own radius on focus */
:where(#lx :focus-visible) { border-radius: .8rem; }
#lx .lx-hero :focus-visible, #lx .lx-contact :focus-visible, #lx .lx-foot :focus-visible { outline-color: rgb(var(--cb-hi)); }
#lx .lx-shell { width: min(100% - 4.8rem, 124rem); margin-inline: auto; }
@media (max-width: 640px) { #lx .lx-shell { width: calc(100% - 3.2rem); } }

/* progress hairline */
.lx-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 70; transform-origin: right; transform: scaleX(0);
  background: linear-gradient(90deg, rgb(var(--cb-hi)), rgb(var(--cb))); }

/* ---------- buttons ---------- */
.lx-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 4.4rem;
  padding: 0 2rem; border-radius: 99rem; font-weight: 700; font-size: 1.5rem; white-space: nowrap; cursor: pointer; isolation: isolate; overflow: hidden;
  color: #fff; background: rgb(var(--cb));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .28), 0 .8rem 2.4rem -.6rem rgb(var(--cb) / .7);
  transition: transform .5s var(--spring), box-shadow .3s, background .2s; }
.lx-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .35) 50%, transparent 70%); transform: translateX(110%); transition: transform .7s var(--out); }
.lx-btn:hover { background: rgb(0 77 229); box-shadow: inset 0 1px 0 rgb(255 255 255 / .3), 0 1.4rem 3.6rem -.6rem rgb(var(--cb) / .85); }
.lx-btn:hover::after { transform: translateX(-110%); }
.lx-btn:active { transform: scale(.97); }
.lx-btn svg { transition: transform .4s var(--spring); }
.lx-btn:hover svg { transform: translateX(-.4rem); }
.lx-btn--lg { min-height: 5.6rem; padding: 0 2.8rem; font-size: 1.6rem; }
.lx-btn--sm { min-height: 4.4rem; padding: 0 1.8rem; font-size: 1.4rem; }
.lx-btn--ghost { background: rgb(255 255 255 / .06); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.lx-btn--ghost:hover { background: rgb(255 255 255 / .12); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .32); }

/* ---------- nav ---------- */
.lx-nav { position: fixed; inset: 1.4rem 0 auto; z-index: 60; display: grid; justify-items: center; padding-inline: 1.6rem; pointer-events: none; }
.lx-nav__pill { pointer-events: auto; display: flex; align-items: center; gap: .8rem; width: min(100%, 92rem); height: 6.4rem; padding: 0 .8rem 0 .8rem;
  padding-inline-start: 1.8rem; border-radius: 99rem; color: #fff;
  background: rgb(var(--night) / .28); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12), inset 0 1px 0 rgb(255 255 255 / .14);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  transition: background .4s, color .4s, box-shadow .4s, width .6s var(--spring), height .5s var(--spring); }
.lx-nav.is-scrolled .lx-nav__pill { height: 5.8rem; width: min(100%, 86rem); background: rgb(var(--night) / .55); }
.lx-nav.is-solid .lx-nav__pill { color: rgb(var(--ink)); background: rgb(255 255 255 / .72);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .9), 0 1.2rem 3.2rem -1.2rem rgb(var(--night) / .28), 0 0 0 1px rgb(var(--ink) / .06); }
.lx-nav__brand { display: flex; align-items: center; height: 4.4rem; padding: .4rem .6rem; border-radius: 1.6rem; flex: none; transition: background .4s; }
.lx-nav__brand img { height: 3.6rem; width: auto; display: block; }
.lx-nav:not(.is-solid) .lx-nav__brand { background: rgb(255 255 255 / .92); }
.lx-nav__links { display: flex; gap: .2rem; margin-inline: auto; }
.lx-nav__links a { position: relative; padding: .8rem 1.6rem; border-radius: 99rem; font-size: 1.45rem; font-weight: 500; opacity: .82; transition: opacity .2s, background .25s; }
.lx-nav__links a:hover { opacity: 1; background: rgb(255 255 255 / .1); }
.lx-nav.is-solid .lx-nav__links a:hover { background: rgb(var(--cb) / .08); color: rgb(var(--cb)); }
.lx-nav__toggle { display: none; width: 4.4rem; height: 4.4rem; border: 0; border-radius: 50%; color: inherit; background: rgb(255 255 255 / .1); cursor: pointer; place-items: center; }
.lx-nav.is-solid .lx-nav__toggle { background: rgb(var(--ink) / .06); }
.lx-nav__toggle { transition: background .2s; } .lx-nav__toggle:hover { background: rgb(255 255 255 / .18); } .lx-nav.is-solid .lx-nav__toggle:hover { background: rgb(var(--ink) / .1); }
.lx-nav__toggle svg { transition: transform .5s var(--spring); }
#lx.menu-open .lx-nav__toggle svg { transform: rotate(90deg); }
.lx-menu { pointer-events: auto; width: min(100%, 92rem); margin-top: .8rem; padding: .8rem; border-radius: 2.8rem; display: grid; gap: .2rem;
  background: rgb(var(--night) / .82); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12), 0 2rem 4rem -1rem rgb(0 0 0 / .4);
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  transform-origin: top center; animation: lx-drop .5s var(--spring); }
.lx-menu[hidden] { display: none; }
.lx-menu a { padding: 1.3rem 1.8rem; border-radius: 2rem; font-size: 1.6rem; font-weight: 500; }
.lx-menu a:hover { background: rgb(255 255 255 / .08); }
@keyframes lx-drop { from { opacity: 0; transform: translateY(-1rem) scale(.96); } }
@media (max-width: 900px) {
  .lx-nav__links { display: none; }
  .lx-nav__toggle { display: grid; }
  .lx-nav__pill { padding-inline-start: 1rem; }
  .lx-nav__pill .lx-btn--sm { margin-inline-start: auto; }
}

/* ---------- hero ---------- */
.lx-hero { position: relative; isolation: isolate; min-height: 100svh; display: grid; align-items: center; overflow: hidden; color: #fff;
  padding: 13rem 0 9rem; background:
    radial-gradient(60rem 40rem at 85% 10%, rgb(var(--cb) / .35), transparent 70%),
    radial-gradient(50rem 50rem at 10% 90%, rgb(var(--cb-deep) / .4), transparent 70%),
    linear-gradient(180deg, rgb(var(--night)), rgb(var(--night-2))); }
.lx-hero__grid { position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgb(var(--cb-hi) / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--cb-hi) / .05) 1px, transparent 1px);
  background-size: 4.8rem 4.8rem; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 85%); mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 85%); }
.lx-hero__glow { position: absolute; z-index: -1; width: 44rem; height: 44rem; left: var(--gx, 70%); top: var(--gy, 40%); translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--cb) / .12), transparent 65%); pointer-events: none; transition: left .6s var(--out), top .6s var(--out); }
.lx-plot { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1;
  -webkit-mask-image: linear-gradient(to left, rgb(0 0 0 / .22) 0, rgb(0 0 0 / .22) 38%, #000 62%); mask-image: linear-gradient(to left, rgb(0 0 0 / .22) 0, rgb(0 0 0 / .22) 38%, #000 62%); }
.lx-plot__axis { stroke: rgb(var(--cb-hi) / .14); stroke-dasharray: 4 8; }
.lx-plot__curve { stroke: url(#lx-gc); stroke-width: 2.4; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; animation: lx-draw 2.8s var(--out) .4s forwards;
  filter: drop-shadow(0 0 8px rgb(var(--cb) / .8)); }
.lx-plot__curve2 { stroke: rgb(var(--cb-hi) / .16); stroke-width: 1.2; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; animation: lx-draw 3.4s var(--out) .9s forwards; }
@keyframes lx-draw { to { stroke-dashoffset: 0; } }
.lx-plot__tan { opacity: 0; animation: lx-fade .8s 2.4s forwards; }
.lx-plot__tan line { stroke: #fff; stroke-width: 1.6; stroke-opacity: .75; stroke-dasharray: 2 6; }
.lx-plot__tan circle { fill: #fff; stroke: none; }
.lx-plot__tan .lx-plot__halo { fill: rgb(var(--cb) / .35); animation: lx-pulse 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.lx-plot__tan text { fill: rgb(var(--cb-hi)); stroke: none; font: italic 600 20px/1 ui-serif, Georgia, serif; direction: ltr; }
@keyframes lx-pulse { 50% { transform: scale(1.5); opacity: .3; } }
@keyframes lx-fade { to { opacity: 1; } }

.lx-hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(3.2rem, 6vw, 8rem); align-items: center; }
.lx-eyebrow { display: inline-flex; align-items: center; gap: 1rem; padding: .6rem 1.4rem .6rem 1.6rem; border-radius: 99rem; font-size: 1.35rem; font-weight: 500;
  color: rgb(var(--cb-hi)); background: rgb(var(--cb) / .12); box-shadow: inset 0 0 0 1px rgb(var(--cb-hi) / .22); }
.lx-eyebrow span { width: .8rem; height: .8rem; border-radius: 50%; background: rgb(var(--cb-hi)); box-shadow: 0 0 0 0 rgb(var(--cb-hi) / .6); animation: lx-ping 2s infinite; }
@keyframes lx-ping { 70% { box-shadow: 0 0 0 .8rem rgb(var(--cb-hi) / 0); } 100% { box-shadow: 0 0 0 0 rgb(var(--cb-hi) / 0); } }
.lx-hero__title { margin-top: 2.4rem !important; font-size: clamp(4.2rem, 6.4vw, 8.8rem); line-height: 1.12; font-weight: 900; }
.lx-line { display: block; overflow: hidden; padding-bottom: .08em; }
.lx-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--out) calc(var(--d) * .12s + .1s); }
#lx.is-ready .lx-line > span { transform: none; }
.lx-hero__title em { font-style: normal; background: linear-gradient(100deg, rgb(var(--cb-hi)), #fff 55%, rgb(var(--cb-hi))); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: lx-sheen 6s linear infinite; }
@keyframes lx-sheen { to { background-position: -200% 0; } }
.lx-hero__lead { margin-top: 2.4rem !important; max-width: 56ch; font-size: 1.7rem; line-height: 2.1; font-weight: 300; color: rgb(255 255 255 / .74); }
.lx-hero__actions { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 3.6rem; }
.lx-in { opacity: 0; transform: translateY(2.4rem); filter: blur(6px);
  transition: opacity .9s var(--out), transform 1.1s var(--out), filter .9s var(--out); transition-delay: calc(var(--d) * .12s + .15s); }
#lx.is-ready .lx-in { opacity: 1; transform: none; filter: none; }

.lx-stats { display: flex; gap: 0; margin-top: 5.6rem !important; width: fit-content; }
.lx-stats div { display: flex; flex-direction: column-reverse; padding-inline: 0 3.2rem; }
.lx-stats div + div { padding-inline-start: 3.2rem; box-shadow: inset -1px 0 0 rgb(255 255 255 / .12); }
.lx-stats dt { font-size: 1.25rem; color: rgb(255 255 255 / .6); }
.lx-stats dd { font-size: 2.6rem; font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; }

.lx-hero__media { position: relative; perspective: 120rem; --rx: 0deg; --ry: 0deg; }
.lx-hero__frame { position: relative; border-radius: 3.2rem; padding: 1rem; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .8s var(--out);
  background: linear-gradient(150deg, rgb(255 255 255 / .22), rgb(255 255 255 / .04)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2), 0 4rem 8rem -2rem rgb(0 0 0 / .6), 0 0 10rem -3rem rgb(var(--cb) / .4);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transform-style: preserve-3d; }
.lx-hero__frame img { display: block; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 2.4rem; }
.lx-hero__frame::after { content: ""; position: absolute; inset: 1rem; border-radius: 2.4rem; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgb(var(--night) / .45)); }
.lx-chip { position: absolute; z-index: 2; direction: ltr; padding: 1rem 1.6rem; border-radius: 1.6rem; font: italic 600 1.6rem/1 ui-serif, Georgia, serif; color: #fff; white-space: nowrap;
  background: rgb(var(--night-2) / .55); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18), 0 1.6rem 3.2rem -1rem rgb(0 0 0 / .5);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); animation: lx-float 7s ease-in-out infinite; }
.lx-chip sub { font-size: .65em; }
.lx-chip { bottom: 9%; left: -2.4rem; }
@keyframes lx-float { 50% { transform: translateY(-1.2rem) rotate(-1.5deg); } }

.lx-scrollcue { position: absolute; bottom: 2.8rem; left: 50%; translate: -50% 0; width: 2.8rem; height: 4.4rem; border-radius: 99rem; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .35); }
.lx-scrollcue span { position: absolute; top: .9rem; left: 50%; width: .4rem; height: .8rem; margin-left: -.2rem; border-radius: 1rem; background: #fff; animation: lx-cue 1.8s var(--out) infinite; }
@keyframes lx-cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(1.6rem); } }

@media (max-width: 1023px) {
  .lx-hero { padding-top: 11rem; }
  .lx-hero__inner { grid-template-columns: 1fr; }
  .lx-hero__media { order: -1; width: min(100%, 56rem); margin-inline: auto; }
  .lx-scrollcue { display: none; }
}
@media (max-width: 640px) {
  .lx-hero { padding-bottom: 6rem; }
  .lx-hero__lead { font-size: 1.55rem; }
  .lx-chip { font-size: 1.3rem; padding: .8rem 1.2rem; }
  .lx-chip { left: -.8rem; }
  .lx-stats { width: 100%; justify-content: space-between; } .lx-stats div, .lx-stats div + div { padding-inline: 0; box-shadow: none; }
  .lx-hero__actions .lx-btn { flex: 1; }
}

/* ---------- shared section type ---------- */
.lx-r { opacity: 0; transform: translateY(3.2rem); transition: opacity .9s var(--out), transform 1.1s var(--out); transition-delay: calc(var(--d, 0) * .09s); }
.lx-r.is-in { opacity: 1; transform: none; }
.lx-kicker { display: inline-flex; align-items: center; gap: .8rem; font-size: 1.35rem; font-weight: 700; color: rgb(var(--cb)); }
.lx-kicker::before { content: ""; width: 2.4rem; height: 2px; border-radius: 2px; background: currentColor; }
.lx-h2 { margin-top: 1.2rem !important; font-size: clamp(3rem, 4vw, 4.8rem); line-height: 1.25; font-weight: 900; color: rgb(var(--ink)); }
.lx-h2 span { color: rgb(var(--cb)); }
.lx-lead { margin-top: 2rem !important; max-width: 64ch; font-size: 1.7rem; line-height: 2.1; font-weight: 300; color: rgb(var(--muted)); }

/* ---------- quote (scroll-lit, minimal) ---------- */
.lx-quote { padding: clamp(8.8rem, 12vw, 15rem) 0; background: #fff; text-align: center; }
.lx-quote__rule { display: block; width: 4rem; height: 2px; margin: 0 auto; border-radius: 2px; background: rgb(var(--cb)); }
.lx-quote__text { margin: 3.2rem auto 0 !important; max-width: 30ch; font-size: clamp(2.4rem, 3.2vw, 4rem); line-height: 1.75; font-weight: 700; }
.lx-w { color: rgb(var(--ink) / .13); transition: color .6s var(--out); }
.lx-w.is-lit { color: rgb(var(--ink)); }
.lx-w.is-key.is-lit { color: rgb(var(--cb)); }
.lx-quote__note { margin: 3.2rem auto 0 !important; max-width: 46ch; font-size: 1.5rem; line-height: 2; font-weight: 300; color: rgb(var(--muted)); }

/* ---------- about bento ---------- */
.lx-about { padding: clamp(8rem, 10vw, 12rem) 0; background: rgb(var(--paper)); }
.lx-head { max-width: 76rem; }
.lx-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.2rem; margin-top: 5.6rem; align-items: start; }
.lx-card { grid-column: span 6; position: relative; isolation: isolate; padding: 2.8rem; border-radius: 2.8rem; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgb(var(--ink) / .07), 0 1px 2px rgb(var(--ink) / .03);
  transition: transform .6s var(--spring), box-shadow .4s, opacity .9s var(--out); }
.lx-card:nth-child(1), .lx-card:nth-child(4) { grid-column: span 7; }
.lx-card:nth-child(2), .lx-card:nth-child(3) { grid-column: span 5; }
.lx-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(36rem circle at var(--sx, 50%) var(--sy, 0%), rgb(var(--cb) / .1), transparent 60%); }
.lx-card:hover { transform: translateY(-.4rem); box-shadow: 0 0 0 1px rgb(var(--cb) / .2), 0 2.4rem 4.8rem -3.2rem rgb(var(--cb) / .35); }
.lx-card:hover::before { opacity: 1; }
.lx-card__top { display: flex; align-items: center; justify-content: space-between; }
.lx-card__icon { display: grid; place-items: center; width: 5.2rem; height: 5.2rem; border-radius: 1.6rem; background: rgb(var(--cb) / .06); transition: transform .6s var(--spring); }
.lx-card:hover .lx-card__icon { transform: scale(1.06); }
.lx-card__icon img { width: 3rem; height: 3rem; }
.lx-card__num { font-size: 3.2rem; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgb(var(--cb) / .28); transition: -webkit-text-stroke-color .3s; }
.lx-card:hover .lx-card__num { -webkit-text-stroke-color: rgb(var(--cb)); }
.lx-card h3 { margin-top: 2.4rem !important; font-size: 2.2rem; font-weight: 700; color: rgb(var(--ink)); }
.lx-card__body { margin-top: 1rem; display: grid; grid-template-rows: 6.2rem; overflow: hidden; transition: grid-template-rows .7s var(--out);
  -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.lx-card__body p { min-height: 0; font-size: 1.55rem; line-height: 2.05; font-weight: 300; color: rgb(var(--muted)); }
.lx-card.is-open .lx-card__body { grid-template-rows: 1fr; -webkit-mask-image: none; mask-image: none; }
.lx-card__more { display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.2rem; min-height: 4.4rem; padding: 0 1.6rem 0 1.2rem; border: 0; border-radius: 99rem;
  font: inherit; font-size: 1.4rem; font-weight: 700; color: rgb(var(--cb)); background: rgb(var(--cb) / .07); cursor: pointer; transition: background .2s; }
.lx-card__more:hover { background: rgb(var(--cb) / .13); }
.lx-card__more svg { width: 1.8rem; height: 1.8rem; transition: transform .5s var(--spring); }
.lx-card.is-open .lx-card__more svg { transform: rotate(135deg); }
@media (max-width: 900px) { .lx-bento .lx-card { grid-column: 1 / -1; } }
@media (max-width: 640px) { .lx-card { padding: 2.2rem; border-radius: 2.4rem; } .lx-card__num { font-size: 3.6rem; } }

/* ---------- courses: stacked sticky sheets ---------- */
.lx-courses { padding: clamp(8rem, 10vw, 12rem) 0 clamp(8rem, 10vw, 14rem); background: #fff; }
.lx-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4.8rem; align-items: end; }
.lx-essay p { font-size: 1.6rem; line-height: 2.1; font-weight: 300; color: rgb(var(--muted)); text-align: justify; max-height: 13.4rem; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent); transition: max-height .8s var(--out); }
.lx-essay.is-open p { max-height: 200rem; -webkit-mask-image: none; mask-image: none; }
.lx-link { margin-top: .8rem; min-height: 4.4rem; padding: 0; border: 0; background: none; font: inherit; font-size: 1.45rem; font-weight: 700; color: rgb(var(--cb)); cursor: pointer;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-position: 100% 85%; background-repeat: no-repeat; transition: background-size .4s var(--out); }
.lx-link:hover { background-size: 100% 2px; }

.lx-stack { margin-top: 6.4rem; display: grid; gap: 2.4rem; }
.lx-course { --depth: 0; position: sticky; top: calc(10rem + var(--i) * 2.8rem); display: grid; grid-template-columns: 16rem minmax(0, 1.1fr) minmax(0, 1fr); gap: 3.2rem;
  padding: 4rem; border-radius: 3.6rem; color: #fff; overflow: hidden; isolation: isolate; transform-origin: top center;
  transform: scale(calc(1 - var(--depth) * .05)); filter: brightness(calc(1 - var(--depth) * .3));
  background: radial-gradient(50rem 30rem at 0% 0%, rgb(var(--cb) / .45), transparent 70%), linear-gradient(160deg, rgb(var(--night-2)), rgb(var(--night)));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08), 0 -1rem 4rem -1.6rem rgb(var(--night) / .4); }
.lx-course:nth-child(2) { background: radial-gradient(50rem 30rem at 0% 0%, rgb(255 255 255 / .18), transparent 70%), linear-gradient(160deg, rgb(var(--cb)), rgb(var(--cb-deep))); }
.lx-course:nth-child(3) { background: radial-gradient(50rem 30rem at 100% 100%, rgb(var(--cb) / .55), transparent 70%), linear-gradient(160deg, #0B1028, rgb(var(--night))); }
.lx-course::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px); background-size: 3.2rem 3.2rem;
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 60%); mask-image: linear-gradient(200deg, #000, transparent 60%); }
.lx-course__num { font-size: 13rem; line-height: .9; font-weight: 900; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / .4);
  transform: translateY(2rem); opacity: 0; transition: transform 1.2s var(--out), opacity 1s var(--out); }
.lx-course.is-in .lx-course__num { transform: none; opacity: 1; }
.lx-course__book { display: inline-block; padding: .4rem 1.2rem; border-radius: 99rem; font-size: 1.3rem; font-weight: 500; background: rgb(255 255 255 / .12); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.lx-course h3 { margin-top: 1.4rem !important; font-size: clamp(2.8rem, 3.2vw, 4rem); font-weight: 900; line-height: 1.2; }
.lx-course__desc { margin-top: 1.6rem !important; font-size: 1.55rem; line-height: 2.05; font-weight: 300; color: rgb(255 255 255 / .78); }
.lx-course__side { padding: 2.4rem; border-radius: 2.4rem; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); align-self: start; }
.lx-course__count { font-size: 1.4rem; color: rgb(255 255 255 / .7); }
.lx-course__count b { font-size: 2.4rem; font-weight: 900; color: #fff; margin-inline-end: .4rem; }
.lx-topics { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem !important; }
.lx-topics li { padding: .6rem 1.4rem; border-radius: 99rem; font-size: 1.4rem; line-height: 1.7; background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14);
  opacity: 0; transform: translateY(1rem) scale(.94); transition: opacity .6s var(--out), transform .7s var(--spring), background .2s; transition-delay: calc(var(--k) * 35ms + .2s), calc(var(--k) * 35ms + .2s), 0s; }
.lx-course.is-in .lx-topics li { opacity: 1; transform: none; }
.lx-topics li:hover { background: rgb(255 255 255 / .22); }
@media (max-width: 1023px) {
  .lx-head--split { grid-template-columns: 1fr; gap: 2.4rem; }
  .lx-course { position: relative; top: 0; transform: none; filter: none; grid-template-columns: 1fr; gap: 2rem; padding: 2.8rem; border-radius: 2.8rem; }
  .lx-course__num { font-size: 8rem; }
}
@media (max-width: 640px) { .lx-course { padding: 2.2rem; } .lx-course__side { padding: 1.8rem; } }

/* ---------- contact ---------- */
.lx-contact { position: relative; padding: clamp(8rem, 10vw, 12rem) 0; color: #fff; overflow: hidden;
  background: radial-gradient(60rem 40rem at 0% 45%, rgb(var(--cb) / .26), transparent 70%), linear-gradient(180deg, rgb(var(--night-2)), rgb(var(--night))); }
.lx-contact .lx-kicker { color: rgb(var(--cb-hi)); }
.lx-contact .lx-h2 { color: #fff; }
.lx-contact .lx-h2 span { color: rgb(var(--cb-hi)); }
.lx-contact .lx-lead { color: rgb(255 255 255 / .7); }
.lx-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5.6rem; align-items: start; }
.lx-mail { display: inline-flex; align-items: center; gap: 1rem; margin-top: 2.8rem; font-size: 1.8rem; font-weight: 700; color: rgb(var(--cb-hi));
  background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .4s var(--out); }
.lx-mail:hover { background-size: 100% 2px; }
.lx-phones { margin-top: 3.2rem !important; display: grid; gap: .8rem; }
.lx-phones a { display: flex; align-items: center; gap: 1.4rem; min-height: 6.4rem; padding: 1rem 1rem 1rem 2rem; border-radius: 2rem;
  background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); transition: background .3s, box-shadow .3s, transform .5s var(--spring); }
.lx-phones a:hover { background: rgb(var(--cb) / .16); box-shadow: inset 0 0 0 1px rgb(var(--cb-hi) / .35); transform: translateX(-.4rem); }
.lx-phones__ic { display: grid; place-items: center; width: 4.4rem; height: 4.4rem; border-radius: 1.4rem; background: rgb(var(--cb) / .18); color: rgb(var(--cb-hi)); }
.lx-phones__label { font-size: 1.5rem; color: rgb(255 255 255 / .7); }
.lx-phones__num { margin-inline-start: auto; font-size: 1.9rem; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.lx-phones a > svg:last-child { opacity: .4; transition: opacity .3s, transform .4s var(--spring); }
.lx-phones a:hover > svg:last-child { opacity: 1; transform: translateX(-.4rem); }
.lx-map { border-radius: 2.8rem; overflow: hidden; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12), 0 3.2rem 6.4rem -2rem rgb(0 0 0 / .5); }
.lx-map iframe { display: block; width: 100%; height: 38rem; border: 0; filter: grayscale(.4) contrast(1.05); transition: filter .5s; }
.lx-map:hover iframe { filter: none; }
.lx-map p { display: flex; align-items: center; gap: 1rem; padding: 1.8rem 2rem; font-size: 1.5rem; color: rgb(255 255 255 / .8); }
.lx-map p svg { color: rgb(var(--cb-hi)); }
@media (max-width: 1023px) { .lx-contact__grid { grid-template-columns: 1fr; } .lx-map iframe { height: 30rem; } }
@media (max-width: 640px) { .lx-phones__num { font-size: 1.6rem; } .lx-phones a > svg:last-child { display: none; } }

/* ---------- footer + license ---------- */
.lx-foot { background: rgb(var(--night)); color: #fff; padding: 0 0 4rem; margin-top: -4rem; position: relative; overflow: hidden; }
.lx-foot__mark { font-size: clamp(6.4rem, 15vw, 21rem); line-height: 1.5; white-space: nowrap; font-weight: 900; text-align: center;
  background: linear-gradient(180deg, rgb(255 255 255 / .16), rgb(255 255 255 / .03) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.lx-foot__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2.4rem; padding-top: 3.2rem; border-top: 1px solid rgb(255 255 255 / .1); }
.lx-foot__site { font-size: 1.5rem; font-weight: 500; color: rgb(255 255 255 / .7); }
.lx-license { text-align: left; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.lx-license__name { font-size: 1.5rem; font-weight: 800; letter-spacing: .02em; color: #fff; }
.lx-license__name::before { content: ""; display: inline-block; width: .8rem; height: .8rem; margin-right: .8rem; border-radius: 50%; background: rgb(var(--cb)); box-shadow: 0 0 1.2rem rgb(var(--cb)); vertical-align: middle; }
.lx-license__body { margin-top: .6rem !important; font-size: 1.3rem; line-height: 1.8; color: rgb(255 255 255 / .6); }
.lx-license__body strong { color: rgb(255 255 255 / .9); font-weight: 600; }
.lx-license__body a { color: rgb(var(--cb-hi)); transition: color .2s; }
.lx-license__body a:hover { color: #fff; }
@media (max-width: 640px) { .lx-foot__row { flex-direction: column; align-items: stretch; } .lx-license { text-align: left; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  #lx *, #lx *::before, #lx *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  #lx .lx-in, #lx .lx-r, #lx .lx-line > span, #lx .lx-topics li, #lx .lx-course__num { opacity: 1; transform: none; filter: none; }
  #lx .lx-plot__curve, #lx .lx-plot__curve2 { stroke-dashoffset: 0; }
  #lx .lx-plot__tan { opacity: 1; }
}
