
:root{
  --orange-100:#fcf0e9; --orange-200:#ffedeb; --orange-300:#ffbab0; --orange-400:#ff8375;
  --orange-500:#ff7160; --orange-600:#ff5c4b; --orange-700:#f8402e; --orange-800:#dd3a29; --orange-900:#742c11;
  --grey-50:#fafafa; --grey-100:#f3f4f7; --grey-200:#f7f8fa; --grey-300:#ebeef2; --grey-400:#dfe3eb;
  --grey-500:#d8dde6; --grey-600:#c1c6ce; --grey-700:#999; --grey-800:#666; --grey-900:#333;
  --blue-50:#cceafe; --blue-100:#c6dcff; --blue-200:#1f95f2; --blue-300:#265397;
  --green-50:#d5f0da; --green-100:#66b86b; --green-200:#4aaf50; --green-300:#438b47;
  --red-50:#fae9e6; --red-100:#ffcbc4; --red-200:#d41f00;
  --yellow-100:#ffeed0; --yellow-200:#febf05;
  --violet-50:#f7f2fe; --violet-100:#7e36d9;
  --brand:#e46c24; --brand-hover:#c25c1f; --brand-active:#a44e1a;
  --brand-teal:#00a884; --brand-teal-hover:#008f70; --ink:#333;
  --shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06);
  --shadow-md:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-2xl:0 25px 50px -12px rgba(0,0,0,.25);
}
*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body{margin:0;color:var(--ink);font-family:proxima-nova,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  line-height:1.5;-webkit-font-smoothing:antialiased;}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
h1,h2,h3,h4,p{margin:0;}
button{font:inherit;background:none;border:0;cursor:pointer;color:inherit;}

.container{width:100%;margin:0 auto;padding:0 20px;}
@media(min-width:640px){.container{max-width:640px;}}
@media(min-width:768px){.container{max-width:768px;padding:0 12px;}}
@media(min-width:1024px){.container{max-width:1024px;padding:0 20px;}}
@media(min-width:1280px){.container{max-width:1280px;}}

.h2{font-size:24px;font-weight:600;text-align:center;line-height:1.25;}
@media(min-width:1024px){.h2{font-size:36px;}}
.eyebrow{color:var(--brand);font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;}

.btn{display:inline-block;font-weight:700;font-size:16px;line-height:1.25;padding:8px 40px;
  border-radius:4px;border:1px solid transparent;text-align:center;cursor:pointer;
  transition:background-color .2s,color .2s,border-color .2s,transform .12s ease,box-shadow .2s ease;}
.btn:active{transform:scale(.96);}
.btn:focus-visible{outline:2px solid var(--brand-teal);outline-offset:2px;}
.btn-solid{background:var(--brand);border-color:var(--brand);color:#fff;}
.btn-solid:hover{background:var(--brand-hover);box-shadow:0 4px 14px rgba(228,108,36,.28);}
.btn-outline{background:#fff;border-color:var(--brand);color:var(--brand);}
.btn-outline:hover{background:var(--brand);color:#fff;}
.btn-pill{display:inline-flex;align-items:center;justify-content:center;text-align:center;
  padding:14px 64px;min-height:60px;line-height:1.3;font-size:18px;font-weight:600;}
@media(max-width:479px){.btn-pill{padding:14px 32px;}}
.btn-md{padding:8px 24px;height:45px;line-height:29px;font-weight:700;font-size:16px;}
@media(min-width:1024px){.btn-md{padding:8px 40px;}}
.btn-block{display:block;width:100%;}

/* ---------------- Nav ---------------- */
.nav{position:sticky;top:0;z-index:30;background:#fff;box-shadow:var(--shadow);}
.nav__row{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;}
.nav__logo img{height:46px;width:auto;}
.nav__links{display:none;align-items:center;gap:28px;font-size:19px;font-weight:600;color:var(--grey-900);}
.nav__links a:hover{color:var(--brand);}
.nav__actions{display:none;align-items:center;gap:20px;}
.nav__login{font-size:18px;font-weight:600;}
.nav__dropdown{position:relative;}
.nav__dropdown-trigger{display:flex;align-items:center;gap:5px;font:inherit;color:inherit;
  padding:8px 0;cursor:pointer;}
.nav__dropdown-trigger::after{content:"";width:7px;height:7px;border-right:1.5px solid var(--grey-700);
  border-bottom:1.5px solid var(--grey-700);transform:rotate(45deg) translateY(-2px);
  transition:transform .25s cubic-bezier(.34,1.56,.64,1);}
/* Click (.is-open, toggled in base.html) is the ONLY trigger — do not add a :hover rule here.
   A duplicate hover-based trigger previously fought the click state: hovering kept the menu
   visually open via CSS even after a click told it to close via JS, which read as "stuck". */
.nav__dropdown.is-open>.nav__dropdown-trigger::after{transform:rotate(-135deg) translateY(1px);}
.nav__dropdown-menu{position:absolute;top:calc(100% + 6px);left:50%;
  transform:translate(-50%,-6px) scale(.96);transform-origin:top center;
  background:#fff;border-radius:10px;box-shadow:var(--shadow-lg);border:1px solid var(--grey-300);
  min-width:260px;padding:8px;opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .22s cubic-bezier(.16,1,.3,1),transform .22s cubic-bezier(.16,1,.3,1),visibility .22s;z-index:40;}
.nav__dropdown.is-open>.nav__dropdown-menu{
  opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0) scale(1);}
.nav__dropdown-menu li+li{margin-top:1px;}
.nav__dropdown-menu a{display:flex;flex-direction:column;padding:8px 12px;border-radius:6px;font-size:14px;
  font-weight:600;color:var(--grey-900);line-height:1.35;}
.nav__dropdown-menu a:hover{background:var(--grey-100);color:var(--brand);}
.nav__dropdown-menu a small{font-weight:400;font-size:12px;color:var(--grey-700);}
.nav__dropdown-menu .nav__dropdown-all{margin-top:6px;padding-top:10px;border-top:1px solid var(--grey-300);
  color:var(--brand);text-align:center;}
.mobile-course-list{list-style:none;margin:2px 0 2px 14px;padding:0;border-left:2px solid var(--grey-300);}
.mobile-course-list a{padding:6px 0 6px 14px !important;font-size:15px;color:var(--grey-800);}
.nav__burger{display:block;font-size:24px;line-height:1;padding:6px;transition:transform .2s ease;}
.nav__burger[aria-expanded="true"]{transform:rotate(90deg);}
.nav__mobile-panel{display:flex !important;flex-direction:column;gap:0;padding:0 20px;
  max-height:0;opacity:0;overflow:hidden;
  transition:max-height .32s cubic-bezier(.16,1,.3,1),opacity .25s ease,padding .32s ease;}
.nav__mobile-panel.is-open{max-height:800px;opacity:1;padding:8px 20px 16px;}
@media(min-width:1024px){
  .nav__links,.nav__actions{display:flex;}
  .nav__burger{display:none;}
  .nav__mobile-panel{display:none !important;}
}

/* ---------------- Hero ---------------- */
.hero{position:relative;padding:32px 20px 0;background:linear-gradient(170deg,#ffedeb 50%,#fff 64%);}
@media(min-width:768px){.hero{padding-left:12px;padding-right:12px;}}
@media(min-width:1024px){.hero{border-radius:0 0 8px 8px;}}
.hero__inner{max-width:1160px;margin:0 auto;display:flex;flex-direction:column;align-items:flex-start;
  text-align:left;gap:32px;padding-bottom:24px;}
@media(min-width:1024px){.hero__inner{flex-direction:row;align-items:center;justify-content:space-between;gap:40px;}}
.hero__copy{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:20px;min-width:0;}
@media(min-width:1024px){.hero__copy{flex:1 1 420px;max-width:460px;}}
.hero__title{font-size:24px;font-weight:600;line-height:1.2;max-width:672px;}
@media(min-width:640px){.hero__title{font-size:32px;}}
@media(min-width:1024px){.hero__title{font-size:33.6px;line-height:1.1;}}
@media(min-width:1280px){.hero__title{font-size:40px;}}
.hero__benefits{display:flex;flex-direction:column;gap:14px;font-size:16px;align-items:flex-start;}
@media(min-width:1024px){.hero__benefits{font-size:20px;}}
.hero__benefits li{display:flex;align-items:center;gap:12px;}
.hero__benefit-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
  width:34px;height:34px;border-radius:50%;font-size:17px;line-height:1;}
.hero__benefit-icon--orange{background:#fdece0;}
.hero__benefit-icon--teal{background:#e0f5f0;}
.hero__benefit-icon--gold{background:#fef4e0;}
.hero__ctas{display:flex;flex-direction:column;gap:8px;width:100%;max-width:512px;}
@media(min-width:1024px){.hero__ctas{flex-direction:row;}}
.hero__ctas .btn{padding-top:12px;padding-bottom:12px;}
.hero__proof{font-size:14px;color:var(--grey-800);}
@media(min-width:1024px){.hero__proof{font-size:16px;}}

/* Compact learning-journey flow. Mobile/tablet: a simple vertical timeline (icon + title only,
   no tagline/description). Desktop (>=1024px): a left-to-right zigzag matching the original
   hero animation — nodes at alternating heights, connected by curved lines that draw in one
   at a time, arrow-then-node, instead of a single straight bar. */
.hero__flow{position:relative;width:100%;max-width:360px;margin:0 auto;padding:4px 0;}
@media(min-width:1024px){.hero__flow{flex:1 1 560px;max-width:640px;margin:0;
  aspect-ratio:8/5;padding:0;}}
.hero__flow-list{list-style:none;margin:0;padding:0;position:relative;z-index:1;
  display:flex;flex-direction:column;gap:20px;}
@media(min-width:1024px){.hero__flow-list{position:absolute;inset:0;display:block;}}
.hero__flow-line{position:absolute;top:2px;bottom:2px;left:22px;width:3px;border-radius:4px;z-index:0;
  background:linear-gradient(var(--brand-teal),var(--brand),#e0a319,var(--blue-200),#d63a2e,var(--violet-100),var(--green-200));
  transform:scaleY(0);transform-origin:top;animation:heroFlowLine 18s linear infinite;}
@media(min-width:1024px){.hero__flow-line{display:none;}}
.hero__flow-svg{display:none;}
@media(min-width:1024px){.hero__flow-svg{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:0;}}
.hero__flow-path{fill:none;stroke-width:2.5;stroke-linecap:round;stroke:var(--path-color);
  stroke-dasharray:1;animation-duration:18s;animation-timing-function:ease-in-out;animation-iteration-count:infinite;}
#hfpath1{animation-name:heroPath1;--path-color:var(--brand);}
#hfpath2{animation-name:heroPath2;--path-color:#e0a319;}
#hfpath3{animation-name:heroPath3;--path-color:var(--blue-200);}
#hfpath4{animation-name:heroPath4;--path-color:#d63a2e;}
#hfpath5{animation-name:heroPath5;--path-color:var(--violet-100);}
#hfpath6{animation-name:heroPath6;--path-color:var(--green-200);}
/* Positioning (.hero__flow-node) and the pop-in animation (.hero__flow-pop) live on separate
   nested elements on purpose: at desktop the node is placed with a static translate(-50%,-50%)
   transform, and the keyframes below also animate `transform` (scale) — on the same element
   those two would clobber each other, so the animated scale goes on the inner child instead. */
.hero__flow-node{display:contents;}
@media(min-width:1024px){.hero__flow-node{display:block;position:absolute;left:var(--nx);top:var(--ny);
  transform:translate(-50%,-50%);}}
.hero__flow-pop{display:flex;align-items:center;gap:14px;opacity:0;transform-origin:left center;
  animation-duration:18s;animation-timing-function:ease-in-out;animation-iteration-count:infinite;}
@media(min-width:1024px){.hero__flow-pop{flex-direction:column;text-align:center;gap:6px;transform-origin:center;}}
#hfnode1{animation-name:heroFlow1;}
#hfnode2{animation-name:heroFlow2;}
#hfnode3{animation-name:heroFlow3;}
#hfnode4{animation-name:heroFlow4;}
#hfnode5{animation-name:heroFlow5;}
#hfnode6{animation-name:heroFlow6;}
#hfnode7{animation-name:heroFlow7;}
.hero__flow-icon{flex-shrink:0;width:46px;height:46px;border-radius:50%;display:flex;align-items:center;
  justify-content:center;font-size:21px;background:var(--node-fill);border:2.5px solid var(--node-color);
  box-shadow:0 2px 8px rgba(0,0,0,.06);transition:box-shadow .2s ease;}
@media(min-width:1024px){.hero__flow-icon{width:62px;height:62px;font-size:27px;}}
.hero__flow-node:hover .hero__flow-icon{box-shadow:0 4px 14px rgba(0,0,0,.16);}
.hero__flow-title{font-size:14.5px;font-weight:700;color:var(--ink);}
@media(min-width:1024px){.hero__flow-title{font-size:13px;white-space:nowrap;}}

/* Everything below shares ONE 18s clock — no animation-delay anywhere (per-element delays
   desync an infinite loop after the first lap). Each node's and each path's "turn" is baked
   directly into its own @keyframes percentages, timed so a connecting path finishes drawing
   right before its destination node pops in: node1, path1, node2, path2, ... node7, then a
   long hold, then a quick fade before the loop repeats. */
@keyframes heroFlow1{
  0%{opacity:0;transform:scale(.6);} 4%{opacity:1;transform:scale(1.08);} 6%{transform:scale(1);}
  90%{opacity:1;transform:scale(1);} 96%,100%{opacity:0;transform:scale(.92);}
}
@keyframes heroFlow2{
  0%,9%{opacity:0;transform:scale(.6);} 13%{opacity:1;transform:scale(1.08);} 15%{transform:scale(1);}
  90%{opacity:1;transform:scale(1);} 96%,100%{opacity:0;transform:scale(.92);}
}
@keyframes heroFlow3{
  0%,18%{opacity:0;transform:scale(.6);} 22%{opacity:1;transform:scale(1.08);} 24%{transform:scale(1);}
  90%{opacity:1;transform:scale(1);} 96%,100%{opacity:0;transform:scale(.92);}
}
@keyframes heroFlow4{
  0%,27%{opacity:0;transform:scale(.6);} 31%{opacity:1;transform:scale(1.08);} 33%{transform:scale(1);}
  90%{opacity:1;transform:scale(1);} 96%,100%{opacity:0;transform:scale(.92);}
}
@keyframes heroFlow5{
  0%,36%{opacity:0;transform:scale(.6);} 40%{opacity:1;transform:scale(1.08);} 42%{transform:scale(1);}
  90%{opacity:1;transform:scale(1);} 96%,100%{opacity:0;transform:scale(.92);}
}
@keyframes heroFlow6{
  0%,45%{opacity:0;transform:scale(.6);} 49%{opacity:1;transform:scale(1.08);} 51%{transform:scale(1);}
  90%{opacity:1;transform:scale(1);} 96%,100%{opacity:0;transform:scale(.92);}
}
@keyframes heroFlow7{
  0%,54%{opacity:0;transform:scale(.6);} 58%{opacity:1;transform:scale(1.08);} 60%{transform:scale(1);}
  90%{opacity:1;transform:scale(1);} 96%,100%{opacity:0;transform:scale(.92);}
}
@keyframes heroFlowLine{
  0%,4%{transform:scaleY(0);} 58%{transform:scaleY(1);} 90%{transform:scaleY(1);} 96%,100%{transform:scaleY(0);}
}
/* Each path draws (dashoffset 1→0) in the gap right after its origin node lands and right
   before its destination node appears — the "arrow, then node" read. Opacity is tied to the
   same window (not left at a constant 1) so a not-yet-drawn path's round line-cap can't leave
   a faint residual dot at its future position while fully offset. */
@keyframes heroPath1{0%,4%{stroke-dashoffset:1;opacity:0;} 9%{stroke-dashoffset:0;opacity:1;} 90%{stroke-dashoffset:0;opacity:1;} 96%,100%{stroke-dashoffset:1;opacity:0;}}
@keyframes heroPath2{0%,13%{stroke-dashoffset:1;opacity:0;} 18%{stroke-dashoffset:0;opacity:1;} 90%{stroke-dashoffset:0;opacity:1;} 96%,100%{stroke-dashoffset:1;opacity:0;}}
@keyframes heroPath3{0%,22%{stroke-dashoffset:1;opacity:0;} 27%{stroke-dashoffset:0;opacity:1;} 90%{stroke-dashoffset:0;opacity:1;} 96%,100%{stroke-dashoffset:1;opacity:0;}}
@keyframes heroPath4{0%,31%{stroke-dashoffset:1;opacity:0;} 36%{stroke-dashoffset:0;opacity:1;} 90%{stroke-dashoffset:0;opacity:1;} 96%,100%{stroke-dashoffset:1;opacity:0;}}
@keyframes heroPath5{0%,40%{stroke-dashoffset:1;opacity:0;} 45%{stroke-dashoffset:0;opacity:1;} 90%{stroke-dashoffset:0;opacity:1;} 96%,100%{stroke-dashoffset:1;opacity:0;}}
@keyframes heroPath6{0%,49%{stroke-dashoffset:1;opacity:0;} 54%{stroke-dashoffset:0;opacity:1;} 90%{stroke-dashoffset:0;opacity:1;} 96%,100%{stroke-dashoffset:1;opacity:0;}}

@media (prefers-reduced-motion: reduce){
  .course-card, .project-card, .course-card__img img, .project-card__img img,
  .btn, .nav__dropdown-menu, .nav__user-menu, .nav__mobile-panel,
  .faq__panel-inner, .module__panel-inner, .nav__burger{transition:none !important;}
  .course-card:hover, .project-card:hover{transform:none;}
  .course-card:hover .course-card__img img, .project-card:hover .project-card__img img{transform:none;}
  .btn:active{transform:none;}
  .hero__flow-pop, .hero__flow-line, .hero__flow-path{animation:none !important;opacity:1;transform:none;stroke-dashoffset:0;}
}

/* ---------------- Trust badges strip ---------------- */
.badges{padding:48px 20px;}
@media(min-width:1024px){.badges{padding:64px 20px;}}
.badges__row{display:flex;flex-direction:column;gap:40px;align-items:center;max-width:1280px;margin:0 auto;}
@media(min-width:1024px){.badges__row{flex-direction:row;justify-content:space-between;gap:60px;}}
.badges__group h4{font-size:13px;color:var(--grey-700);text-align:center;margin-bottom:14px;font-weight:600;}
.badges__logos{display:flex;gap:32px;align-items:center;justify-content:center;flex-wrap:wrap;}
.badges__logos img{height:32px;width:auto;object-fit:contain;}

/* ---------------- Banner ---------------- */
.banner{background:rgba(254,191,5,.25);padding:12px 16px;text-align:center;font-size:14px;font-weight:600;position:relative;}
.banner a{color:var(--brand);text-decoration:underline;margin-left:6px;}

/* ---------------- Course catalog ---------------- */
.courses{background:var(--grey-100);padding:48px 20px;}
@media(min-width:1024px){.courses{padding:64px 20px;}}
.courses__head{max-width:800px;margin:0 auto 32px;text-align:center;}
.courses__head p{margin-top:12px;color:var(--grey-800);font-size:15px;}
.courses__grid{display:grid;grid-template-columns:1fr;gap:20px;max-width:1280px;margin:24px auto 0;}
@media(min-width:640px){.courses__grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1024px){.courses__grid{grid-template-columns:repeat(4,1fr);gap:24px;}}
.course-card{background:#fff;border:1px solid var(--grey-300);border-radius:6px;box-shadow:var(--shadow);
  overflow:hidden;display:flex;flex-direction:column;
  transition:box-shadow .25s ease,transform .25s ease,border-color .25s ease;}
.course-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-5px);border-color:var(--grey-400);}
.course-card__img{position:relative;aspect-ratio:422/181;background:var(--grey-200);overflow:hidden;}
.course-card__img img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
.course-card:hover .course-card__img img{transform:scale(1.08);}
.course-card__body{padding:12px;display:flex;flex-direction:column;gap:8px;flex:1;}
.course-card__meta{display:flex;justify-content:space-between;font-size:12px;color:var(--grey-700);}
.course-card__title{font-size:16px;font-weight:600;line-height:1.25;}
.course-card__foot{margin-top:auto;display:flex;flex-direction:column;gap:6px;padding-top:8px;}
.course-card__dl{font-size:14px;font-weight:600;color:var(--brand);text-align:center;height:40px;
  display:flex;align-items:center;justify-content:center;}
.course-card__cta{border:1px solid var(--brand);color:var(--brand);border-radius:4px;padding:8px;
  font-weight:700;font-size:15px;text-align:center;transition:.2s;}
.course-card__cta:hover{background:var(--brand);color:#fff;}

/* ---------------- Testimonials ---------------- */
.testimonials{padding:48px 20px 16px;}
@media(min-width:1024px){.testimonials{padding:64px 20px 16px;}}
.testimonials__ctas{display:flex;flex-direction:column;gap:16px;max-width:520px;margin:24px auto 0;}
@media(min-width:1024px){.testimonials__ctas{flex-direction:row;}}
.trustbox{max-width:480px;margin:24px auto 0;padding:20px;border:1px solid var(--grey-300);border-radius:8px;
  text-align:center;}
.trustbox__stars{color:#00b67a;font-size:20px;letter-spacing:2px;}

/* ---------------- Teacher credentials ---------------- */
.teachers{padding:48px 20px;}
@media(min-width:1024px){.teachers{padding:64px 20px;}}
.teachers__wrap{display:flex;flex-direction:column;align-items:center;gap:40px;max-width:1024px;margin:32px auto 0;}
@media(min-width:1024px){.teachers__wrap{flex-direction:row;}}
.teachers__img{border-radius:8px;width:100%;max-width:340px;}
.teachers__stats{display:grid;grid-template-columns:1fr;gap:12px;}
@media(min-width:640px){.teachers__stats{grid-template-columns:1fr 1fr;}}
.stat-chip{display:flex;align-items:center;gap:10px;font-weight:600;font-size:15px;}
.stat-chip b{color:var(--brand-teal);font-size:20px;}

/* ---------------- Guarantee ---------------- */
.guarantee{padding:48px 20px;overflow:hidden;}
@media(min-width:1024px){.guarantee{padding:64px 0;}}
.guarantee__card{border:1px solid var(--blue-100);background:#fff;display:flex;flex-wrap:wrap;
  justify-content:center;max-width:1024px;margin:0 auto;}
.guarantee__cell{width:100%;padding:20px;display:flex;justify-content:center;align-items:center;
  text-align:center;border-bottom:1px solid var(--blue-100);}
@media(min-width:1024px){.guarantee__cell{width:25%;border-bottom:0;border-right:1px solid var(--blue-100);}
  .guarantee__cell:last-child{border-right:0;}}
.guarantee__text{max-width:640px;margin:24px auto 0;font-size:14px;color:var(--grey-800);text-align:center;}

/* ---------------- Certifications ---------------- */
.certs{padding:48px 20px;position:relative;}
@media(min-width:1024px){.certs{padding:64px 20px;}}
.certs__row{display:flex;flex-direction:column;align-items:center;gap:40px;max-width:1024px;margin:0 auto;}
@media(min-width:1024px){.certs__row{flex-direction:row;justify-content:space-between;}}
.certs__text{max-width:480px;color:var(--grey-800);font-size:15px;text-align:center;}
@media(min-width:1024px){.certs__text{text-align:left;}}
.certs__img{width:100%;max-width:340px;border-radius:8px;}

/* ---------------- Why code ---------------- */
.reasons{padding:48px 20px;background:#fff;}
@media(min-width:1024px){.reasons{padding:64px 20px;}}
.reasons__grid{display:grid;grid-template-columns:1fr;gap:48px;max-width:896px;margin:40px auto 0;}
@media(min-width:1024px){.reasons__grid{grid-template-columns:1fr 1fr;}}
.reason{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;}
@media(min-width:1024px){.reason{align-items:flex-start;text-align:left;}}
.reason img{width:120px;height:120px;object-fit:contain;}
.reason h3{font-size:24px;font-weight:600;}
@media(min-width:1024px){.reason h3{font-size:30px;}}
.reason p{color:var(--grey-800);font-size:15px;}

/* ---------------- Project showcase ---------------- */
.showcase{background:var(--orange-100);padding:48px 20px;}
@media(min-width:1024px){.showcase{padding:64px 20px;}}
.showcase__grid{display:grid;grid-template-columns:1fr;gap:20px;max-width:1280px;margin:32px auto 0;}
@media(min-width:768px){.showcase__grid{grid-template-columns:1fr 1fr;gap:24px;}}
@media(min-width:1024px){.showcase__grid{grid-template-columns:repeat(3,1fr);gap:32px;}}
.project-card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:var(--shadow);
  transition:box-shadow .25s ease,transform .25s ease;}
.project-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-5px);}
.project-card__img{aspect-ratio:406/222;background:var(--grey-200);overflow:hidden;}
.project-card__img img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
.project-card:hover .project-card__img img{transform:scale(1.08);}
.project-card__body{padding:16px;display:flex;flex-direction:column;gap:10px;}
.project-card__who{display:flex;align-items:center;gap:10px;}
.project-card__who img{width:40px;height:40px;border-radius:50%;object-fit:cover;}
.project-card__who span{font-size:13px;color:var(--grey-800);}
.project-card__title{font-weight:600;font-size:15px;}
.showcase__cta{max-width:320px;margin:40px auto 0;}

/* ---------------- Demo ---------------- */
.demo{background:rgba(255,238,208,.5);padding:48px 20px;}
@media(min-width:1024px){.demo{padding:64px 20px;}}
.demo__row{display:flex;flex-direction:column;align-items:center;gap:32px;max-width:1024px;margin:0 auto;}
@media(min-width:1024px){.demo__row{flex-direction:row;gap:64px;}}
.demo__text{color:var(--grey-800);font-size:15px;max-width:440px;text-align:center;}
@media(min-width:1024px){.demo__text{text-align:left;}}
.demo__img{border-radius:8px;box-shadow:var(--shadow);width:100%;max-width:480px;}

/* ---------------- Competitions ---------------- */
.competitions{background:rgba(198,220,255,.25);padding:48px 20px;}
@media(min-width:1024px){.competitions{padding:64px 20px;}}
.competitions__wrap{max-width:1152px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:32px;}
.competitions__text{max-width:640px;text-align:center;color:var(--grey-800);font-size:15px;}
.competitions__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:32px 20px;width:100%;padding-top:32px;}
@media(min-width:1024px){.competitions__grid{grid-template-columns:repeat(6,1fr);}}
.competitions__logo{display:flex;flex-direction:column;align-items:center;gap:12px;}
.competitions__logo img{height:56px;width:auto;object-fit:contain;}
.competitions__logo span{font-size:12px;text-align:center;color:var(--grey-800);}

/* ---------------- Founders ---------------- */
.founders{padding:48px 20px;overflow:hidden;}
@media(min-width:1024px){.founders{padding:64px 20px;}}
.founders__head{max-width:672px;margin:0 auto;text-align:center;}
.founders__row{display:flex;flex-direction:column;gap:20px;max-width:900px;margin:40px auto 0;}
@media(min-width:1024px){.founders__row{flex-direction:row;}}
.founder-card{background:#fff;border-radius:8px;box-shadow:var(--shadow-2xl);padding:32px 16px;
  text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px;max-width:384px;margin:0 auto;}
.founder-card img{width:96px;height:96px;border-radius:50%;object-fit:cover;}
.founder-card p{font-size:14px;color:var(--grey-800);font-style:italic;}
.founder-card b{font-size:15px;}
.founder-card span{font-size:13px;color:var(--grey-700);}

/* ---------------- Investors ---------------- */
.investors{padding:48px 0;}
@media(min-width:1024px){.investors{padding:64px 0;}}
.investors__card{max-width:1152px;margin:0 auto;border-radius:32px;background:var(--grey-100);
  padding:32px 16px;display:flex;flex-direction:column;align-items:center;}
.investors__logos{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:16px;}
@media(min-width:768px){.investors__logos{gap:12px;padding:40px;}}
.investors__logos img{height:36px;width:auto;object-fit:contain;}

/* ---------------- Trust metrics ---------------- */
.trust-metrics{background:var(--orange-100);padding:48px 20px;}
@media(min-width:1024px){.trust-metrics{padding:64px 20px;}}
.trust-metrics__grid{display:grid;grid-template-columns:1fr;gap:20px;max-width:1024px;margin:40px auto 0;}
@media(min-width:1024px){.trust-metrics__grid{grid-template-columns:repeat(3,1fr);}}
.metric-card{background:#fff;border-radius:8px;padding:20px;display:flex;gap:12px;align-items:flex-start;box-shadow:var(--shadow);}
.metric-card img{width:40px;height:40px;}
.metric-card b{display:block;font-size:16px;color:var(--brand-teal);}
.metric-card span{font-size:13px;color:var(--grey-800);}

/* ---------------- Press ---------------- */
.press{max-width:1152px;margin:0 auto;padding:48px 12px;}
@media(min-width:1024px){.press{padding:64px 0;}}
.press__row{display:flex;flex-direction:column;align-items:center;gap:32px;padding:32px 0;}
@media(min-width:1024px){.press__row{flex-direction:row;justify-content:center;gap:40px;}}
.press__logos{display:flex;flex-wrap:wrap;justify-content:center;gap:28px;}
.press__logos img{height:28px;width:auto;object-fit:contain;filter:grayscale(1);opacity:.75;}

/* ---------------- FAQ ---------------- */
.faq{max-width:896px;margin:0 auto;padding:48px 20px;display:flex;flex-direction:column;gap:20px;}
@media(min-width:1024px){.faq{padding:64px 20px;flex-direction:row;gap:80px;}}
.faq__head{font-size:30px;font-weight:600;flex-shrink:0;}
@media(min-width:1024px){.faq__head{font-size:40px;}}
.faq__list{flex:1;}
.faq__item{border-bottom:1px solid var(--grey-300);}
.faq__item summary{padding:12px 0;font-weight:600;cursor:pointer;display:flex;justify-content:space-between;
  align-items:center;list-style:none;}
.faq__item summary::-webkit-details-marker{display:none;}
.faq__item summary::after{content:"+";font-size:20px;color:var(--brand);
  transition:transform .25s ease;display:inline-block;}
.faq__item[open] summary::after{content:"+";transform:rotate(135deg);}
/* Keep the panel rendered (overriding <details>'s native display:none-when-closed) — JS (in
   base.html) measures the real content height and animates max-height in px on toggle. A
   grid-template-rows 0fr->1fr transition was tried first but doesn't actually animate in
   Chrome (verified: it jumps to the final size on the very first frame), so this uses the
   universally-reliable measured-height technique instead. */
.faq__item .faq__panel{display:block !important;}
.faq__item .faq__panel-inner{overflow:hidden;max-height:0;
  transition:max-height .32s cubic-bezier(.16,1,.3,1);}
.faq__item .faq__panel-inner p{padding:0 0 14px;color:var(--grey-800);font-size:14px;}

/* ---------------- Grades ---------------- */
.grades{padding:48px 20px;}
@media(min-width:1024px){.grades{padding:64px 20px;}}
.grades__row{display:flex;flex-direction:column;align-items:center;gap:40px;max-width:1024px;margin:24px auto 0;}
@media(min-width:1024px){.grades__row{flex-direction:row;justify-content:space-evenly;}}
.grades__img{border-radius:8px;width:100%;max-width:320px;}
.grades__list{display:flex;flex-direction:column;gap:16px;}
.grade-chip{display:flex;gap:10px;font-size:15px;}
.grade-chip b{color:var(--brand);}

/* ---------------- Blog ---------------- */
.blog{padding:48px 20px 80px;text-align:center;}
@media(min-width:1024px){.blog{padding:64px 20px 80px;}}

/* ---------------- Final CTA ---------------- */
.cta-final{background:linear-gradient(120deg,var(--brand),#eb915b);margin-bottom:-40px;padding:48px 20px 88px;
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;color:#fff;}
@media(min-width:1024px){.cta-final{flex-direction:row;justify-content:center;gap:60px;text-align:left;}}
.cta-final h2{color:#fff;}
.cta-final img{width:100%;max-width:280px;border-radius:12px;}
.cta-final .btn{background:#fff;color:var(--brand);box-shadow:var(--shadow-md);}

/* ---------------- Footer ---------------- */
.footer{background:var(--grey-900);color:#fff;padding-top:88px;}
.footer__inner{max-width:1280px;margin:0 auto;padding:0 20px 40px;}
.footer__app{background:#fff;color:var(--ink);border-radius:8px;box-shadow:var(--shadow);
  display:flex;flex-direction:column;gap:20px;padding:24px 20px;margin-top:0;}
@media(min-width:768px){.footer__app{padding:24px 48px;}}
@media(min-width:1024px){.footer__app{flex-direction:row;justify-content:space-between;align-items:center;}}
.footer__app h3{font-size:20px;font-weight:600;}
@media(min-width:1024px){.footer__app h3{font-size:24px;}}
.footer__app-badges{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px;}
.footer__qr{width:80px;height:80px;}
.footer__cats{display:flex;flex-wrap:wrap;justify-content:center;gap:24px;margin:40px 0;}
.footer__cat{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:12px;color:var(--grey-400);}
.footer__cat img{width:28px;height:28px;filter:invert(1) brightness(2);}
.footer__cols{display:grid;grid-template-columns:1fr;gap:32px;margin:40px 0;}
@media(min-width:640px){.footer__cols{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1024px){.footer__cols{grid-template-columns:repeat(5,1fr);}}
.footer__col h5{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--grey-500);margin-bottom:14px;}
.footer__col a{display:block;font-size:13px;color:var(--grey-400);padding:4px 0;}
.footer__col a:hover{color:#fff;}
.footer__mission{max-width:640px;margin:0 auto;text-align:center;font-size:13px;color:var(--grey-500);
  padding:32px 0;border-top:1px solid #444;}
.footer__legal{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;padding:20px 0;font-size:12px;
  color:var(--grey-600);border-top:1px solid #444;}
.footer__social{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px;padding:16px 20px;font-size:13px;color:var(--grey-400);}

/* ---------------- Nav user menu ---------------- */
.nav__user{position:relative;}
.nav__user-btn{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:var(--grey-900);}
.nav__user-avatar{width:32px;height:32px;border-radius:50%;background:var(--brand-teal);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;}
.nav__user-menu{position:absolute;top:calc(100% + 10px);right:0;background:#fff;border-radius:10px;
  box-shadow:var(--shadow-lg);border:1px solid var(--grey-300);min-width:180px;padding:8px;
  opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-6px) scale(.96);transform-origin:top right;
  transition:opacity .22s cubic-bezier(.16,1,.3,1),transform .22s cubic-bezier(.16,1,.3,1),visibility .22s;z-index:40;}
/* Click (.is-open) only — see note above .nav__dropdown-menu for why hover must not also trigger this. */
.nav__user.is-open>.nav__user-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1);}
.nav__user-menu a,.nav__user-menu button{display:block;width:100%;text-align:left;padding:8px 12px;
  border-radius:6px;font-size:14px;color:var(--grey-900);}
.nav__user-menu a:hover,.nav__user-menu button:hover{background:var(--grey-100);color:var(--brand);}

/* ---------------- Auth pages ---------------- */
.auth-page{min-height:70vh;display:flex;align-items:center;justify-content:center;
  padding:56px 20px;background:linear-gradient(170deg,#ffedeb 30%,#fff 60%);}
.auth-card{width:100%;max-width:420px;background:#fff;border-radius:14px;box-shadow:var(--shadow-lg);
  border:1px solid var(--grey-300);padding:36px 30px;}
.auth-card__logo{display:flex;justify-content:center;margin-bottom:18px;}
.auth-card__logo img{height:44px;width:auto;}
.auth-card h1{font-size:22px;font-weight:700;text-align:center;margin-bottom:6px;}
.auth-card__sub{font-size:14px;color:var(--grey-800);text-align:center;margin-bottom:26px;}
.auth-field{margin-bottom:16px;}
.auth-field label{display:block;font-size:13px;font-weight:600;color:var(--grey-900);margin-bottom:6px;}
.auth-field input{width:100%;padding:11px 14px;border:1.5px solid var(--grey-400);border-radius:8px;
  font-size:15px;font-family:inherit;color:var(--ink);background:#fff;transition:border-color .15s;}
.auth-field input:focus{outline:none;border-color:var(--brand);}
.auth-field__help{font-size:12px;color:var(--grey-700);margin-top:5px;}
.auth-field__errors{list-style:none;margin:6px 0 0;padding:0;font-size:12.5px;color:var(--red-200);}
.auth-form__errors{background:var(--red-50);border:1px solid var(--red-100);color:var(--red-200);
  border-radius:8px;padding:10px 14px;font-size:13px;margin-bottom:18px;}
.auth-submit{width:100%;margin-top:6px;}
.auth-card__foot{text-align:center;font-size:13.5px;color:var(--grey-800);margin-top:22px;}
.auth-card__foot a{color:var(--brand);font-weight:600;}
.auth-messages{max-width:420px;margin:0 auto 16px;}
.auth-messages .msg{background:var(--green-50);border:1px solid var(--green-100);color:var(--green-300);
  border-radius:8px;padding:10px 14px;font-size:13.5px;margin-bottom:8px;}

/* ---------------- Course detail page ---------------- */
.course-hero{padding:44px 20px 40px;background:linear-gradient(170deg,#ffedeb 40%,#fff 68%);}
.course-hero__wrap{max-width:1100px;margin:0 auto;display:flex;flex-direction:column;gap:24px;}
@media(min-width:1024px){.course-hero__wrap{flex-direction:row;align-items:center;justify-content:space-between;}}
.course-hero__title{font-size:28px;font-weight:700;line-height:1.2;max-width:640px;}
@media(min-width:1024px){.course-hero__title{font-size:38px;}}
.course-hero__sub{font-size:16px;color:var(--grey-800);margin-top:14px;max-width:560px;}
.course-hero__stats{display:flex;flex-wrap:wrap;gap:20px;margin-top:20px;font-size:13.5px;color:var(--grey-800);}
.course-hero__stats b{color:var(--brand-teal);}
.course-hero__ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px;}
.course-specs{max-width:1100px;margin:0 auto;padding:0 20px 40px;}
.course-specs__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;}
@media(min-width:768px){.course-specs__grid{grid-template-columns:repeat(5,1fr);}}
.spec-chip{background:#fff;border:1px solid var(--grey-300);border-radius:10px;padding:14px 12px;
  text-align:center;box-shadow:var(--shadow);}
.spec-chip b{display:block;font-size:15px;color:var(--ink);}
.spec-chip span{font-size:12px;color:var(--grey-700);}
.curriculum{max-width:900px;margin:0 auto;padding:48px 20px;}
.curriculum__stats{display:flex;flex-wrap:wrap;gap:24px;justify-content:center;margin:20px 0 32px;
  font-size:14px;color:var(--grey-800);}
.curriculum__stats b{display:block;font-size:20px;color:var(--brand);}
.module{border:1px solid var(--grey-300);border-radius:10px;margin-bottom:12px;overflow:hidden;background:#fff;
  transition:box-shadow .2s ease;}
.module:hover{box-shadow:var(--shadow);}
.module summary{padding:16px 18px;font-weight:700;font-size:15px;cursor:pointer;display:flex;
  justify-content:space-between;align-items:center;list-style:none;background:var(--grey-100);
  transition:background-color .2s ease;}
.module summary:hover{background:var(--grey-200);}
.module summary::-webkit-details-marker{display:none;}
.module summary::after{content:"+";font-size:20px;color:var(--brand);flex-shrink:0;margin-left:12px;
  transition:transform .25s ease;display:inline-block;}
.module[open] summary::after{transform:rotate(135deg);}
/* See .faq__panel note above — same measured-height technique so modules expand/collapse smoothly. */
.module .module__panel{display:block !important;}
.module .module__panel-inner{overflow:hidden;max-height:0;
  transition:max-height .32s cubic-bezier(.16,1,.3,1);}
.module__lessons{list-style:none;margin:0;padding:14px 18px;}
.module__lessons li{padding:7px 0;font-size:14px;color:var(--grey-800);border-bottom:1px solid var(--grey-200);}
.module__lessons li:last-child{border-bottom:none;}
.module__meta{font-size:12.5px;font-weight:400;color:var(--grey-700);margin-left:8px;}
.inclusions{max-width:900px;margin:0 auto;padding:0 20px 48px;}
.inclusions__grid{display:grid;grid-template-columns:1fr;gap:14px;}
@media(min-width:768px){.inclusions__grid{grid-template-columns:1fr 1fr;}}
.inclusion{display:flex;gap:12px;align-items:flex-start;background:#fff;border:1px solid var(--grey-300);
  border-radius:10px;padding:14px 16px;}
.inclusion__icon{font-size:22px;flex-shrink:0;}
.inclusion b{display:block;font-size:14.5px;}
.inclusion span{font-size:13px;color:var(--grey-700);}
.course-testimonials{background:var(--grey-100);padding:48px 20px;}
.course-testimonials__grid{max-width:1100px;margin:32px auto 0;display:grid;grid-template-columns:1fr;gap:16px;}
@media(min-width:768px){.course-testimonials__grid{grid-template-columns:1fr 1fr;}}
.course-testimonial{background:#fff;border-radius:10px;padding:18px 20px;border:1px solid var(--grey-300);}
.course-testimonial__stars{color:#00b67a;font-size:14px;margin-bottom:8px;}
.course-testimonial p{font-size:14px;color:var(--ink);margin-bottom:10px;}
.course-testimonial b{font-size:13.5px;}
.course-testimonial span{font-size:12.5px;color:var(--grey-700);}
.related-courses{max-width:1100px;margin:0 auto;padding:48px 20px;}
.related-courses__grid{display:grid;grid-template-columns:1fr;gap:16px;margin-top:24px;}
@media(min-width:768px){.related-courses__grid{grid-template-columns:repeat(3,1fr);}}

/* ---------------- Dashboard ---------------- */
.btn-sm{padding:8px 20px;font-size:14px;}
.dash{max-width:1100px;margin:0 auto;padding:40px 20px 64px;}
.dash__header h1{font-size:26px;font-weight:700;margin-bottom:8px;}
@media(min-width:1024px){.dash__header h1{font-size:32px;}}
.dash__header p{color:var(--grey-800);font-size:15px;max-width:640px;}
.dash__stats{display:flex;flex-wrap:wrap;gap:16px;margin:28px 0;}
.dash__stat{background:#fff;border:1px solid var(--grey-300);border-radius:10px;box-shadow:var(--shadow);
  padding:18px 24px;min-width:160px;}
.dash__stat b{display:block;font-size:28px;color:var(--brand-teal);}
.dash__stat span{font-size:13px;color:var(--grey-700);}
.dash__cards{display:grid;grid-template-columns:1fr;gap:16px;margin:28px 0;}
@media(min-width:768px){.dash__cards{grid-template-columns:repeat(3,1fr);}}
.dash__card{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--grey-300);
  border-radius:12px;box-shadow:var(--shadow);padding:20px;transition:box-shadow .25s ease,transform .25s ease;}
.dash__card:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px);}
.dash__card-icon{font-size:28px;flex-shrink:0;}
.dash__card h3{font-size:16px;font-weight:700;color:var(--ink);margin-bottom:4px;}
.dash__card p{font-size:13.5px;color:var(--grey-700);}
.dash__section{margin-top:36px;}
.h-section-sm{font-size:19px;font-weight:700;margin-bottom:16px;}
.dash__empty{background:var(--grey-100);border-radius:10px;padding:22px 24px;margin-top:24px;
  font-size:14px;color:var(--grey-800);display:flex;flex-direction:column;gap:14px;align-items:flex-start;}
.dash__empty a.btn{align-self:flex-start;}

.cert-grid{display:grid;grid-template-columns:1fr;gap:18px;margin-top:8px;}
@media(min-width:640px){.cert-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1024px){.cert-grid{grid-template-columns:repeat(3,1fr);}}

.cert-card{background:#fff;border:1px solid var(--grey-300);border-radius:12px;box-shadow:var(--shadow);
  padding:22px;display:flex;flex-direction:column;gap:6px;transition:box-shadow .25s ease,transform .25s ease;}
.cert-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px);}
.cert-card__ribbon{font-size:26px;}
.cert-card h4{font-size:16px;font-weight:700;margin-top:4px;}
.cert-card p{font-size:13.5px;color:var(--grey-700);}
.cert-card__date{font-size:12px;color:var(--grey-700);margin-bottom:8px;}
.cert-card .btn{margin-top:auto;}

.cert-track{background:#fff;border:1px solid var(--grey-300);border-radius:12px;padding:22px;
  text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px;box-shadow:var(--shadow);}
.cert-track--earned{border-color:var(--brand-teal);background:#f2fbf9;}
.cert-track__icon{font-size:34px;}
.cert-track h3{font-size:15.5px;font-weight:700;margin-top:4px;}
.cert-track p{font-size:13px;color:var(--grey-700);}
.cert-track__status{margin-top:8px;font-size:12px;font-weight:600;color:var(--grey-700);
  background:var(--grey-100);border-radius:20px;padding:4px 12px;}
.cert-track__status--earned{color:#fff;background:var(--brand-teal);}

.cert-apply{background:#fff;border:1px solid var(--grey-300);border-radius:12px;box-shadow:var(--shadow);
  padding:24px;max-width:440px;}
.cert-apply__form select,.cert-apply__form input{width:100%;padding:11px 14px;border:1.5px solid var(--grey-400);
  border-radius:8px;font-size:15px;font-family:inherit;color:var(--ink);background:#fff;}
.cert-apply__form select:focus,.cert-apply__form input:focus{outline:none;border-color:var(--brand);}
.cert-apply__form .btn{width:100%;margin-top:6px;}

.apps-list{display:flex;flex-direction:column;gap:10px;}
.apps-row{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;
  background:#fff;border:1px solid var(--grey-300);border-radius:10px;padding:14px 18px;}
.apps-row b{display:block;font-size:14.5px;color:var(--ink);}
.apps-row span{font-size:12.5px;color:var(--grey-700);}
.apps-status{font-size:12.5px;font-weight:700;border-radius:20px;padding:5px 14px;white-space:nowrap;}
.apps-status--pending{color:#9a6b00;background:#fef4e0;}
.apps-status--approved{color:#fff;background:var(--brand-teal);}
.apps-status--rejected{color:#fff;background:var(--red-200);}

/* ---------------- Quizzes ---------------- */
.quiz-grid{display:grid;grid-template-columns:1fr;gap:18px;}
@media(min-width:640px){.quiz-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1024px){.quiz-grid{grid-template-columns:repeat(3,1fr);}}
.quiz-card{background:#fff;border:1px solid var(--grey-300);border-radius:12px;box-shadow:var(--shadow);
  padding:22px;display:flex;flex-direction:column;gap:6px;transition:box-shadow .25s ease,transform .25s ease;}
.quiz-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px);}
.quiz-card__icon{font-size:30px;}
.quiz-card h3{font-size:16px;font-weight:700;margin-top:2px;}
.quiz-card p{font-size:13.5px;color:var(--grey-700);}
.quiz-card__meta{font-size:12px;color:var(--grey-700);margin-bottom:6px;}
.quiz-card__best{font-size:12.5px;font-weight:700;color:var(--brand-teal);margin-bottom:4px;}
.quiz-card .btn{margin-top:auto;}

.quiz-form{max-width:760px;}
.quiz-q{background:#fff;border:1px solid var(--grey-300);border-radius:12px;padding:20px 22px;margin-bottom:16px;}
.quiz-q h3{font-size:15.5px;font-weight:700;margin-bottom:14px;line-height:1.4;}
.quiz-choices{display:flex;flex-direction:column;gap:10px;}
.quiz-choice{display:flex;align-items:center;gap:10px;padding:11px 14px;border:1.5px solid var(--grey-300);
  border-radius:8px;cursor:pointer;font-size:14.5px;transition:border-color .15s,background .15s;}
.quiz-choice:hover{border-color:var(--brand);background:var(--orange-100);}
.quiz-choice input{accent-color:var(--brand);width:16px;height:16px;flex-shrink:0;}
.quiz-form>.btn{margin-top:8px;}

.quiz-score{display:flex;align-items:center;gap:16px;margin-top:14px;flex-wrap:wrap;}
.quiz-score__num{font-size:32px;font-weight:800;color:var(--brand-teal);}
.quiz-score__label{font-size:14.5px;color:var(--grey-800);font-weight:600;}
.quiz-review{max-width:760px;}
.quiz-q--correct{border-left:4px solid var(--brand-teal);}
.quiz-q--incorrect{border-left:4px solid var(--red-200);}
.quiz-mark{font-size:14px;font-weight:800;margin-left:6px;}
.quiz-mark--ok{color:var(--brand-teal);}
.quiz-mark--bad{color:var(--red-200);}
.quiz-choice--static{cursor:default;justify-content:space-between;}
.quiz-choice--static:hover{border-color:var(--grey-300);background:none;}
.quiz-choice--correct{border-color:var(--brand-teal);background:#f2fbf9;}
.quiz-choice--wrong{border-color:var(--red-200);background:var(--red-50);}
.quiz-choice--static small{font-size:11px;font-weight:700;color:var(--grey-700);}
.quiz-choice--correct small{color:var(--brand-teal);}
.quiz-choice--wrong small{color:var(--red-200);}

