:root {
  --ink: #0b0d0f;
  --ink-soft: #161a1e;
  --paper: #f5f4ef;
  --white: #ffffff;
  --line: #d9d9d3;
  --muted: #60666c;
  --orange: #ff5a36;
  --blue: #2457ff;
  --navy: #112a61;
  --mint: #39c890;
  --yellow: #ffd34f;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; }
button, a { -webkit-font-smoothing: antialiased; }
.shell { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 80; height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); background: rgba(245, 244, 239, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { width: fit-content; display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 900; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--white); background: var(--blue); border-radius: 4px; font-weight: 900; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 800; }
.site-nav a { position: relative; padding: 26px 0; }
.site-nav a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--orange); content: ""; transform: scaleX(0); transition: transform 180ms ease; }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.site-nav a:hover, .site-nav a.active { color: var(--orange); }
.header-action { justify-self: end; }
.nav-toggle { display: none; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: 900; transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-large { min-height: 58px; padding: 0 30px; font-size: 15px; }
.button-accent { color: var(--white); background: var(--orange); box-shadow: 0 7px 0 rgba(135, 38, 15, .25); }
.button-accent:hover { box-shadow: 0 4px 0 rgba(135, 38, 15, .25); }
.button-dark { color: var(--white); background: var(--ink); }
.button-light { color: var(--ink); background: var(--white); }
.button-outline { border-color: var(--ink); background: transparent; }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.65); background: rgba(11,13,15,.3); }
.text-link { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: var(--blue); font-size: 14px; font-weight: 900; }
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(4px); }
.light-link { color: var(--white); }
.muted-link { color: var(--muted); }
.inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

.eyebrow { margin: 0 0 16px; color: var(--yellow); font-size: 11px; line-height: 1.4; font-weight: 900; text-transform: uppercase; }
.eyebrow.dark { color: var(--orange); }
.compact-section { padding: 78px 0; }
.dark-band { color: var(--white); background: var(--ink); }
.blue-band { color: var(--white); background: var(--navy); }
.section-heading { margin-bottom: 34px; }
.section-heading h2, .final-band h2 { margin: 0; font-size: 48px; line-height: 1.02; font-weight: 900; }
.split-heading, .heading-action { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: end; gap: 70px; }
.split-heading > p, .heading-action > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.dark-band .split-heading > p, .dark-band .heading-action > p { color: rgba(255,255,255,.65); }
.heading-action .button { justify-self: end; }

/* Home */
.hero { position: relative; min-height: 640px; height: calc(100svh - 72px); max-height: 900px; overflow: hidden; color: var(--white); background: var(--ink); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 26%; }
.hero-shade { position: absolute; inset: 0; background: rgba(3,5,7,.68); }
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 44px 0 30px; }
.hero h1 { max-width: 930px; margin: 0; font-size: 72px; line-height: .98; font-weight: 900; }
.hero-copy { max-width: 710px; margin: 26px 0 0; color: rgba(255,255,255,.84); font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-results { width: min(860px, 100%); display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 38px; border-top: 1px solid rgba(255,255,255,.36); }
.hero-results div { min-height: 82px; display: flex; flex-direction: column; justify-content: center; padding: 13px 22px; border-right: 1px solid rgba(255,255,255,.26); }
.hero-results div:first-child { padding-left: 0; }
.hero-results div:last-child { border-right: 0; }
.hero-results strong { font-size: 25px; }
.hero-results span { margin-top: 5px; color: rgba(255,255,255,.67); font-size: 12px; }

.path-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.path-link { min-height: 250px; display: grid; grid-template-columns: 44px 1fr 32px; align-items: start; gap: 18px; padding: 34px; transition: color 180ms ease, background 180ms ease; }
.path-link + .path-link { border-left: 1px solid var(--ink); }
.path-link:hover { color: var(--white); background: var(--blue); }
.path-build { background: var(--mint); }
.path-number { font-size: 12px; font-weight: 900; }
.path-link small { font-size: 11px; font-weight: 900; }
.path-link h3 { max-width: 420px; margin: 32px 0 12px; font-size: 31px; line-height: 1.04; }
.path-link p { max-width: 430px; margin: 0; color: var(--muted); line-height: 1.5; }
.path-link:hover p { color: rgba(255,255,255,.74); }
.path-link b { align-self: center; font-size: 24px; }

.proof-teaser-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 70px; }
.proof-copy h2 { max-width: 500px; margin: 0; font-size: 52px; line-height: 1.02; }
.proof-copy > p:not(.eyebrow) { max-width: 500px; margin: 22px 0 28px; color: rgba(255,255,255,.68); font-size: 16px; line-height: 1.65; }
.proof-video video { width: 100%; max-height: 470px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #000; }
.proof-video > div { display: flex; align-items: baseline; gap: 12px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.proof-video strong { font-size: 25px; }
.proof-video span { color: rgba(255,255,255,.62); font-size: 13px; }

.lesson-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lesson-card { min-width: 0; height: 100%; display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 6px; transition: transform 180ms ease, box-shadow 180ms ease; }
.lesson-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(11,13,15,.1); }
.lesson-cover { position: relative; aspect-ratio: 16 / 9; display: block; overflow: hidden; background: var(--ink); }
.lesson-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.lesson-card:hover .lesson-cover img { transform: scale(1.025); }
.lesson-card-body { min-height: 270px; display: flex; flex-direction: column; align-items: flex-start; padding: 22px; }
.lesson-meta { width: 100%; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; font-weight: 900; }
.lesson-meta span { color: var(--orange); }
.lesson-meta time { margin-left: auto; }
.lesson-card h2, .lesson-card h3 { margin: 22px 0 10px; font-size: 25px; line-height: 1.08; }
.lesson-card-body > p { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.lesson-card-body .text-link { margin-top: auto; }
.carousel-cover { display: flex; align-items: center; justify-content: center; gap: 0; background: var(--yellow); }
.slide-sheet { width: 31%; height: 68%; display: grid; place-items: center; border: 2px solid var(--ink); background: var(--white); font-size: 28px; font-weight: 900; box-shadow: 8px 8px 0 rgba(11,13,15,.14); }
.slide-two { transform: translateY(-6px); color: var(--white); background: var(--blue); }
.slide-three { color: var(--white); background: var(--orange); }
.cover-label { position: absolute; top: 12px; left: 12px; padding: 7px 9px; color: var(--white); background: var(--ink); border-radius: 3px; font-size: 9px; font-weight: 900; }

.case-teaser-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 70px; }
.case-teaser-copy h2 { margin: 0; font-size: 49px; line-height: 1.03; }
.case-teaser-copy > p:not(.eyebrow) { margin: 22px 0 28px; color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.6; }
.case-teaser-screens { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-height: 580px; overflow: hidden; }
.case-teaser-screens img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; border: 1px solid rgba(255,255,255,.28); border-radius: 6px; }

.price-rows { border-top: 2px solid var(--ink); }
.price-rows a { min-height: 105px; display: grid; grid-template-columns: 160px 1fr 150px 28px; align-items: center; gap: 20px; padding: 0 22px; border-bottom: 1px solid var(--line); transition: color 180ms ease, background 180ms ease; }
.price-rows a:hover { color: var(--white); background: var(--blue); }
.price-row-main { background: var(--yellow); }
.price-rows span { font-size: 12px; font-weight: 900; }
.price-rows p { color: var(--muted); font-size: 15px; }
.price-rows a:hover p { color: rgba(255,255,255,.74); }
.price-rows strong { font-size: 25px; text-align: right; }
.price-rows b { font-size: 22px; }

.final-band { padding: 62px 0; color: var(--white); background: var(--ink); }
.final-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.final-band h2 { max-width: 780px; font-size: 44px; }

/* Shared page hero */
.page-hero { padding: 78px 0 68px; background: var(--white); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 70px; align-items: end; }
.page-hero h1 { max-width: 860px; margin: 0; font-size: 66px; line-height: .98; font-weight: 900; }
.page-hero-aside { padding-left: 28px; border-left: 3px solid var(--orange); }
.page-hero-aside strong { display: block; font-size: 28px; }
.page-hero-aside p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.dark-page-hero { color: var(--white); background: var(--ink); }
.dark-page-hero .page-hero-aside p { color: rgba(255,255,255,.66); }

/* Library */
.library-section { padding: 44px 0 80px; }
.library-tools { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(500px, 1.35fr) auto; align-items: center; gap: 18px; margin-bottom: 30px; }
.lesson-search { position: relative; }
.lesson-search input { width: 100%; height: 48px; padding: 0 44px 0 16px; border: 1px solid var(--ink); border-radius: 4px; color: var(--ink); background: var(--white); outline: none; }
.lesson-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,87,255,.14); }
.lesson-search b { position: absolute; top: 50%; right: 15px; transform: translateY(-50%); font-size: 20px; }
.lesson-filters { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.lesson-filters::-webkit-scrollbar { display: none; }
.lesson-filters button { min-height: 42px; padding: 0 15px; white-space: nowrap; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; color: var(--ink); background: var(--white); font-size: 12px; font-weight: 850; }
.lesson-filters button:hover, .lesson-filters button.active { color: var(--white); border-color: var(--ink); background: var(--ink); }
.library-count { margin: 0; white-space: nowrap; color: var(--muted); font-size: 13px; }
.library-count strong { color: var(--ink); }
.library-grid { row-gap: 22px; }
.library-grid .lesson-card[hidden] { display: none; }
.library-empty { padding: 38px; text-align: center; border: 1px dashed var(--line); color: var(--muted); background: var(--white); }
.portrait-cover img { object-position: top; }
.agent-cover { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 26px; background: #dff7ee; }
.agent-node { padding: 14px 10px; border: 1px solid var(--ink); background: var(--white); font-size: 10px; font-weight: 900; }
.accent-node { color: var(--white); background: var(--blue); }
.agent-cover i { font-style: normal; font-weight: 900; }
.conversion-split { padding-top: 0; }
.conversion-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.conversion-grid > div { min-height: 360px; display: flex; flex-direction: column; align-items: flex-start; padding: 42px; }
.conversion-grid > div + div { color: var(--white); background: var(--blue); }
.conversion-grid h2 { margin: 0; font-size: 38px; line-height: 1.04; }
.conversion-grid p:not(.eyebrow) { max-width: 470px; margin: 18px 0 28px; color: var(--muted); line-height: 1.55; }
.conversion-grid > div + div p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.conversion-grid .button { margin-top: auto; }

/* Lesson detail */
.breadcrumb { display: flex; gap: 9px; padding-top: 24px; color: var(--muted); font-size: 12px; }
.breadcrumb a { color: var(--blue); font-weight: 800; }
.lesson-detail-section { padding: 24px 0 78px; }
.lesson-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 34px; }
.lesson-main { min-width: 0; }
.lesson-video-placeholder { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; color: var(--white); background: var(--ink); border-radius: 6px; }
.lesson-video-placeholder::before { position: absolute; inset: 14% 9%; border: 1px solid rgba(255,255,255,.2); content: ""; }
.lesson-video-placeholder .placeholder-play { position: relative; z-index: 2; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--yellow); }
.lesson-video-placeholder .placeholder-play b { margin-left: 4px; font-size: 22px; }
.lesson-video-placeholder > p { position: absolute; bottom: 24px; left: 28px; z-index: 2; margin: 0; font-size: 21px; font-weight: 900; }
.lesson-player-frame, .lesson-image-frame, .lesson-video-placeholder { width: 100%; aspect-ratio: 16 / 9; }
.lesson-player-frame video { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 6px; background: #000; }
.drive-player-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #000; }
.drive-player-frame iframe { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.drive-video-preview { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; padding: 0; overflow: hidden; cursor: pointer; border: 0; background: #000; }
.drive-video-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.drive-video-preview::after { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; display: grid; place-items: center; color: var(--ink); background: var(--yellow); border: 1px solid rgba(255,255,255,.5); border-radius: 50%; box-shadow: 0 18px 46px rgba(0,0,0,.3); content: "▶"; font-size: 24px; transform: translate(-50%, -50%); transition: transform 180ms ease, background 180ms ease; }
.drive-video-preview:hover::after { background: var(--orange); transform: translate(-50%, -50%) scale(1.06); }
.drive-video-preview[hidden] { display: none; }
.drive-player-frame.is-playing .drive-video-preview { display: none; }
.drive-player-frame.is-playing::after {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
  width: 72px;
  height: 64px;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border: 10px solid rgba(7, 9, 11, .94);
  border-radius: 0 6px 0 17px;
  box-shadow: -8px 8px 24px rgba(0, 0, 0, .2);
  content: "N";
  cursor: default;
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
  pointer-events: auto;
  user-select: none;
}
.lesson-download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin: 0 0 30px;
  padding: 26px 28px;
  overflow: hidden;
  color: var(--white);
  border: 1px solid #2d3839;
  border-radius: 24px;
  background: var(--ink);
  box-shadow: 0 18px 44px rgba(11, 13, 15, 0.12);
}
.lesson-download-copy { min-width: 0; }
.lesson-download-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.lesson-download-card h2 { margin: 0 0 8px; font-size: 27px; line-height: 1.08; }
.lesson-download-card p { max-width: 650px; margin: 0; color: rgba(255, 255, 255, 0.68); line-height: 1.5; }
.lesson-download-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  white-space: nowrap;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  font-size: 13px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lesson-download-button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22); }
.lesson-download-button span { font-size: 18px; transition: transform 0.2s ease; }
.lesson-download-button:hover span { transform: translateY(3px); }
.lesson-image-frame { position: relative; overflow: hidden; border-radius: 6px; background: var(--white); border: 1px solid var(--line); }
.lesson-image-frame img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lesson-image-frame span { position: absolute; top: 14px; left: 14px; padding: 8px 10px; color: var(--white); background: var(--ink); border-radius: 3px; font-size: 10px; font-weight: 900; }
.carousel-demo { position: absolute; inset: 15% 10%; display: flex; align-items: center; justify-content: center; opacity: .42; }
.carousel-demo span { width: 29%; height: 65%; display: grid; place-items: center; border: 2px solid var(--white); font-size: 42px; font-weight: 900; }
.carousel-demo span:nth-child(2) { color: var(--white); background: var(--blue); transform: translateY(-10px); }
.carousel-demo span:nth-child(3) { background: var(--orange); }
.lesson-title-block { padding: 30px 0 26px; border-bottom: 1px solid var(--line); }
.lesson-title-block .lesson-meta { max-width: 360px; }
.lesson-title-block .lesson-meta b { padding: 5px 7px; color: var(--ink); background: var(--yellow); border-radius: 3px; font-size: 9px; }
.lesson-title-block h1 { max-width: 790px; margin: 18px 0 12px; font-size: 50px; line-height: 1; }
.lesson-title-block > p { max-width: 760px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.lesson-content-block { padding: 34px 0; }
.lesson-content-block h2, .practice-box h2 { margin: 0 0 22px; font-size: 31px; }
.lesson-content-block ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.lesson-content-block li { display: grid; grid-template-columns: 50px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.lesson-content-block li > span { color: var(--orange); font-size: 12px; font-weight: 900; }
.lesson-content-block li strong { font-size: 17px; }
.lesson-content-block li p { margin: 6px 0 0; color: var(--muted); line-height: 1.5; }
.practice-box { padding: 30px; border-left: 6px solid var(--orange); background: var(--white); }
.practice-box > span { display: block; margin-bottom: 14px; color: var(--orange); font-size: 10px; font-weight: 900; }
.practice-box p { margin: 0; color: var(--muted); line-height: 1.55; }
.lesson-sidebar { position: sticky; top: 96px; border: 1px solid var(--line); background: var(--white); }
.sidebar-progress { padding: 22px; border-bottom: 1px solid var(--line); }
.sidebar-progress > span { display: block; color: var(--orange); font-size: 10px; font-weight: 900; }
.sidebar-progress strong { display: block; margin: 8px 0 14px; }
.sidebar-progress > div { height: 5px; background: #e7e7e2; }
.sidebar-progress i { display: block; height: 100%; background: var(--blue); }
.lesson-toc a { display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 800; }
.lesson-toc a:hover, .lesson-toc a.active { color: var(--white); background: var(--blue); }
.lesson-toc span { color: var(--muted); font-weight: 600; }
.lesson-toc a:hover span, .lesson-toc a.active span { color: rgba(255,255,255,.7); }
.sidebar-offer { padding: 22px; background: var(--ink); color: var(--white); }
.sidebar-offer p { margin: 0 0 8px; color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.5; }
.sidebar-offer strong { display: block; margin-bottom: 18px; font-size: 18px; }
.sidebar-offer .button { width: 100%; }

/* Results */
.stat-board { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.stat-board > div { min-height: 170px; display: flex; flex-direction: column; justify-content: center; padding: 24px; border-right: 1px solid var(--line); }
.stat-board > div:last-child { border-right: 0; }
.stat-board span { color: var(--orange); font-size: 10px; font-weight: 900; }
.stat-board strong { margin: 18px 0 7px; font-size: 30px; }
.stat-board p { margin: 0; color: var(--muted); font-size: 13px; }
.result-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.result-video-grid article { overflow: hidden; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; background: var(--ink-soft); }
.result-video-grid video { width: 100%; height: 500px; object-fit: cover; background: #000; }
.result-video-grid article > div { min-height: 150px; padding: 20px; }
.result-video-grid span { color: var(--yellow); font-size: 10px; font-weight: 900; }
.result-video-grid h3 { margin: 12px 0 18px; font-size: 22px; line-height: 1.1; }
.result-video-grid strong { color: rgba(255,255,255,.65); font-size: 13px; }
.analytics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.analytics-grid a { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.analytics-grid img { width: 100%; height: 420px; object-fit: cover; object-position: top; }
.analytics-grid span { display: block; padding: 14px; font-size: 13px; font-weight: 850; }

/* Services */
.service-list { border-top: 2px solid var(--ink); }
.service-list > a { min-height: 135px; display: grid; grid-template-columns: 55px 1fr 120px; align-items: center; gap: 22px; padding: 22px 12px; border-bottom: 1px solid var(--line); transition: color 180ms ease, background 180ms ease, padding 180ms ease; }
.service-list > a:hover { padding-right: 22px; padding-left: 22px; color: var(--white); background: var(--blue); }
.service-list > a > span { color: var(--orange); font-size: 11px; font-weight: 900; }
.service-list h2 { margin: 0 0 7px; font-size: 29px; }
.service-list p { margin: 0; color: var(--muted); line-height: 1.5; }
.service-list > a:hover p, .service-list > a:hover > span { color: rgba(255,255,255,.75); }
.service-list b { justify-self: end; font-size: 13px; }
.service-list i { margin-left: 8px; font-size: 18px; font-style: normal; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.28); border-bottom: 1px solid rgba(255,255,255,.28); }
.process-grid article { min-height: 230px; padding: 28px; border-right: 1px solid rgba(255,255,255,.28); }
.process-grid article:last-child { border-right: 0; }
.process-grid span { color: var(--yellow); font-size: 11px; font-weight: 900; }
.process-grid h3 { margin: 48px 0 12px; font-size: 25px; }
.process-grid p { margin: 0; color: rgba(255,255,255,.64); font-size: 14px; line-height: 1.5; }
.myskazka-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 72px; }
.myskazka-copy h2 { margin: 0; font-size: 51px; line-height: 1.02; }
.myskazka-copy > p:not(.eyebrow) { margin: 22px 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.myskazka-copy ul { margin: 0 0 28px; padding: 0; list-style: none; }
.myskazka-copy li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 750; }
.case-slider { min-width: 0; border: 1px solid var(--ink); border-radius: 6px; background: #20154f; }
.slider-viewport { position: relative; min-height: 580px; overflow: hidden; }
.slider-viewport figure { position: absolute; inset: 0; display: none; margin: 0; }
.slider-viewport figure.active { display: block; }
.slider-viewport img { width: 100%; height: 520px; object-fit: contain; object-position: center top; background: #20154f; }
.slider-viewport figcaption { height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; color: var(--white); border-top: 1px solid rgba(255,255,255,.2); font-size: 13px; font-weight: 800; }
.slider-viewport figcaption span { color: rgba(255,255,255,.55); }
.slider-controls { height: 78px; display: grid; grid-template-columns: 54px 1fr 54px; align-items: center; padding: 0 18px; border-top: 1px solid rgba(255,255,255,.2); }
.slider-controls button { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; cursor: pointer; color: var(--white); background: transparent; font-size: 20px; }
.slider-dots { display: flex; justify-content: center; gap: 8px; }
.slider-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); }
.slider-dots i.active { width: 26px; border-radius: 4px; background: var(--yellow); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.pricing-card { position: relative; min-height: 760px; display: flex; flex-direction: column; padding: 34px; border: 1px solid var(--ink); border-radius: 6px; background: var(--white); }
.max-plan { color: var(--white); background: var(--ink); border-color: var(--blue); }
.plan-badge { position: absolute; top: -14px; right: 24px; padding: 8px 12px; color: var(--ink); background: var(--yellow); border-radius: 3px; font-size: 10px; font-weight: 900; }
.plan-head > p { margin: 0; color: var(--orange); font-size: 10px; font-weight: 900; }
.plan-head h2 { margin: 18px 0 24px; font-size: 48px; line-height: 1; }
.plan-head > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.plan-head s { color: var(--muted); font-size: 17px; }
.plan-head strong { font-size: 37px; }
.plan-summary { min-height: 52px; margin: 26px 0; color: var(--muted); line-height: 1.55; }
.max-plan .plan-summary { color: rgba(255,255,255,.64); }
.pricing-card ul { margin: 0 0 28px; padding: 0; list-style: none; }
.pricing-card li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.max-plan li { border-color: rgba(255,255,255,.2); }
.pricing-card li::before { position: absolute; top: 12px; left: 0; color: var(--blue); content: "✓"; font-weight: 900; }
.max-plan li::before { color: #8fc5ff; }
.plan-not-included { margin-bottom: 28px; padding: 17px; color: var(--muted); background: #efefeb; }
.plan-not-included span { font-size: 10px; font-weight: 900; }
.plan-not-included p { margin: 7px 0 0; font-size: 13px; line-height: 1.5; }
.pricing-card > .button { width: 100%; margin-top: auto; }
.comparison-table { border-top: 2px solid var(--ink); }
.comparison-row { min-height: 62px; display: grid; grid-template-columns: 1fr 150px 150px; align-items: center; border-bottom: 1px solid var(--line); }
.comparison-row strong { padding: 0 18px; font-size: 14px; }
.comparison-row > span { height: 100%; display: grid; place-items: center; border-left: 1px solid var(--line); color: var(--muted); }
.comparison-row .yes { color: var(--blue); font-size: 18px; font-weight: 900; }
.comparison-head { color: var(--white); background: var(--ink); }
.comparison-head > span { color: var(--white); border-color: rgba(255,255,255,.24); font-size: 12px; font-weight: 900; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.faq-grid h2 { margin: 0; font-size: 48px; }
.faq-list { border-top: 1px solid rgba(255,255,255,.28); }
.faq-list details { border-bottom: 1px solid rgba(255,255,255,.28); }
.faq-list summary { position: relative; padding: 22px 40px 22px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 20px; right: 4px; content: "+"; color: var(--yellow); font-size: 22px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 0; padding: 0 40px 22px 0; color: rgba(255,255,255,.65); line-height: 1.55; }

/* Footer */
.site-footer { padding: 48px 0; color: var(--white); background: #07090b; border-top: 1px solid rgba(255,255,255,.16); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 44px; }
.footer-brand { color: var(--white); }
.footer-grid > div > p { max-width: 260px; margin: 16px 0 0; color: rgba(255,255,255,.48); font-size: 12px; line-height: 1.5; }
.footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-grid nav strong { margin-bottom: 5px; color: rgba(255,255,255,.45); font-size: 10px; text-transform: uppercase; }
.footer-grid nav a { color: rgba(255,255,255,.76); font-size: 12px; }
.footer-grid nav a:hover { color: var(--yellow); }
.compact-footer { padding: 28px 0; }
.footer-inline { display: flex; align-items: center; gap: 28px; }
.footer-inline > a:not(.brand) { margin-left: auto; color: rgba(255,255,255,.7); font-size: 12px; }
.footer-inline > a + a { margin-left: 0; }
.mobile-primary { display: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 480ms ease, transform 480ms ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .hero h1 { font-size: 60px; }
  .page-hero h1 { font-size: 56px; }
  .section-heading h2, .proof-copy h2, .case-teaser-copy h2, .myskazka-copy h2 { font-size: 43px; }
  .split-heading, .heading-action, .page-hero-grid { gap: 38px; }
  .lesson-card-body { min-height: 290px; }
  .result-video-grid video { height: 420px; }
  .analytics-grid { grid-template-columns: repeat(2, 1fr); }
  .analytics-grid img { height: 520px; }
  .myskazka-grid { gap: 42px; }
  .slider-viewport { min-height: 520px; }
  .slider-viewport img { height: 460px; }
}

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-action { display: none; }
  .nav-toggle { justify-self: end; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
  .nav-toggle span { width: 20px; height: 2px; background: var(--ink); transition: transform 180ms ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: absolute; top: 72px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .hero { min-height: 700px; height: calc(100svh - 72px); }
  .hero h1 { font-size: 52px; }
  .section-heading h2, .proof-copy h2, .case-teaser-copy h2, .myskazka-copy h2 { font-size: 40px; }
  .split-heading, .heading-action, .page-hero-grid, .proof-teaser-grid, .case-teaser-grid, .myskazka-grid, .faq-grid { grid-template-columns: 1fr; }
  .split-heading, .heading-action, .page-hero-grid { gap: 22px; }
  .heading-action .button { justify-self: start; }
  .path-grid, .conversion-grid, .pricing-grid { grid-template-columns: 1fr; }
  .path-link + .path-link { border-left: 0; border-top: 1px solid var(--ink); }
  .proof-teaser-grid { gap: 36px; }
  .proof-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; align-items: end; }
  .proof-copy .eyebrow, .proof-copy h2 { grid-column: 1 / -1; }
  .proof-copy > p:not(.eyebrow) { margin: 0; }
  .lesson-card-grid { grid-template-columns: repeat(2, 1fr); }
  .lesson-card-grid-preview .lesson-card:last-child { display: none; }
  .case-teaser-screens { max-height: 500px; }
  .price-rows a { grid-template-columns: 130px 1fr 120px 24px; }
  .library-tools { grid-template-columns: 1fr auto; }
  .lesson-filters { grid-column: 1 / -1; grid-row: 2; }
  .lesson-detail-grid { grid-template-columns: 1fr; }
  .lesson-sidebar { position: static; }
  .stat-board { grid-template-columns: 1fr 1fr; }
  .stat-board > div:nth-child(2) { border-right: 0; }
  .stat-board > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .result-video-grid { display: flex; margin-right: -24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .result-video-grid::-webkit-scrollbar { display: none; }
  .result-video-grid article { flex: 0 0 min(70vw, 370px); scroll-snap-align: start; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid article:nth-child(2) { border-right: 0; }
  .process-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.28); }
  .pricing-card { min-height: 0; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid nav:last-child { grid-column: 2 / -1; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 32px); }
  .site-header { height: 64px; padding: 0 16px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 32px; height: 32px; }
  .site-nav { top: 64px; padding-right: 16px; padding-left: 16px; }
  .compact-section { padding: 54px 0; }
  .section-heading { margin-bottom: 26px; }
  .section-heading h2, .proof-copy h2, .case-teaser-copy h2, .myskazka-copy h2, .faq-grid h2, .final-band h2 { font-size: 34px; }
  .hero { min-height: 720px; height: calc(100svh - 64px); background: var(--ink) url("/examples/pechat-krovi-series-1-poster.jpg") center 20% / cover no-repeat; }
  .hero-video { display: none; }
  .hero-shade { background: rgba(3,5,7,.72); }
  .hero-inner { justify-content: flex-end; padding: 28px 0 34px; }
  .hero h1 { font-size: 36px; line-height: 1; }
  .hero-copy { margin-top: 18px; font-size: 15px; line-height: 1.48; }
  .hero-actions { width: 100%; display: grid; margin-top: 20px; }
  .hero-actions .button { width: 100%; }
  .hero-results { grid-template-columns: 1fr 1fr; margin-top: 25px; }
  .hero-results div { min-height: 60px; padding: 9px 10px; }
  .hero-results div:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .hero-results div:nth-child(2) { padding-left: 0; }
  .hero-results strong { font-size: 19px; }
  .hero-results span { font-size: 10px; }
  .path-link { min-height: 0; grid-template-columns: 34px 1fr 24px; padding: 26px 18px; }
  .path-link h3 { margin-top: 25px; font-size: 25px; }
  .path-link p { font-size: 14px; }
  .proof-copy { display: block; }
  .proof-copy > p:not(.eyebrow) { margin: 18px 0 22px; font-size: 14px; }
  .proof-video video { aspect-ratio: 9 / 14; }
  .proof-video > div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .lesson-card-grid { grid-template-columns: 1fr; }
  .lesson-card-grid-preview .lesson-card:last-child { display: flex; }
  .lesson-card-body { min-height: 250px; }
  .case-teaser-grid { gap: 34px; }
  .case-teaser-screens { gap: 7px; max-height: 420px; }
  .price-rows a { min-height: 125px; grid-template-columns: 1fr auto 22px; gap: 8px 12px; padding: 18px 12px; }
  .price-rows span { grid-column: 1; }
  .price-rows p { grid-column: 1; margin: 0; font-size: 13px; }
  .price-rows strong { grid-column: 2; grid-row: 1 / 3; font-size: 21px; }
  .price-rows b { grid-column: 3; grid-row: 1 / 3; }
  .final-band { padding: 48px 0 82px; }
  .final-band-inner { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 52px 0 42px; }
  .page-hero h1 { font-size: 42px; line-height: 1; }
  .page-hero-aside { padding-left: 18px; }
  .library-section { padding: 26px 0 60px; }
  .library-tools { grid-template-columns: 1fr; gap: 12px; }
  .lesson-search { grid-column: 1; grid-row: 1; }
  .library-count { grid-column: 1; grid-row: 2; padding: 0; }
  .lesson-filters { grid-column: 1; grid-row: 3; margin-right: -16px; }
  .conversion-grid > div { min-height: 310px; padding: 28px 20px; }
  .conversion-grid h2 { font-size: 31px; }
  .breadcrumb { padding-top: 18px; overflow: hidden; white-space: nowrap; }
  .lesson-detail-section { padding: 18px 0 64px; }
  .lesson-video-placeholder, .lesson-player-frame, .lesson-image-frame, .drive-player-frame { aspect-ratio: 16 / 9; }
  .lesson-player-frame video, .lesson-image-frame img, .drive-player-frame iframe { aspect-ratio: 16 / 9; }
  .drive-video-preview::after { width: 62px; height: 62px; font-size: 20px; }
  .drive-player-frame.is-playing::after { width: 62px; height: 56px; border-width: 9px; border-radius: 0 6px 0 15px; font-size: 17px; }
  .lesson-download-card { grid-template-columns: 1fr; gap: 20px; margin-bottom: 24px; padding: 22px 18px; }
  .lesson-download-card h2 { font-size: 24px; }
  .lesson-download-button { width: 100%; }
  .lesson-video-placeholder .placeholder-play { width: 60px; height: 60px; }
  .carousel-demo { inset: 18% 4%; }
  .carousel-demo span { font-size: 26px; }
  .lesson-title-block h1 { font-size: 37px; }
  .lesson-title-block > p { font-size: 15px; }
  .practice-box { padding: 24px 20px; }
  .stat-board { grid-template-columns: 1fr; }
  .stat-board > div { min-height: 125px; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .result-video-grid { margin-right: -16px; }
  .result-video-grid article { flex-basis: 82vw; }
  .result-video-grid video { height: 450px; }
  .analytics-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .analytics-grid img { height: 300px; }
  .analytics-grid span { padding: 10px; font-size: 11px; }
  .service-list > a { grid-template-columns: 38px 1fr; min-height: 150px; padding: 20px 0; }
  .service-list > a > b { grid-column: 2; justify-self: start; }
  .service-list h2 { font-size: 24px; }
  .service-list p { font-size: 14px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 190px; padding: 24px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.28); }
  .process-grid h3 { margin-top: 38px; }
  .slider-viewport { min-height: 470px; }
  .slider-viewport img { height: 410px; }
  .pricing-grid { gap: 28px; }
  .pricing-card { padding: 26px 20px; }
  .plan-head h2 { font-size: 40px; }
  .plan-head strong { font-size: 30px; }
  .comparison-row { grid-template-columns: 1fr 62px 78px; }
  .comparison-row strong { padding: 12px 8px 12px 0; font-size: 12px; line-height: 1.3; }
  .comparison-head strong { padding-left: 8px; }
  .comparison-head > span { font-size: 10px; }
  .faq-grid { gap: 30px; }
  .site-footer { padding: 40px 0 90px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-grid > div { grid-column: 1 / -1; }
  .footer-grid nav:last-child { grid-column: 1 / -1; }
  .footer-inline { flex-wrap: wrap; }
  .footer-inline > a:not(.brand) { margin-left: 0; }
  .mobile-primary { position: fixed; right: 10px; bottom: 10px; left: 10px; z-index: 90; min-height: 52px; display: grid; place-items: center; color: var(--white); background: var(--orange); border-radius: 4px; box-shadow: 0 8px 24px rgba(11,13,15,.24); font-size: 14px; font-weight: 900; }
}

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