/* Geist (SIL Open Font License), self-hosted for the landing page so text doesn't wait on another domain */
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #080b16;
  --bg-2: #0e1428;
  --card: #141a30;
  --card-2: #1b2342;
  --line: #262f52;
  --text: #eef1fa;
  --muted: #99a3c0;
  --cyan: #3de8ff;
  --blue: #2f6bff;
  --violet: #4b3bff;
  --yellow: #ffd23f;
  --green: #3cdc82;
  --red: #ff4054;
  --radius: 16px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 800 16px/1 var(--font); text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: #0b0f1d; box-shadow: 0 8px 30px rgba(255, 210, 63, .25); }
.btn-primary:hover { box-shadow: 0 10px 36px rgba(255, 210, 63, .4); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--cyan); }
.btn-cyan { background: var(--cyan); color: #04121a; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 11, 22, .85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.nav .logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 760px) { .nav-links a:not(.btn), .hide-sm { display: none; } }

/* ---------- landing ---------- */
.hero {
  position: relative; overflow: hidden; padding: 88px 0 72px;
  background:
    radial-gradient(600px 400px at 10% 0%, rgba(47, 107, 255, .28), transparent 70%),
    radial-gradient(500px 400px at 95% 90%, rgba(61, 232, 255, .16), transparent 70%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .25;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 210, 63, .5); color: var(--yellow); background: rgba(255, 210, 63, .08);
  font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
}
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; margin: 18px 0; letter-spacing: -.02em; }
h1 .accent, h2 .accent { color: var(--cyan); }
.lead { color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; align-items: center; }
.price-tag { font-weight: 800; font-size: 15px; color: var(--muted); }
.price-tag b { color: var(--yellow); font-size: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }
.chip b { color: var(--text); }

.hero-card {
  background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line);
  border-radius: 22px; padding: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.hero-card .bar { display: flex; gap: 7px; margin-bottom: 18px; }
.hero-card .bar span { width: 12px; height: 12px; border-radius: 50%; background: #ff5f56; }
.hero-card .bar span:nth-child(2) { background: #ffbd2e; }
.hero-card .bar span:nth-child(3) { background: #27c93f; }
.hc-mod { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 12px; font-weight: 600; color: var(--muted); font-size: 15px; }
.hc-mod.done { color: var(--text); }
.hc-mod.now { background: rgba(61, 232, 255, .1); border: 1px solid var(--cyan); color: var(--text); }
.dot { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 900; border: 2px solid var(--muted); color: #0b0f1d; }
.done .dot { background: var(--green); border-color: var(--green); }
.now .dot { background: var(--cyan); border-color: var(--cyan); }

section { padding: 84px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 12px 0; letter-spacing: -.01em; }
.section-head p { color: var(--muted); font-size: 18px; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 14px 0 6px; font-size: 21px; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; font-weight: 900; }

.curriculum { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.mod { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mod summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; gap: 16px; }
.mod summary::-webkit-details-marker { display: none; }
.mod .num { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: rgba(61, 232, 255, .12); color: var(--cyan); }
.mod .t { font-weight: 800; font-size: 18px; flex: 1; }
.mod .meta { color: var(--muted); font-size: 14px; white-space: nowrap; }
.mod ul { margin: 0; padding: 0 22px 20px 78px; color: var(--muted); }
.mod li { margin: 6px 0; }
.soon { font-size: 12px; font-weight: 800; color: var(--yellow); border: 1px solid var(--yellow); padding: 2px 8px; border-radius: 999px; margin-left: 8px; }

.mentor { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .mentor { grid-template-columns: 1fr; } }
.mentor-photo { border-radius: 24px; overflow: hidden; border: 2px solid var(--cyan); box-shadow: 0 0 60px rgba(61, 232, 255, .25); aspect-ratio: 4/4.6; }
.mentor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.badge { display: inline-block; background: var(--yellow); color: #0b0f1d; font-weight: 800; padding: 8px 16px; border-radius: 999px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.ticks li::before { content: "✓"; color: var(--green); font-weight: 900; }

.cert-preview { max-width: 640px; margin: 0 auto; }

.pricing { max-width: 520px; margin: 0 auto; text-align: center; border: 2px solid var(--yellow); background: linear-gradient(180deg, rgba(255, 210, 63, .08), var(--card)); }
.big-price { font-size: 72px; font-weight: 900; color: var(--yellow); line-height: 1; margin: 12px 0 4px; }
.pricing .ticks { text-align: left; max-width: 340px; margin: 24px auto 28px; }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); margin: 12px 0 0; }

footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer img { height: 26px; width: auto; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: rgba(3, 5, 12, .75); backdrop-filter: blur(6px); padding: 16px; }
.modal.open { display: grid; }
.modal-box { width: min(440px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; position: relative; }
.modal-box h3 { margin: 0 0 6px; font-size: 24px; }
.modal-box p { color: var(--muted); margin: 0 0 20px; }
.close { position: absolute; top: 14px; right: 16px; background: none; border: 0; color: var(--muted); font-size: 26px; cursor: pointer; }
label { display: block; font-weight: 700; font-size: 14px; margin: 14px 0 6px; }
input[type="text"], input[type="email"], input[type="url"], textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--text); font: 500 16px var(--font);
}
input:focus { outline: none; border-color: var(--cyan); }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.btn-social { width: 100%; margin-top: 12px; gap: 12px; font-weight: 700; }
.btn-google { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; }
.btn-linkedin { background: #0a66c2; color: #fff; }
.btn-linkedin:hover { background: #0958a8; }
.auth-error { background: rgba(255, 64, 84, .1); border: 1px solid rgba(255, 64, 84, .5); color: #ff8a97; padding: 10px 12px; border-radius: 10px; font-size: 14px; margin-top: 14px; }
.user-menu { display: flex; align-items: center; gap: 10px; }
.user-menu .uname { font-weight: 700; font-size: 14px; color: var(--text); }
.avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; background: var(--card-2); border: 1.5px solid var(--line); display: grid; place-items: center; font-weight: 800; color: var(--cyan); }
.demo-flag { background: rgba(255, 210, 63, .1); border: 1px solid rgba(255, 210, 63, .4); color: var(--yellow); padding: 10px 12px; border-radius: 10px; font-size: 13px; margin-top: 14px; }

/* ---------- course player ---------- */
.player { display: grid; grid-template-columns: 320px minmax(0, 1fr); min-height: calc(100vh - 68px); }
.sidebar { border-right: 1px solid var(--line); background: var(--bg-2); padding: 20px 14px 40px; position: sticky; top: 68px; height: calc(100vh - 68px); overflow-y: auto; }
.progress-wrap { padding: 4px 8px 18px; }
.progress-label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--muted); }
.progress-label b { color: var(--green); }
.progress { height: 8px; border-radius: 99px; background: var(--line); margin-top: 8px; overflow: hidden; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--green), var(--cyan)); border-radius: 99px; transition: width .4s ease; }
.side-mod { margin-bottom: 6px; }
.side-mod > button {
  width: 100%; text-align: left; background: none; border: 0; color: var(--text); cursor: pointer;
  padding: 10px 8px; font: 800 14px/1.3 var(--font); display: flex; gap: 10px; align-items: center; border-radius: 10px;
}
.side-mod > button:hover { background: var(--card); }
.side-mod .mnum { color: var(--cyan); font-size: 12px; min-width: 22px; }
.side-mod .count { margin-left: auto; color: var(--muted); font-weight: 600; font-size: 12px; }
.side-mod ul { list-style: none; margin: 0; padding: 0 0 6px 10px; display: none; }
.side-mod.open ul { display: block; }
.side-mod li a {
  display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px;
  color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none;
}
.side-mod li a:hover { background: var(--card); color: var(--text); }
.side-mod li a.active { background: rgba(61, 232, 255, .12); color: var(--text); box-shadow: inset 3px 0 0 var(--cyan); }
.check { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; font-size: 11px; color: #0b0f1d; font-weight: 900; }
.check.on { background: var(--green); border-color: var(--green); }
.side-special a { display: flex; gap: 10px; align-items: center; padding: 12px 10px; border-radius: 10px; font-weight: 800; color: var(--yellow); text-decoration: none; }
.side-special a:hover, .side-special a.active { background: rgba(255, 210, 63, .1); }

.lesson { padding: 40px clamp(16px, 5vw, 64px) 80px; max-width: 900px; width: 100%; min-width: 0; }
.crumb { color: var(--cyan); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.lesson h1 { font-size: clamp(30px, 4vw, 42px); margin: 8px 0 6px; }
.lesson .lmeta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.md { font-size: 17px; }
.md h2 { font-size: 26px; margin: 40px 0 10px; }
.md h3 { font-size: 20px; margin: 28px 0 8px; }
.md p, .md li { color: #d5dbee; }
.md strong { color: var(--text); }
.md ul, .md ol { padding-left: 24px; }
.md li { margin: 6px 0; }
.md code { font-family: var(--mono); font-size: .88em; background: var(--card-2); border: 1px solid var(--line); padding: 2px 6px; border-radius: 6px; color: var(--cyan); }
.md pre { background: #050811; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; overflow-x: auto; }
.md pre code { background: none; border: 0; padding: 0; color: #d7e3ff; font-size: 14px; line-height: 1.55; }
.md blockquote { margin: 22px 0; padding: 14px 20px; border-left: 4px solid var(--yellow); background: rgba(255, 210, 63, .07); border-radius: 0 12px 12px 0; }
.md blockquote p { margin: 4px 0; }
.md table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; display: block; overflow-x: auto; }
.md th, .md td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.md th { background: var(--card-2); }
.md hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.lesson-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .player { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; left: 0; top: 68px; width: min(320px, 88vw); z-index: 40; transform: translateX(-100%); transition: transform .25s ease; }
  .sidebar.open { transform: none; box-shadow: 20px 0 60px rgba(0, 0, 0, .5); }
  .menu-btn { display: inline-flex; }
}

/* quiz */
.q { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.q h4 { margin: 0 0 14px; font-size: 17px; }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line); margin-top: 8px; cursor: pointer; color: #d5dbee; }
.opt:hover { border-color: var(--cyan); }
.opt input { margin-top: 5px; accent-color: var(--cyan); }
.opt.right { border-color: var(--green); background: rgba(60, 220, 130, .08); }
.opt.wrong { border-color: var(--red); background: rgba(255, 64, 84, .08); }
.explain { margin-top: 12px; font-size: 14px; color: var(--muted); display: none; }
.graded .explain { display: block; }
.result { padding: 24px; border-radius: var(--radius); margin: 24px 0; text-align: center; }
.result.pass { background: rgba(60, 220, 130, .1); border: 1px solid var(--green); }
.result.fail { background: rgba(255, 64, 84, .08); border: 1px solid var(--red); }
.result .score { font-size: 48px; font-weight: 900; }
.locked { text-align: center; padding: 60px 20px; color: var(--muted); }
.locked .big { font-size: 56px; }

/* certificate */
.cert {
  background: #faf6eb; color: #1e2340; border-radius: 18px; padding: 14px; aspect-ratio: 1.414 / 1; width: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.cert-inner {
  height: 100%; border: 4px solid #be963c; border-radius: 10px; outline: 1.5px solid rgba(190, 150, 60, .5); outline-offset: -12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4% 6%; position: relative;
}
.cert .c-title { font-size: clamp(22px, 5vw, 46px); font-weight: 900; letter-spacing: .08em; margin: 0; }
.cert .c-sub { color: #7a5a1c; font-weight: 800; letter-spacing: .25em; font-size: clamp(10px, 1.6vw, 15px); margin-top: 2px; }
.cert .c-small { color: #5a5d6e; font-size: clamp(10px, 1.6vw, 15px); margin-top: 3%; }
.cert .c-name { font-size: clamp(22px, 5vw, 44px); font-weight: 900; color: #14468c; margin: 1% 0; border-bottom: 2px solid #be963c; padding: 0 5% 1%; }
.cert .c-course { font-weight: 800; font-size: clamp(12px, 2vw, 19px); margin-top: 1%; }
.cert .c-foot { position: absolute; left: 6%; right: 6%; bottom: 7%; display: flex; justify-content: space-between; align-items: flex-end; font-size: clamp(8px, 1.3vw, 12px); color: #5a5d6e; text-align: left; }
.cert .c-foot img { height: clamp(16px, 3vw, 30px); width: auto; filter: brightness(0) saturate(100%) invert(12%) sepia(18%) saturate(1800%) hue-rotate(200deg); }
.cert .seal { width: clamp(40px, 9vw, 86px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #e3b552, #be963c); display: grid; place-items: center; color: #fff; font-weight: 900; font-size: clamp(10px, 2vw, 20px); border: 3px solid #9b7428; }
.sig { border-top: 1.5px solid #1e2340; padding-top: 4px; min-width: 25%; }
@media print {
  body { background: #fff; }
  .no-print, .nav { display: none !important; }
  .cert { box-shadow: none; }
  @page { size: A4 landscape; margin: 10mm; }
}

/* reviews */
.chip-hi { border-color: rgba(255, 210, 63, .5); color: var(--yellow); }
.chip-hi b { color: var(--yellow); }
.marquee {
  overflow: hidden; padding: 6px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee var(--dur, 60s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 20px; padding-right: 20px; }
/* too few reviews to scroll: one centred row */
.marquee.static { mask-image: none; -webkit-mask-image: none; }
.marquee.static .marquee-group { justify-content: center; flex-wrap: wrap; padding: 0 20px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
}
.review { margin: 0; width: 340px; flex: none; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 500px) { .review { width: 280px; } }
.review .stars { color: var(--yellow); letter-spacing: 2px; font-size: 18px; }
.review blockquote { margin: 0; color: #d5dbee; flex: 1; font-size: 15px; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption b { display: block; color: var(--text); }
.review figcaption small { color: var(--muted); }

/* review form (learn.html#review) */
.review-form { max-width: 640px; }
textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.opt-label { font-weight: 500; color: var(--muted); }
.star-input { display: flex; gap: 4px; }
.star-input label { margin: 0; font-size: 36px; line-height: 1; color: var(--line); cursor: pointer; }
.star-input label.on { color: var(--yellow); }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input input:focus-visible + span { outline: 2px solid var(--cyan); border-radius: 4px; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--muted); margin: 20px 0; }
.check-line input { margin-top: 4px; flex: none; }
.review-form .btn { margin-top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stars span { opacity: .25; }

/* admin.html */
.admin-list { display: grid; gap: 16px; margin-top: 28px; }
.admin-review { display: grid; gap: 12px; }
.admin-review-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.admin-review .stars { color: var(--yellow); letter-spacing: 2px; font-size: 18px; }
.admin-review blockquote { margin: 0; color: #d5dbee; white-space: pre-wrap; }
.admin-meta { color: var(--muted); font-size: 14px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.status { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.status-pending { color: var(--yellow); border-color: var(--yellow); }
.status-approved { color: var(--green); border-color: var(--green); }

/* ---------- light editorial theme (all pages → body.light) ---------- */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 200; background: #14161f; color: #fff; padding: 8px 14px; border-radius: 8px; }

.light {
  --bg: #fbfaf7; --bg-2: #f4f2ed; --card: #ffffff; --card-2: #f6f5f1; --line: #e5e2da;
  --text: #14161f; --muted: #5b5f6e; --ink: #14161f;
  --accent: #2a4fe0; --cyan: var(--accent); /* links, focus and highlights */
  --gold: #b07d12; --green: #1d8a4e; --red: #c62f3e;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
}
.light a { color: var(--accent); }
.light :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.light .btn { font-weight: 600; border-radius: 10px; padding: 14px 22px; }
.light .btn:hover { transform: none; }
.light .btn-primary { background: var(--ink); color: #fff; box-shadow: none; }
.light .btn-primary:hover { background: #2b2e3b; box-shadow: none; }
.light .btn-ghost { background: var(--card); color: var(--text); border: 1px solid var(--line); }
.light .btn-ghost:hover { border-color: #c9c5bb; }
.light .btn-sm { padding: 9px 14px; font-size: 14px; }
.light .btn-block { width: 100%; }
.light .btn-linkedin { background: #0a66c2; color: #fff; }

.light .nav { background: rgba(251, 250, 247, .88); border-bottom: 1px solid var(--line); }
.light .nav .logo img { height: 28px; }
.light .nav-links { gap: 24px; }
.light .nav-links a:not(.btn) { color: var(--muted); font-weight: 500; font-size: 15px; }
.light .nav-links a:not(.btn):hover { color: var(--text); }

.light .kicker { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.light .hero h1 { font-size: clamp(42px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; margin: 0 0 22px; text-wrap: balance; }
.light section h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; margin: 0 0 16px; text-wrap: balance; }
.light .lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; max-width: 560px; margin: 0; }

.light .hero { padding: 72px 0 32px; background: none; overflow: visible; }
.light .hero::before { display: none; }
.light .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .light .hero-grid { grid-template-columns: 1fr; gap: 56px; } }
.light .hero-cta { margin-top: 32px; gap: 12px; }
.light .facts { list-style: none; padding: 20px 0 0; margin: 36px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 32px; color: var(--muted); font-size: 15px; }
@media (max-width: 600px) { .light .facts { grid-template-columns: 1fr 1fr; gap: 10px 16px; } }
.light .facts b { color: var(--text); font-weight: 600; }
.light .hero-visual { margin: 0; }
.light .hero-visual .cert { box-shadow: 0 1px 2px rgba(20, 22, 31, .06), 0 28px 60px -16px rgba(20, 22, 31, .25); }
.light .hero-visual figcaption { margin-top: 20px; color: var(--muted); font-size: 14px; text-align: center; }
.light .cert .c-foot img { filter: none; }
/* hero certificate: size everything from the card's own width so it never overlaps */
.light .hero-visual .cert { container-type: inline-size; }
.light .hero-visual .cert-inner { padding: 7% 7% 4%; }
.light .hero-visual .c-title { font-size: 7.4cqw; }
.light .hero-visual .c-sub, .light .hero-visual .c-small { font-size: 2.5cqw; }
.light .hero-visual .c-name { font-size: 6.4cqw; }
.light .hero-visual .c-course { font-size: 3.3cqw; }
.light .hero-visual .c-foot { position: static; width: 100%; margin-top: 5%; font-size: 1.9cqw; }
.light .hero-visual .c-foot img { height: 4.2cqw; }
.light .hero-visual .seal { width: 11cqw; font-size: 2.8cqw; border-width: 2px; }

.light section { padding: 104px 0; }
@media (max-width: 760px) { .light section { padding: 72px 0; } }
.light .tint { background: var(--bg-2); border-block: 1px solid var(--line); }
.light .sec-head { max-width: 680px; margin-bottom: 48px; }
.light .sec-lead { color: var(--muted); font-size: 18px; margin: 0; }
.light .split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.light .split .sec-head { margin-bottom: 0; }
.light .sticky-head { position: sticky; top: 100px; }
.light .sticky-head .btn { margin-top: 28px; }
@media (max-width: 960px) {
  .light .split { grid-template-columns: 1fr; gap: 32px; }
  .light .sticky-head { position: static; }
}

.light .points { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.light .point { padding: 28px 32px 0 0; }
.light .point + .point { padding-left: 32px; border-left: 1px solid var(--line); }
.light .pnum { font-size: 14px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.light .point h3 { font-size: 21px; letter-spacing: -.01em; margin: 14px 0 8px; font-weight: 600; }
.light .point p { color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .light .points { grid-template-columns: 1fr; }
  .light .point, .light .point + .point { padding: 24px 0; border-left: 0; }
  .light .point + .point { border-top: 1px solid var(--line); }
}

.light .curriculum { max-width: none; margin: 0; gap: 0; border-top: 1px solid var(--line); }
.light .mod { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.light .mod summary { padding: 20px 4px; gap: 18px; }
.light .mod .num { width: 28px; height: auto; background: none; color: var(--muted); font-weight: 500; font-size: 15px; font-variant-numeric: tabular-nums; border-radius: 0; place-items: start; }
.light .mod .t { font-weight: 600; font-size: 18px; }
.light .mod summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; width: 20px; text-align: center; }
.light .mod[open] summary::after { content: "−"; }
.light .mod ul { padding: 0 4px 22px 50px; }
.light .soon { color: #7a5600; border-color: currentColor; font-weight: 600; }

.light .fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .light .fit { grid-template-columns: 1fr; } }
.light .fit-col { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.light .fit-col h3 { margin: 0; font-size: 19px; font-weight: 600; }
.light .ticks li { color: var(--text); }
.light .crosses { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.light .crosses li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.light .crosses li::before { content: "✕"; color: var(--red); font-weight: 700; }

.light .mentor { grid-template-columns: 400px 1fr; gap: 64px; }
.light .mentor-photo { border: 0; box-shadow: none; border-radius: 16px; aspect-ratio: 4 / 5; }
.light .mentor-exp { color: var(--muted); font-weight: 500; margin: -6px 0 18px; }
.light .mentor .btn { margin-top: 28px; vertical-align: middle; }
.light .mentor .mentor-profile { margin-left: 8px; }
.light .mentor-name { color: inherit; text-decoration: none; }
.light .mentor-name:hover { text-decoration: underline; text-underline-offset: 4px; }
.light a.mentor-photo { display: block; }
.light .mentor-open { margin: 24px 0 0; padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--card); border-radius: 0 10px 10px 0; color: var(--text); font-size: 16px; max-width: 560px; }
@media (max-width: 860px) {
  .light .mentor { grid-template-columns: 1fr; gap: 32px; }
  .light .mentor-photo { max-width: 360px; }
}

.light .card { background: var(--card); border: 1px solid var(--line); }
.light .review blockquote { color: var(--text); }
.light .stars { color: var(--gold); }
.light .marquee.static .marquee-group { width: min(1120px, 100% - 32px); margin-inline: auto; justify-content: flex-start; padding: 0; }

.light .price-card { display: grid; grid-template-columns: .9fr 1.1fr; max-width: 920px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.light .price-main { padding: 40px; border-right: 1px solid var(--line); }
.light .big-price { color: var(--ink); font-size: 64px; font-weight: 700; letter-spacing: -.03em; line-height: 1; margin: 4px 0 10px; }
.light .price-note { color: var(--muted); margin: 0 0 28px; }
.light .price-list { padding: 40px; margin: 0; align-content: center; }
@media (max-width: 760px) {
  .light .price-card { grid-template-columns: 1fr; }
  .light .price-main { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px; }
  .light .price-list { padding: 32px; }
}

.light .faq { max-width: none; margin: 0; gap: 0; border-top: 1px solid var(--line); }
.light .faq details { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 20px 4px; }
.light .faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 18px; }
.light .faq summary::-webkit-details-marker { display: none; }
.light .faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; }
.light .faq details[open] summary::after { content: "−"; }
.light .faq p { margin: 12px 0 0; max-width: 620px; }

.light footer img { height: 24px; }
.light .foot-links a { color: var(--muted); }
.light .foot-links a:hover { color: var(--text); }

.light .modal { background: rgba(20, 22, 31, .45); }
.light .modal-box { border-radius: 16px; box-shadow: 0 30px 80px rgba(20, 22, 31, .25); }
.light .auth-error { background: #fdecee; border-color: #f3b7be; color: #a3202f; }
.light .demo-flag { background: #fff7e0; border-color: #ecd28a; color: #6e5100; }

/* light theme: course player, quiz, review form, certificate, admin */
.light h1, .light h2, .light h3 { letter-spacing: -.02em; }
.light .sidebar { background: var(--bg-2); }
.light .side-mod > button:hover, .light .side-mod li a:hover { background: var(--card); }
.light .side-mod .mnum { color: var(--accent); }
.light .side-mod li a.active { background: rgba(42, 79, 224, .08); color: var(--text); box-shadow: inset 3px 0 0 var(--accent); }
.light .check { color: #fff; }
.light .progress { background: var(--line); }
.light .progress > div { background: var(--accent); }
.light .progress-label b { color: var(--accent); }
.light .side-special a { color: var(--text); font-weight: 600; font-size: 15px; }
.light .side-special a:hover, .light .side-special a.active { background: var(--card); }
.light .lesson h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; }
.light .md p, .light .md li { color: #2c2f3b; }
.light .md code { background: var(--card-2); border-color: var(--line); color: #1d3fc4; }
.light .md pre { background: #14161f; border-color: #14161f; }
.light .md pre code { background: none; border: 0; padding: 0; color: #e6e9f5; }
.light .md blockquote { border-left-color: var(--gold); background: #fbf4e2; }
.light .md th { background: var(--card-2); }
.light .opt { color: var(--text); background: var(--card); }
.light .opt:hover { border-color: var(--accent); }
.light .opt input { accent-color: var(--accent); }
.light .result.pass { background: #e9f7ef; }
.light .result.fail { background: #fdecee; }
.light .locked h1 { font-size: clamp(28px, 4vw, 40px); color: var(--text); }
.light .star-input label { color: #d6d2c8; }
.light .star-input label.on { color: var(--gold); }
.light .admin-review blockquote { color: var(--text); }
.light .status-pending { color: #8a5f00; border-color: #e0c27a; }
.light .status-approved { color: var(--green); border-color: #9fd9b6; }
.light .cert { box-shadow: 0 1px 2px rgba(20, 22, 31, .06), 0 28px 60px -16px rgba(20, 22, 31, .25); }
.light .cert .c-foot img { filter: none; }
.light main > h1 { font-size: clamp(32px, 4vw, 44px); }
.light .eyebrow { padding: 0; border: 0; background: none; color: var(--accent); font-weight: 600; letter-spacing: .08em; }
/* certificate: every size is relative to the certificate's own width, so the layout is identical
   on a phone, a desktop and the printed PDF (the hero preview above overrides some of these) */
.light .cert { container-type: inline-size; }
.light .c-title { font-size: 4.7cqw; }
.light .c-sub, .light .c-small { font-size: 1.55cqw; }
.light .c-name { font-size: 4.5cqw; }
.light .c-course { font-size: 1.95cqw; }
.light .c-foot { font-size: 1.25cqw; }
.light .c-foot img { height: 3cqw; }
.light .seal { width: 8.8cqw; font-size: 2cqw; border-width: .3cqw; }
.light .sig { border-top-width: .15cqw; }

/* profile page (samsan.html) */
.light .profile-hero { padding: 64px 0 72px; }
.light .profile-grid { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: center; }
.light .profile-photo { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; }
.light .profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.light .profile-hero h1 { margin-bottom: 10px; }
.light .profile-role { font-size: clamp(18px, 2vw, 21px); font-weight: 600; margin: 0 0 18px; color: var(--text); }
.light .profile-hero .mentor-open { margin-top: 20px; }
@media (max-width: 860px) {
  .light .profile-grid { grid-template-columns: 1fr; gap: 32px; }
  .light .profile-photo { max-width: 320px; }
}
.light .xp { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.light .xp > li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.light .xp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; }
.light .xp-head h3 { margin: 0; font-size: 19px; font-weight: 600; }
.light .xp-head span { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.light .xp-meta { color: var(--muted); font-size: 14px; margin: 6px 0 10px; }
.light .xp ul { margin: 0; padding-left: 20px; color: #2c2f3b; }
.light .xp ul li { margin: 4px 0; }
.light .skills { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--line); }
.light .skills > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.light .skills dt { font-weight: 600; margin-bottom: 4px; }
.light .skills dd { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .light .skills { grid-template-columns: 1fr; } }
.light .contact-card { max-width: 760px; }
.light .contact-card .hero-cta { margin-top: 28px; }
.light .contact-card .note { margin-top: 24px; font-size: 15px; }
.light .btn-whatsapp { background: #157a40; color: #fff; }
.light .btn-whatsapp:hover { background: #106534; }
.light .h1-sub { display: block; margin-top: 10px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; color: var(--accent); }
