:root {
  --paper: #f6efe2;
  --paper-deep: #eadcc6;
  --surface: #fffaf1;
  --surface-strong: #fbf3e6;
  --ink: #2d2118;
  --muted: #6f5b48;
  --line: #d8c2a5;
  --accent: #8c4f2e;
  --accent-dark: #673a24;
  --sage: #6d765f;
  --dark: #241914;
  --shadow: 0 18px 42px rgba(73, 48, 31, 0.14);
  --radius: 8px;
  --container: 1180px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 12% 12%, rgba(216, 194, 165, 0.28), transparent 26rem),
    linear-gradient(rgba(246, 239, 226, 0.9), rgba(246, 239, 226, 0.9)),
    url("../img/textures/paper.jpg");
  background-repeat: no-repeat, repeat, repeat;
  background-size: auto, auto, 720px 405px;
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

@media (min-width: 1001px) {
  .nav-menu--course {
    align-self: stretch;
    display: flex;
    align-items: center;
    border: 0;
  }

  .course-header__nav {
    margin: 0;
    padding: 0;
    border: 0;
  }
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.narrow {
  max-width: 840px;
}

.section-pad {
  padding: 88px 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.02;
}

h1 {
  max-width: 780px;
  font-size: clamp(3.1rem, 7.8vw, 6rem);
}

h2 {
  font-size: clamp(2.35rem, 4.2vw, 4.1rem);
}

h3 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

p {
  color: var(--muted);
}

#program,
#audience,
#team,
#reviews,
#price,
#faq {
  scroll-margin-top: 96px;
}

.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding-top: 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
}

.hero-copy {
  display: grid;
  gap: 26px;
}

.course-eyebrow {
  color: var(--accent-dark);
  font: 700 12px/1.3 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 720px;
  font-size: clamp(1.22rem, 2vw, 1.56rem);
  line-height: 1.42;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  max-width: 760px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.check-list li,
.process-card li {
  position: relative;
  padding-left: 24px;
}

.hero-points li::before,
.check-list li::before,
.process-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none;
  font: 700 16px/1 var(--sans);
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.shine-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.shine-button::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -55%;
  width: 42%;
  transform: translateX(0) skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  pointer-events: none;
}

.shine-button:hover::after,
.shine-button:focus-visible::after {
  animation: pay-shine 850ms ease-out 1;
}

.button:hover,
.review-shot:hover,
.lesson-thumb:hover,
.video-card:hover {
  transform: translateY(-2px);
}

.primary {
  color: #fff9ef;
  background: var(--accent-dark);
  box-shadow: 0 14px 28px rgba(103, 58, 36, 0.22);
}

.secondary {
  color: var(--accent-dark);
  border-color: var(--line);
  background: rgba(255, 250, 241, 0.72);
}

.wide {
  width: 100%;
}

.hero-media {
  position: relative;
}

.hero-media-caption {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  color: var(--muted);
  font: 600 13px/1.4 var(--sans);
}

.hero-media-caption span {
  color: var(--accent-dark);
  font-weight: 800;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -22px 18px 26px -18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.38);
}

.video-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 180ms ease;
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 250, 241, 0.92);
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 28px rgba(45, 33, 24, 0.18);
}

.play-button::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 23px;
  border-left: 22px solid var(--accent-dark);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.split,
.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
}

.section-copy {
  display: grid;
  gap: 22px;
}

.section-copy p,
.section-head p,
.offer p,
.value p,
.final-cta p {
  font-size: 1.22rem;
}

.now {
  background: linear-gradient(180deg, #fffdf8 0%, #fbf6ed 100%);
}

.roadmap-frame {
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(216, 194, 165, 0.45);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.76);
}

.mistakes,
.program,
.reviews,
.faq {
  background: rgba(255, 250, 241, 0.48);
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin-bottom: 36px;
}

.mistake-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.audience-list article,
.result-panel,
.process-card,
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.76);
  box-shadow: 0 14px 30px rgba(73, 48, 31, 0.08);
}

.mistake-grid article {
  min-height: 190px;
  padding: 28px 28px 28px 34px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.32);
}

.mistake-grid article:last-child {
  border-right: 0;
}

.mistake-grid article::before {
  content: "!";
  display: grid;
  width: 24px;
  height: 24px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent-dark);
  font: 800 12px/1 var(--sans);
}

.mistake-grid h3,
.audience-list h3 {
  margin-bottom: 10px;
}

.audience-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.audience-list article {
  padding: 22px;
}

.result-panel {
  padding: clamp(26px, 4vw, 42px);
  background: var(--dark);
}

.panel-cta {
  width: max-content;
  margin-top: 26px;
}

.result-panel h2,
.result-panel li,
.process-card.dark h2,
.process-card.dark p,
.process-card.dark li {
  color: #fff6e8;
}

.check-list,
.process-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.compact {
  margin-top: 0;
}

.module-list {
  position: relative;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 24px 18px;
}

.module-timeline-marker {
  position: relative;
  grid-column: 1;
  align-self: stretch;
  display: grid;
  place-items: center;
}

.module-timeline-marker::before,
.module-timeline-marker::after,
.step-marker::before,
.step-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  background: var(--accent);
  opacity: 0.72;
  transform: translateX(-50%);
}

.module-timeline-marker::before,
.step-marker::before {
  top: 0;
  bottom: 50%;
}

.module-timeline-marker::after {
  top: 50%;
  bottom: -24px;
}

.module-timeline-marker:first-of-type::before,
.module-timeline-marker:last-of-type::after,
.steps li:first-child .step-marker::before,
.steps li:last-child .step-marker::after {
  display: none;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  display: block;
  width: 12px;
  height: 12px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.module-card {
  position: relative;
  grid-column: 2;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 230px;
  gap: 22px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.88);
  box-shadow: 0 16px 38px rgba(73, 48, 31, 0.09);
}

.module-card-featured {
  border-color: rgba(140, 79, 46, 0.55);
  background: linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(234, 220, 198, 0.62));
}

.module-cover-wrap {
  position: relative;
  min-height: 220px;
  border-radius: 6px;
  overflow: hidden;
}

.module-cover {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: 6px;
  object-fit: cover;
}

.module-cover-badge {
  display: none;
}

.module-screen-button {
  width: 100%;
  height: 100%;
  min-height: 220px;
  padding: 0;
  border: 1px solid rgba(216, 194, 165, 0.8);
  border-radius: 6px;
  background: #fff;
  cursor: zoom-in;
}

.module-screen {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: 6px;
  object-fit: contain;
  object-position: top;
  background: #fff;
}

.module-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 0;
}

.module-number {
  color: var(--accent);
  font: 800 13px/1 var(--sans);
  letter-spacing: 0.12em;
}

.text-button {
  align-self: flex-start;
  margin: 4px 0;
  padding: 0;
  border: 0;
  color: var(--accent-dark);
  background: transparent;
  font: 700 20px/1.2 "EB Garamond", Georgia, serif;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.module-body details {
  border-top: 1px solid rgba(216, 194, 165, 0.8);
  padding-top: 12px;
}

.module-body summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
}

.module-body details ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.lesson-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lesson-thumb {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(73, 48, 31, 0.1);
  cursor: pointer;
  transition: transform 180ms ease;
}

.lesson-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.value-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius);
  color: #fff6e8;
  background: var(--dark);
}

.value-panel p {
  color: #d8c8b3;
}

.value-table {
  display: grid;
  gap: 10px;
}

.value-table div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 246, 232, 0.2);
  border-radius: 6px;
  color: #f7ead7;
}

.value-table .total {
  color: var(--ink);
  background: var(--paper-deep);
}

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

.section-head--wide {
  max-width: 1180px;
}

.team-carousel {
  position: relative;
}

.team-carousel__arrow {
  position: absolute;
  z-index: 4;
  top: 42%;
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(103, 58, 36, 0.34);
  border-radius: 50%;
  color: var(--accent-dark);
  background: rgba(255, 250, 241, 0.78);
  box-shadow: 0 8px 22px rgba(45, 33, 24, 0.18);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.team-carousel.has-overflow .team-carousel__arrow {
  display: grid;
}

.team-carousel__arrow--prev {
  left: 10px;
}

.team-carousel__arrow--next {
  right: 10px;
}

.team-carousel__arrow span {
  margin-top: -4px;
  font: 400 42px/1 var(--serif);
}

.team-carousel__arrow:hover:not(:disabled) {
  background: rgba(255, 250, 241, 0.94);
  transform: translateY(-50%) scale(1.04);
}

.team-carousel__arrow:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.team-carousel__arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

.team-video-hint {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  width: min(680px, 100%);
  align-items: center;
  overflow: hidden;
  margin: -8px auto 42px;
  padding: 16px 22px;
  border: 1px solid rgba(140, 79, 46, 0.34);
  border-radius: var(--radius);
  color: var(--ink);
  background: linear-gradient(120deg, rgba(255, 250, 241, 0.98), rgba(247, 234, 214, 0.94) 58%, rgba(255, 248, 236, 0.96));
  box-shadow: 0 18px 38px rgba(73, 48, 31, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.team-video-hint::after {
  position: absolute;
  z-index: 0;
  top: -35%;
  bottom: -35%;
  left: 0;
  width: 42%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.12) 24%, rgba(255, 255, 255, 0.62) 48%, rgba(232, 178, 116, 0.22) 62%, transparent 100%);
  transform: translateX(-180%) skewX(-16deg);
  animation: team-hint-shimmer 6.2s ease-in-out infinite;
  content: "";
}

.team-video-hint__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1.5px solid rgba(103, 58, 36, 0.78);
  border-radius: 50%;
  color: var(--accent-dark);
  font: 700 17px/1 var(--sans);
  background: rgba(255, 250, 241, 0.62);
  box-shadow: 0 6px 16px rgba(73, 48, 31, 0.1);
  animation: team-hint-pulse 2.6s ease-in-out infinite;
}

.team-video-hint__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
}

.team-video-hint__copy strong {
  font-size: 1.25rem;
  line-height: 1.15;
}

.team-video-hint__copy > span {
  color: var(--muted);
  font: 400 14px/1.45 var(--sans);
}

.team-video-hint__touch {
  display: none;
}

@keyframes team-hint-pulse {
  0%,
  70%,
  100% {
    transform: scale(1);
    box-shadow: 0 6px 16px rgba(73, 48, 31, 0.1), 0 0 0 0 rgba(140, 79, 46, 0);
  }

  82% {
    transform: scale(1.1);
    box-shadow: 0 9px 22px rgba(73, 48, 31, 0.16), 0 0 0 7px rgba(140, 79, 46, 0.11);
  }

  91% {
    transform: scale(1.03);
    box-shadow: 0 7px 18px rgba(73, 48, 31, 0.12), 0 0 0 3px rgba(140, 79, 46, 0.05);
  }
}

@keyframes team-hint-shimmer {
  0%,
  60% {
    transform: translateX(-180%) skewX(-16deg);
    opacity: 0;
  }

  64% {
    opacity: 1;
  }

  82% {
    transform: translateX(420%) skewX(-16deg);
    opacity: 0.9;
  }

  86%,
  100% {
    transform: translateX(420%) skewX(-16deg);
    opacity: 0;
  }
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.76);
  box-shadow: 0 14px 30px rgba(73, 48, 31, 0.08);
}

.team-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  aspect-ratio: 4 / 5;
  color: inherit;
  background: var(--paper-deep);
  appearance: none;
  cursor: pointer;
}

.team-media:focus-visible {
  z-index: 2;
  outline: 3px solid var(--accent);
  outline-offset: -5px;
}

.team-media img,
.team-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-media video {
  z-index: 0;
}

.team-media img {
  z-index: 1;
  transition: opacity 320ms ease;
}

.team-card.is-playing .team-media img {
  opacity: 0;
}

.team-card h3,
.team-card p {
  padding-inline: 18px;
}

.team-card h3 {
  padding-top: 18px;
  font-size: 1.55rem;
}

.team-card p {
  padding-bottom: 22px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
}

.team-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.team-scroll-hint {
  display: none;
  color: var(--muted);
  font: 600 12px/1.4 var(--sans);
}

.text-link {
  align-self: end;
  color: var(--accent-dark);
  font: 700 13px/1.4 var(--sans);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.review-rail {
  display: grid;
  grid-auto-columns: minmax(230px, 280px);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 6px 4px 18px;
  scroll-snap-type: x proximity;
  cursor: grab;
  user-select: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.review-rail::-webkit-scrollbar,
.team-grid::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.review-rail.is-dragging,
.team-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.review-shot {
  height: 330px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 30px rgba(73, 48, 31, 0.1);
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 180ms ease;
}

.review-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 180ms ease;
}

.review-shot:hover img {
  transform: scale(1.02);
}

.scroll-cue {
  --scroll-progress: 0;
  display: grid;
  grid-template-columns: max-content minmax(120px, 240px) 24px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 10px auto 0;
  color: var(--accent-dark);
  font: 700 13px/1 var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scroll-cue__track {
  position: relative;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(216, 194, 165, 0.58);
}

.scroll-cue__thumb {
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  border-radius: inherit;
  background: var(--accent-dark);
  transform: translateX(calc(var(--scroll-progress) * 194%));
  transition: transform 120ms linear;
}

.scroll-cue:not(.is-interacted) .scroll-cue__thumb {
  animation: scroll-cue-hint 2.2s ease-in-out infinite;
}

.scroll-cue__arrow {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
  color: var(--accent-dark);
  font-size: 0;
  line-height: 0;
  animation: scroll-arrow-hint 1.4s ease-in-out infinite;
}

.scroll-cue__arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  clip-path: polygon(0 43%, 68% 43%, 68% 20%, 100% 50%, 68% 80%, 68% 57%, 0 57%);
}

.scroll-cue.is-interacted .scroll-cue__arrow {
  animation: none;
}

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

.process-card {
  padding: clamp(26px, 4vw, 44px);
}

.process-card.dark {
  background: var(--dark);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 18px 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  column-gap: 16px;
  min-height: 42px;
  align-items: center;
  padding: 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.steps li::before {
  display: none;
}

.step-marker {
  position: relative;
  grid-column: 1;
  align-self: stretch;
  display: grid;
  place-items: center;
}

.step-marker::after {
  top: 50%;
  bottom: -18px;
}

.step-marker .timeline-dot {
  border-color: var(--surface);
}

.step-text {
  grid-column: 2;
}

.offer {
  background: linear-gradient(135deg, var(--paper-deep), var(--paper));
}

.offer-layout {
  display: grid;
  gap: clamp(28px, 4vw, 46px);
}

.offer-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.offer-intro .check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 22px;
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
}

.tariff-card__head {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 98px;
}

.tariff-card__eyebrow {
  color: var(--muted);
  font: 700 12px/1.3 var(--sans) !important;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tariff-card__head h3 {
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.tariff-badge {
  width: max-content;
  max-width: 100%;
  padding: 7px 11px;
  border: 1px solid rgba(140, 79, 46, 0.34);
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(234, 220, 198, 0.62);
  font: 700 11px/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card strong {
  font-size: clamp(2.7rem, 4.3vw, 4.2rem);
  line-height: 0.95;
  color: var(--accent-dark);
  white-space: nowrap;
}

.tariff-features {
  display: grid;
  align-content: start;
  gap: 0;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font: 500 15px/1.48 var(--sans);
  list-style: none;
}

.tariff-features li {
  padding: 11px 0;
  border-top: 1px solid rgba(216, 194, 165, 0.62);
}

.tariff-card__promo {
  color: var(--accent-dark);
  font: 700 14px/1.45 var(--sans) !important;
}

.price-card--optimal {
  border-color: rgba(255, 246, 232, 0.42);
  color: #fff6e8;
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  box-shadow: 0 24px 52px rgba(73, 48, 31, 0.24);
}

.price-card--optimal .tariff-card__eyebrow,
.price-card--optimal .tariff-features {
  color: #f2dfca;
}

.price-card--optimal strong,
.price-card--optimal .tariff-card__promo {
  color: #fff6e8;
}

.price-card--optimal .tariff-features li {
  border-color: rgba(255, 246, 232, 0.24);
}

.price-card--optimal .tariff-badge {
  border-color: rgba(255, 246, 232, 0.5);
  color: var(--accent-dark);
  background: #fff6e8;
}

.tariff-button--optimal {
  color: var(--accent-dark);
  background: #fff6e8;
  box-shadow: 0 14px 28px rgba(36, 25, 20, 0.24);
}

.tariff-button--optimal:hover,
.tariff-button--optimal:focus-visible {
  background: #fffaf1;
}

.offer-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(140, 79, 46, 0.22);
}

.offer-support p {
  max-width: 780px;
  color: var(--muted);
  font: 500 16px/1.55 var(--sans);
}

.offer-support .button {
  flex: 0 0 auto;
}

@keyframes pay-shine {
  0% {
    left: -55%;
  }

  100% {
    left: 120%;
  }
}

@keyframes scroll-cue-hint {
  0%, 12% {
    transform: translateX(0);
  }

  55%, 72% {
    transform: translateX(194%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes scroll-arrow-hint {
  0%, 100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(5px);
  }
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.86);
}

.faq-list summary {
  position: relative;
  min-height: 68px;
  padding: 20px 58px 20px 22px;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent-dark);
  border-bottom: 2px solid var(--accent-dark);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 160ms ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.faq-list p {
  margin: 0;
  padding: 0 22px 20px;
}

.faq-list a {
  color: var(--accent-dark);
  font-weight: 700;
}

.final-cta {
  text-align: center;
}

.final-cta .container {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.final-cta p {
  max-width: 720px;
}

.has-reveal-effects .reveal-section {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.has-reveal-effects .reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .button:focus-visible {
    box-shadow: 0 14px 30px rgba(103, 58, 36, 0.2);
  }

  .module-card,
  .audience-list article,
  .process-card,
  .faq-list details {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  }

  .module-card:hover,
  .audience-list article:hover,
  .process-card:hover,
  .faq-list details:hover {
    border-color: rgba(140, 79, 46, 0.46);
    box-shadow: 0 20px 42px rgba(73, 48, 31, 0.13);
    transform: translateY(-3px);
  }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 19, 14, 0.72);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.modal-panel h2 {
  padding-right: 48px;
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 18px;
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.video-frame {
  overflow: hidden;
  border-radius: 6px;
  background: #111;
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.review-modal-panel {
  width: min(760px, 100%);
}

.review-modal-panel img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

@media (hover: none), (pointer: coarse) {
  .team-video-hint__desktop {
    display: none;
  }

  .team-video-hint__touch {
    display: block;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .two-columns,
  .offer-intro,
  .value-panel,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .tariff-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .price-card {
    width: 100%;
    max-width: 680px;
  }

  .tariff-card__head {
    min-height: 0;
  }

  .tariff-card__head h3 {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .hero {
    min-height: auto;
  }

  .module-card {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .module-screen-button {
    grid-column: 1 / -1;
    max-height: 360px;
  }

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

  .mistake-grid article:nth-child(2) {
    border-right: 0;
  }

  .mistake-grid article:nth-child(n + 3) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .team-grid {
    grid-auto-columns: calc((100% - 14px) / 2);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    cursor: grab;
    touch-action: pan-x pan-y;
  }

  .team-grid::-webkit-scrollbar {
    display: none;
  }

  .team-grid.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
  }

  .team-card {
    min-width: 0;
    scroll-snap-align: start;
  }

  .team-actions {
    justify-content: space-between;
  }

  .team-scroll-hint {
    display: block;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 19px;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.35rem);
  }

  .course-header .global-header__inner {
    gap: 12px;
  }

  .course-header .global-brand img {
    height: 36px;
  }

  .section-pad {
    padding: 62px 0;
  }

  .section-copy p,
  .section-head p,
  .offer p,
  .value p,
  .final-cta p {
    font-size: 1.14rem;
  }

  .hero-points,
  .mistake-grid,
  .lesson-gallery {
    grid-template-columns: 1fr;
  }

  .module-card {
    grid-template-columns: 1fr;
  }

  .module-list {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  .module-timeline-marker {
    display: none;
  }

  .module-card {
    grid-column: 1;
  }

  .mistake-grid article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .module-cover-wrap,
  .module-cover,
  .module-screen-button,
  .module-screen {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .module-screen-button,
  .module-screen {
    aspect-ratio: auto;
    max-height: none;
  }

  .module-cover-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    max-width: calc(100% - 28px);
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255, 250, 241, 0.9);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.05;
    text-align: center;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 24px rgba(45, 33, 24, 0.16);
  }

  .team-grid {
    grid-auto-columns: 78vw;
  }

  .team-actions {
    display: grid;
    gap: 18px;
  }

  .team-video-hint {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 13px;
    padding: 14px 16px;
  }

  .team-video-hint__icon {
    width: 44px;
    height: 44px;
  }

  .team-video-hint__copy strong {
    font-size: 1.12rem;
  }

  .review-rail {
    grid-auto-columns: minmax(220px, 76vw);
  }

  .review-shot {
    height: 300px;
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
  }

  .panel-cta {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .offer-intro .check-list {
    grid-template-columns: 1fr;
  }

  .offer-support {
    display: grid;
  }

  .offer-support .button {
    width: 100%;
  }

  .value-table div {
    grid-template-columns: 1fr;
  }

  .value-table div {
    display: grid;
  }

  .scroll-cue {
    grid-template-columns: max-content minmax(80px, 1fr) 22px;
    gap: 9px;
    font-size: 11px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-column--details,
  .footer-links {
    justify-items: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .shine-button::after {
    display: none;
  }

  .has-reveal-effects .reveal-section {
    opacity: 1;
    transform: none;
  }

  .team-video-hint::after {
    display: none;
  }

  .team-video-hint__icon {
    animation: none;
  }

  .team-media img {
    transition: none;
  }

  .team-carousel__arrow {
    transition: none;
  }
}
