:root {
  --ink: #0b0f10;
  --ink-soft: #13191a;
  --paper: #f2f4f0;
  --white: #ffffff;
  --line: #cdd3ce;
  --muted: #606965;
  --orange: #ff6547;
  --blue: #3478f6;
  --navy: #101617;
  --mint: #b9ff46;
  --yellow: #d8ff52;
  --cyan: #64dcff;
  --max: 1320px;
}

* { letter-spacing: 0; }
html { background: var(--ink); }
body {
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "ss01" 1, "cv02" 1;
  text-rendering: optimizeLegibility;
}
body::selection { color: var(--ink); background: var(--yellow); }
.shell { width: min(var(--max), calc(100% - 64px)); }

/* Navigation */
.site-header {
  height: 68px;
  grid-template-columns: 1fr auto 1fr;
  padding: 0 max(32px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: rgba(8, 12, 13, .9);
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
  backdrop-filter: blur(18px) saturate(130%);
}
.brand { gap: 11px; color: var(--white); font-size: 20px; font-weight: 850; }
.brand-mark {
  width: 36px;
  height: 36px;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(11,15,16,.12);
}
.site-nav { gap: 7px; padding: 5px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: rgba(255,255,255,.05); }
.site-nav a { padding: 8px 13px; border-radius: 5px; color: rgba(255,255,255,.7); font-size: 13px; font-weight: 700; }
.site-nav a::after { display: none; }
.site-nav a:hover, .site-nav a.active { color: var(--ink); background: var(--white); }
.header-action { min-height: 40px; padding: 0 17px; }

/* Actions */
.button {
  position: relative;
  isolation: isolate;
  min-height: 46px;
  overflow: hidden;
  padding: 0 21px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 820;
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.button::after {
  position: absolute;
  top: -60%;
  left: -32px;
  z-index: -1;
  width: 20px;
  height: 220%;
  background: rgba(255,255,255,.36);
  content: "";
  transform: rotate(18deg) translateX(-90px);
  transition: transform 420ms ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(7,12,13,.14); }
.button:hover::after { transform: rotate(18deg) translateX(360px); }
.button-large { min-height: 54px; padding: 0 27px; font-size: 14px; }
.button-accent {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(255,255,255,.18), 0 10px 24px rgba(7,12,13,.18);
}
.button-accent:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 12px 28px rgba(7,12,13,.26);
}
.button-dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button-light { color: var(--ink); background: var(--white); border-color: var(--white); }
.button-outline { border-color: var(--ink); background: transparent; }
.button-outline:hover { color: var(--white); background: var(--ink); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.38); background: rgba(11,15,16,.24); backdrop-filter: blur(10px); }
.text-link { gap: 8px; color: var(--ink); font-size: 13px; font-weight: 820; }
.text-link::before { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--orange); content: ""; }
.light-link { color: var(--white); }
.muted-link { color: var(--muted); }
.inline-actions { gap: 14px; }

/* Shared rhythm */
.compact-section { padding: 68px 0; }
.dark-band { color: var(--white); background: var(--ink); }
.blue-band { color: var(--white); background: #101819; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--yellow); font-size: 10px; font-weight: 850; }
.eyebrow::before { width: 24px; height: 2px; background: currentColor; content: ""; }
.eyebrow.dark { color: var(--orange); }
.section-heading { margin-bottom: 28px; }
.section-heading h2, .final-band h2 { font-size: 44px; line-height: 1.04; font-weight: 850; }
.split-heading, .heading-action { grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 48px; }
.split-heading > p, .heading-action > p { max-width: 470px; justify-self: end; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Home */
.hero { min-height: 680px; height: calc(100svh - 68px); max-height: 880px; border-bottom: 1px solid rgba(255,255,255,.12); }
.hero-video { object-position: 69% 25%; filter: saturate(.88) contrast(1.04); }
.hero-shade { background: linear-gradient(90deg, rgba(4,7,8,.94) 0%, rgba(4,7,8,.82) 43%, rgba(4,7,8,.25) 76%, rgba(4,7,8,.48) 100%); }
.hero::after { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; height: 4px; background: var(--yellow); content: ""; }
.hero-inner { padding: 48px 0 30px; }
.hero h1 { max-width: 970px; font-size: 76px; line-height: .96; font-weight: 840; }
.hero-copy { max-width: 670px; margin-top: 22px; color: rgba(255,255,255,.74); font-size: 17px; line-height: 1.55; }
.hero-actions { gap: 10px; margin-top: 25px; }
.hero-results { width: min(930px, 100%); margin-top: 34px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(8,12,13,.5); backdrop-filter: blur(14px); }
.hero-results div { min-height: 76px; padding: 12px 20px; border-right-color: rgba(255,255,255,.15); }
.hero-results div:first-child { padding-left: 20px; }
.hero-results strong { font-size: 24px; font-weight: 800; }
.hero-results span { color: rgba(255,255,255,.6); font-size: 11px; }
.home-paths { background: var(--paper); }
.path-grid { grid-template-columns: 1fr 1fr; gap: 14px; border: 0; }
.path-link { min-height: 238px; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 18px 50px rgba(18,31,27,.05); }
.path-link + .path-link { border: 1px solid #a8db35; }
.path-link:hover { color: var(--white); background: var(--ink); border-color: var(--ink); transform: translateY(-3px); }
.path-build { color: var(--ink); background: var(--yellow); }
.path-number { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
.path-link small { color: var(--muted); }
.path-link h3 { margin: 25px 0 10px; font-size: 29px; line-height: 1.04; font-weight: 830; }
.path-link p { color: var(--muted); font-size: 14px; }
.path-link:hover small, .path-link:hover p { color: rgba(255,255,255,.65); }
.proof-teaser { position: relative; background: #0b1011; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.proof-teaser::before { position: absolute; top: 0; bottom: 0; left: 0; width: 5px; background: var(--cyan); content: ""; }
.proof-teaser-grid { grid-template-columns: .72fr 1.28fr; gap: 54px; }
.proof-copy h2 { font-size: 48px; line-height: 1.02; font-weight: 840; }
.proof-copy > p:not(.eyebrow) { margin: 18px 0 24px; color: rgba(255,255,255,.62); font-size: 15px; }
.proof-video video { max-height: 450px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; }
.proof-video > div { padding: 13px 2px; border-bottom-color: rgba(255,255,255,.15); }
.proof-video strong { font-size: 23px; }
.lesson-card-grid { gap: 14px; }
.lesson-card { border-color: #d8ddd8; border-radius: 8px; background: var(--white); box-shadow: 0 16px 42px rgba(22,33,29,.055); }
.lesson-card:hover { transform: translateY(-5px); box-shadow: 0 24px 52px rgba(13,21,18,.11); }
.lesson-cover { aspect-ratio: 16 / 9; }
.lesson-card-body { min-height: 245px; padding: 20px; }
.lesson-meta { color: #727b77; font-size: 9px; }
.lesson-meta span { color: var(--orange); }
.lesson-card h2, .lesson-card h3 { margin: 18px 0 9px; font-size: 24px; font-weight: 820; }
.lesson-card-body > p { margin-bottom: 19px; color: var(--muted); font-size: 13px; }
.carousel-cover { background: var(--yellow); }
.slide-sheet { border-width: 1px; box-shadow: 5px 5px 0 rgba(11,15,16,.12); }
.slide-two { background: var(--ink); }
.slide-three { background: var(--orange); }
.cover-label { top: 10px; left: 10px; padding: 7px 8px; border-radius: 4px; background: var(--ink); }
.case-teaser { position: relative; background: #101718; border-top: 1px solid rgba(100,220,255,.42); }
.case-teaser-grid { grid-template-columns: .78fr 1.22fr; gap: 56px; }
.case-teaser-copy h2 { font-size: 46px; font-weight: 840; }
.case-teaser-copy > p:not(.eyebrow) { margin: 18px 0 24px; color: rgba(255,255,255,.62); font-size: 15px; }
.case-teaser-screens { gap: 10px; max-height: 560px; }
.case-teaser-screens img { border-color: rgba(255,255,255,.16); border-radius: 8px; }
.price-rows { display: grid; gap: 9px; border: 0; }
.price-rows a { min-height: 96px; padding: 0 22px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.price-rows a:hover { color: var(--white); background: var(--ink); border-color: var(--ink); transform: translateX(5px); }
.price-row-main { background: var(--yellow) !important; border-color: #a8db35 !important; }
.price-row-main:hover { color: var(--ink) !important; background: #e5ff78 !important; }
.price-rows strong { font-size: 24px; }
.final-band { padding: 54px 0; color: var(--ink); background: var(--yellow); }
.final-band .eyebrow { color: var(--ink); }
.final-band h2 { font-size: 42px; }
.final-band .button-accent { color: var(--white); background: var(--ink); border-color: var(--ink); }

/* Interior pages */
.page-hero { position: relative; overflow: hidden; min-height: 320px; padding: 62px 0 56px; color: var(--white); background-color: var(--ink); border: 0; border-bottom: 4px solid var(--cyan); }
.page-hero::before { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(7,10,11,.98) 0%, rgba(7,10,11,.9) 48%, rgba(7,10,11,.42) 78%, rgba(7,10,11,.72) 100%); content: ""; }
.page-hero::after { position: absolute; top: 0; right: 6%; z-index: 0; width: 180px; height: 100%; border-right: 1px solid rgba(255,255,255,.1); border-left: 1px solid rgba(255,255,255,.1); content: ""; transform: skewX(-18deg); }
.lessons-hero { background: var(--ink) url("assets/lesson-cover-mini-film-v2.png") right 42% center / cover no-repeat; }
.results-hero { background: var(--ink) url("/examples/pechat-krovi-series-1-poster.jpg") 83% 21% / 410px auto no-repeat; }
.services-hero { background: var(--ink) url("/myskazka/home.webp") 83% 14% / 430px auto no-repeat; }
.pricing-hero { background: var(--ink) url("/process-cards-optimized/scene-creation.jpg") right 25% center / 58% auto no-repeat; }
.page-hero-grid { position: relative; z-index: 1; min-height: 200px; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .5fr); align-items: end; gap: 50px; }
.page-hero h1 { max-width: 900px; font-size: 58px; line-height: .98; font-weight: 840; }
.page-hero-aside { padding: 20px 0 20px 22px; border-left: 2px solid var(--yellow); }
.page-hero-aside strong { font-size: 24px; }
.page-hero-aside p, .dark-page-hero .page-hero-aside p { color: rgba(255,255,255,.58); font-size: 14px; }
.library-section { padding: 34px 0 68px; }
.library-tools { position: sticky; top: 80px; z-index: 20; grid-template-columns: minmax(220px, .62fr) minmax(500px, 1.38fr) auto; gap: 12px; margin-bottom: 22px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.9); box-shadow: 0 12px 34px rgba(17,28,24,.08); backdrop-filter: blur(15px); }
.lesson-search input { height: 44px; padding-left: 14px; border: 0; border-radius: 5px; background: #e9ece8; }
.lesson-search input:focus { box-shadow: 0 0 0 2px var(--cyan); }
.lesson-search b { color: var(--muted); }
.lesson-filters { gap: 4px; }
.lesson-filters button { min-height: 40px; padding: 0 13px; border: 0; border-radius: 5px; background: transparent; }
.lesson-filters button:hover, .lesson-filters button.active { color: var(--ink); background: var(--yellow); }
.library-count { padding-right: 8px; font-size: 12px; }
.library-grid .featured-card { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(270px, .78fr); }
.library-grid .featured-card .lesson-cover { min-height: 334px; aspect-ratio: auto; }
.library-grid .featured-card .lesson-card-body { min-height: 334px; padding: 28px; }
.library-grid .featured-card h2 { max-width: 330px; margin-top: 30px; font-size: 34px; }
.library-grid .featured-card .slide-sheet { width: 35%; height: 66%; font-size: 20px; }
.library-grid .featured-card .slide-one { transform: translate(-30%, 5%) rotate(-9deg); }
.library-grid .featured-card .slide-three { transform: translate(30%, -5%) rotate(9deg); }
.agent-cover { background: #d9f7ed; }
.agent-node { border: 0; border-radius: 5px; box-shadow: 0 6px 18px rgba(11,15,16,.08); }
.accent-node { background: var(--ink); }
.library-empty { border: 1px solid var(--line); border-radius: 8px; }
.conversion-grid { grid-template-columns: 1fr 1fr; gap: 14px; border: 0; }
.conversion-grid > div { min-height: 330px; padding: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.conversion-grid > div + div { color: var(--ink); border-color: #a8db35; background: var(--yellow); }
.conversion-grid > div + div p:not(.eyebrow) { color: #4a534d; }
.conversion-grid > div + div .eyebrow { color: var(--ink); }
.conversion-grid h2 { font-size: 34px; font-weight: 830; }

/* Lesson detail */
.breadcrumb { padding-top: 20px; font-size: 11px; }
.breadcrumb a { color: var(--orange); }
.lesson-detail-section { padding: 20px 0 64px; }
.lesson-detail-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; }
.lesson-player-frame video, .drive-player-frame, .lesson-image-frame, .lesson-video-placeholder { border: 1px solid #252c2d; border-radius: 8px; background: var(--ink); }
.drive-player-frame.is-playing::after {
  width: 76px;
  height: 66px;
  border: 1px solid rgba(255,255,255,.2);
  border-top: 0;
  border-right: 0;
  border-radius: 0 7px 0 18px;
  color: #fff;
  background: rgba(10,15,17,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), -12px 12px 30px rgba(0,0,0,.24);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
  cursor: default;
  font-size: 19px;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
}
.lesson-download-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(12, 18, 19, 0.94);
  box-shadow: 0 18px 44px rgba(17, 28, 24, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.lesson-video-placeholder::before { border-color: rgba(255,255,255,.13); }
.lesson-video-placeholder .placeholder-play { color: var(--ink); background: var(--yellow); }
.lesson-title-block { padding: 25px 0 22px; }
.lesson-title-block h1 { max-width: 830px; margin: 15px 0 10px; font-size: 46px; font-weight: 840; }
.lesson-title-block > p { font-size: 16px; }
.lesson-content-block { padding: 28px 0; }
.lesson-content-block h2, .practice-box h2 { font-size: 29px; }
.lesson-content-block li { padding: 18px 0; }
.lesson-content-block li > span { color: var(--orange); }
.practice-box { padding: 26px; color: var(--white); border: 0; border-radius: 8px; background: var(--ink); }
.practice-box > span { color: var(--yellow); }
.practice-box p { color: rgba(255,255,255,.64); }
.lesson-sidebar { top: 82px; overflow: hidden; border-color: var(--line); border-radius: 8px; box-shadow: 0 16px 42px rgba(17,28,24,.08); }
.sidebar-progress { padding: 20px; }
.sidebar-progress > span { color: var(--orange); }
.sidebar-progress > div { background: #dfe4df; }
.sidebar-progress i { background: var(--yellow); }
.lesson-toc a { padding: 15px 18px; }
.lesson-toc a:hover, .lesson-toc a.active { color: var(--ink); background: var(--yellow); }
.lesson-toc a:hover span, .lesson-toc a.active span { color: #59615c; }
.sidebar-offer { background: var(--ink); }

/* Results */
.stat-board { grid-template-columns: repeat(4, 1fr); gap: 10px; border: 0; }
.stat-board > div { min-height: 152px; padding: 21px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.stat-board > div:first-child { background: var(--yellow); border-color: #a8db35; }
.stat-board strong { margin: 14px 0 5px; font-size: 28px; }
.result-video-grid { gap: 12px; }
.result-video-grid article { border-color: rgba(255,255,255,.14); border-radius: 8px; background: #151b1c; }
.result-video-grid video { height: 480px; }
.result-video-grid article > div { min-height: 135px; padding: 18px; }
.analytics-grid { gap: 10px; }
.analytics-grid a { border-color: var(--line); border-radius: 8px; box-shadow: 0 12px 34px rgba(17,28,24,.05); }
.analytics-grid span { padding: 12px; }

/* Services */
.service-list { display: grid; gap: 8px; border: 0; }
.service-list > a { min-height: 120px; grid-template-columns: 48px 1fr 120px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.service-list > a:hover { padding-right: 28px; padding-left: 28px; color: var(--white); background: var(--ink); border-color: var(--ink); }
.service-list h2 { font-size: 27px; }
.service-list > a:hover p, .service-list > a:hover > span { color: rgba(255,255,255,.62); }
.process-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; border: 0; }
.process-grid article { min-height: 210px; padding: 23px; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; background: rgba(255,255,255,.035); }
.process-grid h3 { margin-top: 36px; font-size: 23px; }
.myskazka-grid { grid-template-columns: .74fr 1.26fr; gap: 48px; }
.myskazka-copy h2 { font-size: 46px; font-weight: 840; }
.myskazka-copy > p:not(.eyebrow) { margin: 18px 0; font-size: 15px; }
.case-slider { border-color: #3b315c; border-radius: 8px; background: #171329; box-shadow: 0 24px 60px rgba(16,13,37,.18); }
.slider-viewport { min-height: 550px; }
.slider-viewport img { height: 490px; background: #171329; }
.slider-controls { height: 70px; }
.slider-controls button { width: 44px; height: 44px; }

/* Pricing */
.pricing-grid { gap: 14px; }
.pricing-card { min-height: 690px; padding: 30px; border-color: var(--line); border-radius: 8px; box-shadow: 0 18px 48px rgba(17,28,24,.06); }
.max-plan { color: var(--white); background: var(--ink); border-color: #293435; }
.plan-badge { top: 16px; right: 18px; color: var(--ink); background: var(--yellow); border-radius: 4px; }
.plan-head h2 { margin: 15px 0 20px; font-size: 44px; font-weight: 840; }
.plan-head strong { font-size: 35px; }
.plan-summary { min-height: 46px; margin: 22px 0; }
.pricing-card li { padding-top: 10px; padding-bottom: 10px; }
.pricing-card li::before { color: var(--orange); }
.max-plan li::before { color: var(--yellow); }
.plan-not-included { border-radius: 6px; background: #e7eae6; }
.comparison-table { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.comparison-row { border-bottom-color: var(--line); background: var(--white); }
.comparison-row:last-child { border-bottom: 0; }
.comparison-row > span { border-left-color: var(--line); }
.comparison-row .yes { color: #278c61; }
.comparison-head { color: var(--white); background: var(--ink); }
.pricing-faq { background: #101617; }
.faq-list summary::after { color: var(--yellow); }

/* Footer */
.site-footer { padding: 44px 0; background: #070a0b; border-top-color: rgba(255,255,255,.1); }
.footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.footer-grid nav strong { color: var(--yellow); }
.footer-grid nav a { color: rgba(255,255,255,.66); }
.footer-grid nav a:hover { color: var(--white); }
.compact-footer { padding: 24px 0; }
.reveal { transform: translateY(14px); transition-duration: 520ms; }

@media (max-width: 1040px) {
  .hero h1 { font-size: 62px; }
  .page-hero h1 { font-size: 50px; }
  .section-heading h2, .proof-copy h2, .case-teaser-copy h2, .myskazka-copy h2 { font-size: 39px; }
  .result-video-grid video { height: 420px; }
  .slider-viewport { min-height: 500px; }
  .slider-viewport img { height: 440px; }
}

@media (max-width: 820px) {
  .shell { width: min(var(--max), calc(100% - 40px)); }
  .site-header { grid-template-columns: 1fr auto; padding: 0 20px; }
  .nav-toggle { border-color: rgba(255,255,255,.18); border-radius: 6px; background: rgba(255,255,255,.06); }
  .nav-toggle span { background: var(--white); }
  .site-nav { top: 68px; gap: 0; padding: 8px 20px 18px; border: 0; border-bottom: 1px solid rgba(255,255,255,.12); border-radius: 0; background: rgba(8,12,13,.98); }
  .site-nav a { padding: 14px 10px; border-bottom-color: rgba(255,255,255,.1); }
  .site-nav a:hover, .site-nav a.active { color: var(--ink); background: var(--white); }
  .hero { height: auto; min-height: 690px; }
  .hero h1 { font-size: 52px; }
  .split-heading, .heading-action, .page-hero-grid, .proof-teaser-grid, .case-teaser-grid, .myskazka-grid, .faq-grid { grid-template-columns: 1fr; }
  .split-heading > p, .heading-action > p { justify-self: start; }
  .path-grid, .conversion-grid, .pricing-grid { grid-template-columns: 1fr; }
  .path-link + .path-link { border: 1px solid #a8db35; }
  .proof-copy { display: block; }
  .proof-copy > p:not(.eyebrow) { margin: 17px 0 22px; }
  .lesson-card-grid { grid-template-columns: repeat(2, 1fr); }
  .library-grid .featured-card { grid-column: auto; display: flex; }
  .library-grid .featured-card .lesson-cover { min-height: 0; aspect-ratio: 16 / 9; }
  .library-grid .featured-card .lesson-card-body { min-height: 245px; padding: 20px; }
  .library-grid .featured-card h2 { margin-top: 18px; font-size: 24px; }
  .library-grid .featured-card .slide-sheet { width: 42%; height: 70%; font-size: 15px; }
  .library-tools { top: 80px; grid-template-columns: 1fr auto; }
  .lesson-detail-grid { grid-template-columns: 1fr; }
  .stat-board { grid-template-columns: 1fr 1fr; }
  .stat-board > div { border: 1px solid var(--line) !important; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid article { border: 1px solid rgba(255,255,255,.14) !important; }
  .pricing-card { min-height: 0; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .site-header { height: 60px; padding: 0 14px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 32px; height: 32px; }
  .site-nav { top: 60px; padding-right: 14px; padding-left: 14px; }
  .compact-section { padding: 46px 0; }
  .section-heading { margin-bottom: 22px; }
  .section-heading h2, .proof-copy h2, .case-teaser-copy h2, .myskazka-copy h2, .faq-grid h2, .final-band h2 { font-size: 32px; }
  .eyebrow { font-size: 9px; }
  .hero { min-height: 720px; background: var(--ink) url("/examples/pechat-krovi-series-1-poster.jpg") 58% 20% / cover no-repeat; }
  .hero-shade { background: linear-gradient(180deg, rgba(4,7,8,.28) 0%, rgba(4,7,8,.84) 50%, rgba(4,7,8,.98) 100%); }
  .hero-inner { justify-content: flex-end; padding: 80px 0 29px; }
  .hero h1 { font-size: 39px; line-height: .98; }
  .hero-copy { margin-top: 16px; font-size: 14px; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-results { margin-top: 22px; }
  .hero-results div { min-height: 58px; padding: 9px 12px; }
  .hero-results div:first-child { padding-left: 12px; }
  .hero-results strong { font-size: 18px; }
  .path-link { padding: 22px 18px; }
  .path-link h3 { margin-top: 22px; font-size: 24px; }
  .proof-video video { aspect-ratio: 9 / 13; }
  .lesson-card-grid { grid-template-columns: 1fr; }
  .lesson-card-body { min-height: 228px; }
  .case-teaser-screens { max-height: 390px; }
  .price-rows a { min-height: 116px; padding: 15px 12px; }
  .final-band { padding: 42px 0 82px; }
  .page-hero { min-height: 360px; padding: 46px 0 40px; border-bottom-width: 3px; background-position: 74% center; background-size: auto 100%; }
  .page-hero::before { background: linear-gradient(180deg, rgba(7,10,11,.48) 0%, rgba(7,10,11,.92) 58%, rgba(7,10,11,.99) 100%); }
  .page-hero::after { display: none; }
  .page-hero h1 { font-size: 38px; }
  .page-hero-aside { padding: 14px 0 14px 16px; }
  .library-section { padding: 20px 0 52px; }
  .library-tools { top: 68px; gap: 9px; margin-bottom: 16px; padding: 8px; }
  .lesson-filters { margin-right: -8px; }
  .conversion-grid > div { min-height: 285px; padding: 24px 18px; }
  .lesson-detail-section { padding: 14px 0 56px; }
  .lesson-title-block h1 { font-size: 34px; }
  .practice-box { padding: 22px 18px; }
  .stat-board { grid-template-columns: 1fr; }
  .stat-board > div { min-height: 118px; padding: 18px; }
  .result-video-grid article { flex-basis: 84vw; }
  .result-video-grid { margin-right: 0; }
  .result-video-grid video { height: 430px; }
  .service-list > a {
    width: 100%;
    min-width: 0;
    min-height: 138px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }
  .service-list > a > div { min-width: 0; }
  .service-list > a > b { grid-column: 2; justify-self: start; }
  .service-list h2, .service-list p { overflow-wrap: anywhere; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 180px; padding: 21px; }
  .slider-viewport { min-height: 440px; }
  .slider-viewport img { height: 384px; }
  .pricing-card { padding: 24px 18px; }
  .plan-head h2 { font-size: 38px; }
  .comparison-row { grid-template-columns: 1fr 58px 72px; }
  .site-footer { padding: 38px 0 88px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-primary { right: 8px; bottom: 8px; left: 8px; min-height: 50px; color: var(--white); background: var(--ink); border: 2px solid var(--yellow); border-radius: 6px; box-shadow: 0 14px 34px rgba(0,0,0,.34); }
}

@media (prefers-reduced-motion: reduce) {
  .button::after { display: none; }
}

/* Refined glass layer and media presentation */
.site-header {
  background: rgba(7, 11, 12, .72);
  box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 18px 48px rgba(0,0,0,.18);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
  backdrop-filter: blur(24px) saturate(165%);
}
.brand-mark { border-radius: 10px; box-shadow: inset 0 1px 0 rgba(255,255,255,.62), 0 8px 20px rgba(216,255,82,.12); }
.site-nav {
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 8px 24px rgba(0,0,0,.08);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
.site-nav a { border-radius: 999px; }
.button {
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 28px rgba(7,12,13,.08);
}
.button-ghost {
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 14px 36px rgba(0,0,0,.16);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
}
.hero-results {
  background: rgba(11,16,17,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 20px 50px rgba(0,0,0,.18);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}
.library-tools,
.analytics-grid a {
  background: rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 45px rgba(17,28,24,.08);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

/* The source Reel is vertical. Keep the full 9:16 frame visible. */
.proof-teaser-grid { align-items: center; }
.proof-video {
  display: grid;
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}
.proof-video > .proof-reel,
.proof-video > .proof-analytics { display: grid; min-width: 0; height: 100%; gap: 0; padding: 0; border: 0; }
.proof-reel {
  overflow: hidden;
  grid-template-rows: 44px auto;
  gap: 0;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  border-radius: 18px;
  background: rgba(255,255,255,.075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 28px 70px rgba(0,0,0,.34);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
}
.proof-reel-bar { min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.58); font-size: 9px; font-weight: 850; }
.proof-reel video {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  background: #000;
}
.proof-analytics {
  overflow: hidden;
  grid-template-rows: auto 44px;
  border: 1px solid rgba(255,255,255,.2) !important;
  border-radius: 18px;
  background: rgba(255,255,255,.075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 28px 70px rgba(0,0,0,.28);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
.proof-analytics img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; object-position: center top; }
.proof-analytics > span { min-height: 44px; display: flex; align-items: center; padding: 0 14px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.7); font-size: 10px; font-weight: 760; }

/* Show the original MySkazka screens without cutting their edges. */
.case-teaser-screens {
  max-height: none;
  overflow: visible;
  align-items: start;
}
.case-teaser-screens figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 24px 60px rgba(0,0,0,.22);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
.case-teaser-screens img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
}
.case-teaser-screens figcaption { min-height: 44px; display: flex; align-items: center; padding: 0 14px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.68); font-size: 11px; font-weight: 750; }

/* Two clear offers replace the repeated six-card curriculum grid. */
.offer-section { position: relative; overflow: hidden; background: #edf1ed; }
.offer-section::before { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 84% 12%, rgba(216,255,82,.28), transparent 28%), radial-gradient(circle at 10% 92%, rgba(100,220,255,.18), transparent 25%); content: ""; }
.offer-section > .shell { position: relative; z-index: 1; }
.offer-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.offer-track { display: flex; min-width: 0; min-height: 640px; flex-direction: column; padding: 32px; overflow: hidden; border: 1px solid rgba(92,105,98,.22); border-radius: 24px; background: rgba(255,255,255,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 24px 60px rgba(22,35,30,.09); -webkit-backdrop-filter: blur(22px) saturate(145%); backdrop-filter: blur(22px) saturate(145%); }
.offer-services { color: var(--white); border-color: rgba(255,255,255,.13); background: rgba(11,15,16,.92); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 28px 65px rgba(9,16,13,.18); }
.offer-track header { max-width: 520px; padding-bottom: 26px; }
.offer-track header > span { color: var(--orange); font-size: 10px; font-weight: 850; }
.offer-services header > span { color: var(--yellow); }
.offer-track h3 { margin: 17px 0 12px; font-size: 34px; line-height: 1.02; font-weight: 850; }
.offer-track header p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.offer-services header p { color: rgba(255,255,255,.6); }
.offer-track ol { margin: 0 0 28px; padding: 0; list-style: none; border-top: 1px solid rgba(92,105,98,.2); }
.offer-services ol { border-top-color: rgba(255,255,255,.14); }
.offer-track li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid rgba(92,105,98,.2); }
.offer-services li { border-bottom-color: rgba(255,255,255,.14); }
.offer-track li > b { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--orange); font-size: 9px; }
.offer-services li > b { color: var(--yellow); }
.offer-track h4 { margin: 0 0 6px; font-size: 17px; line-height: 1.2; }
.offer-track li p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.offer-services li p { color: rgba(255,255,255,.54); }
.offer-track > .button { align-self: flex-start; margin-top: auto; }
.offer-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 14px; padding: 20px 24px; border: 1px solid rgba(92,105,98,.22); border-radius: 18px; background: rgba(255,255,255,.58); box-shadow: inset 0 1px 0 rgba(255,255,255,.92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.offer-footer p { display: grid; gap: 4px; margin: 0; }
.offer-footer p strong { font-size: 14px; }
.offer-footer p span { color: var(--muted); font-size: 12px; }

/* Screenshot cards use a shared viewport; headers are cropped only in the previews. */
.analytics-grid a { display: block; }
.analytics-grid .analytics-image { display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; padding: 0; background: #fff; }
.analytics-grid .analytics-image img { width: 100%; height: auto; min-height: 100%; object-fit: cover; object-position: center top; }
.analytics-grid .analytics-caption { display: block; padding: 12px; }
.analytics-series .analytics-image img { transform: translateY(-.7%); }
.analytics-avatar .analytics-image img { transform: translateY(-5.4%); }
.analytics-growth .analytics-image img { transform: translateY(-6.5%); }

@media (max-width: 1040px) {
  .proof-video { max-width: none; }
  .offer-track { min-height: 670px; padding: 26px; }
  .offer-track h3 { font-size: 29px; }
}

@media (max-width: 820px) {
  .site-nav { border-radius: 0; }
  .proof-video { max-width: none; }
  .case-teaser-screens { max-height: none; }
  .offer-columns { grid-template-columns: 1fr; }
  .offer-track { min-height: 0; }
  .offer-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .nav-toggle, .mobile-primary { border-radius: 999px; }
  .drive-player-frame.is-playing::after {
    width: 64px;
    height: 58px;
    border-radius: 0 7px 0 16px;
    font-size: 17px;
  }
  .proof-video { grid-template-columns: 1fr; }
  .proof-reel { width: min(100%, 330px); justify-self: center; }
  .proof-analytics { width: min(100%, 330px); justify-self: center; }
  .case-teaser-screens { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; gap: 10px; margin-right: -14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .case-teaser-screens::-webkit-scrollbar { display: none; }
  .case-teaser-screens figure { scroll-snap-align: start; }
  .offer-track { padding: 22px 18px; border-radius: 20px; }
  .offer-track h3 { font-size: 27px; }
  .offer-footer { padding: 18px; border-radius: 16px; }
  .offer-footer .inline-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .analytics-grid .analytics-caption { padding: 10px; }
}

/* Lessons library: one restrained palette with a single sales accent. */
body[data-page="lessons"] {
  --paper: #f1f4f2;
  --line: #d5dcd8;
  --muted: #65706c;
  --orange: #ff684f;
  --yellow: #ff684f;
  --cyan: #7ed7ee;
  background: var(--paper);
}
body[data-page="lessons"]::selection {
  color: var(--white);
  background: var(--orange);
}
body[data-page="lessons"] .site-header {
  background: rgba(8, 14, 15, .84);
  border-bottom-color: rgba(255,255,255,.1);
  box-shadow: 0 16px 40px rgba(4, 10, 11, .18);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
}
body[data-page="lessons"] .brand-mark {
  color: var(--white);
  background: var(--orange);
  border-color: rgba(255,255,255,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 8px 22px rgba(255,104,79,.2);
}
body[data-page="lessons"] .site-nav {
  background: rgba(255,255,255,.065);
  border-color: rgba(255,255,255,.11);
}
body[data-page="lessons"] .site-nav a:hover,
body[data-page="lessons"] .site-nav a.active {
  color: #101718;
  background: rgba(255,255,255,.94);
}
body[data-page="lessons"] .button-accent {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 12px 28px rgba(255,104,79,.22);
}
body[data-page="lessons"] .button-accent:hover {
  color: var(--white);
  background: #e95039;
  border-color: #e95039;
  box-shadow: 0 14px 32px rgba(232,80,57,.28);
}
body[data-page="lessons"] .page-hero {
  background-color: #0a1112;
  border-bottom-color: var(--orange);
}
body[data-page="lessons"] .page-hero::before {
  background: linear-gradient(90deg, rgba(6,11,12,.99) 0%, rgba(6,11,12,.91) 49%, rgba(6,11,12,.48) 78%, rgba(6,11,12,.72) 100%);
}
body[data-page="lessons"] .page-hero::after {
  border-color: rgba(126,215,238,.16);
}
body[data-page="lessons"] .page-hero .eyebrow.dark {
  color: #ff8c77;
}
body[data-page="lessons"] .page-hero-aside {
  border-left-color: var(--cyan);
}
body[data-page="lessons"] .library-section {
  background: #f1f4f2;
}
body[data-page="lessons"] .library-tools {
  border-color: rgba(32, 48, 45, .14);
  background: rgba(255,255,255,.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 18px 48px rgba(18,31,27,.09);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  backdrop-filter: blur(22px) saturate(135%);
}
body[data-page="lessons"] .lesson-search input {
  background: #edf1ef;
  border: 1px solid transparent;
}
body[data-page="lessons"] .lesson-search input:focus {
  border-color: rgba(126,215,238,.72);
  box-shadow: 0 0 0 3px rgba(126,215,238,.2);
}
body[data-page="lessons"] .lesson-filters button {
  color: #53605c;
  border: 1px solid transparent;
}
body[data-page="lessons"] .lesson-filters button:hover {
  color: #101718;
  background: #e8eeeb;
}
body[data-page="lessons"] .lesson-filters button.active {
  color: var(--white);
  background: #111a1c;
  border-color: #111a1c;
  box-shadow: inset 0 -2px 0 var(--cyan);
}
body[data-page="lessons"] .library-count {
  color: #69736f;
}
body[data-page="lessons"] .library-count strong {
  color: #101718;
}
body[data-page="lessons"] .lesson-card {
  overflow: hidden;
  border-color: rgba(33, 49, 45, .14);
  background: rgba(255,255,255,.88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 18px 46px rgba(19,33,28,.07);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
}
body[data-page="lessons"] .lesson-card:hover {
  border-color: rgba(255,104,79,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 26px 58px rgba(19,33,28,.13);
}
body[data-page="lessons"] .lesson-meta span {
  color: var(--orange);
}
body[data-page="lessons"] .lesson-card .text-link::before {
  background: var(--orange);
}
body[data-page="lessons"] .lesson-card .text-link:hover {
  color: #d94732;
}
body[data-page="lessons"] .conversion-split {
  background: #e8eeeb;
  border-top: 1px solid rgba(30, 47, 43, .1);
}
body[data-page="lessons"] .conversion-grid > div {
  border-color: rgba(30, 47, 43, .14);
  background: rgba(255,255,255,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 20px 52px rgba(18,31,27,.08);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  backdrop-filter: blur(20px) saturate(130%);
}
body[data-page="lessons"] .conversion-grid > div + div {
  color: var(--white);
  border-color: rgba(255,255,255,.11);
  background: #101819;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 24px 58px rgba(7,15,16,.17);
}
body[data-page="lessons"] .conversion-grid > div + div p:not(.eyebrow) {
  color: rgba(255,255,255,.62);
}
body[data-page="lessons"] .conversion-grid > div + div .eyebrow {
  color: var(--cyan);
}
body[data-page="lessons"] .conversion-grid > div + div .button-light {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}
body[data-page="lessons"] .conversion-grid > div + div .button-light:hover {
  background: #e95039;
  border-color: #e95039;
}
body[data-page="lessons"] .site-footer .brand-mark {
  color: var(--white);
  background: var(--orange);
}
body[data-page="lessons"] .mobile-primary {
  color: var(--white);
  background: #101819;
  border-color: var(--orange);
  box-shadow: 0 18px 42px rgba(5,12,13,.28), inset 0 -3px 0 var(--orange);
}

@media (max-width: 820px) {
  body[data-page="lessons"] .site-nav {
    background: rgba(8,14,15,.97);
  }
  body[data-page="lessons"] .library-tools {
    background: rgba(255,255,255,.9);
  }
}

/* Final 2026 polish: real lesson artwork and cohesive Liquid Glass surfaces. */
body[data-page="lessons"] .lessons-hero {
  position: relative;
  isolation: isolate;
  background-color: #071011;
  background-image: url("assets/lesson-cover-mini-film-v2.png");
  background-position: right 42% center;
  background-size: cover;
  background-repeat: no-repeat;
}

body[data-page="lessons"] .lessons-hero::before {
  background:
    linear-gradient(90deg, rgba(5, 12, 13, .99) 0%, rgba(5, 12, 13, .94) 43%, rgba(5, 12, 13, .5) 72%, rgba(5, 12, 13, .7) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), transparent 44%);
}

.lesson-preview .lesson-card,
body[data-page="lessons"] .lesson-card {
  border-color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .96),
    0 20px 54px rgba(18, 31, 27, .1);
  -webkit-backdrop-filter: blur(26px) saturate(165%);
  backdrop-filter: blur(26px) saturate(165%);
}

.lesson-preview .lesson-card:hover,
body[data-page="lessons"] .lesson-card:hover {
  border-color: rgba(255, 104, 79, .38);
  background: rgba(255, 255, 255, .8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 26px 64px rgba(18, 31, 27, .15),
    0 0 0 1px rgba(255, 104, 79, .08);
}

.lesson-preview .lesson-card-body {
  flex: 1;
}

@media (max-width: 560px) {
  body[data-page="lessons"] .lessons-hero {
    background-position: 58% center;
  }

  body[data-page="lessons"] .lessons-hero::before {
    background:
      linear-gradient(180deg, rgba(5, 12, 13, .9) 0%, rgba(5, 12, 13, .84) 47%, rgba(5, 12, 13, .98) 100%),
      linear-gradient(90deg, rgba(5, 12, 13, .72), rgba(5, 12, 13, .38));
  }
}

/* 2026 Liquid Glass system */
:root {
  --orange: #ff6b53;
  --yellow: #ffbe73;
  --mint: #73dfcb;
  --cyan: #86d9ff;
  --glass-light: rgba(255, 255, 255, .68);
  --glass-light-strong: rgba(255, 255, 255, .84);
  --glass-dark: rgba(7, 13, 14, .7);
  --glass-line: rgba(255, 255, 255, .56);
  --glass-dark-line: rgba(255, 255, 255, .14);
  --glass-shadow: 0 24px 64px rgba(20, 33, 29, .12);
  --spring: cubic-bezier(.2, .8, .2, 1);
}

body {
  background: #edf1ef;
}

.site-header {
  background: rgba(7, 13, 14, .7);
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  backdrop-filter: blur(32px) saturate(180%);
}

.brand-mark {
  color: var(--white);
  background: linear-gradient(145deg, #ff876f, #ff5f47);
  border-color: rgba(255, 255, 255, .48);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 8px 22px rgba(255, 84, 58, .2);
}

.site-nav {
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--glass-dark-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 30px rgba(0, 0, 0, .12);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  backdrop-filter: blur(22px) saturate(165%);
}

.site-nav a {
  padding: 9px 15px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .68);
  transition: color 220ms var(--spring), background 220ms var(--spring), box-shadow 220ms var(--spring), transform 220ms var(--spring);
}

.site-nav a:hover,
.site-nav a.active {
  color: #101718;
  background: rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .96), 0 7px 20px rgba(0, 0, 0, .14);
}

.site-nav a:active {
  transform: scale(.97);
}

.button,
.mobile-primary,
.lesson-filters button,
.nav-toggle {
  overflow: hidden;
  border-radius: 999px;
  transition: transform 260ms var(--spring), color 260ms var(--spring), background 260ms var(--spring), border-color 260ms var(--spring), box-shadow 260ms var(--spring);
}

.button {
  border-color: rgba(255, 255, 255, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), 0 12px 30px rgba(10, 18, 16, .12);
}

.button:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .48), 0 18px 38px rgba(10, 18, 16, .18);
}

.button:active,
.mobile-primary:active,
.lesson-filters button:active {
  transform: translateY(1px) scale(.98);
}

.button-accent {
  color: var(--white);
  background: linear-gradient(135deg, #ff8069, #ff5f47);
  border-color: rgba(255, 255, 255, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .46), 0 13px 30px rgba(222, 65, 39, .28);
}

.button-accent:hover {
  color: var(--white);
  background: linear-gradient(135deg, #ff8a75, #ff654d);
  border-color: rgba(255, 255, 255, .64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 19px 40px rgba(222, 65, 39, .32);
}

.button-dark {
  color: var(--white);
  background: rgba(9, 16, 17, .9);
  border-color: rgba(255, 255, 255, .15);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.button-light,
.button-outline {
  color: #11191a;
  background: rgba(255, 255, 255, .76);
  border-color: rgba(39, 55, 50, .17);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.button-light:hover,
.button-outline:hover {
  color: #11191a;
  background: rgba(255, 255, 255, .94);
  border-color: rgba(39, 55, 50, .22);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 14px 32px rgba(0, 0, 0, .14);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  backdrop-filter: blur(22px) saturate(165%);
}

.hero-results {
  border-color: rgba(255, 255, 255, .2);
  border-radius: 22px;
  background: rgba(7, 13, 14, .48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 24px 60px rgba(0, 0, 0, .2);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
  backdrop-filter: blur(28px) saturate(165%);
}

.page-hero-aside {
  padding: 18px 0 18px 24px;
  border-left-color: var(--cyan);
}

.library-tools,
.lesson-card,
.lesson-sidebar,
.practice-box,
.pricing-card,
.service-list > a,
.process-grid article,
.offer-track,
.offer-footer,
.conversion-grid > div,
.faq-list details {
  border: 1px solid rgba(56, 73, 67, .16);
  background: var(--glass-light);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92), var(--glass-shadow);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
  backdrop-filter: blur(24px) saturate(155%);
}

.library-tools {
  padding: 8px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
}

.lesson-search input {
  height: 46px;
  border: 1px solid rgba(48, 65, 59, .1);
  border-radius: 999px;
  background: rgba(238, 243, 240, .82);
  transition: background 220ms var(--spring), box-shadow 220ms var(--spring), border-color 220ms var(--spring);
}

.lesson-search input:focus {
  border-color: rgba(80, 181, 225, .56);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 0 0 4px rgba(105, 202, 244, .16);
}

.lesson-filters {
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(48, 65, 59, .09);
  border-radius: 999px;
  background: rgba(232, 238, 235, .72);
}

.lesson-filters button {
  min-height: 40px;
  padding: 0 15px;
  color: #66716d;
  background: transparent;
}

.lesson-filters button:hover,
.lesson-filters button.active,
body[data-page="lessons"] .lesson-filters button:hover,
body[data-page="lessons"] .lesson-filters button.active {
  color: #11191a;
  background: rgba(255, 255, 255, .94);
  box-shadow: inset 0 1px 0 var(--white), 0 8px 22px rgba(21, 35, 30, .12);
}

.lesson-card,
body[data-page="lessons"] .lesson-card {
  overflow: hidden;
  border-color: rgba(46, 63, 57, .14);
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .96), 0 20px 54px rgba(19, 33, 28, .09);
  transition: transform 340ms var(--spring), border-color 340ms var(--spring), box-shadow 340ms var(--spring);
}

.lesson-card:hover,
body[data-page="lessons"] .lesson-card:hover {
  border-color: rgba(255, 107, 83, .38);
  transform: translateY(-7px) scale(1.005);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 30px 68px rgba(19, 33, 28, .15);
}

.lesson-cover {
  aspect-ratio: 16 / 9;
  background: #11191a;
}

.lesson-cover img {
  object-fit: cover;
  transition: transform 600ms var(--spring), filter 600ms var(--spring);
}

.lesson-card:hover .lesson-cover img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.045);
}

.lesson-card-body {
  min-height: 230px;
}

.lesson-player-frame video,
.drive-player-frame,
.lesson-image-frame,
.lesson-video-placeholder {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 28px 70px rgba(4, 10, 11, .18);
}

.drive-video-preview::after {
  color: var(--white);
  background: rgba(8, 15, 16, .68);
  border-color: rgba(255, 255, 255, .4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 18px 48px rgba(0, 0, 0, .32);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
}

.drive-video-preview:hover::after {
  color: var(--white);
  background: rgba(255, 107, 83, .9);
}

.lesson-sidebar,
.practice-box,
.pricing-card {
  border-radius: 24px;
}

.service-list {
  gap: 12px;
}

.service-list > a {
  border-radius: 22px;
  transition: transform 300ms var(--spring), color 300ms var(--spring), background 300ms var(--spring), border-color 300ms var(--spring), box-shadow 300ms var(--spring);
}

.service-list > a:hover {
  padding-right: 24px;
  padding-left: 24px;
  color: var(--white);
  background: rgba(10, 17, 18, .92);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 26px 58px rgba(7, 14, 15, .2);
  transform: translateY(-4px);
}

.process-grid {
  gap: 12px;
}

.process-grid article {
  border-radius: 22px;
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 20px 48px rgba(0, 0, 0, .12);
}

.pricing-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .96), 0 24px 62px rgba(18, 31, 27, .1);
}

.offer-section {
  background: linear-gradient(180deg, #eef2f0, #e8eeeb);
}

.offer-section::before {
  display: none;
}

.offer-track {
  border-radius: 26px;
  background: rgba(255, 255, 255, .65);
}

.offer-footer {
  border-radius: 22px;
  background: rgba(255, 255, 255, .58);
}

.conversion-grid > div,
.faq-list details {
  border-radius: 24px;
}

body[data-page="lessons"] .conversion-grid > div + div {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(8, 15, 16, .9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 28px 64px rgba(7, 15, 16, .2);
}

body[data-page="lessons"] .conversion-grid > div + div .button-light {
  color: var(--white);
  background: linear-gradient(135deg, #ff8069, #ff5f47);
  border-color: rgba(255, 255, 255, .46);
}

.mobile-primary {
  color: var(--white);
  background: rgba(9, 16, 17, .9);
  border-color: rgba(255, 255, 255, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 20px 46px rgba(5, 12, 13, .3);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
}

@media (max-width: 820px) {
  .site-nav,
  body[data-page="lessons"] .site-nav {
    top: 74px;
    right: 14px;
    left: 14px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 24px;
    background: rgba(7, 13, 14, .88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 24px 56px rgba(0, 0, 0, .28);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    backdrop-filter: blur(30px) saturate(180%);
  }

  .site-nav a {
    padding: 13px 15px;
    border-bottom-color: rgba(255, 255, 255, .08);
  }

  .nav-toggle {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  }

  .library-tools {
    border-radius: 20px;
  }
}

@media (max-width: 560px) {
  .site-nav,
  body[data-page="lessons"] .site-nav {
    top: 66px;
  }

  .library-tools {
    padding: 7px;
    border-radius: 20px;
  }

  .lesson-filters {
    border-radius: 18px;
  }

  .lesson-card,
  body[data-page="lessons"] .lesson-card,
  .lesson-sidebar,
  .practice-box,
  .pricing-card,
  .conversion-grid > div {
    border-radius: 20px;
  }

  .lesson-card-body {
    min-height: 0;
  }

  .lesson-player-frame video,
  .drive-player-frame,
  .lesson-image-frame,
  .lesson-video-placeholder {
    border-radius: 20px;
  }

  .mobile-primary {
    right: 8px;
    bottom: 8px;
    left: 8px;
    border-width: 1px;
    border-radius: 999px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .mobile-primary,
  .lesson-card,
  .lesson-cover img,
  .service-list > a,
  .site-nav a {
    transition: none;
  }
}

/* Final Liquid Glass polish: lime actions and portrait product screens */
:root {
  --lime: #d8ff52;
  --lime-bright: #e8ff87;
  --lime-deep: #b7ed38;
  --lime-glow: rgba(198, 255, 70, .28);
}

.site-header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 62%),
    rgba(6, 13, 14, .72);
  border-bottom-color: rgba(255, 255, 255, .18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .15),
    0 18px 50px rgba(0, 0, 0, .2);
  -webkit-backdrop-filter: blur(36px) saturate(190%);
  backdrop-filter: blur(36px) saturate(190%);
}

.brand-mark {
  color: #09100e;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0) 46%),
    linear-gradient(145deg, var(--lime-bright), var(--lime-deep));
  border-color: rgba(255, 255, 255, .76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .98),
    inset 0 -1px 0 rgba(73, 103, 20, .24),
    0 10px 28px var(--lime-glow);
}

.button-accent,
.button-dark,
.pricing-card > .button,
.mobile-primary {
  color: #09100e;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0) 45%),
    linear-gradient(135deg, var(--lime-bright) 0%, var(--lime) 52%, var(--lime-deep) 100%);
  border-color: rgba(255, 255, 255, .78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .98),
    inset 0 -1px 0 rgba(72, 103, 18, .25),
    0 14px 34px var(--lime-glow);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
}

.button-accent:hover,
.button-dark:hover,
.pricing-card > .button:hover,
.mobile-primary:hover {
  color: #07100c;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, 0) 46%),
    linear-gradient(135deg, #efffa6 0%, #ddff61 52%, #c2f341 100%);
  border-color: rgba(255, 255, 255, .94);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(72, 103, 18, .22),
    0 20px 44px rgba(198, 255, 70, .36);
}

.site-nav a.active {
  color: #09100e;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .64), rgba(255, 255, 255, 0) 48%),
    rgba(216, 255, 82, .92);
  border: 1px solid rgba(255, 255, 255, .58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    0 8px 24px rgba(190, 249, 55, .18);
}

body[data-page="pricing"] .pricing-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(238, 245, 241, .62));
  border-color: rgba(255, 255, 255, .82);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(56, 76, 68, .08),
    0 28px 70px rgba(18, 31, 27, .13);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  backdrop-filter: blur(32px) saturate(180%);
}

body[data-page="pricing"] .max-plan {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(31, 43, 40, .91), rgba(5, 12, 13, .93));
  border-color: rgba(216, 255, 82, .34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -1px 0 rgba(255, 255, 255, .04),
    0 30px 76px rgba(4, 10, 10, .25),
    0 0 0 1px rgba(216, 255, 82, .08);
}

body[data-page="pricing"] .max-plan h2,
body[data-page="pricing"] .max-plan .plan-head strong,
body[data-page="pricing"] .max-plan li {
  color: #fff;
}

body[data-page="pricing"] .max-plan .plan-head s {
  color: rgba(255, 255, 255, .5);
}

body[data-page="pricing"] .max-plan .plan-summary {
  color: rgba(255, 255, 255, .72);
}

body[data-page="pricing"] .max-plan li {
  border-color: rgba(255, 255, 255, .16);
}

body[data-page="pricing"] .max-plan li::before {
  color: var(--lime);
}

body[data-page="pricing"] .plan-badge {
  color: #09100e;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0) 48%),
    rgba(216, 255, 82, .9);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .96),
    0 12px 28px rgba(179, 234, 48, .22);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
}

body[data-page="services"] .myskazka-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 64px;
}

body[data-page="services"] .case-slider {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .025)),
    rgba(18, 13, 42, .9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    inset 0 -1px 0 rgba(255, 255, 255, .04),
    0 30px 74px rgba(20, 12, 51, .24);
  -webkit-backdrop-filter: blur(28px) saturate(175%);
  backdrop-filter: blur(28px) saturate(175%);
}

body[data-page="services"] .slider-viewport {
  min-height: 0;
  aspect-ratio: 3 / 5;
  background: transparent;
}

body[data-page="services"] .slider-viewport figure {
  grid-template-rows: minmax(0, 1fr) 60px;
}

body[data-page="services"] .slider-viewport figure.active {
  display: grid;
}

body[data-page="services"] .slider-viewport img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: transparent;
}

body[data-page="services"] .slider-viewport figcaption {
  height: auto;
  min-height: 60px;
  background: rgba(14, 10, 34, .72);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}

body[data-page="services"] .slider-controls {
  background: rgba(11, 8, 28, .76);
  border-top-color: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  backdrop-filter: blur(22px) saturate(165%);
}

body[data-page="services"] .slider-controls button {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}

@media (max-width: 820px) {
  body[data-page="services"] .myskazka-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  body[data-page="services"] .case-slider {
    width: min(100%, 520px);
    justify-self: center;
  }
}

@media (max-width: 560px) {
  body[data-page="services"] .case-slider {
    border-radius: 22px;
  }

  body[data-page="services"] .slider-viewport {
    min-height: 0;
    aspect-ratio: 3 / 5;
  }

  body[data-page="services"] .slider-viewport img {
    height: 100%;
  }
}

/* July 16 corrections: compact pricing, readable service card and one green action system. */
body[data-page="home"] .offer-track.offer-services {
  color: #fff;
  border-color: rgba(216, 255, 82, .24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .025) 42%),
    rgba(7, 14, 15, .92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 28px 64px rgba(5, 12, 13, .18);
}

body[data-page="home"] .offer-track.offer-services h3,
body[data-page="home"] .offer-track.offer-services h4 {
  color: #fff;
}

body[data-page="home"] .offer-track.offer-services header > span,
body[data-page="home"] .offer-track.offer-services li > b {
  color: var(--lime);
}

body[data-page="home"] .offer-track.offer-services header p,
body[data-page="home"] .offer-track.offer-services li p {
  color: rgba(255, 255, 255, .67);
}

body[data-page="home"] .offer-track.offer-services ol {
  border-top-color: rgba(255, 255, 255, .14);
}

body[data-page="home"] .offer-track.offer-services li {
  border-bottom-color: rgba(255, 255, 255, .14);
}

body[data-page="pricing"] .pricing-hero {
  min-height: 0;
  padding: 36px 0 32px;
  border-bottom-color: var(--lime);
}

body[data-page="pricing"] .pricing-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
  align-items: end;
  gap: 48px;
}

body[data-page="pricing"] .pricing-hero h1 {
  max-width: none;
  font-size: clamp(42px, 5vw, 68px);
}

body[data-page="pricing"] .pricing-hero-inner > p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 16px;
  line-height: 1.5;
}

body[data-page="pricing"] .pricing-faq {
  padding: 48px 0;
  background: #071011;
}

body[data-page="pricing"] .pricing-faq .faq-grid {
  grid-template-columns: minmax(210px, .48fr) minmax(0, 1.52fr);
  align-items: start;
  gap: 38px;
}

body[data-page="pricing"] .pricing-faq h2 {
  color: #fff;
  font-size: clamp(34px, 4vw, 48px);
}

body[data-page="pricing"] .faq-list {
  display: grid;
  gap: 8px;
  border: 0;
}

body[data-page="pricing"] .faq-list details {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035)),
    rgba(255, 255, 255, .02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 14px 30px rgba(0, 0, 0, .12);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

body[data-page="pricing"] .faq-list details[open] {
  border-color: rgba(216, 255, 82, .34);
  background:
    linear-gradient(145deg, rgba(216, 255, 82, .1), rgba(255, 255, 255, .04)),
    rgba(255, 255, 255, .025);
}

body[data-page="pricing"] .faq-list summary {
  padding: 16px 50px 16px 18px;
  color: #fff;
  font-size: 15px;
}

body[data-page="pricing"] .faq-list summary::after {
  top: 12px;
  right: 18px;
  color: var(--lime);
}

body[data-page="pricing"] .faq-list p {
  padding: 0 48px 16px 18px;
  color: rgba(255, 255, 255, .65);
}

body[data-page="lessons"] {
  --orange: var(--lime);
  --yellow: var(--lime);
}

body[data-page="lessons"]::selection {
  color: #09100e;
  background: var(--lime);
}

body[data-page="lessons"] .brand-mark,
body[data-page="lessons"] .site-footer .brand-mark {
  color: #09100e;
  border-color: rgba(255, 255, 255, .76);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0) 46%),
    linear-gradient(145deg, var(--lime-bright), var(--lime-deep));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .98),
    0 10px 28px var(--lime-glow);
}

body[data-page="lessons"] .button-accent,
body[data-page="lessons"] .conversion-grid > div + div .button-light,
body[data-page="lessons"] .mobile-primary {
  color: #09100e;
  border-color: rgba(216, 255, 82, .72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0) 45%),
    linear-gradient(135deg, var(--lime-bright), var(--lime) 52%, var(--lime-deep));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .98),
    0 14px 34px var(--lime-glow);
}

body[data-page="lessons"] .button-accent:hover,
body[data-page="lessons"] .conversion-grid > div + div .button-light:hover,
body[data-page="lessons"] .mobile-primary:hover {
  color: #09100e;
  border-color: rgba(216, 255, 82, .92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .04) 45%),
    linear-gradient(135deg, #efffa8, var(--lime) 58%, var(--lime-deep));
  box-shadow:
    inset 0 1px 0 #fff,
    0 18px 40px rgba(198, 255, 70, .34);
}

body[data-page="lessons"] .page-hero {
  border-bottom-color: var(--lime);
}

body[data-page="lessons"] .page-hero .eyebrow.dark,
body[data-page="lessons"] .conversion-grid > div + div .eyebrow {
  color: var(--lime);
}

body[data-page="lessons"] .page-hero-aside {
  border-left-color: var(--lime);
}

body[data-page="lessons"] .lesson-search input:focus {
  border-color: rgba(183, 237, 56, .72);
  box-shadow: 0 0 0 4px rgba(216, 255, 82, .18);
}

body[data-page="lessons"] .lesson-filters button.active {
  box-shadow: inset 0 -2px 0 var(--lime);
}

body[data-page="lessons"] .lesson-card:hover {
  border-color: rgba(183, 237, 56, .7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .98),
    0 26px 58px rgba(19, 33, 28, .13),
    0 0 0 3px rgba(216, 255, 82, .12);
}

body[data-page="lessons"] .lesson-meta span {
  color: #66830f;
}

body[data-page="lessons"] .lesson-card .text-link::before {
  background: var(--lime-deep);
}

body[data-page="lessons"] .lesson-card .text-link:hover {
  color: #55720d;
}

body[data-page="lessons"] .lesson-card .lesson-card-button {
  width: 100%;
  min-height: 52px;
  gap: 12px;
  margin-top: auto;
  border-radius: 999px;
  font-size: 14px;
}

body[data-page="lessons"] .lesson-card .lesson-card-button b {
  font-size: 18px;
  line-height: 1;
  transition: transform 180ms ease;
}

body[data-page="lessons"] .lesson-card .lesson-card-button:hover b {
  transform: translateX(4px);
}

/* Reveal motion must never make text or controls unreadable before scrolling. */
.reveal {
  opacity: 1;
}

@media (max-width: 820px) {
  body[data-page="pricing"] .pricing-hero {
    padding: 28px 0 25px;
  }

  body[data-page="pricing"] .pricing-hero-inner,
  body[data-page="pricing"] .pricing-faq .faq-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="pricing"] .pricing-hero-inner {
    gap: 12px;
  }

  body[data-page="pricing"] .pricing-hero h1 {
    font-size: 42px;
  }

  body[data-page="pricing"] .pricing-faq {
    padding: 38px 0;
  }

  body[data-page="pricing"] .pricing-faq .faq-grid {
    gap: 20px;
  }
}

/* YouTube proof: real Studio screenshots in a separate platform section. */
.youtube-results {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(216, 255, 82, .045), transparent 36%),
    #071011;
}

.youtube-results::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background-image: linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 100% 72px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.youtube-results .shell {
  position: relative;
  z-index: 1;
}

.youtube-results-heading .eyebrow,
.youtube-geography-heading .eyebrow {
  color: var(--lime);
}

.youtube-results-heading h2,
.youtube-geography-heading h3 {
  color: #fff;
}

.youtube-results-heading > p,
.youtube-geography-heading > p {
  color: rgba(255, 255, 255, .64);
}

.youtube-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin-top: 30px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .025)),
    rgba(255, 255, 255, .035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 28px 70px rgba(0, 0, 0, .22);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
  backdrop-filter: blur(24px) saturate(155%);
}

.youtube-summary > div {
  display: grid;
  gap: 6px;
  padding: 25px 28px;
}

.youtube-summary > div + div {
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.youtube-summary strong {
  color: var(--lime);
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: .95;
  letter-spacing: 0;
}

.youtube-summary span {
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
}

.youtube-shot-rail {
  --youtube-shot-gap: 16px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--youtube-shot-gap) * 2)) / 3);
  gap: var(--youtube-shot-gap);
  overflow-x: auto;
  padding: 24px 0 14px;
  scroll-padding-inline: 0;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(216, 255, 82, .6) rgba(255, 255, 255, .06);
  scrollbar-width: thin;
}

.youtube-shot,
.youtube-geo-card {
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025)),
    rgba(255, 255, 255, .03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 24px 54px rgba(0, 0, 0, .2);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.youtube-shot {
  scroll-snap-stop: always;
}

.youtube-shot {
  border-radius: 24px;
  scroll-snap-align: start;
}

.youtube-shot:hover,
.youtube-geo-card:hover {
  border-color: rgba(216, 255, 82, .42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 30px 68px rgba(0, 0, 0, .3),
    0 0 0 3px rgba(216, 255, 82, .07);
  transform: translateY(-3px);
}

.youtube-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: #101010;
}

.youtube-shot-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 20px;
}

.youtube-shot-caption b {
  color: #fff;
  font-size: 17px;
}

.youtube-shot-caption span {
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
  white-space: nowrap;
}

.youtube-geography-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .5fr);
  align-items: end;
  gap: 44px;
  margin: 48px 0 18px;
}

.youtube-geography-heading h3 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: .98;
}

.youtube-geography-heading > p {
  max-width: 440px;
  margin: 0;
  line-height: 1.55;
}

.youtube-geo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.youtube-geo-card {
  border-radius: 24px;
}

.youtube-geo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.66 / 1;
  object-fit: cover;
  background: #101010;
}

.youtube-geo-card > span {
  display: grid;
  gap: 5px;
  padding: 18px 20px 20px;
}

.youtube-geo-card b {
  color: #fff;
  font-size: 17px;
}

.youtube-geo-card small {
  color: rgba(255, 255, 255, .57);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 820px) {
  .youtube-summary {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .youtube-summary > div {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 18px 20px;
  }

  .youtube-summary > div + div {
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-left: 0;
  }

  .youtube-summary strong {
    font-size: 34px;
  }

  .youtube-summary span {
    text-align: right;
  }

  .youtube-shot-rail {
    grid-auto-columns: min(88%, 560px);
  }

  .youtube-geography-heading,
  .youtube-geo-grid {
    grid-template-columns: 1fr;
  }

  .youtube-geography-heading {
    gap: 12px;
    margin-top: 40px;
  }
}

@media (max-width: 1100px) and (min-width: 821px) {
  .youtube-shot-rail {
    grid-auto-columns: calc((100% - var(--youtube-shot-gap)) / 2);
  }
}

@media (max-width: 560px) {
  .youtube-results {
    padding-block: 52px;
  }

  .youtube-shot-rail {
    grid-auto-columns: 92%;
    gap: 12px;
  }

  .youtube-shot,
  .youtube-geo-card {
    border-radius: 20px;
  }

  .youtube-shot-caption {
    display: grid;
    gap: 4px;
    padding: 15px 16px 17px;
  }

  .youtube-shot-caption span {
    white-space: normal;
  }

  .youtube-geo-card > span {
    padding: 15px 16px 17px;
  }
}

/* Three distinct training formats */
body[data-page="pricing"] .pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-page="pricing"] .pricing-card {
  min-height: 710px;
}

body[data-page="pricing"] .blogger-plan {
  border-color: rgba(164, 211, 42, .42);
  background:
    linear-gradient(145deg, rgba(216, 255, 82, .18), rgba(255, 255, 255, .76) 44%),
    rgba(255, 255, 255, .74);
}

body[data-page="pricing"] .blogger-plan .plan-head p,
body[data-page="pricing"] .blogger-plan li::before {
  color: #66830f;
}

body[data-page="pricing"] .comparison-row {
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(96px, 140px));
}

@media (max-width: 1180px) and (min-width: 821px) {
  body[data-page="pricing"] .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="pricing"] .max-plan {
    grid-column: 1 / -1;
    min-height: 0;
  }
}

@media (max-width: 820px) {
  body[data-page="pricing"] .pricing-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="pricing"] .max-plan {
    grid-column: auto;
  }

  body[data-page="pricing"] .pricing-card {
    min-height: 0;
  }

  body[data-page="pricing"] .comparison-table {
    overflow-x: auto;
  }

  body[data-page="pricing"] .comparison-row {
    min-width: 640px;
    grid-template-columns: minmax(220px, 1fr) repeat(3, 100px);
  }
}
