:root {
  --ink: oklch(18% 0.018 236);
  --ink-soft: oklch(30% 0.026 236);
  --muted: oklch(50% 0.028 236);
  --paper: oklch(96.5% 0.018 78);
  --paper-strong: oklch(99% 0.01 78);
  --mist: oklch(92% 0.028 188);
  --night: oklch(13% 0.019 244);
  --night-soft: oklch(18% 0.024 244);
  --teal: oklch(35% 0.08 192);
  --teal-soft: oklch(88% 0.04 190);
  --garnet: oklch(36% 0.12 18);
  --brass: oklch(70% 0.14 74);
  --brass-deep: oklch(48% 0.12 72);
  --burgundy: var(--garnet);
  --amber: var(--brass);
  --amber-deep: var(--brass-deep);
  --line: oklch(18% 0.018 236 / 0.13);
  --line-strong: oklch(18% 0.018 236 / 0.24);
  --line-light: oklch(96% 0.01 78 / 0.22);
  --shadow: 0 24px 60px oklch(18% 0.018 236 / 0.16);
  --shadow-soft: 0 16px 34px oklch(18% 0.018 236 / 0.09);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, oklch(35% 0.08 192 / 0.08), transparent 28%),
    linear-gradient(180deg, oklch(36% 0.12 18 / 0.05), transparent 34%),
    var(--paper);
}

.page-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image: radial-gradient(oklch(18% 0.018 236 / 0.24) 0.35px, transparent 0.35px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: "Literata", Georgia, serif;
  line-height: 1.08;
  letter-spacing: 0;
  hyphens: auto;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  font-size: 4rem;
  font-weight: 700;
  text-wrap: balance;
  letter-spacing: 0;
}

h2 {
  max-width: 850px;
  font-size: 4.2rem;
  font-weight: 700;
  letter-spacing: 0;
}

h3 {
  font-size: 1.55rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin: 0 auto;
}

.section-space {
  padding: 6.5rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: oklch(15% 0.018 244 / 0.84);
  border-bottom: 1px solid var(--line-light);
  color: oklch(97% 0.01 78);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--night);
  background: var(--brass);
  font-weight: 800;
  font-size: 0.9rem;
}

.brand-text {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  color: oklch(94% 0.01 78 / 0.78);
  text-decoration: none;
  font-size: 0.92rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: oklch(98% 0.01 78);
}

.hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: oklch(98% 0.01 78);
  background: var(--night);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, oklch(12% 0.018 244 / 0.96) 0%, oklch(12% 0.018 244 / 0.82) 38%, oklch(12% 0.018 244 / 0.25) 76%),
    linear-gradient(180deg, oklch(12% 0.018 244 / 0.12), oklch(12% 0.018 244 / 0.82));
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 4vw, 4rem) 0 clamp(0.9rem, 2vw, 1.4rem);
}

.hero-copy {
  max-width: 860px;
  min-width: 0;
}

.hero-lead {
  max-width: 620px;
  color: var(--brass);
  font-size: 1.18rem;
  font-weight: 800;
}

.hero-copy > p:not(.hero-lead):not(.note) {
  max-width: 650px;
  color: oklch(94% 0.01 78 / 0.88);
  font-size: 1.05rem;
}

.hero-progress {
  max-width: 700px;
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--line-light);
  list-style: none;
  padding: 0;
}

.hero-progress li {
  display: grid;
  gap: 0.35rem;
  min-height: 78px;
  padding: 0.95rem 1rem;
  color: oklch(94% 0.01 78 / 0.84);
  background: oklch(18% 0.02 244 / 0.72);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: lowercase;
}

.hero-progress span {
  color: var(--brass);
  font-family: "Literata", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.35rem 0 0.9rem;
}

.note,
.small-note {
  color: var(--muted);
  font-size: 0.96rem;
}

.hero .note {
  max-width: 660px;
  color: oklch(94% 0.01 78 / 0.7);
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn-small {
  min-height: 44px;
  padding: 0.7rem 1rem;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.btn:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.btn-primary {
  color: var(--night);
  background: linear-gradient(135deg, oklch(78% 0.14 78), var(--brass));
  box-shadow: 0 16px 34px oklch(70% 0.14 74 / 0.32);
}

.btn-ghost {
  color: currentColor;
  border-color: oklch(95% 0.01 78 / 0.34);
  background: oklch(96% 0.01 78 / 0.08);
}

.lead-section {
  color: oklch(97% 0.01 78);
  background:
    linear-gradient(135deg, oklch(35% 0.08 192 / 0.92), oklch(13% 0.019 244 / 0.96)),
    var(--night);
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 2rem;
  align-items: start;
}

.lead-section h2,
.lead-section .section-copy > p,
.lead-section li {
  color: oklch(98% 0.01 78);
}

.lead-promises {
  margin-top: 1.4rem;
}

.lead-form {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid oklch(97% 0.01 78 / 0.18);
  border-radius: var(--radius);
  background: oklch(96% 0.01 78 / 0.08);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.lead-form label {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.lead-form label span {
  color: oklch(96% 0.01 78 / 0.8);
  font-size: 0.88rem;
  font-weight: 800;
}

.lead-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 48px;
  padding: 0.82rem 0.9rem;
  border: 1px solid oklch(97% 0.01 78 / 0.28);
  border-radius: var(--radius);
  color: oklch(98% 0.01 78);
  background: oklch(13% 0.019 244 / 0.38);
  font: inherit;
}

.lead-form input::placeholder {
  color: oklch(96% 0.01 78 / 0.48);
}

.lead-form input:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.consent-line {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}

.consent-line input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.25rem;
  accent-color: var(--brass);
}

.consent-line span,
.form-status {
  color: oklch(96% 0.01 78 / 0.76);
  font-size: 0.9rem;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
}

.form-status.is-error {
  color: oklch(82% 0.17 24);
}

.form-status.is-success {
  color: oklch(86% 0.09 152);
}

.lead-success-link[hidden] {
  display: none;
}

.section-paper {
  background: var(--paper-strong);
}

.section-soft {
  background: linear-gradient(180deg, oklch(95% 0.02 178) 0%, oklch(91% 0.035 182) 100%);
}

.section-check {
  background: var(--night-soft);
  color: oklch(97% 0.01 78);
}

.section-check p,
.section-check li {
  color: oklch(95% 0.01 78 / 0.82);
}

.section-copy {
  max-width: 770px;
}

.section-copy > p {
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 3rem;
  align-items: center;
}

.media-layout-reverse {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--night-soft);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid oklch(97% 0.01 78 / 0.18);
  border-radius: inherit;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame-wide {
  aspect-ratio: 1.45;
}

.media-frame-portrait {
  aspect-ratio: 0.76;
}

.pain-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.lead-inline {
  margin: 0;
  color: var(--burgundy);
  font-weight: 900;
}

blockquote {
  margin: 2rem 0 0;
  padding: 1.35rem 1.5rem;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, oklch(95% 0.025 75), oklch(91% 0.035 58));
  font-family: "Literata", Georgia, serif;
  font-size: 1.75rem;
  line-height: 1.18;
}

.list-check,
.list-dash,
.list-plain {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-check li,
.list-dash li,
.list-plain li {
  margin: 0 0 0.75rem;
}

.list-check li {
  position: relative;
  padding-left: 1.65rem;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px oklch(70% 0.14 74 / 0.18);
}

.list-dash li {
  position: relative;
  padding-left: 1.1rem;
}

.list-dash li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.76rem;
  width: 0.48rem;
  height: 2px;
  background: var(--burgundy);
}

.pains-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.pains-grid li,
.quote-list li {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(99% 0.01 78 / 0.78);
}

.readiness-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 2.2rem;
  align-items: start;
}

.section-check .section-copy {
  position: sticky;
  top: 104px;
}

.check-card {
  padding: 1.6rem;
  border: 1px solid oklch(97% 0.01 78 / 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, oklch(35% 0.08 192 / 0.42), oklch(36% 0.12 18 / 0.18)),
    oklch(96% 0.01 78 / 0.06);
  box-shadow: var(--shadow);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1.1rem;
}

.insight-box {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.35rem;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper-strong);
  box-shadow: var(--shadow-soft);
}

.insight-box p {
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.cards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1rem;
}

.card {
  min-height: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem 1rem;
  align-items: start;
  padding: clamp(1rem, 2vw, 1.55rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(99% 0.01 78 / 0.86);
  box-shadow: var(--shadow-soft);
}

.card:nth-child(2),
.card:nth-child(4) {
  transform: translateY(1.4rem);
}

.fit-index {
  grid-row: span 2;
  color: var(--brass-deep);
  font-family: "Literata", Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 0.95;
}

.card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.28rem;
}

.card p {
  grid-column: 2;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

#not-fit .container,
#faq .container {
  max-width: 920px;
}

#not-fit {
  background: var(--paper-strong);
}

.section-visuals {
  background:
    linear-gradient(180deg, var(--paper) 0%, oklch(93% 0.025 78) 100%),
    var(--paper);
}

.visuals-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 3rem;
  align-items: center;
}

.visual-board {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.9rem;
  align-items: end;
}

.telegram-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--night-soft);
  box-shadow: var(--shadow-soft);
}

.telegram-shot-large {
  grid-row: span 2;
  align-self: stretch;
}

.telegram-shot img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.telegram-shot:not(.telegram-shot-large) {
  transform: translateY(var(--shot-offset, 0));
}

.telegram-shot:nth-child(2) {
  --shot-offset: -1.2rem;
}

.telegram-shot:nth-child(4) {
  --shot-offset: 1.2rem;
}

.section-program {
  color: oklch(97% 0.01 78);
  background:
    linear-gradient(90deg, oklch(35% 0.08 192 / 0.9), oklch(13% 0.019 244 / 0.98)),
    var(--night);
}

.section-program .section-copy p,
.section-program h2,
.section-program h3 {
  color: oklch(98% 0.01 78);
}

.program-head {
  margin-bottom: 2rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-light);
  counter-reset: course-day -1;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(3.5rem, 4.7rem) minmax(0, 1fr);
  gap: 0.45rem 1rem;
  min-height: 260px;
  padding: 1.35rem 1.35rem 1.55rem;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: linear-gradient(135deg, oklch(97% 0.01 78 / 0.075), oklch(97% 0.01 78 / 0.025));
  counter-increment: course-day;
}

.timeline-item::before {
  content: counter(course-day, decimal-leading-zero);
  grid-row: 1 / span 4;
  align-self: start;
  color: var(--brass);
  font-family: "Literata", Georgia, serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 0.95;
}

.timeline-item h3,
.timeline-item p {
  grid-column: 2;
}

.timeline-item p {
  color: oklch(95% 0.01 78 / 0.74);
  font-size: 0.92rem;
}

.after-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.quote-list {
  display: grid;
  gap: 0.8rem;
}

.quote-list li {
  color: var(--ink);
  font-family: "Literata", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.14;
  background: var(--paper-strong);
}

.understanding-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow-soft);
}

.understanding-strip p {
  margin: 0;
  padding: 1.35rem;
  color: oklch(97% 0.01 78);
  background: var(--teal);
  font-weight: 800;
}

.understanding-strip p + p {
  background: var(--burgundy);
}

.split-block {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 2rem;
  align-items: start;
}

.stat-panel {
  position: sticky;
  top: 104px;
  padding: 1.35rem;
  border-radius: var(--radius);
  color: oklch(97% 0.01 78);
  background:
    linear-gradient(145deg, oklch(35% 0.08 192 / 0.9), oklch(13% 0.019 244 / 0.94)),
    var(--night);
  box-shadow: var(--shadow);
}

.stat-panel h3 {
  color: oklch(98% 0.01 78);
}

.stat-panel li {
  color: oklch(96% 0.01 78 / 0.84);
}

.section-teacher {
  color: oklch(97% 0.01 78);
  background:
    linear-gradient(90deg, oklch(13% 0.019 244 / 0.96), oklch(35% 0.08 192 / 0.9)),
    var(--night);
}

.teacher-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 0.86fr) minmax(0, 0.9fr);
  gap: 2.4rem;
  align-items: start;
}

.teacher-media {
  aspect-ratio: 4 / 5;
  min-height: 100%;
}

.teacher-main {
  align-self: center;
}

.section-teacher .section-copy > p,
.section-teacher .small-note {
  color: oklch(96% 0.01 78 / 0.76);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-width: 0;
}

.stat-item {
  min-width: 0;
  padding: 1.1rem;
  border: 1px solid oklch(97% 0.01 78 / 0.15);
  border-radius: var(--radius);
  background: oklch(96% 0.01 78 / 0.08);
}

.stat-item strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--brass);
  font-family: "Literata", Georgia, serif;
  font-size: 2rem;
  line-height: 1.08;
}

.stat-item .stat-copy {
  font-size: 1.1rem;
  line-height: 1.18;
}

.stat-item span {
  color: oklch(96% 0.01 78 / 0.72);
  font-size: 0.94rem;
}

.insight-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 1px;
  margin-top: 1.4rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.insight-card {
  min-height: 170px;
  padding: clamp(1.1rem, 2vw, 1.55rem);
  background: var(--paper-strong);
}

.insight-card:nth-child(1),
.insight-card:nth-child(6) {
  background: oklch(91% 0.035 58);
}

.insight-card:nth-child(3) {
  background: var(--teal-soft);
}

.insight-card p {
  margin: 0;
  font-family: "Literata", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.16;
}

.section-accent {
  position: relative;
  overflow: hidden;
  color: oklch(97% 0.01 78);
  background: var(--night);
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.section-accent::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, oklch(13% 0.019 244 / 0.9), oklch(13% 0.019 244 / 0.64)),
    linear-gradient(180deg, oklch(13% 0.019 244 / 0.2), oklch(13% 0.019 244 / 0.8));
}

.cta-panel {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.cta-panel h2,
.cta-panel p {
  color: oklch(98% 0.01 78);
}

.cta-panel .small-note {
  margin-top: 1rem;
  color: oklch(96% 0.01 78 / 0.7);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.faq-item h3 {
  margin: 0;
}

.faq-trigger {
  position: relative;
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-trigger::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--burgundy);
  font-size: 1.25rem;
}

.faq-trigger[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  padding: 0 1rem 1rem;
}

.site-footer {
  padding: 1.4rem 0;
  color: oklch(96% 0.01 78 / 0.72);
  background: var(--night);
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  animation: rise-in 620ms ease both;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes rise-in {
  from {
    opacity: 0.78;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: oklch(98% 0.01 78);
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 1120px) {
  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 3.05rem;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teacher-layout,
  .media-layout,
  .media-layout-reverse,
  .readiness-layout,
  .lead-layout,
  .visuals-layout,
  .after-layout,
  .split-block {
    grid-template-columns: 1fr;
  }

  .section-check .section-copy,
  .stat-panel {
    position: static;
  }

  .insight-box {
    grid-column: auto;
  }

  .teacher-main {
    align-self: start;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--container));
    max-width: calc(100vw - 1.5rem);
  }

  .section-space {
    padding: 4.2rem 0;
  }

  .header-inner {
    min-height: 64px;
  }

  .main-nav {
    display: none;
  }

  .site-header .btn {
    display: none;
  }

  h1 {
    font-size: 2.45rem;
    text-wrap: wrap;
  }

  h2 {
    font-size: 2.35rem;
    text-wrap: wrap;
  }

  h3 {
    font-size: 1.32rem;
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
  }

  .hero-bg {
    object-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, oklch(12% 0.018 244 / 0.94), oklch(12% 0.018 244 / 0.62)),
      linear-gradient(180deg, oklch(12% 0.018 244 / 0.1), oklch(12% 0.018 244 / 0.82));
  }

  .hero-inner {
    padding: 3rem 0 3.4rem;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    max-width: 100%;
  }

  .hero-copy h1 {
    margin-bottom: 0.75rem;
    max-width: 12ch;
  }

  .hero-lead {
    max-width: 28ch;
    font-size: 1rem;
    line-height: 1.42;
  }

  .hero-copy > p:not(.hero-lead):not(.note) {
    max-width: 32ch;
    font-size: 0.96rem;
  }

  .hero-actions {
    order: 4;
    margin: 1.1rem 0 1rem;
  }

  .hero-progress {
    order: 5;
    margin-top: 0.35rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero .note {
    order: 6;
    margin-top: 0.25rem;
    font-size: 0.84rem;
  }

  .hero-progress,
  .pains-grid,
  .checklist-grid,
  .form-grid,
  .cards-grid,
  .timeline,
  .visual-board,
  .stats-grid,
  .insight-grid,
  .understanding-strip {
    grid-template-columns: 1fr;
  }

  .hero-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .card:nth-child(2),
  .card:nth-child(4) {
    transform: none;
  }

  .timeline-item {
    min-height: auto;
  }

  .timeline-item::before {
    grid-row: 1;
  }

  .telegram-shot:not(.telegram-shot-large) {
    transform: none;
  }

  .pain-panel {
    grid-template-columns: 1fr;
  }

  .insight-box {
    align-items: stretch;
    flex-direction: column;
  }

  .media-frame-wide,
  .media-frame-portrait {
    aspect-ratio: 1.1;
  }

  blockquote {
    font-size: 1.42rem;
  }

  .btn {
    width: 100%;
  }

  .site-header .btn {
    width: auto;
    min-width: max-content;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.72rem;
    line-height: 1.12;
    max-width: none;
  }

  h2 {
    font-size: 1.64rem;
    line-height: 1.14;
  }

  .section-copy {
    max-width: calc(100vw - 1.5rem);
  }

  .brand-text {
    font-size: 0.92rem;
  }

  .hero-inner {
    padding: 1.8rem 0 0.45rem;
  }

  .hero-actions {
    margin: 0.85rem 0 0.7rem;
  }

  .hero-copy > p:not(.hero-lead):not(.note),
  .section-copy > p {
    font-size: 0.94rem;
  }

  .hero-progress li {
    min-height: 58px;
    font-size: 0.9rem;
  }

  .card,
  .check-card,
  .lead-form,
  .insight-box,
  .stat-panel,
  .stat-item,
  .quote-list li {
    padding: 1rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 1rem;
  }

  .timeline-item::before {
    font-size: 2rem;
  }

  .timeline-item h3,
  .timeline-item p {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
