/* ==========================================================================
   LogicGigs Code Academy — education platform identity
   Inherits core tokens; shifts to violet + lime, sentence-case type, app-like surfaces.
   ========================================================================== */
.academy { --ac: #6C4DFF; --ac-d: #5134E6; --ac-l: #EFEBFF; --ac-bg: #F7F6FC; background: #fff; }
.academy .skip { position: absolute; left: -9999px; }
.academy .skip:focus { left: 8px; top: 8px; z-index: 999; background: #fff; padding: 8px 14px; border-radius: 8px; }
.ac-btn { --b: var(--ac); }
.academy .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ac); color: var(--ac); }
.academy .link-arrow { color: var(--ac); }
.lime { color: var(--lime); }
.muted { color: var(--muted); }
.pt-0 { padding-top: 0 !important; }
.ic.sm { width: 1em; height: 1em; vertical-align: -2px; }

/* ---------- Header ---------- */
.ac-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line-2); }
.ac-header-in { display: flex; align-items: center; gap: 26px; height: 64px; }
.brand-suffix { font: 700 11.5px/1 var(--f-body); text-transform: uppercase; letter-spacing: .12em; padding: 5px 8px; border-radius: 6px; background: var(--ac); color: #fff; margin-left: 2px; }
.brand.is-light .brand-suffix { background: var(--lime); color: var(--ink); }
.brand-mark { width: 32px; height: 32px; }
.brand-word { font: 900 21px/1 var(--f-display); letter-spacing: -.03em; color: var(--ink); text-transform: lowercase; }
.brand-word b { color: var(--blue); }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand.is-light .brand-word { color: #fff; }
.brand.is-light .brand-word b { color: var(--cyan); }
.brand-img { height: 36px; width: auto; }
.ac-nav { display: flex; gap: 4px; }
.ac-nav a { padding: 8px 13px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--ink-3); transition: background .2s, color .2s; }
.ac-nav a:hover, .ac-nav a.on { background: var(--ac-l); color: var(--ac-d); }
.ac-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.ac-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.ac-back .ic { width: 16px; height: 16px; }
.ac-signin { font-weight: 700; }
.ac-menu { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--bg-2); place-items: center; }
@media (max-width: 1000px) {
  .ac-nav { position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 14px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .ac-nav-open .ac-nav { display: flex; }
  .ac-menu { display: grid; }
  .ac-back { display: none; }
}
@media (max-width: 520px) { .ac-signin { display: none; } .brand-suffix { display: none; } .ac-actions { gap: 8px; } }
/* Account links live in the menu once the header has no room for them. */
.ac-nav-auth { display: none; }
@media (max-width: 1000px) { .ac-nav .ac-nav-auth { display: block; } .ac-nav .ac-nav-sep { border-top: 1px solid var(--line); border-radius: 0; margin-top: 6px; padding-top: 14px; } }
@media (max-width: 440px) {
  .ac-header-in { gap: 10px; }
  .ac-brand .lg { --lg-size: 17px !important; }
  .ac-brand .lg-sub { margin-left: .6em; padding-left: .6em; letter-spacing: .12em; }
  .ac-actions .btn-sm { padding: 0 12px; }
  .ac-menu { width: 40px; height: 40px; }
}
@media (max-width: 374px) { .ac-actions .ac-btn-start { display: none; } }
@media (max-width: 360px) { .ac-brand .lg { --lg-size: 15px !important; } .ac-menu { width: 40px; height: 40px; } }
@media (max-width: 420px) { .ac-btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .ac-actions .btn-sm { padding: 0 12px; } }
.ac-flash { padding-top: 18px; }

/* ---------- Type ---------- */
.ac-h1 { font: 800 clamp(34px, 4.1vw, 58px)/1.05 var(--f-display); letter-spacing: -.035em; margin: 18px 0 20px; }
.ac-h1.sm { font-size: clamp(30px, 3.2vw, 44px); }
.ac-mark { color: var(--ac); position: relative; white-space: nowrap; }
.ac-mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .2em; background: var(--lime); z-index: -1; border-radius: 4px; transform: skewX(-12deg); }
.ac-lede { font-size: var(--fs-lede); color: var(--muted); max-width: 580px; }
.ac-eyebrow { display: inline-block; font: 700 12.5px/1 var(--f-body); text-transform: uppercase; letter-spacing: .14em; color: var(--ac); background: var(--ac-l); padding: 7px 11px; border-radius: 8px; }
.ac-eyebrow.lime { background: rgba(198, 244, 50, .14); color: var(--lime); }
.ac-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.ac-head h2 { font: 800 clamp(26px, 2.5vw, 36px)/1.15 var(--f-display); letter-spacing: -.03em; margin-top: 16px; }
.ac-head.left { text-align: left; margin-left: 0; }
.ac-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.ac-head-row .ac-head { margin-bottom: 0; }
.ac-u { background: linear-gradient(transparent 62%, rgba(198, 244, 50, .7) 62%, rgba(198, 244, 50, .7) 90%, transparent 90%); }
.ac-u.lime { background: none; color: var(--lime); }
.ac-sec { padding: var(--sec-y) 0; position: relative; }
.ac-sec-tint { background: var(--ac-bg); }
.ac-sec-dark { background: #120B2E; color: #fff; }

/* ---------- Landing hero ---------- */
.ac-hero { position: relative; overflow: hidden; padding: clamp(44px, 5vw, 72px) 0 clamp(56px, 6vw, 88px); background: linear-gradient(180deg, #F4F1FF 0%, #fff 100%); }
.ac-hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(108, 77, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(108, 77, 255, .08) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(60% 70% at 70% 40%, #000, transparent 75%); mask-image: radial-gradient(60% 70% at 70% 40%, #000, transparent 75%); }
.ac-hero-in { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.ac-pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); font-weight: 600; font-size: 14px; }
.ac-pill i { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); position: relative; }
.ac-pill i::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--ink); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 50% { transform: scale(.5); } }
.ac-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 24px; }
.ac-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ac-trust li { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14.5px; color: var(--ink-3); }
.ac-trust .ic { color: var(--ac); }
.ac-hero-art { position: relative; padding: 5% 4% 8% 6%; }
.ac-hero-main { border-radius: 22px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(76, 48, 200, .55), 0 0 0 1px rgba(108, 77, 255, .12); background: #fff; }
.ac-hero-main .vx { background: linear-gradient(160deg, #EDE8FF, #F8F7FD); }
.ac-hero-main .vx-stage { padding: 3.2em; }
.ac-fc { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 24px 50px -20px rgba(40, 20, 120, .45), 0 0 0 1px rgba(108, 77, 255, .08); }
.ac-fc b { display: block; font-size: 14.5px; }
.ac-fc small { color: var(--muted); font-size: 12.5px; }
.ac-fc-progress { left: -2%; top: 10%; }
.ac-fc-grade { right: -3%; top: 40%; }
.ac-fc-live { left: 4%; bottom: 0; }
.ac-fc-code { right: 4%; bottom: 4%; background: #0B1020; color: #D7DDEE; font: 500 13px var(--f-mono); padding: 12px 16px; }
.ac-fc-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--green); color: #fff; }
.ac-fc-ic .ic { stroke-width: 3; }
.ac-live-dot { width: 12px; height: 12px; border-radius: 50%; background: #FF3B5C; box-shadow: 0 0 0 5px rgba(255, 59, 92, .2); animation: pulse 1.6s infinite; }
.ac-ring { --p: 50; position: relative; width: 58px; height: 58px; border-radius: 50%; background: conic-gradient(var(--ac) calc(var(--p) * 1%), var(--ac-l) 0); display: grid; place-items: center; flex: none; }
.ac-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.ac-ring b, .ac-ring small { position: relative; }
.ac-ring b { font: 800 14px var(--f-display); }
.ac-ring.big { width: 112px; height: 112px; align-content: center; }
.ac-ring.big::before { inset: 11px; }
.ac-ring.big b { font-size: 26px; line-height: 1; }
.ac-ring.big small { display: block; font-size: 11.5px; color: var(--muted); text-align: center; }
@media (max-width: 980px) { .ac-hero-in { grid-template-columns: minmax(0, 1fr); } .ac-hero-art { max-width: 640px; } }
@media (max-width: 560px) { .ac-fc-code, .ac-fc-live { display: none; } .ac-fc-grade { right: 0; } }

/* ---------- Steps ---------- */
.ac-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.ac-steps::before { content: ""; position: absolute; top: 30px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--ac) 0 6px, transparent 6px 14px); opacity: .35; }
.ac-steps li { text-align: center; position: relative; }
.ac-step-ic { position: relative; display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: #fff; color: var(--ac); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -20px rgba(108, 77, 255, .5); margin-bottom: 18px; }
.ac-step-ic .ic { width: 26px; height: 26px; }
.ac-step-ic em { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--ink); font: 800 13px/26px var(--f-body); font-style: normal; }
.ac-steps h3 { font: 800 18px var(--f-display); letter-spacing: -.02em; margin-bottom: 6px; }
.ac-steps p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .ac-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ac-steps::before { display: none; } }
@media (max-width: 520px) { .ac-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Course cards ---------- */
.ccards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ccards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
.ccard { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.ccard:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--a) 40%, transparent), 0 30px 60px -30px color-mix(in srgb, var(--a) 70%, transparent); }
.ccard-media { position: relative; overflow: hidden; }
.ccard-media > .vx, .ccard-media > img { transition: transform .7s var(--ease); width: 100%; }
.ccard-media > img { aspect-ratio: 16/10; object-fit: cover; }
.ccard:hover .ccard-media > * { transform: scale(1.04); }
.ccard-level { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .95); font-weight: 700; font-size: 12.5px; padding: 5px 10px; border-radius: 8px; box-shadow: var(--shadow-sm); }
.ccard-flag { position: absolute; right: 14px; top: 14px; display: inline-flex; gap: 5px; align-items: center; background: var(--lime); font-weight: 800; font-size: 12px; padding: 5px 9px; border-radius: 8px; }
.ccard-flag .ic { width: 14px; height: 14px; }
.ccard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ccard-cat { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--a); }
.ccard h3 { font: 800 19px/1.25 var(--f-display); letter-spacing: -.02em; }
.ccard p { color: var(--muted); font-size: 14.5px; margin: 0; }
.ccard-meta { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--ink-3); font-weight: 600; }
.ccard-meta li { display: inline-flex; align-items: center; gap: 5px; }
.ccard-meta .ic { width: 15px; height: 15px; color: var(--muted); }
.ccard-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ccard-batch { font-size: 13px; color: var(--muted); font-weight: 600; }
.ccard-foot b { font: 800 17px var(--f-display); color: var(--ink); }
@media (max-width: 980px) { .ccards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .ccards, .ccards.two { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Platform section ---------- */
.ac-platform { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 90px); align-items: center; }
.ac-platform-art { position: relative; padding: 0 12% 12% 0; }
.ac-dash-mock { background: #fff; border-radius: 24px; padding: 24px; box-shadow: 0 50px 100px -40px rgba(76, 48, 200, .45), 0 0 0 1px var(--line); display: grid; gap: 18px; }
.adm-head { display: flex; justify-content: space-between; align-items: center; }
.adm-head b { font: 800 20px var(--f-display); }
.adm-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.adm-kpis div { background: var(--ac-bg); border-radius: 14px; padding: 12px 14px; }
.adm-kpis small { color: var(--muted); font-size: 12.5px; display: block; }
.adm-kpis b { font: 800 24px var(--f-display); }
.adm-bars { display: flex; gap: 10px; align-items: flex-end; height: 110px; }
.adm-bars i { flex: 1; border-radius: 8px 8px 4px 4px; background: var(--ac-l); }
.adm-bars i:nth-child(6) { background: var(--ac); }
.adm-rows { display: grid; gap: 8px; }
.adm-rows span { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.adm-rows i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--bg-2); color: var(--muted); }
.adm-rows i.ok { background: var(--green); color: #fff; }
.adm-rows .ic { width: 15px; height: 15px; stroke-width: 3; }
.adm-rows em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--muted); }
.ac-cert-mock { position: absolute; right: 0; bottom: 0; width: 56%; background: linear-gradient(160deg, #fff, #FBFAFF); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-lg), inset 0 0 0 6px #F1EDFF; display: grid; gap: 4px; text-align: center; justify-items: center; }
.acm-seal { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); margin-bottom: 6px; }
.ac-cert-mock small, .cert-mini small { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: 10.5px; color: var(--ac); }
.ac-cert-mock b, .cert-mini b { font: 800 18px/1.2 var(--f-display); }
.acm-code { font: 500 11.5px var(--f-mono); color: var(--muted); margin-top: 4px; }
.ac-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.ac-feat { display: flex; gap: 14px; }
.ac-feat > span { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--ac-l); color: var(--ac); flex: none; }
.ac-feat b { display: block; margin-bottom: 2px; }
.ac-feat p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 980px) { .ac-platform { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .ac-feats { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Batches ---------- */
.ac-sec-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 90% 10%, rgba(108, 77, 255, .5), transparent 70%); pointer-events: none; }
.ac-sec-dark .wrap { position: relative; }
.batch-list { display: grid; gap: 12px; max-width: 980px; margin: 0 auto; }
.batch { display: grid; grid-template-columns: 62px 1fr auto auto 22px; gap: 18px; align-items: center; padding: 16px 20px; border-radius: 18px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: background .25s, transform .25s; }
.batch:hover { background: rgba(255, 255, 255, .09); transform: translateX(4px); }
.batch-date { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--a); text-align: center; }
.batch-date b { font: 900 21px/1 var(--f-display); }
.batch-date small { font-size: 11px; font-weight: 700; opacity: .9; }
.batch-main b { display: block; font-size: 16px; }
.batch-main small { color: #A79FD0; }
.batch-status { font-size: 12.5px; font-weight: 800; padding: 5px 10px; border-radius: 8px; background: rgba(198, 244, 50, .15); color: var(--lime); white-space: nowrap; }
.batch-status.running { background: rgba(25, 182, 255, .15); color: var(--cyan); }
.ac-course .batch-status, .batch-table .batch-status { background: #EEFBD0; color: #4A6400; }
.batch-table .batch-status.running { background: #E0F4FF; color: #0C6FA0; }
@media (max-width: 700px) { .batch { grid-template-columns: 60px 1fr; } .batch > .chip, .batch > .ic { display: none; } .batch-status { grid-column: 2; justify-self: start; } }

/* ---------- Instructors / FAQ / CTA ---------- */
.inst-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.inst { text-align: center; }
.inst-photo { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0 auto 14px; width: 160px; background: var(--ac-l); display: grid; place-items: center; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line); }
.inst-photo b { font: 900 44px var(--f-display); color: var(--ac); }
.inst-photo .sample-badge { top: 10px; left: 50%; transform: translateX(-50%); }
.inst h3 { font: 800 18px var(--f-body); }
.inst span { color: var(--muted); font-size: 14px; }
.ac-reviews { columns: 3 280px; column-gap: 18px; }
.ac-reviews .tcard { break-inside: avoid; margin-bottom: 18px; position: relative; margin-top: 0; background: #fff; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); }
.tcard blockquote { margin: 0; color: var(--ink-3); }
.tcard figcaption { display: flex; gap: 12px; align-items: center; }
.tcard figcaption small { display: block; color: var(--muted); }
.tcard-stars i { font-style: normal; color: #D6DBE6; } .tcard-stars i.on { color: var(--amber); }
.avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none; background: linear-gradient(135deg, var(--ac), #A58BFF); display: inline-grid; place-items: center; color: #fff; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 36px; height: 36px; font-size: 13px; }
.avatar.xl { width: 84px; height: 84px; font-size: 28px; }
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; font-weight: 700; font-size: 16.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { transition: transform .3s; color: var(--ac); }
.faq-item[open] summary .ic { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
.ac-cta { background: var(--ac); color: #fff; padding: 52px 0; position: relative; overflow: hidden; }
.ac-cta::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .15); right: -120px; top: -220px; }
.ac-cta-in { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.ac-cta h2 { font: 800 clamp(26px, 2.8vw, 38px)/1.1 var(--f-display); letter-spacing: -.03em; max-width: 700px; }

/* ---------- Footer ---------- */
.ac-footer { background: #0D0826; color: #A79FD0; padding: 60px 0 24px; font-size: 14.5px; }
.ac-footer-in { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 30px; }
.ac-footer p { max-width: 320px; margin-top: 14px; }
.ac-footer nav { display: grid; gap: 9px; align-content: start; }
.ac-footer nav b { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.ac-footer a:hover { color: #fff; }
.ac-footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
@media (max-width: 800px) { .ac-footer-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ac-footer-in > :first-child { grid-column: 1 / -1; } }
.ac-footer-in > * { min-width: 0; }
.ac-footer-in a { overflow-wrap: anywhere; }

/* ---------- Catalogue / page head ---------- */
.ac-page-head { padding: clamp(40px, 5vw, 64px) 0 32px; background: linear-gradient(180deg, #F4F1FF, #fff); }
.ac-page-head.center { text-align: center; padding-bottom: 100px; }
.ac-filter { display: grid; grid-template-columns: 1fr 190px 150px 170px auto; gap: 10px; margin-top: 26px; background: #fff; padding: 10px; border-radius: 18px; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.ac-filter .select { min-height: 50px; border-radius: 12px; }
.ac-search { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 12px; background: var(--bg-2); }
.ac-search input { border: 0; background: transparent; outline: none; flex: 1; min-height: 50px; min-width: 0; }
.ac-search .ic { color: var(--muted); }
.ac-count { color: var(--muted); font-weight: 600; margin-bottom: 20px; }
.ac-count a { color: var(--ac); }
.ac-empty { text-align: center; padding: 60px 20px; border-radius: 22px; background: var(--ac-bg); }
.ac-empty > .ic { width: 40px; height: 40px; color: var(--ac); margin: 0 auto 12px; }
.ac-empty h2 { font: 800 22px var(--f-display); margin-bottom: 6px; }
@media (max-width: 800px) { .ac-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ac-search { grid-column: 1 / -1; } .ac-filter .btn { grid-column: 1 / -1; } }

/* ---------- Course detail ---------- */
.cd-hero { position: relative; overflow: hidden; background: #120B2E; color: #fff; padding: 56px 0 70px; }
.cd-hero-bg { position: absolute; inset: 0; background: radial-gradient(50% 80% at 20% 0%, color-mix(in srgb, var(--a) 55%, transparent), transparent 70%), radial-gradient(30% 50% at 70% 100%, color-mix(in srgb, var(--a) 30%, transparent), transparent 70%); }
.cd-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 400px; gap: 50px; align-items: start; }
.cd-crumb { color: #C8C2E6; font-weight: 600; font-size: 14px; }
.cd-crumb:hover { color: #fff; }
.cd-sep { margin: 0 8px; color: #6E6699; }
.cd-crumb-cur { color: var(--lime); font-weight: 700; font-size: 14px; }
.cd-hero h1 { font: 800 clamp(30px, 3.6vw, 50px)/1.08 var(--f-display); letter-spacing: -.035em; margin: 20px 0 14px; }
.cd-sub { font-size: 17px; color: #D5D0EE; max-width: 640px; }
.cd-facts { list-style: none; padding: 0; margin: 26px 0 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.cd-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 11px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-weight: 600; font-size: 14px; }
.cd-facts .ic { color: var(--lime); width: 18px; height: 18px; }
.cd-tools .chip { background: rgba(255, 255, 255, .1); color: #E4E0F7; }
.enroll-card { position: relative; z-index: 5; background: #fff; color: var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .6); margin-bottom: -180px; }
.enroll-media .vx-stage { padding: 3em; }
.enroll-media > img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.enroll-body { padding: 22px; display: grid; gap: 14px; }
.enroll-price b { font: 900 26px var(--f-display); }
.enroll-price small { display: block; color: var(--muted); }
.batch-pick { display: grid; gap: 8px; margin: 8px 0 14px; }
.bp { cursor: pointer; }
.bp input { position: absolute; opacity: 0; }
.bp span { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, background .2s; }
.bp span small { color: var(--muted); font-size: 13px; }
.bp input:checked + span { box-shadow: inset 0 0 0 2px var(--ac); background: var(--ac-l); }
.bp input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--ac) 40%, transparent); }
.enroll-inc { list-style: none; padding: 14px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 14.5px; font-weight: 600; }
.enroll-inc li { display: flex; gap: 10px; align-items: center; }
.enroll-inc .ic { color: var(--ac); width: 18px; height: 18px; }
.cd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 50px; }
.cd-main { padding: 30px 0 80px; min-width: 0; }
.cd-tabs { position: sticky; top: 64px; z-index: 20; display: flex; gap: 4px; overflow-x: auto; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); padding: 10px 0; margin-bottom: 20px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.cd-tabs a { padding: 9px 14px; border-radius: 10px; font-weight: 700; font-size: 14.5px; color: var(--ink-3); white-space: nowrap; }
.cd-tabs a:hover { background: var(--ac-l); color: var(--ac-d); }
.cd-sec { padding: 26px 0; scroll-margin-top: 140px; }
.cd-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.cd-sec h2 { font: 800 22px var(--f-display); letter-spacing: -.02em; }
.cd-sec-head span { color: var(--muted); font-weight: 600; font-size: 14.5px; }
.outcomes { background: var(--ac-bg); border-radius: 18px; padding: 22px 24px; margin-bottom: 26px; box-shadow: inset 0 0 0 1px #E7E2FA; }
.outcomes h2 { margin-bottom: 16px; }
.outcomes ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.outcomes li { display: flex; gap: 10px; font-weight: 500; }
.outcomes .ic { color: var(--ac); flex: none; margin-top: 2px; stroke-width: 3; }
.curr { display: grid; gap: 10px; }
.curr-mod { border-radius: 16px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; background: #fff; }
.curr-mod summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.curr-mod summary::-webkit-details-marker { display: none; }
.curr-mod[open] summary { background: var(--ac-bg); }
.curr-n { font: 800 14px var(--f-mono); color: var(--ac); background: var(--ac-l); padding: 6px 8px; border-radius: 8px; }
.curr-t { flex: 1; }
.curr-t b { display: block; font-size: 16.5px; }
.curr-t small { color: var(--muted); }
.curr-mod summary > .ic { color: var(--ac); transition: transform .3s; }
.curr-mod[open] summary > .ic { transform: rotate(45deg); }
.curr ul { list-style: none; margin: 0; padding: 6px 18px 12px; }
.curr li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 15px; }
.curr li .ic { color: var(--muted); width: 18px; height: 18px; }
.curr li span { flex: 1; }
.curr li em { font-style: normal; color: var(--muted); font-size: 13.5px; }
.curr li.is-quiz .ic { color: var(--ac); }
.proj-cards { display: grid; gap: 12px; }
.pc { display: flex; gap: 16px; padding: 18px 20px; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.pc.is-cap { background: linear-gradient(120deg, var(--ac-bg), #fff); box-shadow: 0 0 0 1.5px #D9D0FF; }
.pc-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ac-l); color: var(--ac); flex: none; }
.pc.is-cap .pc-ic { background: var(--ac); color: #fff; }
.pc small { color: var(--ac); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; }
.pc b { display: block; font-size: 17px; margin: 2px 0 4px; }
.pc p { margin: 0; color: var(--muted); font-size: 14.5px; }
.inst-card { display: flex; gap: 20px; padding: 24px; border-radius: 20px; background: var(--ac-bg); }
.inst-avatar { position: relative; width: 96px; height: 96px; border-radius: 24px; overflow: hidden; background: var(--ac); color: #fff; display: grid; place-items: center; flex: none; }
.inst-avatar > .ic { width: 40px; height: 40px; }
.inst-card h3 { font: 800 20px var(--f-body); }
.inst-card small { color: var(--ac); font-weight: 600; }
.inst-card p { margin: 8px 0 0; color: var(--muted); }
.req-list { padding-left: 20px; margin: 0; display: grid; gap: 8px; }
.req-list li::marker { color: var(--ac); }
.batch-table { display: grid; gap: 8px; }
.bt-row { display: grid; grid-template-columns: 1.2fr 1.4fr 1.4fr auto auto; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); font-size: 14.5px; }
@media (max-width: 1000px) {
  .cd-hero-grid, .cd-layout { grid-template-columns: minmax(0, 1fr); }
  .enroll-card { margin-bottom: 0; max-width: 480px; }
  .cd-tabs { top: 64px; }
  .bt-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .outcomes ul { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Auth ---------- */
.auth-page { background: #fff; }
.auth { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 100vh; }
.auth-art { position: relative; overflow: hidden; background: #120B2E; color: #fff; padding: 40px clamp(30px, 5vw, 70px); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.auth-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 40%, rgba(108, 77, 255, .55), transparent 70%); }
.auth-art > * { position: relative; }
.auth-visual { position: relative; max-width: 560px; }
.auth-visual > .vx { border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); background: linear-gradient(160deg, #2A1F66, #1A1240); }
.auth-visual .ac-fc-grade { right: -4%; top: auto; bottom: -6%; color: var(--ink); }
.auth-art h2 { font: 800 clamp(24px, 2.4vw, 32px)/1.15 var(--f-display); letter-spacing: -.03em; max-width: 520px; }
.auth-art p { color: #C8C2E6; margin: 0; }
.auth-form-wrap { display: grid; place-items: center; padding: 40px 20px; }
.auth-form { width: min(420px, 100%); }
.auth-form h1 { font: 800 30px var(--f-display); letter-spacing: -.03em; }
.auth-sub { color: var(--muted); margin: 8px 0 26px; }
.auth-switch { text-align: center; margin: 20px 0 10px; color: var(--muted); }
.auth-switch a { color: var(--ac); font-weight: 700; }
.auth-back { display: block; text-align: center; font-size: 14px; color: var(--muted); }
.auth .input:focus { border-color: var(--ac); box-shadow: 0 0 0 4px rgba(108, 77, 255, .15); }
@media (max-width: 900px) { .auth { grid-template-columns: minmax(0, 1fr); } .auth-art { display: none; } }

/* ---------- Verify & certificate ---------- */
.verify-ic { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 22px; background: var(--ac); color: #fff; box-shadow: 0 20px 40px -16px var(--ac); }
.verify-ic .ic { width: 34px; height: 34px; }
.verify-form { display: flex; gap: 10px; max-width: 520px; margin: 26px auto 0; }
.verify-form .input { font: 600 17px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; text-align: center; }
.verify-result { display: flex; gap: 16px; text-align: left; max-width: 560px; margin: 28px auto 0; padding: 22px; border-radius: 18px; }
.verify-result.ok { background: #EAFBF2; box-shadow: inset 0 0 0 1px #BDEBD2; }
.verify-result.bad { background: #FFF0F0; box-shadow: inset 0 0 0 1px #F8C9CB; }
.vr-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; background: var(--green); }
.verify-result.bad .vr-ic { background: var(--red); }
.verify-result p { margin: 4px 0 8px; }
.cert-body { background: #ECEAF4; min-height: 100vh; }
.cert-actions { position: sticky; top: 0; z-index: 5; display: flex; justify-content: center; gap: 10px; padding: 14px; background: rgba(236, 234, 244, .9); backdrop-filter: blur(8px); }
.cert-page { padding: 20px 20px 60px; display: grid; place-items: center; }
.cert { position: relative; width: min(1100px, 100%); aspect-ratio: 1.414; background: #fff; box-shadow: var(--shadow-lg); padding: 5.5% 7%; display: flex; flex-direction: column; overflow: hidden; container-type: inline-size; }
.cert-border { position: absolute; inset: 2.2%; border: 2px solid color-mix(in srgb, var(--a) 60%, #fff); border-radius: 6px; pointer-events: none; }
.cert-border::after { content: ""; position: absolute; inset: 8px; border: 1px solid color-mix(in srgb, var(--a) 25%, #fff); border-radius: 4px; }
.cert-corner { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--a) 22%, transparent), transparent 65%); }
.cert-corner.tl { position: absolute; left: -14%; top: -20%; } /* .tl is also the portal timeline class */ .cert-corner.br { right: -14%; bottom: -24%; background: radial-gradient(circle, rgba(198, 244, 50, .35), transparent 65%); }
.cert-head { position: relative; display: flex; justify-content: space-between; align-items: center; }
.cert-code { font: 600 1.3cqw var(--f-mono); color: var(--muted); }
.cert-body-in { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.cert-kicker { font: 800 1.35cqw var(--f-body); text-transform: uppercase; letter-spacing: .3em; color: var(--a); }
.cert-line { color: var(--muted); font-size: 1.6cqw; margin: 1.6cqw 0 .6cqw; }
.cert-name { font: 800 5.4cqw/1.05 var(--f-display); letter-spacing: -.02em; border-bottom: 2px solid var(--line); padding: 0 3cqw .8cqw; }
.cert-course { font: 800 3cqw/1.15 var(--f-display); color: var(--a); letter-spacing: -.02em; }
.cert-desc { color: var(--muted); font-size: 1.45cqw; max-width: 70%; margin-top: 1cqw; }
.cert-foot { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 20px; }
.cert-foot > div:not(.cert-seal) { border-top: 1.5px solid var(--ink); padding-top: .8cqw; text-align: center; }
.cert-foot b { display: block; font-size: 1.6cqw; }
.cert-foot small { color: var(--muted); font-size: 1.2cqw; }
.cert-seal { width: 9cqw; height: 9cqw; border-radius: 50%; display: grid; place-items: center; background: var(--lime); box-shadow: 0 0 0 .8cqw #fff, 0 0 0 1cqw var(--a); }
.cert-seal .ic { width: 45%; height: 45%; }
.cert-verify { position: relative; text-align: center; font: 500 1.1cqw var(--f-mono); color: var(--muted-2); margin: 1.4cqw 0 0; }

/* ==========================================================================
   Student app shell
   ========================================================================== */
.app { background: var(--ac-bg); }
.app-shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.app-side { position: sticky; top: 0; height: 100vh; background: #120B2E; color: #C8C2E6; display: flex; flex-direction: column; padding: 22px 16px; overflow-y: auto; }
.app-brand { padding: 4px 8px 22px; }
.app-nav { display: grid; gap: 3px; }
.app-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; font-weight: 600; font-size: 15px; transition: background .2s, color .2s; }
.app-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.app-nav a.on { background: var(--ac); color: #fff; box-shadow: 0 10px 24px -10px var(--ac); }
.app-nav a span { flex: 1; }
.app-nav em { font-style: normal; font-size: 12px; font-weight: 800; background: var(--lime); color: var(--ink); padding: 1px 8px; border-radius: 999px; }
.app-side-foot { margin-top: auto; display: grid; gap: 6px; padding-top: 20px; }
.app-explore { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(108, 77, 255, .35), rgba(198, 244, 50, .12)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); margin-bottom: 6px; }
.app-explore .ic { color: var(--lime); }
.app-explore b { display: block; color: #fff; font-size: 14.5px; }
.app-explore small { font-size: 12.5px; }
.app-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 14px; }
.app-link:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.app-link .ic { width: 17px; height: 17px; }
.app-main { min-width: 0; display: flex; flex-direction: column; }
.app-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px; height: 68px; padding: 0 clamp(16px, 3vw, 36px); background: rgba(247, 246, 252, .88); backdrop-filter: blur(12px); border-bottom: 1px solid #ECE9F6; }
.app-burger { display: none; flex: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); place-items: center; }
.app-crumb { font-weight: 700; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-user { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.app-bell { position: relative; width: 42px; height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line); }
.app-bell i { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 2px #fff; }
.app-menu { position: relative; }
.app-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 4px 10px 4px 4px; border-radius: 12px; }
.app-menu summary::-webkit-details-marker { display: none; }
.app-menu summary:hover { background: #fff; }
.app-uname { font-weight: 700; font-size: 14px; line-height: 1.2; }
.app-uname small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.app-menu-pop { position: absolute; right: 0; top: calc(100% + 6px); min-width: 190px; background: #fff; border-radius: 14px; padding: 6px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); display: grid; }
.app-menu-pop a, .app-menu-pop button { display: flex; gap: 10px; align-items: center; width: 100%; padding: 10px 12px; border-radius: 10px; border: 0; background: none; font-weight: 600; font-size: 14.5px; text-align: left; }
.app-menu-pop a:hover, .app-menu-pop button:hover { background: var(--bg-2); }
.app-content { padding: clamp(18px, 3vw, 36px); max-width: 1320px; width: 100%; }
.side-scrim { display: none; }
@media (max-width: 1000px) {
  .app-shell { grid-template-columns: minmax(0, 1fr); }
  .app-side { position: fixed; z-index: 100; left: 0; top: 0; width: 280px; transform: translateX(-100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; }
  .side-open .app-side { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
  .side-open .side-scrim { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(10, 8, 30, .5); }
  .app-burger { display: grid; }
  .app-uname { display: none; }
}

.panel { background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 0 0 1px #ECE9F6, 0 1px 2px rgba(30, 20, 80, .04); }
.panel + .panel { margin-top: 20px; }
.onboard { margin-bottom: 20px; }
.onboard-steps { margin: 0; padding: 0; list-style: none; }
.onboard-steps li { align-items: center; }
.onboard-steps small { display: block; color: var(--muted); font-size: 13px; margin: 2px 0 6px; }
.enroll-checkout { padding: 8px 0 72px; }
.enroll-checkout .panel { margin-top: 20px; }
.acct-panel .facts { margin-top: 4px; }
.panel h2 { font: 800 19px var(--f-display); letter-spacing: -.01em; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.panel-head a { font-weight: 700; font-size: 14px; color: var(--ac); }
.page-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-title h1 { font: 800 26px var(--f-display); letter-spacing: -.03em; }
.sub-title { font: 800 22px var(--f-display); margin: 34px 0 16px; }
.back-link { display: inline-block; font-weight: 700; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.back-link:hover { color: var(--ac); }
.pbar { height: 8px; border-radius: 999px; background: var(--ac-l); overflow: hidden; }
.pbar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--a, var(--ac)), color-mix(in srgb, var(--a, var(--ac)) 60%, #fff)); transition: width .6s var(--ease); }
.pbar.sm { height: 6px; }
.empty-panel { text-align: center; padding: 50px 20px; }
.empty-panel > .ic { width: 42px; height: 42px; color: var(--ac); margin: 0 auto 12px; }
.empty-panel h2 { margin-bottom: 6px; }
.empty-panel p { color: var(--muted); }
.empty-mini p { color: var(--muted); margin: 0 0 14px; }

/* Dashboard */
.welcome { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(22px, 2.6vw, 30px); border-radius: 20px; background: linear-gradient(120deg, #2A1B7A, var(--ac) 60%, #8E75FF); color: #fff; margin-bottom: 20px; }
.welcome::before { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .14); }
.welcome::after { content: ""; position: absolute; right: 140px; bottom: -140px; width: 260px; height: 260px; border-radius: 50%; background: rgba(198, 244, 50, .18); filter: blur(40px); }
.welcome-copy { position: relative; }
.welcome small { opacity: .8; font-weight: 600; }
.welcome h1 { font: 800 clamp(22px, 2.2vw, 30px) var(--f-display); letter-spacing: -.03em; margin: 6px 0 8px; }
.welcome p { opacity: .9; margin-bottom: 18px; }
.welcome-art { position: relative; }
.welcome .ac-ring { background: conic-gradient(var(--lime) calc(var(--p) * 1%), rgba(255, 255, 255, .2) 0); }
.welcome .ac-ring::before { background: #3F28B8; }
.welcome .ac-ring small { color: #D5CCFF; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat-card { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 0 0 1px #ECE9F6; }
.stat-card > span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--a) 14%, #fff); color: var(--a); }
.stat-card b { display: block; font: 800 26px/1 var(--f-display); }
.stat-card small { color: var(--muted); font-weight: 600; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.resume { display: grid; grid-template-columns: 260px 1fr; gap: 22px; align-items: center; }
.resume-art { border-radius: 14px; overflow: hidden; }
.resume-art .vx-stage { padding: 3em; }
.resume small { color: var(--a); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.resume h2 { font-size: 21px; margin: 4px 0 6px; }
.resume p { color: var(--muted); }
.resume-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-weight: 600; color: var(--muted); font-size: 14px; }
.mycourses { display: grid; gap: 10px; }
.mc { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; transition: background .2s; }
.mc:hover { background: var(--ac-bg); }
.mc-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--a); color: #fff; }
.mc-t b { display: block; }
.mc-t small { color: var(--muted); }
.mc-p { display: flex; align-items: center; gap: 10px; width: 160px; }
.mc-p .pbar { flex: 1; }
.mc-p em { font-style: normal; font-weight: 800; font-size: 13.5px; width: 36px; text-align: right; }
.suggest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sg { display: grid; gap: 4px; }
.sg .vx { border-radius: 12px; margin-bottom: 6px; }
.sg small { color: var(--muted); }
.deadlines, .ann-mini { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.deadlines a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; }
.deadlines a:hover { background: var(--ac-bg); }
.dl-date { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--ac-l); color: var(--ac-d); text-align: center; flex: none; line-height: 1.05; }
.dl-date.late { background: #FFE7E8; color: var(--red); }
.dl-date b { font: 800 18px var(--f-display); }
.dl-date small { font-size: 11px; font-weight: 700; text-transform: uppercase; }
.deadlines a > span:last-child b { display: block; font-size: 14.5px; }
.deadlines a > span:last-child small { color: var(--muted); font-size: 13px; }
.ann-mini li { padding: 12px 0; border-top: 1px solid var(--line-2); }
.ann-mini li:first-child { border-top: 0; padding-top: 0; }
.ann-mini b { display: block; margin: 4px 0 2px; }
.ann-mini p { margin: 0 0 4px; color: var(--ink-3); font-size: 14px; }
.ann-mini small { color: var(--muted); font-size: 12.5px; }
@media (max-width: 1200px) { .dash-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 800px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .resume { grid-template-columns: minmax(0, 1fr); } .welcome-art { display: none; } .suggest { grid-template-columns: minmax(0, 1fr); } .mc { grid-template-columns: 44px 1fr; } .mc-p, .mc > .chip { grid-column: 2; width: auto; } }

/* My courses */
.mc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.mc-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px #ECE9F6; }
.mc-card-media .vx-stage { padding: 3em; }
.mc-card-body { padding: 18px 20px 20px; display: grid; gap: 10px; }
.mc-card-body h2 { font: 800 19px var(--f-display); }
.mc-card-body p { margin: 0; }
.mc-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }

/* Learn */
.app-learn .app-content { max-width: none; padding: 0; }
.learn { display: grid; grid-template-columns: 330px minmax(0, 1fr); min-height: calc(100vh - 68px); }
.learn-side { background: #fff; border-right: 1px solid #ECE9F6; padding: 20px 14px; position: sticky; top: 68px; height: calc(100vh - 68px); overflow-y: auto; }
.learn-back { display: block; font-weight: 800; font-size: 15px; padding: 4px 8px 14px; }
.learn-prog { padding: 0 8px 18px; border-bottom: 1px solid var(--line-2); margin-bottom: 10px; display: grid; gap: 8px; }
.learn-prog small { color: var(--muted); font-weight: 600; }
.lc-mod { padding: 10px 0; }
.lc-mod > b { display: flex; gap: 10px; align-items: center; font-size: 13.5px; padding: 6px 8px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.lc-mod > b span { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--ac-l); color: var(--ac); font-size: 12px; }
.lc-mod a { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 8px; border-radius: 10px; font-size: 14.5px; color: var(--ink-3); }
.lc-mod a:hover { background: var(--ac-bg); }
.lc-mod a i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--muted); }
.lc-mod a i .ic { width: 14px; height: 14px; }
.lc-mod a em { font-style: normal; font-size: 12.5px; color: var(--muted-2); }
.lc-mod a.done i { background: var(--green); color: #fff; }
.lc-mod a.done i .ic { stroke-width: 3; }
.lc-mod a.on { background: var(--ac-l); color: var(--ink); font-weight: 700; }
.lc-mod a.on i { background: var(--a); color: #fff; }
.lc-mod a.locked { opacity: .55; }
.lc-mod a.is-quiz i { background: #FFF3D6; color: #A06A00; }
.lc-mod a.is-quiz.done i { background: var(--green); color: #fff; }
.learn-main { padding: clamp(18px, 3vw, 36px); max-width: 980px; width: 100%; margin: 0 auto; }
.lesson-stage { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 24px; }
.video { position: relative; aspect-ratio: 16/9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lesson-cover { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 20px; padding: clamp(24px, 4vw, 44px); background: linear-gradient(130deg, #120B2E, color-mix(in srgb, var(--a) 70%, #120B2E)); color: #fff; min-height: 300px; }
.lesson-cover h2 { font: 800 clamp(22px, 2.4vw, 30px)/1.15 var(--f-display); letter-spacing: -.03em; margin: 14px 0 8px; }
.lesson-cover small { color: #C8C2E6; }
.lesson-cover-art .vx { border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); background: transparent; }
.lesson-cover-art .vx-stage { padding: 0; font-size: 1.5cqw; }
.lesson-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.lesson-head small { color: var(--a); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.lesson-head h1 { font: 800 clamp(22px, 2.2vw, 28px) var(--f-display); letter-spacing: -.03em; margin-top: 4px; }
.lesson-done .is-done { color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
.lesson-prose { background: #fff; border-radius: 20px; padding: clamp(20px, 3vw, 36px); box-shadow: 0 0 0 1px #ECE9F6; }
.lesson-asg { margin-top: 20px; display: grid; gap: 8px; }
.lesson-asg h3 { font: 800 16px var(--f-body); }
.lesson-asg a { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px #ECE9F6; font-weight: 700; }
.lesson-asg a .ic:first-child { color: var(--a); }
.lesson-asg a .ic:last-child { margin-left: auto; color: var(--muted); }
.lesson-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.ln { display: grid; gap: 2px; padding: 16px 18px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px #ECE9F6; transition: box-shadow .2s; }
.ln:hover { box-shadow: 0 0 0 1.5px var(--a); }
.ln small { color: var(--muted); font-weight: 600; }
.ln.next { text-align: right; grid-column: 2; }
@media (max-width: 1000px) { .learn { grid-template-columns: minmax(0, 1fr); } .learn-side { position: static; height: auto; max-height: 50vh; border-right: 0; border-bottom: 1px solid #ECE9F6; } .lesson-cover { grid-template-columns: minmax(0, 1fr); } .lesson-cover-art { display: none; } }

/* Assignments */
.kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.kcol { background: #EFECF9; border-radius: 20px; padding: 14px; display: grid; gap: 10px; }
.kcol h2 { font: 800 15px var(--f-body); display: flex; align-items: center; gap: 8px; padding: 4px 6px; }
.kcol h2 span { background: #fff; border-radius: 999px; padding: 1px 9px; font-size: 12.5px; color: var(--muted); }
.kcol-todo h2::before, .kcol-submitted h2::before, .kcol-graded h2::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.kcol-submitted h2::before { background: var(--blue); }
.kcol-graded h2::before { background: var(--green); }
.kcard { display: grid; gap: 4px; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(30, 20, 80, .06); border-left: 4px solid var(--a); transition: transform .2s, box-shadow .2s; }
.kcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.kcard-kind { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--a); }
.kcard-kind .ic { width: 14px; height: 14px; }
.kcard small { color: var(--muted); }
.kcard-foot { margin-top: 6px; }
.kcard-foot .ic { width: 13px; height: 13px; }
.kempty { color: var(--muted); font-size: 14px; padding: 10px 6px; margin: 0; }
@media (max-width: 1000px) { .kanban { grid-template-columns: minmax(0, 1fr); } }
.asg { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.asg > * { min-width: 0; }
.asg-head { margin-bottom: 18px; }
.asg-head h1 { font: 800 clamp(22px, 2.2vw, 28px) var(--f-display); letter-spacing: -.03em; margin: 10px 0 4px; }
.asg-main > .panel { margin-top: 18px; }
.submit-form h2, .feedback h2 { margin-bottom: 14px; }
.drop { display: flex; align-items: center; gap: 12px; padding: 20px; border-radius: 14px; border: 2px dashed #D9D2F7; background: var(--ac-bg); cursor: pointer; color: var(--muted); font-weight: 600; transition: border-color .2s, background .2s; }
.drop:hover, .drop.drag { border-color: var(--ac); background: var(--ac-l); }
.drop input { position: absolute; opacity: 0; width: 1px; }
.drop .ic { color: var(--ac); }
.feedback { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; }
.feedback > * { min-width: 0; }
@media (max-width: 480px) { .feedback { grid-template-columns: minmax(0, 1fr); } .feedback .btn { white-space: normal; } }
.fb-score { display: grid; justify-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 13px; }
.fb-score .ac-ring { width: 84px; height: 84px; }
.fb-score .ac-ring b { font-size: 24px; }
.kv { margin: 0; display: grid; gap: 14px; }
.kv dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.kv dd { margin: 4px 0 0; font-weight: 600; }
@media (max-width: 1000px) { .asg { grid-template-columns: minmax(0, 1fr); } }

/* Quiz */
.quiz { max-width: 860px; }
.quiz-head { margin-bottom: 20px; }
.quiz-head h1 { font: 800 clamp(22px, 2.2vw, 28px) var(--f-display); letter-spacing: -.03em; margin: 10px 0 4px; }
.quiz-bar { position: sticky; top: 80px; z-index: 5; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-sm), 0 0 0 1px #ECE9F6; margin-bottom: 16px; }
.quiz-bar .pbar { flex: 1; }
.quiz-bar small { font-weight: 700; color: var(--muted); }
.qlist { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 16px; }
.q { background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 0 0 1px #ECE9F6; }
.q h3 { display: flex; gap: 12px; font: 700 17.5px/1.45 var(--f-body); margin-bottom: 16px; }
.q h3 span { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--ac-l); color: var(--ac); font-size: 14px; flex: none; }
.q.ok h3 span { background: var(--green); color: #fff; }
.q.bad h3 span { background: var(--red); color: #fff; }
.opts { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 500; }
.opt i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--bg-2); font-style: normal; font-weight: 800; font-size: 13px; flex: none; }
.opt.pick { cursor: pointer; transition: box-shadow .15s, background .15s; }
.opt.pick input { position: absolute; opacity: 0; }
.opt.pick:hover { box-shadow: inset 0 0 0 1.5px var(--ac); }
.opt.pick:has(input:checked) { background: var(--ac-l); box-shadow: inset 0 0 0 2px var(--ac); }
.opt.pick:has(input:checked) i { background: var(--ac); color: #fff; }
.opt.pick:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--ac) 40%, transparent); }
.opt.correct { background: #EAFBF2; box-shadow: inset 0 0 0 1.5px #7DD9A8; }
.opt.correct i { background: var(--green); color: #fff; }
.opt.wrong { background: #FFF0F0; box-shadow: inset 0 0 0 1.5px #F2A3A6; }
.opt.wrong i { background: var(--red); color: #fff; }
.explain { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--ac-bg); color: var(--ink-3); font-size: 14.5px; }
.explain .ic { color: var(--ac); flex: none; margin-top: 2px; }
.quiz-result { display: flex; gap: 24px; align-items: center; padding: 24px; border-radius: 22px; margin-bottom: 20px; background: #fff; box-shadow: 0 0 0 1px #ECE9F6; }
.quiz-result.pass { background: linear-gradient(120deg, #EAFBF2, #fff); }
.quiz-result.pass .ac-ring { background: conic-gradient(var(--green) calc(var(--p) * 1%), #D5F3E3 0); }
.quiz-result.fail .ac-ring { background: conic-gradient(var(--red) calc(var(--p) * 1%), #FBDDDE 0); }
.quiz-result h2 { font: 800 21px var(--f-display); }
.quiz-result p { color: var(--muted); }
.quiz-result .btn + .btn { margin-left: 6px; }
.attempts { margin-top: 20px; }
.attempts h2 { margin-bottom: 10px; }
.attempt { display: grid; grid-template-columns: 1fr auto auto auto; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 14.5px; }
.attempt a { color: var(--ac); font-weight: 700; }

/* Progress */
.prog-course { display: grid; gap: 20px; }
.prog-top { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.prog-top .ac-ring { background: conic-gradient(var(--a) calc(var(--p) * 1%), var(--ac-l) 0); }
.prog-title h2 { font-size: 21px; }
.cert-check { display: grid; gap: 6px; padding: 16px; border-radius: 16px; background: var(--ac-bg); min-width: 300px; font-size: 14px; }
.cert-check b { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.cert-check span { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.cert-check span.ok { color: var(--ink); font-weight: 600; }
.cert-check span .ic { width: 16px; height: 16px; }
.cert-check span.ok .ic { color: var(--green); stroke-width: 3; }
.cert-check em { margin-left: auto; font-style: normal; font-weight: 700; }
.mod-bars { display: grid; gap: 10px; }
.mod-bar { display: grid; grid-template-columns: 240px 1fr 50px; gap: 14px; align-items: center; font-size: 14.5px; font-weight: 600; }
.mod-bar em { font-style: normal; color: var(--muted); text-align: right; }
.quiz-scores { display: flex; flex-wrap: wrap; gap: 10px; }
.qs { display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 12px; background: var(--bg-2); font-size: 14px; font-weight: 600; }
.qs b { margin-left: 4px; }
.qs.pass { background: #EAFBF2; color: #0E7A48; }
.qs.fail { background: #FFF0F0; color: #9E1C22; }
@media (max-width: 1000px) { .prog-top { grid-template-columns: auto 1fr; } .cert-check { grid-column: 1 / -1; min-width: 0; } .mod-bar { grid-template-columns: 1fr 50px; } .mod-bar .pbar { grid-column: 1 / -1; grid-row: 2; } }

/* Certificates */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.cert-card { background: #fff; border-radius: 22px; padding: 16px; box-shadow: 0 0 0 1px #ECE9F6; }
.cert-mini { position: relative; aspect-ratio: 1.5; border-radius: 14px; display: grid; place-items: center; align-content: center; gap: 4px; text-align: center; background: linear-gradient(160deg, #fff, #FAF8FF); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--a) 40%, #fff), inset 0 0 0 8px #fff, inset 0 0 0 9px color-mix(in srgb, var(--a) 20%, #fff); padding: 20px; }
.cert-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; }
.cert-card-foot .btn { margin-left: 4px; }
.cert-pending { display: grid; gap: 14px; }
.cp { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-left: 4px solid var(--a); }
.cp h3 { font: 800 19px var(--f-display); margin-bottom: 8px; }
.cp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.cp-list li { display: flex; gap: 8px; align-items: center; }
.cp-list li.ok { color: var(--ink); }
.cp-list .ic { width: 16px; height: 16px; }
.cp-list li.ok .ic { color: var(--green); stroke-width: 3; }
.cp-list em { font-style: normal; font-weight: 700; }

/* Announcements / profile */
.ann-list { display: grid; gap: 14px; }
.ann { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.ann.pinned { box-shadow: 0 0 0 1.5px #D9D0FF; background: linear-gradient(120deg, #FBFAFF, #fff); }
.ann-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--a) 14%, #fff); color: var(--a); }
.ann-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.ann-meta small { color: var(--muted); }
.ann h2 { font-size: 20px; margin-bottom: 6px; }
.ann .prose { font-size: 16px; }
.profile-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.profile-grid .panel + .panel { margin-top: 0; }
.profile-grid h2 { margin-bottom: 6px; }
.profile-id { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; }
.profile-id h2 { font-size: 24px; }
@media (max-width: 900px) { .profile-grid { grid-template-columns: minmax(0, 1fr); } }

/* fixes */
.cd-hero { overflow: visible; }
.cd-hero-bg { overflow: hidden; }
.ac-mark { z-index: 0; display: inline-block; }
.ac-u { position: relative; z-index: 0; }

/* Mobile proportion: smaller floating cards, consistent full-width hero buttons */
@media (max-width: 560px) {
  .ac-hero-ctas .btn { flex: 1 1 100%; }
  .ac-fc { padding: 9px 12px; gap: 9px; border-radius: 13px; }
  .ac-fc b { font-size: 13px; }
  .ac-fc small { font-size: 11.5px; }
  .ac-fc .ac-ring { width: 44px; height: 44px; }
  .ac-fc .ac-ring::before { inset: 5px; }
  .ac-fc .ac-ring b { font-size: 11.5px; }
  .ac-fc-ic { width: 32px; height: 32px; border-radius: 10px; }
  .ac-fc-progress { left: 0; top: 2%; }
  .ac-fc-grade { right: 0; top: auto; bottom: 2%; }
  .ac-hero-art { padding: 12% 0 14%; }
}

/* Logo placements */
.app-brand { display: block; padding: 6px 8px 22px; }
.app-top-mark { display: none; }
@media (max-width: 1000px) { .app-top-mark { display: inline-flex; } }
.inst-avatar .lg-avatar { width: 100%; height: 100%; border-radius: 0; }
.ann > .lg-avatar { border-radius: 14px; }
.cert-watermark { position: absolute; left: 50%; top: 52%; width: 46%; transform: translate(-50%, -50%) rotate(-8deg); color: var(--a); opacity: .05; pointer-events: none; }
.cert-watermark svg { width: 100%; height: auto; display: block; }
.cert-head .lg { font-size: 1.9cqw; }

/* ---------- Google reviews (academy) ---------- */
.stars { display: inline-flex; gap: 1px; font-size: 16px; line-height: 1; }
.stars i { font-style: normal; position: relative; color: #D6DBE6; }
.stars i::before { content: "★"; position: absolute; inset: 0; width: var(--f); overflow: hidden; color: #FBBC05; }
.stars.lg { font-size: 22px; gap: 2px; }
.g-mark { width: 1em; height: 1em; display: block; }
.ac-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ac-rating { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); font-size: 14px; }
.ac-rating .g-mark { font-size: 20px; }
.ac-rating .stars { font-size: 14px; }
.ac-rating small { color: var(--muted); }
.ac-reviews-sec { background: var(--ac-bg); }
.acr-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 20px; align-items: stretch; }
.acr-layout.solo { grid-template-columns: minmax(0, 440px); justify-content: center; }
.acr-summary { background: #fff; border-radius: 20px; padding: 22px; display: grid; gap: 16px; align-content: start; box-shadow: 0 0 0 1px #ECE9F6, 0 20px 40px -30px rgba(76, 48, 200, .5); }
.acr-src { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; }
.acr-src .g-mark { font-size: 22px; }
.acr-score { display: flex; align-items: center; gap: 14px; }
.acr-score > b { font: 900 54px/1 var(--f-display); letter-spacing: -.03em; color: var(--ink); }
.acr-score small { display: block; margin-top: 6px; color: var(--muted); font-size: 13.5px; }
.acr-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.acr-bars li { display: grid; grid-template-columns: 26px 1fr 22px; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; }
.acr-bars i { height: 7px; border-radius: 9px; background: var(--ac-l); overflow: hidden; }
.acr-bars em { display: block; height: 100%; background: #FBBC05; border-radius: 9px; }
.acr-bars small { text-align: right; color: var(--muted); }
.acr-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.acr-topics small { width: 100%; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.acr-topics span { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--ac-l); color: var(--ac-d); }
.acr-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.acr-actions .ic { width: 15px; height: 15px; }
.acr-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 14px; scrollbar-width: thin; }
.acr-rail:focus-visible { outline: 3px solid var(--ac); outline-offset: 4px; border-radius: 12px; }
.acr-rail .tcard { scroll-snap-align: start; margin: 0; background: #fff; border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 0 0 1px #ECE9F6; }
.tcard-top { display: flex; justify-content: space-between; align-items: center; }
.tcard-src { font-size: 20px; }
.tcard blockquote { margin: 0; color: var(--ink-3); font-size: 15px; line-height: 1.6; flex: 1; }
.tcard blockquote.is-long { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; flex: none; }
.tcard blockquote.is-long.open { display: block; }
.tcard-more { align-self: flex-start; border: 0; background: none; padding: 0; font-weight: 700; font-size: 13.5px; color: var(--ac); }
.tcard figcaption { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.tcard figcaption small { display: block; color: var(--muted); font-size: 12.5px; }
.tcard-link { margin-left: auto; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); }
.tcard-link:hover { background: var(--ac-l); color: var(--ac-d); }
.tcard-link .ic { width: 15px; height: 15px; }
@media (max-width: 900px) { .acr-layout { grid-template-columns: minmax(0, 1fr); } .acr-rail { grid-auto-columns: minmax(270px, 85%); } }
.tcard blockquote.is-long { -webkit-line-clamp: 8; }
.rail-wrap { position: relative; min-width: 0; }
.rail-wrap::after { content: ""; position: absolute; top: 0; right: 0; bottom: 14px; width: 48px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--ac-bg)); transition: opacity .3s; }
.rail-wrap.at-end::after { opacity: 0; }
.rail-nav { position: absolute; z-index: 3; top: 50%; width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--ac); color: #fff; box-shadow: 0 10px 24px -8px rgba(76, 48, 200, .6); transform: translateY(-50%); transition: opacity .25s, transform .25s; }
.rail-nav:hover { transform: translateY(-50%) scale(1.06); }
.rail-nav.prev { left: -14px; } .rail-nav.next { right: -14px; }
.rail-nav[disabled] { opacity: 0; pointer-events: none; }
.rail-nav .ic { width: 20px; height: 20px; }
@media (hover: none) { .rail-nav { display: none; } }
.rail-wrap { display: flex; }
.rail-wrap > [data-rail] { flex: 1; min-width: 0; }

/* Planned community events & recognition (academy landing) */
.ac-events { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: 28px; padding: 18px; box-shadow: 0 30px 60px -40px rgba(18, 11, 46, .35); }
.ac-events-art { display: block; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: #120B2E; }
.ac-events-art img { transition: transform .6s var(--ease); }
.ac-events-art:hover img { transform: scale(1.03); }
.ac-events-body { padding: 18px 26px 18px 0; }
.ac-events-body h2 { font: 800 clamp(26px, 2.5vw, 36px)/1.15 var(--f-display); letter-spacing: -.03em; margin: 16px 0 12px; }
.ac-events-body p { color: var(--ink-3); margin-bottom: 18px; }
.ac-events-cats { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }
.ac-events-cats li { font: 600 13px/1 var(--f-body); padding: 9px 12px; border-radius: 999px; background: var(--ac-bg); border: 1px solid var(--line-2); color: var(--ink-2); }
@media (max-width: 900px) {
  .ac-events { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px; border-radius: 22px; }
  .ac-events-body { padding: 14px 10px 12px; }
}

/* LMS phase 3: certificate QR, revoked state, verification fields */
.cert-verify { display: flex; align-items: center; justify-content: center; gap: 1.4cqw; text-align: left; line-height: 1.5; }
.cert-verify b { color: var(--ink-3, #2A3147); font-weight: 600; overflow-wrap: anywhere; }
.cert-qr .qr { display: block; width: 7cqw; height: 7cqw; }
.cert-revoked { margin: 16px auto 0; max-width: 1100px; padding: 12px 16px; border-radius: 12px; background: #FFF0F0; color: #9E1C22; font-weight: 700; text-align: center; }
.cert.is-revoked::after { content: "REVOKED"; position: absolute; inset: 0; display: grid; place-items: center; font: 900 12cqw var(--f-display); color: rgba(229, 72, 77, .14); transform: rotate(-18deg); pointer-events: none; }
.cert-card.revoked { opacity: .75; }
.vr-fields { margin: 8px 0 10px; display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 14.5px; }
.vr-fields div { display: contents; }
.vr-fields dt { color: var(--muted); }
.vr-fields dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 480px) { .vr-fields { grid-template-columns: minmax(0, 1fr); } .vr-fields dd { margin-bottom: 6px; } }
.cert-actions { flex-wrap: wrap; }

/* Technology logos on course cards (app/tech_icons.php) */
.tech-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-chip { width: 30px; height: 30px; border-radius: 9px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(10, 15, 31, .06), 0 6px 14px -6px rgba(10, 15, 31, .45); }
.tech-chip .ti { width: 17px; height: 17px; display: block; }
.ccard-media .tech-chips { position: absolute; left: 14px; bottom: 12px; z-index: 2; }
.ccard:hover .ccard-media > .tech-chips { transform: none; }

/* Phones: the landing page shows its featured courses as a swipeable row instead of a tall stack. */
@media (max-width: 620px) {
  .ccards.ccards-rail { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 4px 16px 14px; margin: 0 -16px; scrollbar-width: thin; overscroll-behavior-x: contain; }
  .ccards.ccards-rail > .ccard { scroll-snap-align: start; scroll-margin-left: 16px; }
}

/* Academy address and phone in the footer */
.ac-footer-contact { font-style: normal; display: grid; gap: 8px; margin-top: 16px; max-width: 340px; }
.ac-footer-contact span, .ac-footer-contact a { display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.ac-footer-contact .ic { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--lime); }
.ac-footer-contact a { min-height: 30px; align-items: center; color: #fff; font-weight: 600; }
.ac-footer-contact a .ic { margin-top: 0; }

/* Phones: an enrolment step's button goes under its text instead of squeezing it into a narrow column */
@media (max-width: 480px) {
  .onboard-steps li { flex-wrap: wrap; align-items: flex-start; }
  .onboard-steps li .grow { flex: 1 1 calc(100% - 56px); }
  .onboard-steps li > .btn, .onboard-steps li > a.btn { margin-left: 52px; }
}

/* Completion requirements: icon beside each line (was a bullet plus an icon on its own line) */
.req-list.req-icons { list-style: none; padding-left: 0; }
.req-icons li { display: flex; gap: 10px; align-items: flex-start; }
.req-icons li > .ic { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--ac); }
