/* Public site (lp-*): landing page, sign-in and course details. Navy and gold from the logo,
   with a tais-inspired diamond band as the Timor-Leste signature. */
.lp {
  --lp-navy-950: #070b24;
  --lp-navy-900: #0b1030;
  --lp-navy-800: #151b4a;
  --lp-navy: #231c4f;
  --lp-gold: #c5a059;
  --lp-gold-light: #e4c88e;
  --lp-gold-ink: #7d5d1e;   /* gold for text on light backgrounds (AA) */
  --lp-tais-red: #a3283b;
  --lp-ivory: #faf7f0;
  --lp-paper: #ffffff;
  --lp-ink: #151936;
  --lp-muted: #565c78;
  --lp-line: #e7e1d3;
  --lp-online: #22c55e;
  --lp-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --lp-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--lp-ivory);
  color: var(--lp-ink);
  font: 16px/1.6 var(--lp-sans);
  -webkit-font-smoothing: antialiased;
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp img { max-width: 100%; display: block; }
/* :where keeps this at zero specificity so button colours always win. */
.lp :where(a) { color: inherit; text-decoration: none; }
.lp :where(h1, h2, h3) { font-family: var(--lp-serif); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
/* Base resets use :where() (zero specificity) so component classes always win. */
.lp :where(p) { margin: 0; }
.lp :focus-visible { outline: 3px solid var(--lp-gold); outline-offset: 3px; border-radius: 6px; }

.lp-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .lp-wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .lp-wrap { padding: 0 32px; } }

.lp-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lp-gold-ink); }
.lp-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lp-section { padding: 72px 0; }
@media (min-width: 768px) { .lp-section { padding: 104px 0; } }
.lp-section-head { max-width: 680px; margin-bottom: 48px; }
.lp-section-head h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; margin-top: 14px; }
.lp-section-head p { margin-top: 16px; font-size: 18px; color: var(--lp-muted); }
.lp-section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.lp-section-head.is-center .lp-eyebrow { justify-content: center; }
.lp-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.lp-head-row .lp-section-head { margin-bottom: 0; }

/* Buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .01em; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.lp-btn svg { width: 18px; height: 18px; transition: transform .2s; }
.lp-btn:hover svg { transform: translateX(3px); }
.lp-btn-gold { background: var(--lp-gold); color: var(--lp-navy-950); box-shadow: 0 10px 30px rgba(197, 160, 89, .28); }
.lp-btn-gold:hover { background: var(--lp-gold-light); transform: translateY(-1px); }
.lp-btn-ghost { border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.lp-btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.lp-btn-navy { background: var(--lp-navy-900); color: #fff; }
.lp-btn-navy:hover { background: var(--lp-navy); transform: translateY(-1px); }
.lp-btn-outline { border: 1.5px solid var(--lp-ink); color: var(--lp-ink); }
.lp-btn-outline:hover { background: var(--lp-ink); color: #fff; }
.lp-link { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 700; color: var(--lp-ink); border-bottom: 2px solid var(--lp-gold); padding-bottom: 2px; }
.lp-link:hover { color: var(--lp-gold-ink); }
button.lp-link { background: none; border-width: 0 0 2px; cursor: pointer; font: inherit; font-weight: 700; padding: 0 0 2px; margin-top: 14px; }
.lp-link svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Tais band: woven diamonds, the page's Timor-Leste signature */
.lp-tais {
  height: 18px;
  background:
    linear-gradient(135deg, var(--lp-gold) 25%, transparent 25%) -9px 0 / 18px 18px,
    linear-gradient(225deg, var(--lp-gold) 25%, transparent 25%) -9px 0 / 18px 18px,
    linear-gradient(315deg, var(--lp-gold) 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(45deg, var(--lp-gold) 25%, transparent 25%) 0 0 / 18px 18px,
    var(--lp-navy);
  border-top: 3px solid var(--lp-tais-red);
  border-bottom: 3px solid var(--lp-tais-red);
}
.lp-tais.is-thin { height: 10px; background-size: 10px 10px; border-width: 2px; }

/* ---------- Hero ---------- */
.lp-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1000px 520px at 85% 10%, rgba(197, 160, 89, .16), transparent 60%), radial-gradient(800px 600px at -10% 110%, rgba(83, 70, 200, .28), transparent 60%), var(--lp-navy-900); }
.lp-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.lp-hero-grid { position: relative; display: grid; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
@media (min-width: 1024px) { .lp-hero-grid { grid-template-columns: 1.08fr .92fr; gap: 64px; padding-top: 88px; padding-bottom: 96px; } }
.lp-hero .lp-eyebrow { color: var(--lp-gold-light); }
.lp-hero h1 { font-size: clamp(38px, 5.4vw, 66px); text-wrap: balance; line-height: 1.04; margin-top: 20px; }
.lp-hero h1 em { font-style: italic; font-weight: 500; color: var(--lp-gold-light); }
.lp-hero-lead { margin-top: 22px; max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: rgba(255, 255, 255, .78); }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.lp-hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; padding: 0; list-style: none; font-size: 14px; color: rgba(255, 255, 255, .72); }
.lp-hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.lp-hero-trust svg { width: 18px; height: 18px; color: var(--lp-gold); flex-shrink: 0; }

.lp-hero-visual { position: relative; width: min(100%, 440px); margin: 0 auto; padding: 0 0 24px; }
@media (min-width: 1024px) { .lp-hero-visual { width: 100%; max-width: 460px; margin-right: 0; } }
.lp-portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 220px 220px 28px 28px; overflow: hidden; background: linear-gradient(180deg, #f3eee2, #e5dcc6); border: 1px solid rgba(228, 200, 142, .6); box-shadow: 0 0 0 10px rgba(197, 160, 89, .08), 0 40px 80px rgba(0, 0, 0, .45); }
.lp-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.lp-portrait::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(to top, rgba(11, 16, 48, .55), transparent); }
.lp-portrait-name { position: absolute; left: 22px; bottom: 20px; z-index: 1; color: #fff; }
.lp-portrait-name strong { display: block; font-family: var(--lp-serif); font-size: 24px; font-weight: 600; }
.lp-portrait-name span { font-size: 13px; color: rgba(255, 255, 255, .85); }

.lp-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .97); color: var(--lp-ink); box-shadow: 0 18px 40px rgba(7, 11, 36, .35); font-size: 13px; line-height: 1.35; max-width: 230px; }
.lp-chip strong { display: block; font-size: 14px; }
.lp-chip span { color: var(--lp-muted); }
.lp-chip-icon { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 11px; background: #eef0ff; color: var(--lp-navy); }
.lp-chip-icon svg { width: 18px; height: 18px; }
.lp-chip-icon.is-gold { background: #f8efdc; color: var(--lp-gold-ink); }
.lp-chip-1 { top: 18%; left: -6%; }
.lp-chip-2 { bottom: 14%; right: -6%; }
.lp-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--lp-online); flex-shrink: 0; }
.lp-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--lp-online); opacity: .5; animation: lp-ping 2s infinite; }
@keyframes lp-ping { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 520px) {
  .lp-chip { max-width: 200px; padding: 10px 12px; font-size: 12px; }
  .lp-chip-1 { left: -2%; top: 10%; }
  .lp-chip-2 { right: -2%; bottom: 10%; }
}

/* Stats strip */
.lp-stats { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); }
.lp-stats ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0 auto; padding-top: 0; padding-bottom: 0; list-style: none; }
@media (max-width: 767px) { .lp-stats li:last-child:nth-child(odd) { grid-column: span 2; border-right: 0; } .lp-stats li { border-bottom: 1px solid rgba(255, 255, 255, .08); } }
@media (min-width: 768px) { .lp-stats ul { grid-template-columns: repeat(var(--lp-stat-count, 4), 1fr); } }
.lp-stats li { padding: 26px 16px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .08); }
.lp-stats li:last-child { border-right: 0; }
.lp-stats strong { display: block; font-family: var(--lp-serif); font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; color: var(--lp-gold-light); line-height: 1.1; }
.lp-stats span { display: block; margin-top: 4px; font-size: 13px; letter-spacing: .04em; color: rgba(255, 255, 255, .7); }

/* ---------- Features (hybrid: Maestro + AI) ---------- */
.lp-features { display: grid; gap: 18px; }
@media (min-width: 720px) { .lp-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lp-features { grid-template-columns: repeat(3, 1fr); } }
.lp-feature { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 22px; background: var(--lp-paper); border: 1px solid var(--lp-line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.lp-feature:hover { transform: translateY(-3px); border-color: #d9cfb6; box-shadow: 0 22px 44px rgba(21, 25, 54, .08); }
.lp-feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--lp-navy-900); color: var(--lp-gold-light); margin-bottom: 20px; }
.lp-feature-icon svg { width: 22px; height: 22px; }
.lp-feature h3 { font-size: 22px; line-height: 1.25; }
.lp-feature p { margin-top: 10px; color: var(--lp-muted); }
.lp-feature .lp-link { margin-top: auto; padding-top: 20px; align-self: flex-start; border-bottom: 0; color: var(--lp-gold-ink); }
.lp-feature-badge { position: absolute; top: 24px; right: 24px; padding: 4px 10px; border-radius: 999px; background: #fdf2dc; color: var(--lp-gold-ink); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lp-feature.is-wide { background: var(--lp-navy-900); border-color: var(--lp-navy-900); color: #fff; }
.lp-feature.is-wide p { color: rgba(255, 255, 255, .75); }
.lp-feature.is-wide .lp-feature-icon { background: var(--lp-gold); color: var(--lp-navy-950); }
.lp-feature.is-wide .lp-link { color: var(--lp-gold-light); }
.lp-feature.is-wide .lp-feature-badge { background: var(--lp-gold); color: var(--lp-navy-950); }
@media (min-width: 1024px) { .lp-feature.is-wide { grid-column: span 2; } }

/* ---------- Steps ---------- */
.lp-steps { display: grid; gap: 28px; counter-reset: lp-step; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.lp-step { position: relative; padding-top: 24px; border-top: 2px solid var(--lp-line); }
.lp-step::before { counter-increment: lp-step; content: "0" counter(lp-step); display: block; font-family: var(--lp-serif); font-size: 44px; font-weight: 500; line-height: 1; color: var(--lp-gold); margin-bottom: 14px; }
.lp-step::after { content: ""; position: absolute; top: -2px; left: 0; width: 56px; height: 2px; background: var(--lp-navy-900); }
.lp-step h3 { font-size: 22px; }
.lp-step p { margin-top: 8px; color: var(--lp-muted); }

/* ---------- Sasha spotlight ---------- */
.lp-sasha { background: var(--lp-paper); border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); }
.lp-sasha-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .lp-sasha-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.lp-sasha-card { position: relative; border-radius: 28px; overflow: hidden; background: var(--lp-navy-900); padding: 28px; color: #fff; }
.lp-sasha-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 100% 0%, rgba(197, 160, 89, .25), transparent 60%); }
.lp-sasha-card > * { position: relative; }
.lp-sasha-card-top { display: flex; align-items: center; gap: 14px; }
.lp-sasha-card-top img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid var(--lp-gold); background: #efe8d8; }
.lp-sasha-card-top strong { display: block; font-family: var(--lp-serif); font-size: 22px; font-weight: 600; }
.lp-sasha-card-top span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.lp-bubble { margin-top: 22px; padding: 16px 18px; border-radius: 18px 18px 18px 6px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: 15px; line-height: 1.55; }
.lp-bubble.is-me { margin-left: auto; max-width: 78%; border-radius: 18px 18px 6px 18px; background: var(--lp-gold); color: var(--lp-navy-950); border: 0; }
.lp-bubble small { display: block; margin-top: 6px; font-size: 12px; opacity: .7; }
.lp-score { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); font-size: 13px; color: rgba(255, 255, 255, .8); }
.lp-score-bar { flex: 1; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.lp-score-bar i { display: block; height: 100%; width: 86%; border-radius: inherit; background: linear-gradient(90deg, var(--lp-gold), var(--lp-gold-light)); }
.lp-langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.lp-langs li { padding: 7px 14px; border-radius: 999px; background: var(--lp-ivory); border: 1px solid var(--lp-line); font-size: 14px; font-weight: 600; }
.lp-checks { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.lp-checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--lp-ink); }
.lp-checks svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--lp-gold-ink); margin-top: 1px; }

/* ---------- Maestros ---------- */
.lp-maestros { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .lp-maestros { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.lp-maestro { display: block; }
.lp-maestro-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, var(--lp-navy-800), var(--lp-navy-950)); }
.lp-maestro-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.lp-maestro:hover .lp-maestro-photo img { transform: scale(1.05); }
.lp-monogram { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--lp-serif); font-size: clamp(44px, 6vw, 64px); font-weight: 500; color: var(--lp-gold-light); }
.lp-monogram::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(228, 200, 142, .35); border-radius: 14px; }
.lp-maestro h3 { margin-top: 14px; font-size: 19px; }
.lp-maestro p { margin-top: 2px; font-size: 14px; color: var(--lp-muted); }

/* ---------- Courses ---------- */
.lp-courses { display: grid; gap: 22px; }
@media (min-width: 720px) { .lp-courses { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .lp-courses { grid-template-columns: repeat(4, 1fr); } }
.lp-course { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--lp-paper); border: 1px solid var(--lp-line); transition: transform .25s, box-shadow .25s; }
.lp-course:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(21, 25, 54, .1); }
.lp-course-cover { position: relative; height: 168px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: radial-gradient(240px 160px at 90% 10%, rgba(228, 200, 142, .3), transparent 70%), linear-gradient(150deg, var(--lp-navy-800), var(--lp-navy-950)); }
.lp-course-cover.is-alt { background: radial-gradient(240px 160px at 10% 0%, rgba(228, 200, 142, .28), transparent 70%), linear-gradient(150deg, #2b2364, var(--lp-navy-950)); }
.lp-course-cover-initial { position: absolute; right: 14px; bottom: -18px; font-family: var(--lp-serif); font-size: 120px; line-height: 1; font-weight: 600; color: rgba(228, 200, 142, .16); }
.lp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-tag { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lp-tag.is-gold { background: var(--lp-gold); color: var(--lp-navy-950); }
.lp-course-meta { display: flex; gap: 14px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.lp-course-body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.lp-course-body h3 { font-size: 20px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-course-body p { margin-top: 8px; font-size: 14px; color: var(--lp-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-course-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--lp-line); }
.lp-course-teacher { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 13px; color: var(--lp-muted); }
.lp-course-teacher span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-avatar-sm { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--lp-navy-900); color: var(--lp-gold-light); font-size: 12px; font-weight: 700; }
.lp-price { font-family: var(--lp-serif); font-size: 20px; font-weight: 600; white-space: nowrap; }
.lp-rating { display: inline-flex; align-items: center; gap: 4px; }
.lp-rating svg { width: 13px; height: 13px; color: var(--lp-gold-light); }
.lp-course-top { padding-top: 20px; }

/* ---------- Teams band ---------- */
.lp-band { display: grid; gap: 28px; align-items: center; padding: 36px; border-radius: 28px; background: var(--lp-paper); border: 1px solid var(--lp-line); }
@media (min-width: 900px) { .lp-band { grid-template-columns: 1.4fr auto; padding: 48px 56px; } }
.lp-band h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; margin-top: 12px; }
.lp-band p { margin-top: 12px; color: var(--lp-muted); max-width: 620px; }
.lp-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Final CTA ---------- */
.lp-cta { position: relative; overflow: hidden; color: #fff; text-align: center; background: radial-gradient(700px 360px at 50% 0%, rgba(197, 160, 89, .22), transparent 70%), var(--lp-navy-900); }
.lp-cta .lp-wrap { position: relative; padding-top: 88px; padding-bottom: 96px; }
.lp-cta h2 { font-size: clamp(34px, 5vw, 58px); line-height: 1.08; max-width: 820px; margin: 0 auto; }
.lp-cta h2 em { font-style: italic; font-weight: 500; color: var(--lp-gold-light); }
.lp-cta p { margin: 20px auto 0; max-width: 580px; font-size: 18px; color: rgba(255, 255, 255, .75); }
.lp-cta .lp-hero-actions { justify-content: center; }
.lp-cta-note { margin-top: 22px !important; font-size: 14px !important; color: rgba(255, 255, 255, .6) !important; }
.lp-cta-note a { color: var(--lp-gold-light); text-decoration: underline; text-underline-offset: 3px; }

/* Gentle entrance, skipped for people who prefer less motion */
@media (prefers-reduced-motion: no-preference) {
  .lp-rise { animation: lp-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .lp-rise-2 { animation-delay: .12s; }
  .lp-rise-3 { animation-delay: .24s; }
  .lp-rise-4 { animation-delay: .36s; }
  @keyframes lp-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { transition: none !important; animation: none !important; }
}

/* ======================= Sign in (email code) ======================= */
.lp-auth { display: grid; min-height: calc(100vh - 80px); min-height: calc(100dvh - 80px); }
@media (min-width: 960px) { .lp-auth { grid-template-columns: 1fr 1fr; } }
.lp-auth-aside { display: none; position: relative; overflow: hidden; color: #fff; background: radial-gradient(700px 420px at 100% 0%, rgba(197, 160, 89, .2), transparent 60%), radial-gradient(600px 500px at 0% 100%, rgba(83, 70, 200, .3), transparent 60%), var(--lp-navy-900); }
@media (min-width: 960px) { .lp-auth-aside { display: flex; flex-direction: column; justify-content: center; padding: 64px clamp(40px, 6vw, 88px) 88px; } }
.lp-auth-aside::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.lp-auth-aside > * { position: relative; }
.lp-auth-aside .lp-eyebrow { color: var(--lp-gold-light); }
.lp-auth-aside h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.1; margin-top: 18px; text-wrap: balance; }
.lp-auth-aside h2 em { font-style: italic; font-weight: 500; color: var(--lp-gold-light); }
.lp-auth-points { display: grid; gap: 18px; margin: 36px 0 0; padding: 0; list-style: none; }
.lp-auth-points li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255, 255, 255, .82); }
.lp-auth-points strong { display: block; color: #fff; }
.lp-auth-points .lp-chip-icon { background: rgba(197, 160, 89, .16); color: var(--lp-gold-light); }
.lp-auth-sasha { display: flex; align-items: center; gap: 14px; margin-top: 44px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); max-width: 440px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.lp-auth-sasha img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid var(--lp-gold); background: #efe8d8; flex-shrink: 0; }
.lp-auth-aside > .lp-tais { position: absolute; left: 0; right: 0; bottom: 0; }

.lp-auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 16px 56px; }
@media (min-width: 640px) { .lp-auth-main { padding: 56px 32px; } }
.lp-auth-card { width: 100%; max-width: 440px; }
.lp-auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; font-family: var(--lp-serif); font-size: 20px; font-weight: 600; }
.lp-auth-brand img { width: 44px; height: 44px; border-radius: 10px; background: #fff; border: 1px solid var(--lp-line); padding: 2px; }
.lp-auth-brand em { font-style: normal; color: var(--lp-gold-ink); }
.lp-auth-step { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-gold-ink); }
.lp-auth-card h1 { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.15; margin-top: 10px; }
.lp-auth-lead { margin-top: 10px !important; color: var(--lp-muted); }
.lp-auth-lead strong { color: var(--lp-ink); overflow-wrap: anywhere; }
.lp-auth-panel { margin-top: 28px; padding: 28px; border-radius: 22px; background: var(--lp-paper); border: 1px solid var(--lp-line); box-shadow: 0 24px 48px rgba(21, 25, 54, .07); }
@media (max-width: 420px) { .lp-auth-panel { padding: 22px 18px; } }
.lp-google { display: flex; width: 100%; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--lp-line); background: #fff; color: var(--lp-ink); font: 600 15px var(--lp-sans); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.lp-google:hover { border-color: #cfc6b1; box-shadow: 0 6px 16px rgba(21, 25, 54, .07); }
.lp-google svg { width: 20px; height: 20px; }
.lp-auth-panel form { margin: 0; }
.lp-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-muted); }
.lp-divider::before, .lp-divider::after { content: ""; flex: 1; height: 1px; background: var(--lp-line); }
.lp-field + .lp-field { margin-top: 18px; }
.lp-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--lp-ink); }
.lp-label a { font-weight: 600; color: var(--lp-gold-ink); }
.lp-input { display: block; width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid #d9d2c1; background: #fff; color: var(--lp-ink); font: 16px var(--lp-sans); transition: border-color .2s, box-shadow .2s; }
.lp-input::placeholder { color: #9a9fb3; }
.lp-input:focus { outline: none; border-color: var(--lp-navy); box-shadow: 0 0 0 4px rgba(35, 28, 79, .12); }
.lp-input.is-code { min-height: 68px; text-align: center; font: 600 30px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .45em; padding-left: .45em; }
.lp-hint { margin-top: 8px !important; font-size: 13px; color: var(--lp-muted); }
.lp-submit { width: 100%; margin-top: 22px; border: 0; cursor: pointer; font-family: var(--lp-sans); }
.lp-alert { margin-bottom: 18px !important; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.45; }
.lp-alert.is-error { background: #fdf0f1; border: 1px solid #f1c6cc; color: #8a1c2b; }
.lp-alert.is-notice { background: #effaf3; border: 1px solid #bfe5cc; color: #165a33; }
.lp-auth-foot { margin-top: 22px !important; font-size: 14px; color: var(--lp-muted); text-align: center; }
.lp-auth-foot a { font-weight: 700; color: var(--lp-ink); border-bottom: 2px solid var(--lp-gold); }
.lp-auth-legal { margin-top: 28px !important; font-size: 13px; color: var(--lp-muted); text-align: center; }
.lp-auth-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ======================= Course details ======================= */
.lp-cd-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 480px at 90% 0%, rgba(197, 160, 89, .16), transparent 60%), radial-gradient(700px 520px at -10% 120%, rgba(83, 70, 200, .26), transparent 60%), var(--lp-navy-900); }
.lp-cd-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.lp-cd-hero-grid { position: relative; display: grid; gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 56px; }
@media (min-width: 1024px) { .lp-cd-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; padding-top: 56px; padding-bottom: 80px; } }
.lp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13px; color: rgba(255, 255, 255, .6); }
.lp-crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .35); }
.lp-crumbs a:hover { color: #fff; }
.lp-cd-hero .lp-tags { margin-bottom: 18px; }
.lp-cd-hero h1 { font-size: clamp(34px, 4.8vw, 56px); line-height: 1.08; text-wrap: balance; overflow-wrap: anywhere; }
.lp-cd-summary { margin-top: 18px !important; max-width: 640px; font-size: 18px; color: rgba(255, 255, 255, .78); }
.lp-cd-facts { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 30px 0 0; padding: 0; list-style: none; }
.lp-cd-facts li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.lp-cd-facts small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.lp-cd-facts strong { font-weight: 600; color: #fff; }
.lp-cd-facts a strong:hover { color: var(--lp-gold-light); }
.lp-cd-facts .lp-chip-icon { background: rgba(197, 160, 89, .16); color: var(--lp-gold-light); }
.lp-cd-facts .lp-avatar-sm { width: 36px; height: 36px; font-size: 13px; background: var(--lp-gold); color: var(--lp-navy-950); }
.lp-cd-media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; border: 1px solid rgba(228, 200, 142, .4); background: radial-gradient(320px 220px at 85% 15%, rgba(228, 200, 142, .3), transparent 70%), linear-gradient(150deg, var(--lp-navy-800), var(--lp-navy-950)); box-shadow: 0 40px 80px rgba(0, 0, 0, .4); padding: 0; color: #fff; text-align: left; font: inherit; }
button.lp-cd-media { cursor: pointer; }
.lp-cd-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: transform .6s, opacity .3s; }
button.lp-cd-media:hover img { transform: scale(1.04); opacity: .55; }
.lp-cd-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 11, 36, .85), transparent 60%); }
.lp-cd-media-initial { position: absolute; right: 20px; bottom: -30px; font-family: var(--lp-serif); font-size: 220px; line-height: 1; font-weight: 600; color: rgba(228, 200, 142, .14); }
.lp-cd-media-label { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; display: flex; align-items: center; gap: 14px; }
.lp-cd-media-label strong { display: block; font-size: 17px; }
.lp-cd-media-label span { font-size: 13px; color: rgba(255, 255, 255, .75); }
.lp-play { width: 60px; height: 60px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--lp-gold); color: var(--lp-navy-950); box-shadow: 0 0 0 10px rgba(197, 160, 89, .2); transition: transform .2s; }
.lp-play svg { width: 24px; height: 24px; margin-left: 3px; }
button.lp-cd-media:hover .lp-play { transform: scale(1.06); }

.lp-cd-body { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 88px; }
@media (min-width: 1024px) { .lp-cd-body { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; padding-top: 72px; } }
.lp-cd-section + .lp-cd-section { margin-top: 56px; }
.lp-cd-section h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: clamp(26px, 3vw, 32px); line-height: 1.15; margin-bottom: 20px; }
.lp-prose { color: #2c3150; font-size: 17px; line-height: 1.75; overflow-wrap: anywhere; }
.lp-prose p, .lp-prose div { margin: 0 0 14px; }
.lp-prose ul, .lp-prose ol { margin: 0 0 14px; padding-left: 22px; }
.lp-prose li { margin-bottom: 6px; }
.lp-prose a { color: var(--lp-gold-ink); text-decoration: underline; }
.lp-prose h1, .lp-prose h2, .lp-prose h3 { font-size: 22px; margin: 22px 0 10px; }
.lp-prose img { border-radius: 14px; margin: 10px 0; }
.lp-includes { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .lp-includes { grid-template-columns: 1fr 1fr; } }
.lp-includes li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 18px; background: var(--lp-paper); border: 1px solid var(--lp-line); }
.lp-includes strong { display: block; }
.lp-includes span { font-size: 14px; color: var(--lp-muted); }
.lp-includes .lp-chip-icon { background: var(--lp-navy-900); color: var(--lp-gold-light); }
.lp-lessons { margin: 0; padding: 0; list-style: none; border-radius: 20px; overflow: hidden; background: var(--lp-paper); border: 1px solid var(--lp-line); }
.lp-lesson { display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
.lp-lesson + .lp-lesson { border-top: 1px solid var(--lp-line); }
.lp-lesson-num { width: 34px; flex-shrink: 0; font-family: var(--lp-serif); font-size: 18px; color: var(--lp-gold-ink); }
.lp-lesson-title { flex: 1; min-width: 0; font-weight: 600; }
.lp-lesson-tag { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #f4efe3; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--lp-gold-ink); white-space: nowrap; }
.lp-lesson > svg { width: 18px; height: 18px; flex-shrink: 0; color: #a3a8bb; }
.lp-count { font-size: 15px; font-weight: 500; color: var(--lp-muted); font-family: var(--lp-sans); }
.lp-session { padding: 22px; border-radius: 20px; background: var(--lp-paper); border: 1px solid var(--lp-line); }
.lp-session + .lp-session { margin-top: 14px; }
.lp-session h3 { font-size: 20px; }
.lp-session-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; font-size: 14px; color: var(--lp-muted); }
.lp-session-meta span { display: inline-flex; align-items: center; gap: 6px; }
.lp-session-meta svg { width: 16px; height: 16px; color: var(--lp-gold-ink); }
.lp-session .lp-prose { margin-top: 10px; font-size: 15px; }
.lp-session .lp-link { margin-top: 14px; }
.lp-session-map { margin-top: 12px; height: 240px; border-radius: 14px; overflow: hidden; border: 1px solid var(--lp-line); }
.lp-session-map iframe { width: 100%; height: 100%; border: 0; }
.lp-reviews { display: grid; gap: 14px; }
.lp-review { padding: 22px; border-radius: 20px; background: var(--lp-paper); border: 1px solid var(--lp-line); }
.lp-review-head { display: flex; align-items: center; gap: 12px; }
.lp-review-head strong { display: block; }
.lp-review-head small { color: var(--lp-muted); }
.lp-stars { display: inline-flex; gap: 2px; margin-left: auto; color: var(--lp-gold); }
.lp-stars svg { width: 15px; height: 15px; }
.lp-review p { margin-top: 12px !important; color: #2c3150; }

.lp-buy { position: sticky; top: 104px; padding: 26px; border-radius: 24px; background: var(--lp-paper); border: 1px solid var(--lp-line); box-shadow: 0 28px 56px rgba(21, 25, 54, .09); }
.lp-buy-price { display: flex; align-items: baseline; gap: 8px; font-family: var(--lp-serif); font-size: 40px; font-weight: 600; line-height: 1; }
.lp-buy-price span { font-family: var(--lp-sans); font-size: 15px; font-weight: 500; color: var(--lp-muted); }
.lp-buy .lp-btn { width: 100%; margin-top: 20px; }
.lp-btn-disabled { background: #ece7da; color: var(--lp-muted); cursor: not-allowed; }
.lp-buy .lp-checks { margin-top: 22px; gap: 10px; font-size: 15px; }
.lp-buy-note { margin-top: 18px !important; padding-top: 16px; border-top: 1px solid var(--lp-line); font-size: 13px; color: var(--lp-muted); }
.lp-maestro-card { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 18px; border-radius: 20px; background: var(--lp-navy-900); color: #fff; }
.lp-maestro-card img, .lp-maestro-card .lp-avatar-sm { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; flex-shrink: 0; font-size: 18px; background: var(--lp-gold); color: var(--lp-navy-950); }
.lp-maestro-card small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-gold-light); }
.lp-maestro-card strong { display: block; font-family: var(--lp-serif); font-size: 18px; font-weight: 600; }
.lp-maestro-card span { font-size: 13px; color: rgba(255, 255, 255, .7); }

.lp-modal { position: fixed; inset: 0; z-index: 2000; align-items: center; justify-content: center; padding: 16px; background: rgba(7, 11, 36, .88); }
.lp-modal-box { width: 100%; max-width: 980px; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.lp-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--lp-navy-900); color: #fff; font-family: var(--lp-serif); }
.lp-modal-head button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 18px; cursor: pointer; }
.lp-modal video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
/* Phones and tablets: price and Enroll right after the course intro. */
@media (max-width: 1023px) {
  .lp-cd-body > aside { order: -1; }
  .lp-buy { position: static; }
}

/* Course cards with an uploaded cover image */
.lp-course-cover { position: relative; overflow: hidden; }
.lp-course-cover-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.lp-course:hover .lp-course-cover-image { transform: scale(1.05); }
.lp-course-cover.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 11, 36, .88), rgba(7, 11, 36, .15) 65%); }
.lp-course-cover .lp-tags, .lp-course-cover .lp-course-meta { position: relative; z-index: 1; }

/* ======================= Course catalogue ======================= */
.lp-catalog-hero .lp-cd-hero-grid { grid-template-columns: 1fr; padding-bottom: 48px; }
.lp-catalog-hero h1 em { font-style: italic; font-weight: 500; color: var(--lp-gold-light); }
.lp-catalog-hero .lp-hero-lead { max-width: 640px; }
.lp-catalog-body { padding-top: 40px; padding-bottom: 88px; }
.lp-filters { display: flex; gap: 10px; margin: 0 -16px 32px; padding: 4px 16px 8px; list-style: none; overflow-x: auto; scrollbar-width: thin; }
@media (min-width: 768px) { .lp-filters { flex-wrap: wrap; overflow: visible; margin: 0 0 36px; padding: 0; } }
.lp-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--lp-line); background: var(--lp-paper); color: var(--lp-ink); font-size: 14px; font-weight: 600; white-space: nowrap; transition: border-color .2s, background-color .2s, color .2s; }
.lp-filter:hover { border-color: #cfc6b1; }
.lp-filter span { min-width: 24px; padding: 1px 8px; border-radius: 999px; background: #f2eddf; color: var(--lp-muted); font-size: 12px; text-align: center; }
.lp-filter[aria-current="page"] { background: var(--lp-navy-900); border-color: var(--lp-navy-900); color: #fff; }
.lp-filter[aria-current="page"] span { background: var(--lp-gold); color: var(--lp-navy-950); }
.lp-results-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 24px; }
.lp-results-head h2 { font-size: clamp(24px, 3vw, 30px); }
@media (min-width: 1024px) { .lp-courses.is-catalog { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.lp-empty { padding: 56px 24px; border-radius: 22px; border: 1.5px dashed #d9d2c1; text-align: center; color: var(--lp-muted); }
.lp-empty .lp-link { margin-top: 14px; }

/* ======================= Maestros ======================= */
.lp-maestro-badge { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(7, 11, 36, .78); color: var(--lp-gold-light); font-size: 12px; font-weight: 700; }
.lp-maestros.is-directory { gap: 22px; }
@media (min-width: 640px) and (max-width: 899px) { .lp-maestros.is-directory { grid-template-columns: repeat(3, 1fr); } }
.lp-profile-grid { position: relative; display: grid; gap: 32px; align-items: center; padding-top: 40px; padding-bottom: 56px; }
@media (min-width: 768px) { .lp-profile-grid { grid-template-columns: 260px 1fr; gap: 48px; padding-top: 56px; padding-bottom: 72px; } }
.lp-profile-photo { position: relative; width: min(100%, 260px); aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; border: 1px solid rgba(228, 200, 142, .5); background: linear-gradient(160deg, var(--lp-navy-800), var(--lp-navy-950)); box-shadow: 0 0 0 8px rgba(197, 160, 89, .08), 0 30px 60px rgba(0, 0, 0, .4); }
.lp-profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.lp-profile-qual { margin-top: 12px !important; max-width: 680px; font-size: 18px; color: rgba(255, 255, 255, .8); }
.lp-tags-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lp-tags-list li { padding: 7px 14px; border-radius: 999px; background: var(--lp-ivory); border: 1px solid var(--lp-line); font-size: 13px; font-weight: 600; line-height: 1.3; }
.lp-side-title { font-family: var(--lp-serif); font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.lp-qual { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 18px; background: var(--lp-paper); border: 1px solid var(--lp-line); color: #2c3150; }
.lp-qual .lp-chip-icon { background: var(--lp-navy-900); color: var(--lp-gold-light); }
@media (max-width: 767px) {
  .lp-profile-photo { width: 132px; border-radius: 22px; }
  .lp-profile-photo .lp-monogram { font-size: 40px; }
}
