/* Digital Yug: built from Figma (1440 canvas). */
:root {
  --z: 1;
  --bg: #fcfaff;
  --ink: #13101c;
  --ink-2: #2a2438;
  --muted: #5d5870;
  --purple: #8e2de2;
  --pink: #f03e9c;
  --grad: linear-gradient(90deg, #a12cf2, #f03e9c);
  --line: #eee6f8;
  --outfit: "Outfit", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--sans); color: var(--ink); overflow-x: hidden;
  background: #fcfaff;
  background-image:
    radial-gradient(ellipse 900px 700px at 70% 380px, rgba(235, 217, 255, .8), rgba(252, 250, 255, 0) 70%),
    radial-gradient(ellipse 800px 600px at 30% 900px, rgba(246, 234, 255, .8), rgba(252, 250, 255, 0) 70%);
  background-repeat: no-repeat;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
input { font: inherit; border: 0; outline: 0; background: transparent; color: inherit; }
section[id] { scroll-margin-top: 120px; }
.wrap { width: 1440px; margin: 0 auto; position: relative; }

.grad-text { background: linear-gradient(90deg, #f03e9c, #a12cf2); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.pk { color: var(--pink); }
.pu { color: var(--purple); position: relative; display: inline-block; }
.swash { position: absolute; right: 0; bottom: -13px; max-width: none; pointer-events: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: #fff; border-radius: 999px; font-weight: 600; transition: transform .3s var(--ease), box-shadow .3s ease; }
.btn-grad { background: var(--grad); box-shadow: 0 12px 24px rgba(178, 51, 204, .3); }
.btn:hover { transform: translateY(-3px); }
.btn img { transition: transform .3s var(--ease); }
.btn:hover img:last-child { transform: translateX(4px); }
.btn-xl { height: 72px; font-size: 20px; line-height: 26px; padding: 0 36px 0 40px; gap: 28px; }
.btn-xl.btn-grad { box-shadow: 0 14px 28px rgba(191, 51, 191, .35); }
.btn-ghost { background: rgba(255, 255, 255, .7); border: 1.5px solid #e3d2f8; color: var(--ink); font-weight: 500; font-size: 18px; padding: 0 36px 0 32px; gap: 12px; box-shadow: none; }
.btn-md { height: 56px; font-size: 16px; padding: 0 28px; }
.btn-sq { height: 56px; border-radius: 16px; font-size: 16px; width: 100%; }
.btn-sq-lg { height: 60px; font-size: 17px; }
.btn-md-full { height: 56px; width: 100%; font-size: 17px; }
.btn-yt { height: 52px; padding: 0 24px; font-size: 16px; gap: 8px; background: linear-gradient(90deg, #ff3d8e, #f0287a); box-shadow: 0 10px 22px rgba(242, 51, 128, .3); flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fbfafd; }
.site-header .wrap { padding: 20px 40px 16px; }
.navbar { height: 85px; background: #fff; border: 1px solid #f1eafb; border-radius: 22px; box-shadow: 0 12px 32px rgba(89, 38, 140, .08); display: flex; align-items: center; padding: 12px 12px 12px 24px; gap: 37px; }
.brand img { width: 182px; height: 59px; border-radius: 30px; }
.nav-links { display: flex; align-items: center; gap: 37px; }
.nav-main { display: flex; gap: 18px; }
.nav-main a { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 34px; padding-top: 6px; font-size: 14.5px; line-height: 19px; font-weight: 500; color: #1e1a2b; transition: color .25s ease; }
.nav-main a.active, .nav-main a:hover { color: var(--purple); }
.nav-main a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 2px; background: var(--grad); opacity: 0; transition: opacity .25s ease; }
.nav-main a.active::after { opacity: 1; }
.nav-main a.has-chev::after { display: none; }
.more-pill { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: 14px; background: #f4edfd; font-size: 14.5px; font-weight: 500; color: #1e1a2b; }
.nav-cta-mobile { display: none; }
.search { margin-left: auto; width: 394px; flex: none; height: 48px; border: 1.5px solid #e3d9f2; border-radius: 999px; background: #fff; display: flex; align-items: center; gap: 12px; padding: 0 10px 0 18px; }
.search input { width: 100%; font-size: 15px; line-height: 19.5px; }
.search input::placeholder { color: #857e96; opacity: 1; }
.bell { width: 44px; height: 44px; flex: none; margin-left: -10px; }
.login { height: 48px; padding: 0 28px 0 24px; font-size: 17px; gap: 10px; box-shadow: 0 10px 22px rgba(178, 51, 204, .3); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero .wrap { height: 690px; overflow: hidden; }
.hero-left { position: absolute; left: 88px; top: 62px; width: 640px; }
.eyebrow { display: flex; align-items: center; gap: 8px; height: 33px; }
.eyebrow b { font-size: 24px; line-height: 31px; font-weight: 700; letter-spacing: -.3px; }
.eyebrow span { font-size: 17px; font-weight: 600; color: #302173; margin-left: 0; }
.proof { margin-top: 14px; display: inline-flex; align-items: center; gap: 16px; height: 60px; padding: 0 24px 0 10px; background: rgba(255, 255, 255, .75); border: 1px solid #eadcfb; border-radius: 999px; box-shadow: 0 8px 24px rgba(140, 51, 217, .08); }
.faces { display: flex; }
.faces > img, .face-plus { width: 42px; height: 42px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 4px 4px rgba(0, 0, 0, .25); object-fit: cover; margin-left: -16px; position: relative; }
.faces > img:first-child { margin-left: 0; }
.face-plus { overflow: hidden; display: block; }
.face-plus img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.face-plus i { position: absolute; inset: 0; background: rgba(255, 148, 227, .9); }
.face-plus i::before, .face-plus i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: #fff; transform: translate(-50%, -50%); }
.face-plus i::after { transform: translate(-50%, -50%) rotate(90deg); }
.proof p { font-size: 24px; line-height: 31px; font-weight: 500; }
.proof b { color: var(--purple); font-weight: 600; }
.hero-h { margin-top: 28px; font-family: var(--outfit); font-size: 54px; line-height: 56px; letter-spacing: -1.35px; font-weight: 700; color: var(--ink); height: 178px; }
.hero-h span { display: block; }
.hero-h .grad-text { display: table; }
.hero-h span + span { line-height: 76px; margin-top: -10px; }
.hero-p { margin-top: 24px; width: 576px; font-size: 19px; line-height: 31px; font-weight: 600; color: var(--muted); }
.ctas { margin-top: 32px; display: flex; gap: 20px; }
.hero-img { position: absolute; left: 727px; top: 40px; width: 665px; height: 665px; max-width: none; }

/* ---------- Slider + tiles ---------- */
.slider-sec .wrap { height: 514px; overflow: hidden; }
.slider { position: absolute; left: 0; top: 0; width: 100%; height: 337px; }
.slide { position: absolute; top: 30px; height: 277px; width: 856px; border-radius: 38px; overflow: hidden; background: #6d3aa8; transition: left .6s var(--ease), top .6s var(--ease), width .6s var(--ease), height .6s var(--ease); }
.slide img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.slide::after { content: ""; position: absolute; inset: 0; background: #6d3aa8; opacity: 1; transition: opacity .6s ease; }
.slide.is-active { z-index: 2; top: 0; height: 337px; width: 1042px; left: 199px; }
.slide.is-active::after { opacity: 0; }
.slide.pos-prev { left: -688px; }
.slide.pos-next { left: 1272px; }
.tiles { position: absolute; left: 144px; top: 307px; width: 1153px; height: 180px; padding: 21px 20px; background: #fff; border-radius: 16px; box-shadow: 0 4px 35.8px rgba(0, 0, 0, .1); display: flex; gap: 13px; z-index: 3; }
.tile { flex: 1; min-width: 0; height: 138px; padding: 12px; border-radius: 8px; background: var(--bg); display: flex; flex-direction: column; gap: var(--gap); transition: transform .3s var(--ease), box-shadow .3s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(89, 38, 140, .12); }
.t-row { display: flex; align-items: center; justify-content: space-between; }
.tile b { font-family: "Lato", sans-serif; font-weight: 700; font-size: 14px; line-height: 18.2px; color: #000; }

/* ---------- Section heads ---------- */
.sec-head { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 18px 0 16px; border-radius: 999px; background: #f4eafe; border: 1px solid #e2ccfa; color: var(--purple); font-size: 14px; line-height: 18px; font-weight: 600; letter-spacing: .56px; }
.badge-w { background: #fff; border-color: #e9d6fa; height: 30px; padding: 0 12px 0 10px; gap: 6px; font-size: 12px; letter-spacing: .48px; }
.badge-sm { height: 31px; font-size: 13px; letter-spacing: .52px; padding: 0 14px 0 12px; }
.badge-sm2 { padding: 0 16px 0 14px; }
.h-sec { margin-top: 16px; font-family: var(--outfit); font-weight: 700; font-size: 48px; line-height: 56px; letter-spacing: -.72px; color: var(--ink); }
.h-52 { font-size: 52px; line-height: 62px; letter-spacing: -.78px; }
.h-56 { font-size: 56px; line-height: 64px; letter-spacing: -.84px; }
.sub { margin-top: 16px; color: var(--muted); }
.sub-18 { font-size: 18px; line-height: 23.4px; margin-top: 0; }
.sub-19 { font-size: 19px; line-height: 30px; margin-top: 0; white-space: nowrap; }
.sec-head > .h-sec + .sub { margin-top: 16px; }

/* ---------- Popular courses ---------- */
.popular .wrap { padding: 49px 88px 57px; display: flex; flex-direction: column; align-items: center; gap: 48px; }
.popular .sec-head { gap: 0; }
.popular .sec-head .h-sec { margin-top: 16px; }
.popular .sub { margin-top: 16px; }
.car-wrap { position: relative; width: 100%; }
.popular .btn-md { margin-top: -21px; }
.arrow { position: absolute; z-index: 5; top: 50%; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; transition: transform .3s var(--ease); }
.arrow:hover { transform: scale(1.08); }
.arrow.prev { left: -64px; }
.arrow.next { right: -64px; }
.course-row { display: flex; gap: 32px; }
.course { width: 400px; flex: none; height: 572px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 40px rgba(89, 38, 140, .08); display: flex; flex-direction: column; }
.thumb { height: 214px; border-radius: 16px; position: relative; overflow: hidden; }
.t1 { background: linear-gradient(135deg, #24074f, #7b1fd6); }
.t2 { background: linear-gradient(135deg, #120b3d, #3a1aa6); }
.t3 { background: linear-gradient(135deg, #0d0a1c, #2b1556); }
.t2::after, .t3::after { content: ""; position: absolute; left: 180px; top: -40px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(192, 75, 255, .55), rgba(192, 75, 255, 0) 70%); }
.c-body { flex: 1; display: flex; flex-direction: column; padding: 18px 12px 10px; gap: 14px; }
.c-body h3 { font-family: var(--outfit); font-size: 22px; line-height: 28px; font-weight: 700; }
.c-body p { font-size: 14.5px; line-height: 22px; color: var(--muted); }
.price { margin-top: auto; display: flex; align-items: center; gap: 14px; height: 35px; }
.price s { font-family: var(--outfit); font-size: 17px; font-weight: 700; color: #8e889c; align-self: flex-end; padding-bottom: 4px; }
.price strong { font-family: var(--outfit); font-size: 28px; line-height: 35px; font-weight: 700; }
.off { background: #f0457e; color: #fff; font-size: 13px; line-height: 17px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.btn-yellow { margin-top: 0; height: 52px; border-radius: 14px; background: #ffd43b; color: #1b1400; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; font-weight: 700; transition: transform .3s var(--ease), box-shadow .3s ease; }
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255, 196, 0, .35); }

/* ---------- Explore more ---------- */
.explore .wrap { padding: 96px 88px; display: flex; flex-direction: column; align-items: center; gap: 56px; }
.explore .sec-head { width: 936px; }
.explore .h-sec { margin-top: 18px; }
.explore .sub { margin-top: 18px; line-height: 24.7px; }
.ex-body { display: flex; gap: 24px; width: 100%; }
.ex-grid { width: 760px; flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rcard { height: 192px; padding: 28px 24px 24px 28px; background: var(--bg); border: 1px solid var(--bd); border-radius: 20px; box-shadow: 0 10px 24px rgba(102, 51, 128, .05); display: flex; align-items: center; gap: 20px; transition: transform .3s var(--ease), box-shadow .3s ease; }
.rcard:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(102, 51, 128, .1); }
.rcard.wide { grid-column: 1 / -1; height: 138px; }
.rcard .ill { width: 84px; height: 84px; flex: none; margin-top: -3px; }
.rtxt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.rtxt b { font-family: var(--outfit); font-size: 22px; line-height: 28px; letter-spacing: -.22px; font-weight: 700; }
.rtxt span { font-size: 15.5px; line-height: 24px; color: var(--muted); }
.rcard .go { width: 48px; height: 48px; flex: none; margin-top: -4px; transition: transform .3s var(--ease); }
.rcard:hover .go { transform: translateX(4px); }
.yt-card { flex: 1; height: 510px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 40px rgba(89, 38, 140, .08); overflow: hidden; display: flex; flex-direction: column; }
.yt-embed { height: 294px; margin: 1px 1px 0; border-radius: 20px; padding: 20px; background: radial-gradient(circle at 50% 0%, #3a2a5e, #0b0812 100%); display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.yt-top { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 15px; font-weight: 500; }
.yt-ch { width: 36px; height: 36px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-style: normal; font-family: var(--outfit); font-size: 17px; font-weight: 700; flex: none; }
.yt-top span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.yt-play { position: absolute; left: 50%; top: 50%; margin: -30px 0 0 -42px; transition: transform .3s var(--ease); }
.yt-embed:hover .yt-play { transform: scale(1.08); }
.yt-note { font-size: 13px; color: #b9aed6; font-weight: 500; }
.yt-cta { flex: 1; display: flex; align-items: center; gap: 20px; padding: 0 28px; justify-content: space-between; }
.yt-text { width: 226px; display: flex; flex-direction: column; gap: 10px; flex: none; }
.yt-head { display: flex; align-items: center; gap: 12px; }
.yt-head b { font-family: var(--outfit); font-size: 21px; line-height: 26.5px; letter-spacing: -.21px; }
.yt-text p { font-size: 15px; line-height: 23px; color: var(--muted); }

/* ---------- Books ---------- */
.books .wrap { padding: 96px 88px 104px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.books .sec-head { width: 880px; }
.books .sec-head .sub, .learning .sec-head .sub, .news .sec-head .sub, .testi .sec-head .sub { margin-top: 16px; }
.book-row { display: flex; gap: 18px; width: 100%; }
.book { width: 223px; flex: none; height: 494px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 16px 36px rgba(89, 38, 140, .06); display: flex; flex-direction: column; }
.cover { position: relative; height: 240px; border-radius: 16px; overflow: hidden; background: var(--cbg); }
.cover > img { position: absolute; max-width: none; }
.pdf { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px 0 8px; border-radius: 999px; background: #ffe3ee; color: #e5266f; font-size: 12px; font-weight: 700; }
.b-body { flex: 1; padding: 18px 12px 10px; display: flex; flex-direction: column; gap: 6px; }
.b-body h3 { font-family: var(--outfit); font-size: 20px; line-height: 26px; font-weight: 700; }
.b-body p { font-size: 14.5px; line-height: 21px; color: var(--muted); }
.b-body em { font-style: normal; font-size: 14.5px; line-height: 19px; font-weight: 500; color: #6b6580; margin-top: 2px; }
.b-act { margin-top: auto; display: flex; gap: 6px; align-items: center; }
.dl { width: 131px; height: 44px; border: 1.5px solid #e3d6f5; border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--purple); background: #fff; transition: background .25s ease; }
.dl:hover { background: #f6effe; }
.save { width: 44px; height: 44px; flex: none; }
.feat-col { width: 300px; flex: none; height: 494px; padding: 26px 24px 24px; border-radius: 24px; border: 1px solid #eeddfa; background: linear-gradient(135deg, #fbf5ff, #f3e6ff); display: flex; flex-direction: column; gap: 16px; }
.feat-col .badge { align-self: flex-start; font-size: 11.5px; letter-spacing: .46px; }
.fc-title, .kit-title, .nl-title { position: relative; }
.fc-title h3 { font-family: var(--outfit); font-size: 30px; line-height: 36px; letter-spacing: -.45px; font-weight: 700; position: relative; width: 167px; }
.fc-title .swash { left: 60px; right: auto; bottom: -10px; }
.kit-title .swash { left: 0; right: auto; bottom: -12px; }
.nl-title .swash { left: 40px; right: auto; bottom: -12px; }
.fc-title h3 .pk { color: var(--purple); }
.fc-ill { position: absolute; right: -16px; top: -14px; width: 96px; height: 96px; }
.feat-col > p { font-size: 14.5px; line-height: 22px; color: var(--muted); }
.checks { display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; line-height: 19px; font-weight: 500; color: #2e2a3b; }
.checks-lg { gap: 14px; padding: 8px 0; }
.checks-lg li { gap: 12px; font-size: 16px; line-height: 21px; }
.feat-col .btn-sq { margin-top: auto; }

/* ---------- Learning resources ---------- */
.learning { background: #fff; }
.learning .wrap { padding: 55px 88px 63px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.learning .sec-head { width: 796px; }
.lr-body { display: flex; gap: 20px; width: 100%; }
.lr-grid { width: 904px; flex: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-content: start; }
.lcard { height: 248px; padding: 28px 20px 26px; background: var(--bg); border: 1px solid var(--bd); border-radius: 20px; box-shadow: 0 10px 24px rgba(102, 51, 128, .05); display: flex; gap: 12px; transition: transform .3s var(--ease), box-shadow .3s ease; }
.lcard.tall { height: 270px; }
.lcard:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(102, 51, 128, .1); }
.lcard .ill { width: 76px; height: 76px; flex: none; }
.ill-pdf { position: relative; display: block; }
.ill-pdf em { position: absolute; left: 39px; top: 44px; font-style: normal; font-size: 10px; line-height: 13px; font-weight: 700; color: #fff; }
.ltxt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ltxt b { font-family: var(--outfit); font-size: 20px; line-height: 26px; letter-spacing: -.2px; font-weight: 700; }
.ltxt > span:not(.ex) { font-size: 14.5px; line-height: 22px; color: var(--muted); }
.ex { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; line-height: 19.5px; }
.ex em { font-style: normal; white-space: nowrap; }
.ex img { width: 40px; height: 40px; flex: none; transition: transform .3s var(--ease); }
.lcard:hover .ex img { transform: translateX(4px); }
.kit { width: 340px; flex: none; height: 536px; padding: 28px; border-radius: 24px; border: 1px solid #f3cde6; background: linear-gradient(135deg, #fbf3ff, #ffeaf5); display: flex; flex-direction: column; gap: 20px; }
.kit .badge { align-self: flex-start; }
.kit-title h3 { font-family: var(--outfit); font-size: 28px; line-height: 34px; letter-spacing: -.42px; font-weight: 700; position: relative; width: 190px; }
.kit-title h3 .pk { color: var(--purple); }
.kit-ill { position: absolute; right: -6px; top: -5px; width: 88px; height: 88px; }
.kit .btn-sq { margin-top: auto; }

/* ---------- News ---------- */
.news .wrap { padding: 96px 88px 104px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.news .sec-head { width: 808px; }
.spark { position: absolute; top: 44px; }
.s-l { left: 84px; }
.s-r { right: 40px; }
.news-body { display: flex; gap: 20px; width: 100%; }
.art { width: 288px; flex: none; height: 493px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 16px 36px rgba(89, 38, 140, .07); display: flex; flex-direction: column; }
.a-cover { height: 180px; border-radius: 16px; background: #6d6d6d; padding: 12px; }
.cat { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; background: var(--cb); color: var(--cc); font-size: 12px; font-weight: 700; letter-spacing: .24px; }
.a-body { flex: 1; padding: 18px 12px 10px; display: flex; flex-direction: column; gap: 12px; }
.a-body h3 { font-family: var(--outfit); font-size: 20px; line-height: 26px; letter-spacing: -.1px; font-weight: 700; }
.a-body p { font-size: 15px; line-height: 23px; color: var(--muted); }
.a-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; height: 35px; }
.au { display: flex; flex-direction: column; }
.au b { font-size: 14px; line-height: 18px; font-weight: 600; }
.au small { font-size: 13px; line-height: 17px; color: #7b7590; }
.a-foot a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--purple); }
.a-foot a img { transition: transform .3s var(--ease); }
.a-foot a:hover img { transform: translateX(4px); }
.nl-card { width: 340px; flex: none; height: 493px; padding: 28px; border-radius: 24px; border: 1px solid #efd9f6; background: linear-gradient(135deg, #f8f2ff, #ffeff7); display: flex; flex-direction: column; gap: 18px; }
.nl-card .badge { align-self: flex-start; }
.nl-title h3 { font-family: var(--outfit); font-size: 36px; line-height: 42px; letter-spacing: -.54px; font-weight: 700; position: relative; width: 176px; }
.nl-title h3 .pu { display: inline; }
.nl-ill { position: absolute; right: -10px; top: -18px; width: 110px; height: 100px; }
.nl-card > p { font-size: 15px; line-height: 23px; color: var(--muted); }
.nl-form { margin-top: auto; height: 54px; border: 1.5px solid #e3d6f5; border-radius: 999px; background: #fff; display: flex; align-items: center; gap: 12px; padding: 0 18px; }
.nl-form input { width: 100%; font-size: 15px; }
.nl-form input::placeholder, .nb-form input::placeholder { color: #857e96; opacity: 1; }
.assure { display: flex; gap: 8px; margin-top: 0; }
.assure li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; line-height: 16px; color: #4a4458; }

/* ---------- Testimonials ---------- */
.testi .wrap { padding: 53px 88px 61px; display: flex; flex-direction: column; align-items: center; gap: 44px; height: 776px; overflow: hidden; }
.testi .sec-head { width: 697px; }
.blob { position: absolute; left: 1140px; top: 800px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(226, 204, 255, .9), rgba(243, 232, 255, 0) 70%); pointer-events: none; }
.t-row-wrap { display: flex; gap: 18px; }
.tcard { width: 302.5px; flex: none; height: 372px; padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 16px 36px rgba(89, 38, 140, .06); display: flex; flex-direction: column; gap: 18px; }
.tcard.warm { background: #fffcf2; }
.t-top { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.q { font-family: var(--outfit); font-weight: 700; font-size: 56px; line-height: 36px; height: 36px; color: var(--tq); display: block; }
.tcard p { font-size: 16px; line-height: 30px; color: var(--ink-2); flex: 1; }
.tcard mark { background: var(--hl); color: var(--ink); font-weight: 500; padding: 1px 0; line-height: 28px; border-radius: 7px; box-decoration-break: slice; -webkit-box-decoration-break: slice; }
.t-au { display: flex; align-items: center; gap: 12px; height: 56px; }
.av { width: 56px; height: 56px; border-radius: 50%; border: 3px solid #fff; background: linear-gradient(135deg, var(--a1), var(--a2)); color: #fff; font-weight: 700; font-size: 18px; display: grid; place-items: center; flex: none; box-shadow: 0 0 0 1px var(--line); }
.t-au b { display: block; font-size: 15px; line-height: 19.5px; font-weight: 700; }
.t-au small { display: block; font-size: 12.5px; line-height: 16px; color: #7b7590; margin-top: 2px; }
.dots { position: absolute; left: 675px; top: 705px; }

/* ---------- Newsletter banner ---------- */
.nl-banner .wrap { padding: 56px 88px 72px; }
.nb-card { position: relative; height: 487px; border-radius: 32px; border: 1px solid #eee4fa; background: linear-gradient(90deg, rgba(255, 255, 255, .9), #faf5ff 55%, #efe2ff); box-shadow: 0 24px 56px rgba(89, 38, 140, .08); padding: 56px 48px 56px 64px; display: flex; gap: 40px; overflow: hidden; }
.nb-blob { position: absolute; left: 660px; top: -20px; width: 620px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(226, 204, 255, .75), rgba(243, 232, 255, 0) 70%); pointer-events: none; }
.nb-content { width: 560px; flex: none; display: flex; flex-direction: column; gap: 22px; position: relative; }
.nb-content .badge { align-self: flex-start; }
.nb-content h2 { font-family: var(--outfit); font-size: 68px; line-height: 72px; letter-spacing: -1.7px; font-weight: 700; }
.nb-content h2 .pu { display: inline-block; }
.nb-content h2 .swash { left: 90px; right: auto; bottom: -18px; }
.nb-content > p { font-size: 18px; line-height: 28px; color: var(--muted); }
.nb-form { height: 71px; margin-top: auto; background: #fff; border: 1.5px solid #e3d6f5; border-radius: 999px; padding: 6px 6px 6px 22px; display: flex; align-items: center; gap: 12px; }
.nb-form input { flex: 1; min-width: 0; font-size: 16px; }
.nb-form .btn { height: 56px; padding: 0 28px; font-size: 17px; box-shadow: 0 10px 22px rgba(178, 51, 204, .3); flex: none; }
.nb-visual { position: absolute; left: 665px; top: 57px; width: 550px; height: 373px; }
.nb-visual > * { position: absolute; }
.v-plane { left: 330px; top: -28px; }
.v-env { left: 108px; top: 40px; width: 339px; height: 339px; }
.v-bell { left: 372px; top: 38px; }
.chip { display: flex; align-items: center; gap: 12px; padding: 14px 20px 14px 16px; background: #fff; border-radius: 16px; box-shadow: 0 14px 28px rgba(89, 38, 140, .12); }
.chip b { font-size: 15px; line-height: 19px; font-weight: 600; white-space: nowrap; }
.c1 { left: 57px; top: 67px; } .c2 { left: 45px; top: 223px; } .c3 { left: 356px; top: 146px; } .c4 { left: 345px; top: 290px; }
.nb-spark { position: absolute; left: 24px; top: 110px; }

/* ---------- Footer ---------- */
.site-footer { background: #1f0d3f; color: #fff; }
.site-footer .wrap { height: 466px; }
.f-main { position: absolute; inset: 0; }
.f-brand { position: absolute; left: 125px; top: 92px; width: 430px; display: flex; flex-direction: column; gap: 16px; }
.f-brand img { width: 250px; height: 82px; border-radius: 40px; }
.f-brand p { font-family: "Inter", sans-serif; font-size: 14px; line-height: 20px; letter-spacing: -.15px; color: rgba(255, 255, 255, .7); }
.f-links { position: absolute; left: 664px; top: 92px; display: flex; gap: 54px; }
.f-links > div { width: 164px; }
.site-footer h4 { font-family: "Roboto Condensed", sans-serif; font-size: 18px; line-height: 27px; font-weight: 700; letter-spacing: -.44px; margin-bottom: 16px; }
.f-links ul { display: flex; flex-direction: column; gap: 8px; }
.f-links a { font-family: "Inter", sans-serif; font-size: 16px; line-height: 20px; letter-spacing: -.15px; color: rgba(255, 255, 255, .7); transition: color .25s ease; }
.f-links a:hover { color: #fff; }
.f-app { position: absolute; left: 1133px; top: 91.8px; width: 187px; }
.f-app h4 { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 500; font-size: 16px; line-height: 21.6px; letter-spacing: 0; margin-bottom: 20px; }
.store { display: flex; align-items: center; gap: 10px; width: 187px; height: 60px; padding: 0 0 0 11px; background: #000; border: 1.4px solid #a6a6a6; border-radius: 8.4px; margin-bottom: 20px; transition: transform .3s var(--ease); }
.store:hover { transform: translateY(-2px); }
.store > span { display: flex; flex-direction: column; }
.store small { font-family: "Plus Jakarta Sans", sans-serif; font-size: 14px; line-height: 17.6px; font-weight: 400; color: #fff; }
.store .gp { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 500; font-size: 22px; line-height: 24px; color: #fff; }
.store .apple small { font-size: 12.6px; line-height: 12.6px; font-weight: 500; text-transform: none; }
.store .apple b { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 500; font-size: 25.2px; line-height: 25.2px; letter-spacing: -.66px; }
.f-bar { position: absolute; left: 80px; right: 80px; top: 355px; height: 53px; border-top: 1px solid rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: space-between; padding-top: 0; }
.soc { display: flex; gap: 16px; align-items: center; }
.soc img { opacity: .9; }
.copy { font-family: "Inter", sans-serif; font-size: 14px; letter-spacing: -.15px; }

/* ---------- Reveal (transform only, never fade from opacity 0) ---------- */
.reveal { transform: translateY(24px); transition: transform .7s var(--ease); }
.reveal.in { transform: none; }

/* ============================================================
   ZOOM LAYER: 900-1439px shows the 1440 design proportionally
   ============================================================ */
@media (min-width: 900px) and (max-width: 1439.98px) {
  body { zoom: var(--z, 0.68); }
}

/* ============================================================
   MOBILE (<900px)
   ============================================================ */
@media (max-width: 899.98px) {
  .wrap { width: 100%; }
  section[id] { scroll-margin-top: 84px; }
  .site-header .wrap { padding: 12px 16px 8px; }
  .navbar { height: 68px; padding: 8px 8px 8px 12px; gap: 8px; border-radius: 18px; justify-content: space-between; }
  .brand { position: relative; z-index: 120; }
  .brand img { width: 120px; height: auto; }
  .search, .login { display: none; }
  .bell { margin-left: auto; position: relative; z-index: 120; }
  .nav-toggle { display: block; position: relative; width: 44px; height: 44px; z-index: 120; flex: none; }
  .nav-toggle span { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s ease, top .3s var(--ease); }
  .nav-toggle span:nth-child(1) { top: 15px; }
  .nav-toggle span:nth-child(2) { top: 21px; }
  .nav-toggle span:nth-child(3) { top: 27px; }
  .nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
  .nav-links { position: fixed; inset: 0; transform: translateX(100%); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; padding: 104px 24px 32px; background: #fff; transition: transform .35s var(--ease); overflow-y: auto; z-index: 110; }
  .nav-links.open { transform: none; }
  .nav-main { flex-direction: column; gap: 0; width: 100%; }
  .nav-main a, .more-pill { width: 100%; height: auto; padding: 14px 0; font-size: 18px; line-height: 24px; border-bottom: 1px solid rgba(0, 0, 0, .08); border-radius: 0; background: none; }
  .nav-main a::after { display: none; }
  .nav-links a.nav-cta-mobile { display: inline-flex; align-items: center; justify-content: center; width: auto; margin-top: 28px; padding: 0 28px; height: 48px; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font-size: 15px; font-weight: 600; }
  body.menu-open { overflow: hidden; }

  .hero .wrap { height: auto; overflow: hidden; padding: 28px 20px 0; display: flex; flex-direction: column; }
  .hero-left { position: static; width: 100%; }
  .eyebrow { height: auto; flex-wrap: wrap; }
  .eyebrow b { font-size: 20px; }
  .eyebrow span { font-size: 15px; }
  .proof { height: 52px; gap: 12px; padding-right: 16px; max-width: 100%; }
  .proof p { font-size: 17px; line-height: 22px; }
  .faces > img, .face-plus { width: 34px; height: 34px; }
  .hero-h { font-size: 38px; line-height: 42px; letter-spacing: -.9px; height: auto; }
  .hero-h span + span { line-height: 46px; margin-top: -4px; }
  .hero-p { width: 100%; font-size: 16px; line-height: 26px; }
  .ctas { flex-wrap: wrap; gap: 12px; }
  .btn-xl { height: 56px; font-size: 16px; padding: 0 22px; gap: 14px; }
  .btn-xl img { width: 20px; height: 20px; }
  .btn-ghost { font-size: 16px; padding: 0 22px 0 18px; }
  .btn-ghost img { width: 26px; height: 26px; }
  .hero-img { position: relative; left: auto; top: auto; width: 100%; max-width: 440px; height: auto; margin: 16px auto -4px; }

  .slider-sec .wrap { height: auto; overflow: visible; }
  .slider { position: relative; height: auto; aspect-ratio: 1042 / 337; margin: 0 16px; width: auto; }
  .slide { top: 0; height: 100%; width: 100%; border-radius: 18px; left: 0; opacity: 0; transition: opacity .5s ease; }
  .slide::after { display: none; }
  .slide.is-active { left: 0; width: 100%; height: 100%; opacity: 1; }
  .slide.pos-prev, .slide.pos-next { left: 0; }
  .tiles { position: static; width: auto; height: auto; margin: 16px 16px 0; padding: 14px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile { height: 126px; gap: 12px !important; }

  .h-sec, .h-52, .h-56 { font-size: 30px; line-height: 38px; letter-spacing: -.5px; }
  .sub-18, .sub-19 { font-size: 16px; line-height: 25px; white-space: normal; }
  .sub br { display: none; }
  .sub-19 br::after, .sub br::after { content: " "; }
  .sec-head, .explore .sec-head, .books .sec-head, .learning .sec-head, .news .sec-head, .testi .sec-head { width: 100%; }
  .spark { display: none; }

  .popular .wrap, .explore .wrap, .books .wrap, .learning .wrap, .news .wrap { padding: 48px 16px; gap: 32px; }
  .car-wrap { width: 100%; }
  .arrow { display: none; }
  .course-row, .book-row, .t-row-wrap { overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 20px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .course-row::-webkit-scrollbar, .book-row::-webkit-scrollbar, .t-row-wrap::-webkit-scrollbar { display: none; }
  .car-wrap { overflow: visible; width: calc(100% + 0px); }
  .course, .book, .tcard { scroll-snap-align: center; }
  .course { width: 300px; height: auto; min-height: 520px; }
  .thumb { height: 170px; }
  .book { width: 223px; }
  .feat-col { scroll-snap-align: center; }
  .tcard { width: 290px; height: auto; min-height: 372px; }

  .ex-body, .lr-body, .news-body { flex-direction: column; }
  .ex-grid, .lr-grid { width: 100%; grid-template-columns: 1fr; }
  .rcard { height: auto; min-height: 150px; padding: 22px 18px; }
  .rcard.wide { height: auto; min-height: 130px; }
  .lcard, .lcard.tall { height: auto; min-height: 220px; }
  .yt-card { height: auto; width: 100%; flex: none; }
  .yt-embed { height: 220px; }
  .yt-cta { flex-direction: column; align-items: flex-start; padding: 22px; gap: 18px; }
  .yt-text { width: 100%; }
  .kit, .nl-card { width: 100%; height: auto; gap: 18px; }
  .kit .btn-sq, .feat-col .btn-sq { margin-top: 12px; }
  .nl-form { margin-top: 4px; }
  .art { width: 100%; height: auto; }
  .a-body { gap: 12px; }
  .a-foot { margin-top: 12px; }
  .feat-col { height: auto; width: 290px; }

  .testi .wrap { height: auto; padding: 48px 16px; gap: 28px; }
  .dots { position: static; margin: -8px auto 0; }
  .blob { display: none; }

  .nl-banner .wrap { padding: 24px 16px 48px; }
  .nb-card { height: auto; flex-direction: column; padding: 28px 22px; gap: 24px; border-radius: 24px; }
  .nb-content { width: 100%; }
  .nb-content h2 { font-size: 40px; line-height: 46px; letter-spacing: -1px; }
  .nb-content h2 .swash { width: 150px; }
  .nb-content > p { font-size: 16px; line-height: 25px; }
  .nb-form { margin-top: 0; height: auto; flex-wrap: wrap; border-radius: 28px; padding: 14px; }
  .nb-form input { flex: 1 1 60%; }
  .nb-form .btn { width: 100%; }
  .nb-visual { position: relative; left: auto; top: auto; width: 100%; height: 380px; }
  .nb-visual > * { transform-origin: top left; }
  .v-plane { left: auto; right: 0; top: -10px; width: 150px; height: auto; }
  .v-env { left: 50%; margin-left: -130px; top: 20px; width: 260px; height: 260px; }
  .v-bell { left: auto; right: 8px; top: 20px; width: 70px; height: auto; }
  .chip { padding: 10px 14px 10px 12px; gap: 8px; border-radius: 12px; }
  .chip img { width: 22px; height: 22px; }
  .chip b { font-size: 12.5px; line-height: 16px; }
  .c1 { left: 0; top: 40px; } .c2 { left: 0; top: 270px; } .c3 { left: auto; right: 0; top: 150px; } .c4 { left: auto; right: 0; top: 285px; }
  .nb-spark { display: none; }

  .site-footer .wrap { height: auto; padding: 48px 20px 28px; display: flex; flex-direction: column; gap: 32px; }
  .f-main { position: static; display: flex; flex-direction: column; gap: 32px; }
  .f-brand, .f-links, .f-app { position: static; width: 100%; }
  .f-brand img { width: 200px; height: auto; }
  .f-links { gap: 32px; }
  .f-links > div { width: auto; flex: 1; }
  .f-bar { position: static; left: auto; right: auto; flex-direction: column; align-items: flex-start; gap: 14px; height: auto; padding-top: 20px; }
}

@media (max-width: 400px) {
  .navbar { padding-left: 10px; }
  .brand img { width: 108px; }
}

/* ============================================================
   Reduced motion (always last)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
