/* Design 02 — coral details, viewport-driven accents, touch-first interactions. */
:root {
  --coral: #ff9788;
  --coral-ink: #9c4135;
  --motion-ease: cubic-bezier(.2,.7,.2,1);
}
.hero { background: radial-gradient(ellipse at 100% 10%, #ff97880b, transparent 56%), var(--background); }
.hero .eyebrow {
  display: inline-flex; color: #ffb5a9; background: #ff978809;
  border: 1px solid #ff978835; border-radius: 100px; padding: 9px 14px;
  letter-spacing: .13em; font-size: 11px; gap: 10px;
}
.hero .eyebrow:before {
  width: 5px; height: 5px; border-radius: 50%; background: var(--coral);
  box-shadow: 0 0 0 4px #ff978811;
}
.hero-line:nth-child(2) { color: var(--coral); }
.hero-line:last-child { color: #e9eee9; }
.hero-benefit:before { background: #7bbbad; }
.hero__cta { box-shadow: 0 8px 34px #80ebd810; }
.header { border-bottom: 1px solid #ffffff05; }
.studio-progress {
  width: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, #80ebd8, #ff9788);
}
.section__head:before {
  content: ''; display: block; width: 42px; height: 2px;
  background: var(--coral); margin-bottom: 20px; transform-origin: left; border-radius: 2px;
}
.section__head.motion-entered:before { animation: accent-arrive .65s var(--motion-ease) both; }
@keyframes accent-arrive {
  from { transform: scaleX(.3); opacity: .35; }
  to { transform: scaleX(1); opacity: 1; }
}
#results, #cases, #pricing { --coral: var(--coral-ink); }
#results .section__head:before, #cases .section__head:before, #pricing .section__head:before { background: var(--coral-ink); }
.result-card { transition: background-color .35s ease; }
.result-card:after {
  height: calc(100% - 58px); top: 29px; background: #5a8c76;
  transform: scaleY(.22); transform-origin: top;
  transition: transform .5s var(--motion-ease), background-color .35s;
}
.result-card h3 { transition: color .35s ease; }
.result-card.is-current:after { transform: scaleY(1); background: var(--coral-ink); }
.result-card.is-current h3 { color: var(--coral-ink); }
.audience-list .audience-card { transition: border-color .35s, background-color .35s, box-shadow .35s; }
.audience-list .audience-card:before {
  height: calc(100% - 56px); background: var(--coral); transform: scaleY(.2);
  transform-origin: top; opacity: .65; transition: transform .5s var(--motion-ease), opacity .35s;
}
.audience-list .audience-card.is-current {
  background: #1c2322; border-color: #81564e; box-shadow: 0 8px 32px #00000015;
}
.audience-list .audience-card.is-current:before { transform: scaleY(1); opacity: 1; }
.audience-card h3 { transition: color .35s; }
.audience-card.is-current h3 { color: #ffb5a9; }
.course-accordion .acc-item { border-color: #34403d; }
.course-accordion .acc-item.is-current { background: #1c2120; border-top-color: #81564e; }
.course-accordion .acc-item.is-current .acc-q { color: #ffb5a9; }
.course-accordion .acc-item.open { background: #242522; border-color: #b26b5e; }
.course-accordion .acc-item.open .acc-q { color: #ffc0b5; }
.acc-item.open .accordion-mark { background: #ffab9e; border-color: #ffab9e; }
.acc-item.open .accordion-mark:before, .acc-item.open .accordion-mark:after { background: #42271f; }
.acc-q { -webkit-tap-highlight-color: transparent; }
.acc-q:focus-visible { outline: 2px solid var(--coral); outline-offset: -3px; border-radius: 6px; }
.accordion-mark { transition: transform .3s var(--motion-ease), background-color .3s, border-color .3s; }
.studio-gallery-track i { width: 100%; transform-origin: left; transform: scaleX(0); transition: transform .25s ease; }
.studio-gallery-index { color: #b8c9c4; }
#cases .studio-gallery-index { color: #456353; }
.hero-card .video-card__media { transition: border-color .3s, box-shadow .3s; }
.lesson-card { border-color: #64544c; }
.lesson-card__play { background: #ffc6b8eb; border-color: #ffe0d6; color: #38261f; box-shadow: 0 0 0 10px #ff97880e; }
.lesson-card:hover .lesson-card__play { background: #ffd7c9; }
.lesson-card__play-ic { fill: #4a2b21; stroke: #4a2b21; }
.price-card--popular:before { background: #ffad9e; width: 66px; }
#finalCta .card { border-color: #4d6757; }
#finalCta .card:after { border-color: #ff97882b; box-shadow: 0 0 0 38px #ff978807, 0 0 0 76px #ff978805; }
.btn, .lesson-card, .carousel-arrow { -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.985); }
.acc-q:active .accordion-mark { transform: scale(.9); }
.carousel-arrow { min-width: 44px; min-height: 44px; }
.carousel-arrow--prev { right: 55px; }
.lang-select { min-height: 44px; min-width: 46px; }
@media (hover:hover) and (pointer:fine) {
  .hero-card:hover .video-card__media { border-color: #95756d; box-shadow: 0 12px 28px #0002; }
  .result-card:hover:after { height: calc(100% - 58px); transform: scaleY(1); background: var(--coral-ink); }
  .result-card:hover h3 { color: var(--coral-ink); }
  .audience-list .audience-card:hover { background: #1c2322; border-color: #81564e; }
  .audience-list .audience-card:hover:before { transform: scaleY(1); opacity: 1; }
  .audience-list .audience-card:hover h3 { color: #ffb5a9; }
  .course-accordion .acc-q:hover, #faq .acc-q:hover { color: #ffb5a9; }
  .course-accordion .acc-q:hover .accordion-mark, #faq .acc-q:hover .accordion-mark { border-color: #cb8f82; background: #45322b; }
}
@media (hover:none), (pointer:coarse) {
  .btn--primary:hover { transform: none; background: var(--primary); box-shadow: none; }
  .btn--primary:active { transform: scale(.985); }
  .hero-card:hover .video-card__poster { transform: none; }
  .lesson-card:hover .lesson-card__play { transform: translate(-50%,-50%); }
  .course-accordion .acc-q:hover, #faq .acc-q:hover { color: inherit; }
  .course-accordion .acc-item.is-current .acc-q { color: #ffb5a9; }
  .course-accordion .acc-item.open .acc-q { color: #ffc0b5; }
}
@media (max-width:767px) {
  .hero { padding-top: 39px; }
  .hero .eyebrow { font-size: 10px; padding: 8px 12px; margin-bottom: 24px; letter-spacing: .1em; }
  .section__head:before { width: 34px; margin-bottom: 17px; }
  .result-card:after { top: 24px; height: calc(100% - 48px); }
  .audience-list .audience-card:before { top: 24px; height: calc(100% - 48px); }
  .hero-carousel-wrap, .carousel-wrap { padding-top: 56px; }
  .carousel-arrow { width: 44px; height: 44px; }
  .carousel-arrow--prev { right: 54px; }
}
@supports not (backdrop-filter:blur(1px)) {
  .header { background: #090e13; }
  .modal-overlay { background: #020806ee; }
}
@media (prefers-reduced-motion:reduce) {
  .section__head:before { animation: none !important; }
  .result-card:after, .audience-list .audience-card:before { transform: scaleY(1); }
  .btn:active, .btn--primary:active, .acc-q:active .accordion-mark { transform: none; }
}

/* Content refinements: stronger course descriptor and clear native language menu. */
.hero .eyebrow {
  max-width: 100%;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -.025em;
  padding: 12px 18px;
  border-radius: 12px;
  border-color: #8b554b;
  background: #34221f;
  color: #ffc6b9;
  margin-bottom: 26px;
  white-space: normal;
}
.hero .eyebrow:before { flex: none; width: 6px; height: 6px; }
.lang-select {
  color-scheme: light;
  background: #edf3ed;
  color: #14291f;
  border: 1px solid #b5c7bd;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  padding: 8px 9px;
  min-width: 66px;
  opacity: 1;
}
.lang-select option, .lang-select optgroup {
  color: #14291f;
  background: #fff;
  font-weight: 500;
}
.instructor--portrait { position: relative; }
.instructor--portrait .instructor-photo {
  width: 100%; height: auto; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: 50% 35%;
}
.instructor-avatar {
  position: absolute; right: 18px; bottom: 18px; z-index: 2;
  width: clamp(98px, 10vw, 134px); height: auto; aspect-ratio: 1;
  object-fit: cover; object-position: 50% 24%;
  border-radius: 50%; border: 5px solid #101c18;
  outline: 1px solid #94bfac;
  box-shadow: 0 7px 24px #0005;
}
@media (max-width:767px) {
  .hero .eyebrow {
    font-size: clamp(20px, 5.1vw, 26px);
    padding: 10px 14px; gap: 11px;
    margin-bottom: 23px; border-radius: 10px;
    letter-spacing: -.03em;
  }
  .instructor--portrait .instructor-photo { height: auto; max-height: none; }
  .instructor-avatar { width: 104px; right: 14px; bottom: 14px; border-width: 4px; }
}

/* Help sits immediately below both plans, inside the same light pricing section. */
.payment-support {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 30px; padding: 25px 28px;
  border: 1px solid #b5c8ba; border-radius: 16px; background: #f0f5f0;
  text-align: left;
}
.payment-support p { color: #203b2d; font-size: 16px; line-height: 1.55; max-width: 540px; margin: 0; }
.payment-support__links { display: flex; gap: 10px; flex: none; }
.payment-support .btn {
  min-height: 48px; padding: 12px 19px; border: 1px solid #6b8975;
  border-radius: 10px; color: #224b35; background: transparent; font-size: 14px;
}
.payment-support .btn:focus-visible { outline: 3px solid #365e48; outline-offset: 3px; }
.gift-handoff p { color: #c5d4cc; font-size: 16px; line-height: 1.7; margin: 0 0 25px; }
.gift-handoff .btn { min-height: 52px; }
@media (hover:hover) and (pointer:fine) {
  .payment-support .btn:hover { color: #153b27; background: #dcebdd; border-color: #426b51; }
}
@media (max-width:767px) {
  .payment-support { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 22px; padding: 23px; border-radius: 14px; }
  .payment-support p { font-size: 15px; }
  .payment-support__links { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
  .payment-support .btn { min-width: 0; padding-inline: 10px; font-size: 13px; }
  .gift-handoff p { font-size: 15px; }
}
@media (max-width:360px) {
  .payment-support { padding: 20px 16px; }
  .payment-support__links { grid-template-columns: 1fr; }
}

/* New example titles stay inside the 9:16 frame; outcomes remain readable below. */
.learn-placeholder .clip-placeholder__copy h3 { overflow-wrap: anywhere; }
.learn-placeholder .clip-caption { max-width: 100%; min-height: 0; }
.clip-placeholder--image { background: linear-gradient(155deg,#2d3637,#132322); border-color: #5d736b; }
.clip-placeholder--image .clip-placeholder__label { color: #ffb5a9; }
.clip-placeholder--image .clip-placeholder__symbol { color: #b7d7c9; }

/* Student captions match the small technique captions; unknown authors stay blank. */
#cases .case-handle { font-size: 13px; font-weight: 400; line-height: 1.45; text-align: left; margin: 15px 3px 0; min-height: 38px; max-width: 95%; color: #435c4c; letter-spacing: 0; white-space: normal; }
#cases .case-author { white-space: nowrap; }
#cases .case-placeholder__media { aspect-ratio: 9 / 16; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; background: linear-gradient(155deg,#d7e5dc,#bfd3c5); border-color: #94af9e; color: #294b38; }
.case-placeholder__label { font-size: 11px; line-height: 1.5; color: #45634f; }
.case-placeholder__copy { margin-block: auto; }
.case-placeholder__copy .ic { width: 34px; height: 34px; stroke-width: 1.3; color: #547a63; margin-bottom: 16px; }
.case-placeholder__copy h3 { font-size: 26px; line-height: 1.2; letter-spacing: -.025em; font-weight: 500; }
@media(max-width: 767px) {
  #cases .case-handle { font-size: 12px; line-height: 1.5; margin-top: 12px; }
}

/* Each price card contains the same curriculum, independently expandable. */
#pricing .section__head .lead { max-width: 780px; font-size: 18px; line-height: 1.6; }
.price-card .features > .package-curriculum { display: block; min-width: 0; }
.package-program { --program-line: #587566; --program-active: #1b392b; color: inherit; min-width: 0; }
.price-card--vip .package-program { --program-line: #a4b9a9; --program-active: #cbded0; }
.package-program > summary { display: block; list-style: none; cursor: pointer; border-radius: 8px; }
.package-program > summary::-webkit-details-marker { display: none; }
.package-program > summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 6px; }
.package-program__heading { display: flex; align-items: flex-start; gap: 12px; }
.package-program__heading > span { min-width: 0; }
.price-card .package-program .package-feature__title { display: block; font-size: 15px; font-weight: 600; line-height: 1.45; }
.price-card .package-program .package-feature__text { display: block; margin-top: 5px; font-size: 13px; line-height: 1.6; color: var(--muted-foreground); }
.package-program__action { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; margin: 12px 0 0 27px; color: var(--primary); font-size: 14px; font-weight: 600; }
.package-program__action .accordion-mark { background: transparent; border-color: currentColor; width: 32px; height: 32px; }
.package-program__action .accordion-mark:before, .package-program__action .accordion-mark:after { background: currentColor; width: 12px; }
.package-program__collapse, .package-program[open] > summary .package-program__expand { display: none; }
.package-program[open] > summary .package-program__collapse { display: inline; }
.package-program[open] > summary .accordion-mark:after { transform: rotate(0); }
.package-program__body { padding-top: 12px; }
.price-card .course-accordion--package { gap: 0; }
.price-card .course-accordion--package .acc-item { border-color: var(--program-line); }
.price-card .course-accordion--package .acc-item.open, .price-card .course-accordion--package .acc-item.is-current { background: var(--program-active); border-color: var(--program-line); }
.price-card .course-accordion--package .acc-q { grid-template-columns: minmax(0,1fr) 32px; gap: 12px; padding: 18px 8px; min-height: 60px; color: inherit; font-size: 15px; line-height: 1.45; }
.price-card .course-accordion--package .acc-q:focus-visible { border-radius: 4px; }
.price-card .course-accordion--package .acc-q .accordion-mark { background: transparent; border-color: var(--program-line); width: 32px; height: 32px; }
.price-card .course-accordion--package .accordion-mark:before, .price-card .course-accordion--package .accordion-mark:after { background: currentColor; width: 12px; }
.price-card .course-accordion--package .acc-a__inner { padding: 0 10px 20px; color: var(--muted-foreground); font-size: 14px; }
.price-card .course-accordion--package .course-module__intro { color: inherit; font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.price-card .course-accordion--package .icon-list { gap: 10px; }
.price-card .course-accordion--package .icon-list li { display: block; padding-left: 16px; font-size: 13px; }
.price-card .course-accordion--package .icon-list li:before { background: var(--primary); }
.price-card .package-program .program-note { margin-top: 18px; color: var(--muted-foreground); border-color: var(--primary); font-size: 13px; }

/* Free lesson: the offer leads; the lead magnet's preview (the Efsane Nine breakdown) sits between the
   title and the button — in place of the prototype's social-network marks (owner, 20.10.2026). */
#finalCta .final-gift {
  display: grid; grid-template-columns: minmax(0,1fr);
  grid-template-areas: 'title' 'lesson' 'offer'; row-gap: 28px;
  align-items: start; padding: clamp(30px,4.5vw,60px);
  background: radial-gradient(ellipse at 100% 0,#31544966,transparent 60%),linear-gradient(135deg,#173d2f,#10291f);
  border-color: #668f7b;
}
#finalCta .final-gift:after { display: none; }
#finalCta .final-gift h2 { grid-area: title; font-size: clamp(34px,3.8vw,50px); line-height: 1.16; letter-spacing: -.035em; margin: 0; max-width: 950px; }
#finalCta .final__free { display: block; font-size: clamp(44px,5.4vw,72px); font-weight: 600; line-height: 1.06; color: #ffb5a9; margin-bottom: 22px; }
#finalCta .final__promise { display: block; color: #f1f8f2; }
#finalCta .final__outcome { color: #aff5d7; text-decoration: underline; text-decoration-color: #628f79; text-decoration-thickness: 2px; text-underline-offset: .14em; }
.final-gift__lesson { grid-area: lesson; min-width: 0; max-width: 690px; }
/* 35% smaller than the 690px it was, where the button beside it is a fixed 340px (owner, 21.10.2026). Below 768px
   the button spans the card, and a capped preview would sit narrower than the button under it. */
@media(min-width: 768px) { .final-gift__lesson { max-width: 450px; } }
.final-gift__lesson .lesson-card { display: block; }
.final-gift__offer { grid-area: offer; }
#finalCta .final-gift__offer p { margin: 0; max-width: 690px; font-size: 19px; line-height: 1.6; }
#finalCta .final-gift .final__actions { margin-top: 26px; }
#finalCta .final-gift .final__actions .btn { width: 340px; max-width: 100%; min-height: 58px; white-space: normal; line-height: 1.35; }
#finalCta .final-gift__offer--direct .final__actions { margin-top: 0; }
#finalCta .final-gift .final__microcopy { margin-top: 12px; }
#finalCta .final-gift__offer .final__microcopy { font-size: 13px; }
@media(max-width: 900px) {
  #finalCta .final-gift { max-width: 690px; margin-inline: auto; }
}
@media(max-width: 767px) {
  #pricing .section__head .lead { font-size: 16px; }
  .package-program__heading { gap: 10px; }
  .package-program__action { margin-left: 24px; }
  .price-card .course-accordion--package .acc-q { font-size: 14px; padding-inline: 4px; }
  .price-card .course-accordion--package .acc-a__inner { padding-inline: 4px; }
  #finalCta .final-gift { padding: 32px 22px; row-gap: 24px; }
  #finalCta .final-gift h2 { font-size: clamp(30px,8.5vw,38px); line-height: 1.17; }
  #finalCta .final__free { font-size: clamp(36px,10.8vw,48px); margin-bottom: 18px; }
  #finalCta .final-gift__offer p { font-size: 17px; }
  #finalCta .final-gift .final__actions .btn { width: 100%; }
}
@media(max-width: 360px) {
  #finalCta .final-gift { padding-inline: 15px; }
}
.media-trigger { display:block; width:100%; padding:0; color:inherit; cursor:pointer; appearance:none; -webkit-appearance:none; }
.local-media { background:#080c0f; }
.local-media .video-card__poster,.local-media video { object-fit:contain; }
.local-media video { pointer-events:none; }
.media-trigger__badge { position:absolute; z-index:2; right:10px; bottom:10px; display:flex; align-items:center; gap:6px; padding:8px 11px; border-radius:999px; background:#071310e8; border:1px solid #ffffff35; color:#fff; font-size:11px; line-height:1; box-shadow:0 2px 14px #0003; }
.media-trigger__badge .ic { width:12px; height:12px; }
.media-trigger:focus-visible,.review-card:focus-visible { outline:3px solid var(--primary); outline-offset:4px; }
.clip-caption__title { display:block; color:#edf5ef; font-size:14px; font-weight:550; line-height:1.4; margin-bottom:6px; }
.learn-material .clip-caption { max-width:100%; min-height:0; }
#learnCarousel .hero-card { scroll-snap-align:start; }
.review-card--video { cursor:pointer; }
.review-card.carousel__card { position:relative; }
.review-card__image { width:100%; height:100%; flex:1 1 0; }
.review-card--text .review-card__image { padding:10px; }
.review-card__video-poster { position:relative; overflow:hidden; padding:0; }
.review-card__video-poster img { border-radius:0; }
.review-card__play { display:grid; place-items:center; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:52px; height:52px; border-radius:50%; color:#09251c; background:#c3f7e5e8; box-shadow:0 0 0 8px #07131030; }
.review-card__play .ic { width:21px; height:21px; fill:currentColor; }
.review-card__zoom { display:grid; place-items:center; position:absolute; right:10px; bottom:10px; width:32px; height:32px; border-radius:50%; color:#edf5ef; background:#071310e8; border:1px solid #ffffff35; }
.review-card__zoom .ic { width:16px; height:16px; }
.modal--review.modal--media { width:min(94vw,680px); max-width:none; overflow:auto; overscroll-behavior:contain; border-radius:18px; }
.media-dialog { width:100%; background:#101a1f; border:1px solid #34443f; border-radius:18px; overflow:hidden; }
.media-dialog__bar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:8px 10px 8px 18px; color:#b8c9c1; font-size:12px; }
.media-dialog__bar .btn--icon { flex-shrink:0; min-width:44px; min-height:44px; }
.media-dialog--testimonial .media-dialog__bar { justify-content:flex-end; }
.media-dialog__bar--end { justify-content:flex-end; }   /* a video's bar: only the × (owner, 21.10.2026) */
.media-player { background:#030607; }
.media-player video { display:block; width:100%; max-height:65vh; max-height:65dvh; object-fit:contain; }
.media-dialog__caption { padding:18px 20px 22px; }
.media-dialog__caption h3 { font-size:18px; line-height:1.35; margin:0; color:#f0f7f2; }
.media-dialog__caption p { font-size:13px; line-height:1.65; margin:8px 0 0; color:#bdcdc4; }
.media-image-scroll { max-height:65vh; max-height:65dvh; overflow:auto; background:#070c0e; overscroll-behavior:contain; }
.media-image-scroll img { display:block; width:100%; height:auto; max-height:65vh; max-height:65dvh; object-fit:contain; }
.media-error { padding:18px; color:#e8efeb; font-size:13px; }
.media-error[hidden] { display:none; }
.media-error .btn { margin-top:10px; }
.price-card--vip .package-feature__title { display:block; font-weight:600; color:#203329; margin-bottom:6px; }
.price-card--vip .package-feature__text { display:block; color:#4d6153; }
@media(max-width:767px) {
  .clip-caption__title { font-size:13px; }
  .media-trigger__badge { font-size:11px; right:9px; bottom:9px; }
  .modal--review.modal--media { width:calc(100vw - 24px); }
  .media-dialog__caption { padding:15px 17px 19px; }
  .media-dialog__caption h3 { font-size:16px; }
  .media-dialog__caption p { font-size:12px; }
}

/* ── Aivinir v3 integration (owner's edits to the prototype, 20.10.2026) ───────────────────────
   Phones: no carousel arrows (above or below) — swipe is the gesture, and the progress line with its
   «06 / 43» counter stays; the room reserved for the arrows goes too. The header stays pinned with
   its page-progress line (studio.css), as in the prototype. */
/* Section heads read left-aligned, as the prototype was designed (it was built on the pre-«variant A»
   base, where only .section--center heads were centred). */
.studio .section__head { margin-inline: 0; text-align: left; }
@media (max-width:767px) {
  .carousel-arrow, .hero-carousel-wrap > .carousel-arrow, .carousel-wrap > .carousel-arrow { display: none !important; }
  .hero-carousel-wrap, .carousel-wrap { padding-top: 0; }
}
/* The price in a modal's summary never breaks between the number and «TL» (it did on a 390-px
   iPhone once the package name took the room). */
.modal__summary .price { white-space: nowrap; }
.media-dialog__caption--handle h3 { -webkit-user-select: none; user-select: none; }
/* The curriculum inside the light VIP card: the open / current module keeps the card's dark ink —
   the salmon heading of the dark sections read at 1.1:1 on this pale green. */
.price-card--vip .course-accordion--package .acc-item.open .acc-q,
.price-card--vip .course-accordion--package .acc-item.is-current .acc-q { color: #203329; }

/* ---- The lesson page (/free_lesson, /growth_lesson) in the v3 look (owner, 21.10.2026) -------------
   The page the lesson card opens after the form: the landing's header line, section heads and the
   pricing section's light panel, instead of the old centred single column. Desktop puts the portrait
   clip on the left and the words + the questions block beside it; a wide clip (the breakdown) keeps
   one column. Scoped to .lesson-page--v3 so the old .lesson-page rules stay a plain fallback. */
.lesson-page--v3 { max-width: 1180px; margin: 0 auto; padding: 0 23px calc(48px + env(safe-area-inset-bottom, 0px)); display: block; gap: 0; text-align: left; }
.lesson-page--v3 .lesson-page__top { display: flex; align-items: center; height: 63px; margin: 0 -23px 30px; padding: 0 23px; border-bottom: 1px solid #ffffff14; }
.lesson-page--v3 .lesson-page__logo { align-self: auto; }
.lesson-page--v3 .lesson-page__logo .logo-img { height: 23px; }
.lesson-page--v3 .lesson-page__hero { display: grid; grid-template-areas: "intro" "player" "ask"; gap: 26px; }
.lesson-page--v3 .lesson-page__intro { grid-area: intro; margin: 0; max-width: 620px; }
.lesson-page--v3 .lesson-page__intro h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -.045em; font-weight: 600; margin: 0; }
.lesson-page--v3 .lesson-page__intro .lead { margin: 16px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted-foreground); }
.lesson-page--v3 .lesson-page__player { grid-area: player; width: 100%; display: block; }
/* The frame hugs the clip: a portrait 9:16 box as tall as the screen allows (no black bars inside the
   border), centred on a phone, left-aligned in its desktop column. */
.lesson-page--v3 .lesson-page__video { display: block; aspect-ratio: 9 / 16; width: auto; height: auto; max-width: 100%; max-height: 74dvh; margin: 0 auto; border-radius: 16px; border: 1px solid #ffffff1a; background: #000; box-shadow: 0 18px 50px #0006; }
.lesson-page--v3 .lesson-page__video.lesson-page__video--wide { aspect-ratio: 16 / 9; width: 100%; max-height: none; }
.lesson-page--v3 .lesson-page__ask { grid-area: ask; display: flex; flex-direction: column; align-items: stretch; gap: 18px; text-align: left; padding: 26px 24px; border-radius: 16px; background: #101a1d; border: 1px solid #ffffff14; }
.lesson-page--v3 .lesson-page__ask h2 { margin: 0; font-size: 24px; line-height: 1.25; letter-spacing: -.025em; }
.lesson-page--v3 .lesson-page__wa { justify-content: space-between; }
.lesson-page--v3 .lesson-page__join { display: block; width: auto; margin: 56px -23px 0; padding: 58px 23px; border-radius: 24px; background: #e7eee7; color: #17271e; text-align: left; --muted-foreground: #50665a; --border: #b5c8ba; --coral: var(--coral-ink); }
.lesson-page--v3 .lesson-page__join .section__head { margin: 0 0 34px; max-width: 780px; }
.lesson-page--v3 .lesson-page__join .section__head:before { background: var(--coral-ink); }
.lesson-page--v3 .lesson-page__join h2 { margin: 0; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.08; }
.lesson-page--v3 .lesson-page__join .lead { margin: 16px 0 0; font-size: 15px; line-height: 1.55; max-width: 620px; }
@media (min-width: 900px) {
  .lesson-page--v3 { padding-inline: 64px; }
  .lesson-page--v3 .lesson-page__top { height: 84px; margin: 0 -64px 56px; padding: 0 64px; }
  .lesson-page--v3 .lesson-page__logo .logo-img { height: 26px; }
  .lesson-page--v3 .lesson-page__hero { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); grid-template-areas: "player intro" "player ask"; grid-template-rows: auto 1fr; column-gap: 64px; row-gap: 32px; align-items: start; }
  .lesson-page--v3 .lesson-page__video { max-height: 82vh; margin: 0; }
  .lesson-page--v3 .lesson-page__intro .lead { font-size: 18px; }
  .lesson-page--v3 .lesson-page__ask { max-width: 520px; padding: 30px 32px; }
  .lesson-page--v3 .lesson-page__wa { align-self: flex-start; min-width: 260px; }
  .lesson-page--v3 .lesson-page__join { margin: 96px 0 0; padding: 80px 64px; border-radius: 36px; }
  .lesson-page--v3 .lesson-page__join .section__head { margin-bottom: 55px; }
  .lesson-page--v3 .lesson-page__join .lead { font-size: 18px; }
  .lesson-page--v3 .pricing-grid { grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
  /* The breakdown is 16:9 — one column, the clip at full width. */
  .lesson-page--v3.lesson-page--wide .lesson-page__hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "player" "ask"; grid-template-rows: none; }
  .lesson-page--v3.lesson-page--wide .lesson-page__video { max-height: none; max-width: 980px; }
}
