/* =========================================================
   doinpower — design system
   ========================================================= */
:root {
  --bg: #F1F0F6;
  --bg-2: #E9E7F1;
  --surface: rgba(255, 255, 255, 0.62);
  --surface-solid: #FAFAFC;
  --line: rgba(21, 20, 28, 0.08);
  --line-strong: rgba(21, 20, 28, 0.16);
  --text: #15141C;
  --muted: #6B6A78;
  --lav: #B7A6EC;
  --lav-soft: #DCD3F7;
  --lav-deep: #8C78E0;
  --lime: #D6F26A;
  --lime-deep: #C2E34A;
  --ink: #15141C;
  --ink-2: #22212C;
  --radius-s: 10px;
  --radius: 20px;
  --radius-l: 32px;
  --shadow: 0 20px 50px -20px rgba(60, 40, 120, 0.25);
  --shadow-soft: 0 10px 30px -12px rgba(60, 40, 120, 0.18);
  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-transform: uppercase;
}
p { margin: 0; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; }

.accent { color: var(--lav-deep); }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lav-deep); }

.section { position: relative; padding: 120px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 48px; }
.section-title { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 900px; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 520px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--radius-s);
  font-weight: 700; font-size: 15px; white-space: nowrap;
  background: var(--ink); color: #fff;
  transition: color .4s var(--ease), transform .3s var(--ease), box-shadow .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--lime);
  transform: translateY(101%); border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  transition: transform .55s var(--ease), border-radius .55s var(--ease);
}
.btn:hover { color: var(--ink); box-shadow: 0 12px 30px -10px rgba(194, 227, 74, .7); }
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn:active { transform: scale(.97); }
.btn-light { background: rgba(255, 255, 255, .7); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-light::before { background: var(--ink); }
.btn-light:hover { color: #fff; box-shadow: none; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime::before { background: #fff; }
.btn-lav { background: var(--lav); color: var(--ink); }
.btn-lav::before { background: var(--lime); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Sparkles ---------- */
.sparkle { position: absolute; width: 26px; height: 26px; color: var(--ink); pointer-events: none; animation: twinkle 4s ease-in-out infinite; }
.sparkle svg { width: 100%; height: 100%; }
.sparkle.light { color: #fff; }
.sparkle.lav { color: var(--lav-deep); }
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(.55) rotate(45deg); opacity: .5; }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
}
.preloader-word { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 8vw, 5rem); letter-spacing: -0.03em; text-transform: uppercase; display: flex; overflow: hidden; }
.preloader-word span { display: inline-block; transform: translateY(110%); }
.preloader-word .p { color: var(--lime); }
.preloader-bar { position: absolute; left: 50%; bottom: 18%; width: 160px; height: 2px; transform: translateX(-50%); background: rgba(255,255,255,.15); overflow: hidden; border-radius: 2px; }
.preloader-bar i { display: block; height: 100%; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; }

/* ---------- Page transition ---------- */
.page-fade { position: fixed; inset: 0; z-index: 900; background: var(--bg); pointer-events: none; opacity: 0; transition: opacity .45s var(--ease); }
body.is-leaving .page-fade { opacity: 1; }
body.is-entering .page-fade { opacity: 1; transition: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(241, 240, 246, .78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo {
  font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.03em;
  text-transform: uppercase; line-height: 1; display: inline-flex;
}
.logo .p { color: var(--lav-deep); }
.site-footer .logo .p { color: var(--lime); }

.nav-pill {
  display: flex; align-items: center;
  padding: 6px; border-radius: 12px;
  background: rgba(255, 255, 255, .62);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav-pill a { position: relative; padding: 8px 16px; font-size: 14px; font-weight: 600; border-radius: 8px; transition: background .3s, color .3s; }
.nav-pill a + a::before { content: "+"; position: absolute; left: -5px; top: 50%; transform: translateY(-52%); font-weight: 400; color: var(--muted); pointer-events: none; }
.nav-pill a:hover { background: rgba(21, 20, 28, .06); }
.nav-pill a.is-active { background: var(--ink); color: #fff; }
.nav-pill a.is-active::before, .nav-pill a.is-active + a::before { opacity: 0; }

.header-right { display: flex; align-items: center; gap: 10px; }
.header-acct { gap: 8px; }
.header-acct .acct-av { width: 24px; height: 24px; margin-left: -8px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 800; }
.mm-acct { margin-top: 10px; background: rgba(255,255,255,.1); }
.mm-acct.btn-lav { background: var(--lav); color: var(--ink); }
.nav-pill a { white-space: nowrap; }
@media (max-width: 1180px) { .header-right .header-cur { display: none; } .nav-pill a { padding: 8px 12px; } }
.cur-toggle {
  display: inline-flex; padding: 4px; gap: 2px; border-radius: 10px;
  background: rgba(255, 255, 255, .62);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.cur-toggle button { width: 34px; height: 34px; border-radius: 7px; font-weight: 800; font-size: 15px; color: var(--muted); transition: background .3s, color .3s; }
.cur-toggle button:hover { color: var(--text); background: rgba(21,20,28,.06); }
.cur-toggle button.is-active { background: var(--ink); color: #fff; }
.mobile-menu .cur-toggle { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.mobile-menu .cur-toggle button { width: 52px; height: 42px; color: rgba(255,255,255,.6); }
.mobile-menu .cur-toggle button.is-active { background: var(--lime); color: var(--ink); }
.burger { display: none; width: 46px; height: 46px; border-radius: 10px; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 27px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: #fff;
  padding: 120px 24px 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - 47px) 39px);
  transition: clip-path .7s var(--ease);
}
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 47px) 39px); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a { font-family: var(--font-display); font-weight: 700; font-size: 34px; text-transform: uppercase; letter-spacing: -0.02em; }
.mobile-menu nav a.is-active { color: var(--lime); }
.mobile-menu .mm-foot { color: rgba(255,255,255,.6); font-size: 14px; }
body.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
body.menu-open .site-header .logo { color: #fff; }
body.menu-open .burger { background: var(--lime); }
body.menu-open .burger span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 64px) 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero-bg .b1 { width: 520px; height: 520px; background: var(--lav-soft); top: -120px; right: -120px; }
.hero-bg .b2 { width: 380px; height: 380px; background: #EDE6FF; bottom: 0; left: -140px; }

.hero-title {
  font-size: clamp(2.3rem, 7.4vw, 6.6rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: .98;
  text-align: center;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.split-word { display: inline-block; white-space: nowrap; }
.split-char { display: inline-block; will-change: transform; }
.hero-sub { max-width: 620px; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-stage {
  position: relative; margin-top: 56px;
  height: clamp(380px, 46vw, 600px);
  border-radius: var(--radius-l);
  background:
    radial-gradient(60% 70% at 50% 60%, #CFC2F6 0%, rgba(207,194,246,0) 70%),
    linear-gradient(180deg, #E3DCF8 0%, #C9BBF2 100%);
  overflow: hidden;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.6);
}
.hero-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.hero-stage .fallback-sphere { position: absolute; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff 0%, #E8E0FF 30%, #A897E6 75%, #8C78E0 100%); box-shadow: inset -20px -30px 60px rgba(90,60,180,.25); }
.hero-stage .fs1 { width: 34%; aspect-ratio: 1; left: 33%; top: 18%; }
.hero-stage .fs2 { width: 12%; aspect-ratio: 1; left: 14%; top: 22%; }
.hero-stage .fs3 { width: 16%; aspect-ratio: 1; right: 10%; bottom: 12%; }
.hero-stage.has-webgl .fallback-sphere { display: none; }
.hero-neon {
  position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1rem, 2.6vw, 1.9rem);
  letter-spacing: .08em; text-transform: uppercase; color: var(--lime);
  text-shadow: 0 0 8px rgba(214,242,106,.9), 0 0 24px rgba(214,242,106,.6), 0 0 60px rgba(214,242,106,.35);
  padding: 10px 22px; border-radius: 14px;
  background: rgba(21,20,28,.82); box-shadow: 0 0 0 1px rgba(214,242,106,.35), 0 20px 40px -10px rgba(21,20,28,.5);
  white-space: nowrap; pointer-events: none;
  animation: neon 5s ease-in-out infinite;
}
@keyframes neon { 0%,100% { opacity: 1; } 47% { opacity: 1; } 48% { opacity: .55; } 49% { opacity: 1; } 51% { opacity: .7; } 52% { opacity: 1; } }

.float-tag {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 12px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), var(--shadow-soft);
  font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  animation: bob 6s ease-in-out infinite;
}
.float-tag i { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: var(--lime); display: grid; place-items: center; }
.float-tag i svg { width: 17px; height: 17px; }
.float-tag.t1 { left: 5%; top: 18%; animation-delay: -1s; }
.float-tag.t2 { left: 8%; bottom: 22%; animation-delay: -3s; }
.float-tag.t3 { right: 5%; top: 24%; animation-delay: -2s; }
.float-tag.t4 { right: 9%; bottom: 30%; animation-delay: -4s; }
.float-tag.t5 { left: 26%; top: 6%; animation-delay: -5s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Marquee strip ---------- */
.strip { background: var(--ink); color: #fff; overflow: hidden; padding: 22px 0; transform: rotate(-1.2deg); margin: 0 -20px; }
.strip-track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.strip-item { display: inline-flex; align-items: center; gap: 48px; font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2.4vw, 28px); text-transform: uppercase; white-space: nowrap; }
.strip-item svg { width: 22px; height: 22px; color: var(--lime); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background .3s, color .3s, box-shadow .3s;
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; box-shadow: none; }

/* ---------- Course cards ---------- */
.carousel-wrap { position: relative; }
.carousel {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 24px 32px; margin: 0 -24px; scrollbar-width: none; cursor: grab;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel.is-dragging .course-card { pointer-events: none; }
.carousel .course-card { flex: 0 0 clamp(270px, 28vw, 340px); scroll-snap-align: start; }
.carousel-progress { height: 3px; background: var(--line-strong); border-radius: 3px; overflow: hidden; }
.carousel-progress i { display: block; height: 100%; width: 30%; background: var(--ink); border-radius: 3px; transition: transform .15s linear; }
.carousel-nav { display: flex; gap: 8px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .3s, color .3s; }
.round-btn:hover { background: var(--ink); color: #fff; }
.round-btn svg { width: 20px; height: 20px; }

.course-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface-solid);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  text-align: left;
}
.course-card:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.course-art {
  position: relative; aspect-ratio: 4 / 3.1; overflow: hidden;
  background: var(--lime);
}
.course-art .wm {
  position: absolute; left: -6%; bottom: -16%;
  font-family: var(--font-display); font-weight: 800; font-size: 210px; line-height: 1; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 2px rgba(21,20,28,.12); text-transform: uppercase;
  transition: transform .8s var(--ease);
}
.course-card:hover .course-art .wm { transform: translateX(-14px); }
.course-art .orb {
  position: absolute; width: 46%; aspect-ratio: 1; right: 10%; top: 14%; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0%, #EEE8FF 28%, #B7A6EC 70%, #8C78E0 100%);
  box-shadow: inset -14px -20px 40px rgba(90,60,180,.25), 0 30px 40px -20px rgba(21,20,28,.35);
  transition: transform .8s var(--ease);
}
.course-card:hover .course-art .orb { transform: translate(-10px, 6px) scale(1.05); }
.course-art .icon {
  position: absolute; left: 12%; top: 22%; width: 34%; aspect-ratio: 1; border-radius: 22px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--lime);
  box-shadow: 0 24px 40px -16px rgba(21,20,28,.55);
  transform: rotate(-8deg);
  transition: transform .8s var(--ease);
}
.course-card:hover .course-art .icon { transform: rotate(0deg) translateY(-6px); }
.course-art .icon svg { width: 48%; height: 48%; }
.course-art .sparkle { width: 22px; height: 22px; }
.course-art .tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.75); font-size: 12px; font-weight: 700; }
.course-art .tag.hot { left: auto; right: 14px; background: var(--ink); color: var(--lime); }
.course-body { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px 22px; flex: 1; }
.course-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; color: var(--muted); font-weight: 600; }
.course-meta span + span::before { content: "•"; margin-right: 12px; color: var(--lav-deep); }
.course-title { font-size: 20px; line-height: 1.15; }
.course-body .row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.course-price { font-size: 14px; color: var(--muted); }
.course-price b { color: var(--text); font-size: 17px; }

.course-platforms { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -4px; }
.platform { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 700; white-space: nowrap; }
.platform i { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; }
.platform.more { color: var(--muted); }
.tools.platforms-list .platform { padding: 10px 16px; font-size: 14px; background: #fff; }
.tools.platforms-list .platform i { width: 10px; height: 10px; flex-basis: 10px; }

/* Platforms strip */
.strip.strip-alt { background: var(--lime); color: var(--ink); transform: rotate(1.2deg); margin-top: -8px; }
.strip.strip-alt .strip-track { animation-direction: reverse; animation-duration: 40s; }
.strip.strip-alt .strip-item svg { color: var(--ink); }

.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-grid .course-card.is-hidden { display: none; }

/* ---------- Stack (why us) ---------- */
.stack { display: flex; flex-direction: column; gap: 28px; }
.stack-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  display: grid; grid-template-columns: auto 1fr; gap: 28px 36px; align-items: start;
  padding: 44px; border-radius: var(--radius-l);
  background: var(--lime); overflow: hidden;
  box-shadow: 0 -10px 40px -20px rgba(21,20,28,.25);
  transform-origin: center top;
}
.stack-card:nth-child(2) { top: calc(var(--header-h) + 44px); background: #E6F59E; }
.stack-card:nth-child(3) { top: calc(var(--header-h) + 64px); background: var(--lav); }
.stack-card:nth-child(4) { top: calc(var(--header-h) + 84px); background: var(--ink); color: #fff; }
.stack-card:nth-child(4) p { color: rgba(255,255,255,.72); }
.stack-card:nth-child(4) .stack-num { background: var(--lime); color: var(--ink); }
.stack-num { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.stack-card h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); margin-bottom: 14px; }
.stack-card p { font-size: 17px; max-width: 640px; color: rgba(21,20,28,.75); }
.stack-card .wm { position: absolute; right: -2%; bottom: -30%; font-family: var(--font-display); font-weight: 800; font-size: 280px; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(21,20,28,.1); pointer-events: none; }
.stack-card:nth-child(4) .wm { -webkit-text-stroke-color: rgba(255,255,255,.08); }

/* ---------- Dark section (portfolio) ---------- */
.dark {
  background: var(--ink); color: #fff;
  border-radius: var(--radius-l);
  margin: 0 16px;
  overflow: hidden;
}
.dark .muted, .dark .section-sub { color: rgba(255,255,255,.62); }
.dark .accent { color: var(--lav); }
.dark-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; height: 620px; overflow: hidden; mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); }
.col-track { display: flex; flex-direction: column; gap: 14px; animation: colUp 34s linear infinite; }
.col:nth-child(2) .col-track { animation-name: colDown; animation-duration: 40s; }
.col:nth-child(3) .col-track { animation-duration: 30s; }
@keyframes colUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 7px)); } }
@keyframes colDown { from { transform: translateY(calc(-50% - 7px)); } to { transform: translateY(0); } }
.tile {
  position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden;
  padding: 14px; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.tile .t-tag { align-self: flex-start; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.12); }
.tile .t-title { font-family: var(--font-display); font-size: 14px; font-weight: 700; line-height: 1.2; text-transform: uppercase; position: relative; z-index: 1; }
.tile .t-art { position: absolute; inset: 0; z-index: 0; }
.tile.v1 { background: linear-gradient(160deg, #2A2540, #15141C 70%); }
.tile.v1 .t-art { background: radial-gradient(circle at 70% 35%, rgba(183,166,236,.85) 0 22%, transparent 23%); }
.tile.v2 { background: var(--lime); color: var(--ink); }
.tile.v2 .t-tag { background: rgba(21,20,28,.1); }
.tile.v2 .t-art { background: repeating-linear-gradient(-45deg, rgba(21,20,28,.07) 0 2px, transparent 2px 14px); }
.tile.v3 { background: var(--lav); color: var(--ink); }
.tile.v3 .t-tag { background: rgba(255,255,255,.5); }
.tile.v3 .t-art { background: radial-gradient(circle at 30% 40%, rgba(255,255,255,.7) 0 18%, transparent 19%), radial-gradient(circle at 75% 60%, rgba(21,20,28,.18) 0 12%, transparent 13%); }
.tile.v4 { background: linear-gradient(200deg, #3A3355 0%, #15141C 80%); }
.tile.v4 .t-art { background: linear-gradient(transparent 55%, rgba(214,242,106,.18)); }
.tile .play { position: absolute; left: 50%; top: 42%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; color: var(--ink); z-index: 1; }
.tile .play svg { width: 16px; height: 16px; margin-left: 3px; }
.tile.v2 .play { background: var(--ink); color: var(--lime); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 40px; }
.stat { padding: 22px; border-radius: 16px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 36px; color: var(--lime); line-height: 1; margin-bottom: 8px; }
.stat span { font-size: 14px; color: rgba(255,255,255,.62); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column; gap: 20px;
  padding: 32px; border-radius: var(--radius);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .6s var(--ease);
}
.price-card:hover { transform: translateY(-6px); }
.price-card.featured { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.price-card.featured .muted { color: rgba(255,255,255,.6); }
.price-card .badge { position: absolute; top: 20px; right: 20px; padding: 6px 12px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 800; }
.price-card h3 { font-size: 22px; }
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; line-height: 1; }
.price-amount small { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.price-card.featured .price-amount small { color: rgba(255,255,255,.6); }
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.check-list li { display: flex; gap: 10px; font-size: 15px; }
.check-list li::before { content: ""; flex: 0 0 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%2315141C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.price-card:not(.featured) .check-list li::before { background-color: var(--lav-soft); }

/* ---------- Accordion ---------- */
.acc { display: flex; flex-direction: column; gap: 10px; }
.acc-item {
  border-radius: 14px; background: var(--surface); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .4s, box-shadow .4s;
}
.acc-item.is-open { background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft); }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; text-align: left; font-weight: 700; font-size: 16px; }
.acc-icon { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); transition: transform .5s var(--ease), background .4s, color .4s; }
.acc-icon svg { width: 14px; height: 14px; }
.acc-item.is-open .acc-icon { transform: rotate(45deg); background: var(--ink); color: var(--lime); }
.acc-body { height: 0; overflow: hidden; transition: height .5s var(--ease); }
.acc-inner { padding: 0 22px 22px; color: var(--muted); max-width: 760px; }
.acc-inner p + p { margin-top: 10px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--muted); }
.input {
  width: 100%; min-height: 52px; padding: 14px 16px;
  border-radius: 12px; border: 0;
  background: rgba(255,255,255,.75);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow .3s, background .3s;
  outline: none;
}
.input:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--lav-deep), 0 0 0 5px rgba(140,120,224,.15); }
.input.is-invalid { box-shadow: inset 0 0 0 2px #E05A5A; }
textarea.input { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent .box { flex: 0 0 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--line-strong); background: #fff; display: grid; place-items: center; transition: background .3s, box-shadow .3s; }
.consent .box svg { width: 14px; height: 14px; color: var(--lime); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.consent input:checked + .box { background: var(--ink); box-shadow: none; }
.consent input:checked + .box svg { opacity: 1; transform: scale(1); }
.consent input:focus-visible + .box { box-shadow: 0 0 0 3px rgba(140,120,224,.4); }
.consent.is-invalid .box { box-shadow: inset 0 0 0 2px #E05A5A; }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.form-error { color: #D04848; font-size: 13px; min-height: 0; }

.contact { position: relative; text-align: center; overflow: hidden; }
.contact-blob { position: absolute; left: 50%; top: 58%; width: min(780px, 120vw); aspect-ratio: 1; border-radius: 50%; background: var(--lime); transform: translate(-50%, -50%); filter: blur(10px); opacity: .85; z-index: -1; animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.06); } }
.contact-form {
  max-width: 680px; margin: 40px auto 0; padding: 28px; text-align: left;
  border-radius: var(--radius); background: rgba(255,255,255,.55);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.contact-form .full { grid-column: 1 / -1; }
.news-perks { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.news-perks li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 700; }
.news-note { margin-top: 12px; font-size: 12px; color: var(--muted); }
.news-perks li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lav-deep); }
.contact-form .btn { justify-self: center; }

.success { display: none; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 24px 8px; }
.success.is-visible { display: flex; }
.success-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.success-icon svg { width: 40px; height: 40px; }
.success-icon path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.success.is-visible .success-icon path { animation: draw .7s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: 24px; }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 500; display: flex; align-items: flex-start; justify-content: center; padding: 32px 16px; overflow-y: auto; visibility: hidden; overscroll-behavior: contain; }
.modal.is-open { visibility: visible; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(21,20,28,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .5s var(--ease); }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal-panel {
  position: relative; width: 100%; max-width: 980px; margin: auto;
  border-radius: var(--radius-l); background: var(--bg);
  box-shadow: 0 40px 100px -30px rgba(21,20,28,.6);
  opacity: 0; transform: translateY(40px) scale(.97);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
  overflow: hidden;
}
.modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal-sm .modal-panel { max-width: 680px; }
.modal-close { position: absolute; top: 18px; right: 18px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.85); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), background .3s, color .3s; }
.modal-close:hover { transform: rotate(90deg); background: var(--ink); color: #fff; }
.modal-close svg { width: 16px; height: 16px; }

.cm-hero { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; padding: 48px 48px 40px; background: var(--lime); overflow: hidden; }
.cm-hero .wm { position: absolute; right: -2%; bottom: -26%; font-family: var(--font-display); font-weight: 800; font-size: 300px; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(21,20,28,.1); pointer-events: none; text-transform: uppercase; }
.cm-hero h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin: 16px 0; }
.cm-hero p { color: rgba(21,20,28,.75); max-width: 520px; }
.cm-facts { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-self: end; }
.cm-fact { padding: 16px; border-radius: 14px; background: rgba(255,255,255,.55); }
.cm-fact span { display: block; font-size: 12px; font-weight: 700; color: rgba(21,20,28,.6); text-transform: uppercase; letter-spacing: .06em; }
.cm-fact b { font-family: var(--font-display); font-size: 17px; }
.cm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; position: relative; z-index: 1; }
.cm-body { padding: 44px 48px 48px; display: flex; flex-direction: column; gap: 48px; }
.cm-block h3 { font-size: 22px; margin-bottom: 20px; }
.cm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cm-card { padding: 20px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cm-card b { display: block; margin-bottom: 6px; }
.cm-card p { font-size: 14px; color: var(--muted); }
.skills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; list-style: none; padding: 0; margin: 0; }
.skills li { display: flex; gap: 12px; align-items: flex-start; }
.skills li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; margin-top: 1px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23D6F26A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.module-num { font-family: var(--font-display); font-size: 13px; color: var(--lav-deep); margin-right: 14px; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tools span { padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 14px; }
.cm-tariffs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cm-tariff { padding: 22px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px; }
.cm-tariff.featured { background: var(--ink); color: #fff; }
.cm-tariff .price-amount { font-size: 28px; }
.cm-tariff .check-list li { font-size: 14px; }
.cm-sticky { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 48px; background: rgba(241,240,246,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line); }
.cm-sticky b { font-family: var(--font-display); font-size: 16px; text-transform: uppercase; }

/* Enroll modal */
.enroll { padding: 44px; display: flex; flex-direction: column; gap: 20px; }
.enroll h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); padding-right: 50px; }
.tariff-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tariff-opt { position: relative; cursor: pointer; }
.tariff-opt input { position: absolute; opacity: 0; pointer-events: none; }
.tariff-opt .t-box { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow .3s, background .3s, transform .4s var(--ease); }
.tariff-opt .t-box b { font-size: 14px; }
.tariff-opt .t-box .t-price { font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.tariff-opt .t-box small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.tariff-opt input:checked + .t-box { background: var(--ink); color: #fff; box-shadow: 0 0 0 3px var(--lime); transform: translateY(-3px); }
.tariff-opt input:checked + .t-box small { color: rgba(255,255,255,.6); }
.tariff-opt input:focus-visible + .t-box { box-shadow: 0 0 0 3px var(--lav-deep); }
.pay-toggle { display: inline-flex; padding: 5px; border-radius: 12px; background: var(--bg-2); position: relative; align-self: flex-start; }
.pay-toggle button { position: relative; z-index: 1; padding: 9px 16px; border-radius: 9px; font-size: 14px; font-weight: 700; color: var(--muted); transition: color .3s; }
.pay-toggle button.is-active { color: var(--ink); }
.pay-toggle .knob { position: absolute; top: 5px; bottom: 5px; border-radius: 9px; background: #fff; box-shadow: var(--shadow-soft); transition: left .45s var(--ease), width .45s var(--ease); }
.pay-toggle .save { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 11px; }
.total { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: 14px; background: var(--lime); }
.total span { font-size: 14px; font-weight: 600; color: rgba(21,20,28,.7); }
.total b { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.enroll-note { font-size: 13px; color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 80px) 0 64px; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 6.4vw, 5.4rem); font-weight: 800; letter-spacing: -0.035em; max-width: 1100px; }
.page-hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.page-hero .lead { margin-top: 24px; max-width: 620px; font-size: 18px; color: var(--muted); }
.page-hero .orb-deco { position: absolute; border-radius: 50%; z-index: -1; background: radial-gradient(circle at 32% 28%, #fff 0%, #EEE8FF 28%, #B7A6EC 70%, #8C78E0 100%); box-shadow: inset -20px -30px 60px rgba(90,60,180,.25); }
.page-hero .o1 { width: 260px; height: 260px; right: 6%; top: 120px; animation: bob 8s ease-in-out infinite; }
.page-hero .o2 { width: 90px; height: 90px; right: 28%; top: 300px; animation: bob 7s -2s ease-in-out infinite; }

/* ---------- Courses page ---------- */
.catalog-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; padding: 14px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); position: sticky; top: calc(var(--header-h) + 8px); z-index: 20; }
.catalog-bar .group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.catalog-bar .group > span { font-size: 13px; font-weight: 700; color: var(--muted); margin: 0 4px 0 6px; }
.empty { display: none; padding: 60px 0; text-align: center; color: var(--muted); }
.empty.is-visible { display: block; }

.compare-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare thead th { font-family: var(--font-display); font-size: 14px; text-transform: uppercase; }
.compare thead th.featured { background: var(--ink); color: var(--lime); }
.compare td.featured { background: rgba(21,20,28,.04); font-weight: 700; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr { transition: background .3s; }
.compare tbody tr:hover { background: rgba(214,242,106,.25); }
.compare .course-name { font-weight: 700; }

.quiz { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 48px; border-radius: var(--radius-l); background: var(--lav); position: relative; overflow: hidden; }
.quiz h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.quiz .q-panel { position: relative; z-index: 1; padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); min-height: 320px; display: flex; flex-direction: column; gap: 18px; }
.q-step { font-size: 13px; font-weight: 700; color: var(--muted); }
.q-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; text-transform: uppercase; line-height: 1.2; }
.q-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.q-opt { padding: 16px; border-radius: 14px; background: #fff; text-align: left; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s, transform .4s var(--ease); }
.q-opt:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.q-result { display: flex; flex-direction: column; gap: 14px; }
.q-result .q-course { font-family: var(--font-display); font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 1.1; }
.q-progress { height: 4px; border-radius: 4px; background: rgba(21,20,28,.1); overflow: hidden; }
.q-progress i { display: block; height: 100%; background: var(--ink); transition: width .5s var(--ease); }

.lesson-box { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 48px; border-radius: var(--radius-l); background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.lesson-box h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.lesson-box p { color: rgba(255,255,255,.65); margin-top: 16px; }
.lesson-form { display: flex; flex-direction: column; gap: 12px; }
.lesson-form .input { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); color: #fff; }
.lesson-form .input::placeholder { color: rgba(255,255,255,.5); }
.lesson-form .consent { color: rgba(255,255,255,.6); }
.lesson-form .consent a { color: #fff; }
.lesson-form .success h3 { color: #fff; }

/* ---------- FAQ page ---------- */
.faq-layout { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.faq-tabs { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 6px; }
.faq-tab { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 12px; font-weight: 700; text-align: left; transition: background .3s, color .3s; }
.faq-tab small { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--bg-2); color: var(--muted); }
.faq-tab:hover { background: rgba(21,20,28,.05); }
.faq-tab.is-active { background: var(--ink); color: #fff; }
.faq-tab.is-active small { background: var(--lime); color: var(--ink); }
.faq-search { position: relative; margin-bottom: 28px; }
.faq-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.faq-search .input { padding-left: 50px; min-height: 60px; font-size: 16px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 22px; margin-bottom: 18px; }
.faq-group.is-hidden, .acc-item.is-hidden { display: none; }
mark { background: var(--lime); color: inherit; border-radius: 3px; padding: 0 2px; }

.help-box { margin-top: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 32px; border-radius: var(--radius); background: var(--lime); }
.help-box h3 { font-size: 22px; }

/* ---------- About page ---------- */
.mission { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3.6vw, 3rem); line-height: 1.18; text-transform: uppercase; letter-spacing: -0.02em; }
.mission .w { opacity: .15; transition: opacity .2s; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.story p { font-size: 17px; color: var(--muted); }
.story p + p { margin-top: 18px; }
.story-visual { position: relative; aspect-ratio: 1; border-radius: var(--radius-l); background: linear-gradient(160deg, #E3DCF8, #B7A6EC); overflow: hidden; }
.story-visual .orb-big { position: absolute; width: 58%; aspect-ratio: 1; left: 21%; top: 16%; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff 0%, #EEE8FF 28%, #B7A6EC 70%, #8C78E0 100%); box-shadow: inset -24px -36px 70px rgba(90,60,180,.3), 0 40px 60px -30px rgba(21,20,28,.4); animation: bob 9s ease-in-out infinite; }
.story-visual .ring { position: absolute; width: 84%; aspect-ratio: 1; left: 8%; top: 4%; border-radius: 50%; border: 2px solid rgba(214,242,106,.9); transform: rotateX(70deg); box-shadow: 0 0 30px rgba(214,242,106,.5); }
.story-visual .label { position: absolute; left: 24px; bottom: 24px; right: 24px; padding: 16px 20px; border-radius: 14px; background: rgba(21,20,28,.85); color: #fff; font-family: var(--font-display); font-size: 14px; text-transform: uppercase; }
.story-visual .label b { color: var(--lime); }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { position: relative; padding: 28px; border-radius: var(--radius); background: var(--lime); min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transition: transform .6s var(--ease); }
.value:nth-child(2) { background: var(--lav); }
.value:nth-child(3) { background: var(--ink); color: #fff; }
.value:nth-child(3) p { color: rgba(255,255,255,.65); }
.value:nth-child(4) { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.value:hover { transform: translateY(-8px) rotate(-1deg); }
.value .v-num { font-family: var(--font-display); font-weight: 800; font-size: 14px; opacity: .5; }
.value h3 { font-size: 22px; margin-bottom: 10px; }
.value p { font-size: 15px; color: rgba(21,20,28,.72); }

.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process-line { position: absolute; left: 0; right: 0; top: 31px; height: 2px; background: var(--line-strong); }
.process-line i { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.p-step { position: relative; }
.p-dot { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink); font-family: var(--font-display); font-weight: 800; margin-bottom: 20px; transition: background .4s, color .4s; }
.p-step.is-on .p-dot { background: var(--lime); }
.p-step h3 { font-size: 17px; margin-bottom: 8px; }
.p-step p { font-size: 14px; color: var(--muted); }

.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.num-card { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.num-card b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; color: var(--lime); margin-bottom: 12px; }
.num-card span { color: rgba(255,255,255,.65); font-size: 15px; }

.office { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.office-card { padding: 32px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; }
.office-card .label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.office-card .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.3; }
.office-card a.big { text-decoration: underline; text-decoration-color: var(--lav); text-underline-offset: 6px; transition: text-decoration-color .3s; }
.office-card a.big:hover { text-decoration-color: var(--ink); }

/* ---------- Privacy page ---------- */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 2px; padding: 18px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.toc a { padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background .3s, color .3s; }
.toc a:hover { color: var(--text); }
.toc a.is-active { background: var(--ink); color: #fff; }
.legal-body { max-width: 760px; }
.legal-body section { padding-top: 12px; margin-bottom: 44px; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-body h2 { font-size: 22px; margin-bottom: 16px; }
.legal-body p, .legal-body li { color: #3E3D49; font-size: 16px; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { padding-left: 20px; margin: 12px 0 0; }
.legal-body li + li { margin-top: 6px; }
.legal-body a { text-decoration: underline; text-underline-offset: 3px; }
.toc { max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; scrollbar-width: thin; }
.privacy-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ps-card { position: relative; overflow: hidden; padding: 24px; border-radius: var(--radius); background: var(--lime); min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; transition: transform .6s var(--ease); }
.ps-card:nth-child(2) { background: var(--lav); }
.ps-card:nth-child(3) { background: var(--ink); color: #fff; }
.ps-card:nth-child(3) p { color: rgba(255,255,255,.65); }
.ps-card:nth-child(4) { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ps-card:hover { transform: translateY(-6px) rotate(-1deg); }
.ps-num { font-family: var(--font-display); font-weight: 800; font-size: 13px; opacity: .5; }
.ps-card h3 { font-size: 18px; margin-bottom: 8px; }
.ps-card p { font-size: 14px; color: rgba(21,20,28,.72); }
.privacy-contact {
  position: relative; overflow: hidden; margin-top: 16px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  padding: 44px; border-radius: var(--radius-l); background: var(--ink); color: #fff;
}
.privacy-contact::before { content: ""; position: absolute; right: -120px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(214,242,106,.25), transparent 65%); pointer-events: none; }
.pc-intro h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 16px 0 14px; }
.pc-intro p { color: rgba(255,255,255,.65); max-width: 460px; }
.pc-items { position: relative; display: flex; flex-direction: column; gap: 12px; }
.pc-item { padding: 22px 24px; border-radius: 18px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: background .3s; }
.pc-item:hover { background: rgba(255,255,255,.1); }
.pc-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--lime); margin-bottom: 8px; }
.pc-value { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.35; color: #fff; word-break: break-word; }
a.pc-value { text-decoration: underline; text-decoration-color: rgba(214,242,106,.5); text-underline-offset: 6px; transition: color .3s; }
a.pc-value:hover { color: var(--lime); }
@media (max-width: 960px) { .privacy-contact { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 680px) { .privacy-contact { padding: 28px 20px; border-radius: 24px; } }
.legal-table-wrap { margin: 16px 0; overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.legal-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.legal-table th, .legal-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.legal-table th { font-family: var(--font-display); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; background: var(--bg-2); }
.legal-table td:first-child { font-weight: 700; color: var(--text); }
.legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-body code { font-size: 13px; padding: 2px 6px; border-radius: 6px; background: var(--bg-2); }
@media (max-width: 1100px) { .privacy-summary { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .toc { max-height: none; display: grid; grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .privacy-summary { grid-template-columns: 1fr; } .ps-card { min-height: 0; } }
.legal-meta { display: inline-flex; gap: 10px; align-items: center; margin-top: 24px; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; right: 24px; bottom: 24px; z-index: 450;
  width: min(340px, calc(100vw - 32px));
  padding: 18px; border-radius: 18px;
  background: rgba(250, 250, 252, .94);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 30px 70px -20px rgba(40, 25, 90, .4);
  opacity: 0; transform: translateY(30px) scale(.98);
  transition: opacity .6s var(--ease), transform .7s var(--ease);
}
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cb-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding-right: 30px; }
.cb-icon { flex: 0 0 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--lav-soft); color: var(--lav-deep); }
.cb-icon svg { width: 18px; height: 18px; }
.cb-title { font-family: var(--font-body); text-transform: none; letter-spacing: -0.01em; font-size: 15px; font-weight: 800; }
.cb-text { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.cb-text b { color: var(--text); }
.cb-text a { color: var(--lav-deep); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.cb-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; }
.cb-actions .btn { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.cb-settings { grid-column: 1 / -1; gap: 6px; }
.cb-settings svg { width: 14px; height: 14px; }
.cb-close { position: absolute; top: 14px; right: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background .3s, color .3s, transform .4s var(--ease); }
.cb-close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.cb-close svg { width: 13px; height: 13px; }

/* ---------- Privacy preference center ---------- */
.modal-cookie .modal-panel { max-width: 640px; }
.modal-cookie .modal-close { top: 14px; right: 16px; width: 40px; height: 40px; }
.pcc-top { display: flex; align-items: center; gap: 14px; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.pcc-top .logo { font-size: 17px; }
.pcc-sep { width: 1px; height: 18px; background: var(--line-strong); }
.pcc-tag { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pcc-body { padding: 28px; }
.pcc-body h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: 14px; }
.pcc-intro { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 20px; }
.pcc-sub { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 16px; font-weight: 800; margin: 28px 0 10px; }
.cc-list { border-top: 1px solid var(--line); }
.cc-row { border-bottom: 1px solid var(--line); }
.cc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.cc-toggle { flex: 1; display: flex; align-items: center; gap: 14px; padding: 16px 0; text-align: left; font-weight: 700; font-size: 15px; }
.cc-sign { position: relative; flex: 0 0 14px; height: 14px; }
.cc-sign::before, .cc-sign::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: var(--lav-deep); transition: transform .4s var(--ease); }
.cc-sign::after { transform: rotate(90deg); }
.cc-row.is-open .cc-sign::after { transform: rotate(0deg); }
.cc-desc { height: 0; overflow: hidden; transition: height .45s var(--ease); }
.cc-inner { padding: 0 0 18px 28px; }
.cc-inner p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.cc-note { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(214,242,106,.35); color: var(--text) !important; font-size: 13px !important; }
.cc-badge { flex: 0 0 auto; padding: 6px 12px; border-radius: 999px; background: var(--lav-soft); color: var(--lav-deep); font-size: 12px; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(140,120,224,.3); }
.switch { position: relative; flex: 0 0 auto; width: 50px; height: 28px; cursor: pointer; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch .slider { position: absolute; inset: 0; border-radius: 999px; background: var(--line-strong); transition: background .35s; }
.switch .slider::before { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(21,20,28,.25); transition: transform .45s var(--ease), background .35s; }
.switch input:checked + .slider { background: var(--ink); }
.switch input:checked + .slider::before { transform: translateX(22px); background: var(--lime); }
.switch input:focus-visible + .slider { box-shadow: 0 0 0 3px rgba(140,120,224,.45); }
.pcc-more { margin-top: 16px; font-size: 13px; color: var(--muted); }
.pcc-more a { color: var(--lav-deep); text-decoration: underline; text-underline-offset: 3px; }
.pcc-foot { position: sticky; bottom: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; padding: 18px 28px; background: var(--bg-2); border-top: 1px solid var(--line); }
.pcc-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.pcc-powered { font-size: 12px; color: var(--muted); }
.fb-links { display: inline-flex; gap: 20px; }
.fb-links button { font-size: 13px; color: rgba(255,255,255,.45); transition: color .3s; }
.fb-links button:hover, .fb-links a:hover { color: #fff; }
.mm-cookies { align-self: flex-start; margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.55); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 680px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 16px; border-radius: 16px; }
  .pcc-top, .pcc-body { padding-left: 20px; padding-right: 20px; }
  .pcc-foot { padding: 14px 20px; align-items: stretch; }
  .pcc-actions .btn { flex: 1; }
  .pcc-powered { align-self: center; }
}

/* ---------- Footer ---------- */
.site-footer { padding: 24px 16px 16px; }
.footer-inner { background: var(--ink); color: #fff; border-radius: var(--radius-l); padding: 48px 48px 28px; position: relative; overflow: hidden; }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px; }
.footer-top .logo { font-size: 28px; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.footer-nav a { position: relative; padding: 6px 14px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.75); transition: color .3s; }
.footer-nav a + a::before { content: "+"; position: absolute; left: -5px; color: rgba(255,255,255,.35); }
.footer-nav a:hover { color: var(--lime); }
.footer-contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-contacts .label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 6px; }
.footer-contacts a, .footer-contacts p { color: #fff; font-size: 15px; }
.footer-contacts a:hover { color: var(--lime); }
.footer-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 10.4vw, 11.5rem); line-height: .8; letter-spacing: -0.05em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); margin: 48px 0 0; white-space: nowrap; text-align: center; user-select: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; font-size: 13px; color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal ---------- */
.js-anim [data-reveal] { opacity: 0; transform: translateY(40px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .num-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .process-line { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 74px; }
  .nav-pill, .header-cta, .header-cur, .header-acct { display: none; }
  .burger { display: block; }
  .section { padding: 88px 0; }
  .dark-grid, .story, .quiz, .lesson-box, .cm-hero { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .faq-layout, .legal { grid-template-columns: 1fr; gap: 24px; }
  .faq-tabs { position: static; flex-direction: row; flex-wrap: wrap; }
  .faq-tab { gap: 8px; }
  .toc { position: static; }
  .cols { height: 480px; }
  .cm-cards, .cm-tariffs { grid-template-columns: 1fr; }
  .float-tag.t5 { display: none; }
}
@media (max-width: 680px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .course-grid { grid-template-columns: 1fr; }
  .carousel { padding: 8px 16px 28px; margin: 0 -16px; }
  .carousel .course-card { flex-basis: 82vw; }
  .hero { padding-bottom: 56px; }
  .hero-sub { font-size: 16px; }
  .hero-stage { height: 440px; border-radius: 24px; }
  .float-tag { font-size: 10px; padding: 7px 11px 7px 7px; }
  .float-tag i { width: 24px; height: 24px; }
  .float-tag.t1 { left: 4%; top: 6%; }
  .float-tag.t3 { right: 4%; top: 18%; }
  .float-tag.t2 { left: 4%; bottom: 24%; }
  .float-tag.t4 { right: 4%; bottom: 36%; }
  .stack-card { grid-template-columns: 1fr; padding: 28px; gap: 18px; }
  .stack-num { width: 52px; height: 52px; font-size: 16px; }
  .dark { margin: 0 8px; border-radius: 24px; }
  .cols { grid-template-columns: repeat(2, 1fr); height: 420px; }
  .cols .col:nth-child(3) { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 28px; }
  .contact-form, .form-grid { grid-template-columns: 1fr; padding: 20px; }
  .form-grid { padding: 0; }
  .values, .num-grid, .office { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .quiz, .lesson-box { padding: 28px 20px; }
  .q-opts { grid-template-columns: 1fr; }
  .modal { padding: 0; }
  .modal-panel { border-radius: 24px 24px 0 0; margin: 40px 0 0; min-height: calc(100% - 40px); }
  .cm-hero { padding: 64px 20px 28px; }
  .cm-body { padding: 28px 20px 32px; gap: 36px; }
  .cm-sticky { padding: 12px 20px; }
  .cm-sticky b { display: none; }
  .cm-sticky .btn { width: 100%; }
  .skills { grid-template-columns: 1fr; }
  .enroll { padding: 64px 20px 28px; }
  .tariff-pick { grid-template-columns: 1fr; }
  .pay-toggle { align-self: stretch; }
  .pay-toggle button { flex: 1; padding: 9px 8px; font-size: 13px; }
  .catalog-bar { position: static; }
  .footer-inner { padding: 36px 22px 22px; border-radius: 24px; }
  .footer-contacts { grid-template-columns: 1fr; }
  .site-footer { padding: 16px 8px 8px; }
  .help-box { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js-anim [data-reveal] { opacity: 1; transform: none; }
}
