@font-face {
  font-family: "Prata";
  src: url("assets/prata.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/bodoni-moda-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorant-garamond-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

:root {
  --page: #e9e2d2;
  --surface: #fffaf0;
  --surface-warm: #fff0cd;
  --ink: #574724;
  --text: #151515;
  --muted: #7c776e;
  --olive: #718052;
  --line: rgba(87, 71, 36, 0.2);
  --radius: 34px;
  --space: clamp(64px, 8vw, 118px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--text);
  background-color: var(--page);
  background-image: url("assets/botanical-lines.svg");
  background-size: 560px 560px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

a {
  color: inherit;
}

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

button:focus-visible,
a:focus-visible,
summary:focus-visible,
.reviews-marquee:focus-visible {
  outline: 3px solid #b06b79;
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 8px;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1440px, calc(100% - 20px));
  min-height: 58px;
  margin: 8px auto 0;
  padding: 10px 34px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 0 6px 26px rgba(87, 71, 36, 0.06);
  backdrop-filter: blur(16px);
}

.brand,
.start-date,
.main-nav a {
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
}

.brand {
  justify-self: start;
  color: #aaa69e;
}

.start-date {
  justify-self: end;
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.start-date span {
  color: #aaa69e;
  font-weight: 400;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 44px);
}

.main-nav a {
  position: relative;
  white-space: nowrap;
  color: var(--ink);
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

main {
  padding: 10px 0 30px;
}

.section-shell {
  position: relative;
  width: min(1440px, calc(100% - 20px));
  margin-inline: auto;
}

.surface {
  border-radius: var(--radius);
  background: var(--surface);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 3;
}

.hero-copy {
  display: flex;
  min-width: 0;
  height: clamp(500px, 39vw, 560px);
  min-height: 0;
  padding: clamp(36px, 5vw, 72px) clamp(26px, 5vw, 74px) 48px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-copy > :not(.petals-hero) {
  position: relative;
  z-index: 2;
}

.hero h1,
.section-title,
.teacher-word,
.tariff-card h3,
.final-visual p {
  margin: 0;
  color: var(--ink);
  font-family: "Prata", Georgia, serif;
  font-weight: 400;
}

.hero h1 {
  width: 100%;
  font-size: clamp(64px, 7.6vw, 116px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-align: center;
  text-rendering: geometricPrecision;
}

.hero h1 span {
  position: relative;
  left: 50%;
  display: block;
  width: max-content;
  max-width: none;
  margin: 0;
  transform: translateX(-50%);
}

.hero-lead {
  margin: 30px 0 28px;
  color: var(--ink);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.25;
}

.primary-button,
.outline-button,
.select-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
}

.primary-button {
  min-height: 66px;
  padding: 5px 7px 5px 30px;
  border-radius: 999px;
  color: #fff;
  background: var(--olive);
  font-size: 14px;
  font-weight: 700;
  transition: background-color 160ms ease, transform 160ms ease;
}

.primary-button:hover {
  background: #5f6e44;
  transform: translateY(-2px);
}

.arrow-circle,
.promise-arrow {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface);
}

.arrow-icon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual {
  position: relative;
  height: clamp(500px, 39vw, 560px);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #d8d8d5;
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.promise-card {
  position: absolute;
  top: 62px;
  right: clamp(24px, 5vw, 66px);
  display: grid;
  width: clamp(164px, 17vw, 210px);
  min-height: 180px;
  padding: 28px 22px 22px;
  border: 0;
  border-radius: 28px;
  color: #282828;
  background: rgba(255, 250, 240, 0.94);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(58, 50, 37, 0.1);
}

.promise-card::before {
  position: absolute;
  top: 50%;
  left: -19px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  content: "";
  background: rgba(190, 189, 188, 0.9);
  transform: translateY(-50%);
}

.promise-number {
  color: #aaa69e;
  font-size: 12px;
}

.promise-text {
  align-self: center;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.15;
}

.promise-arrow {
  position: absolute;
  right: -25px;
  bottom: 32px;
  width: 50px;
  height: 50px;
  background: #fff1ce;
  font-size: 26px;
}

.benefits,
.reviews,
.videos,
.tariffs {
  padding-top: var(--space);
}

.section-title {
  font-size: clamp(54px, 9vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.section-title span {
  display: block;
  text-align: right;
}

.section-title.centered {
  text-align: center;
}

.benefits-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 54px;
}

.benefit-card {
  display: grid;
  min-height: 360px;
  padding: 32px 28px;
  grid-template-rows: 104px 74px 1fr;
  align-content: start;
  border-radius: 28px;
  background: var(--surface);
}

.benefit-icon {
  display: block;
  width: 88px;
  height: 96px;
  margin: 0;
  overflow: visible;
}

.benefit-card:nth-child(1) {
  --icon-bg: #f4d8df;
  --icon-main: #667849;
  --icon-accent: #d88464;
  --icon-detail: #f4c760;
  --icon-secondary: #9a77b4;
}

.benefit-card:nth-child(2) {
  --icon-bg: #dfe7ca;
  --icon-main: #607348;
  --icon-accent: #d9899e;
  --icon-detail: #e9ad65;
  --icon-secondary: #98a968;
}

.benefit-card:nth-child(3) {
  --icon-bg: #f9e0bc;
  --icon-main: #62784b;
  --icon-accent: #d69c3f;
  --icon-detail: #f3c45e;
  --icon-secondary: #d7889f;
}

.benefit-card:nth-child(4) {
  --icon-bg: #eadcf0;
  --icon-main: #718052;
  --icon-accent: #d9819b;
  --icon-detail: #f2bd59;
  --icon-secondary: #94a963;
}

.benefit-card:nth-child(5) {
  --icon-bg: #dce7d1;
  --icon-main: #687c4e;
  --icon-accent: #d88a66;
  --icon-detail: #efc45f;
  --icon-secondary: #bc7f9e;
}

.benefit-icon .icon-bg {
  fill: var(--icon-bg);
}

.benefit-icon .icon-main,
.benefit-icon .icon-accent,
.benefit-icon .icon-light {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.7;
}

.benefit-icon .icon-main {
  stroke: var(--icon-main);
}

.benefit-icon .icon-accent {
  stroke: var(--icon-accent);
}

.benefit-icon .icon-light {
  stroke: var(--surface);
}

.benefit-icon .icon-fill-main {
  fill: var(--icon-main);
}

.benefit-icon .icon-fill-accent {
  fill: var(--icon-accent);
}

.benefit-icon .icon-fill-detail {
  fill: var(--icon-detail);
}

.benefit-icon .icon-fill-secondary {
  fill: var(--icon-secondary);
}

.benefit-icon .icon-fill-light {
  fill: var(--surface);
}

.benefit-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.teacher {
  position: relative;
  display: grid;
  grid-template-columns: 0.4fr 1.35fr 1.25fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
  margin-top: var(--space);
  padding: clamp(28px, 3vw, 44px);
}

.teacher-word {
  font-size: clamp(60px, 7.4vw, 114px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  -webkit-text-stroke: 0.35px currentColor;
}

.teacher-word-before {
  padding-top: 10px;
}

.teacher-word-after {
  margin: 0 0 clamp(28px, 3vw, 44px);
}

.teacher-info {
  min-width: 0;
}

.teacher-photo {
  width: 100%;
  height: auto;
  align-self: start;
  border-radius: 30px;
}

.teacher-copy {
  color: #171717;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.48;
}

.teacher-copy p {
  margin: 0 0 24px;
}

.teacher-copy p:last-child {
  margin: 30px 0 0;
}

.teacher-copy ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.teacher-copy li::before {
  content: "– ";
}

.reviews-marquee {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 50px;
  overflow: hidden;
  height: 760px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
}

.review-column {
  min-width: 0;
  overflow: hidden;
  border-radius: 28px;
  cursor: pointer;
}

.review-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  will-change: transform;
}

.review-column[data-direction="up"] .review-stack {
  animation: reviews-up 48s linear infinite;
}

.review-column[data-direction="down"] .review-stack {
  animation: reviews-down 54s linear infinite;
}

.reviews-marquee:focus .review-stack,
.reviews-marquee.is-paused .review-stack {
  animation-play-state: paused;
}

@media (hover: hover) {
  .reviews-marquee:hover .review-stack {
    animation-play-state: paused;
  }
}

.review-set {
  display: grid;
  flex: 0 0 auto;
  gap: 12px;
}

@keyframes reviews-up {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-50% - 6px)); }
}

@keyframes reviews-down {
  from { transform: translateY(calc(-50% - 6px)); }
  to { transform: translateY(0); }
}

.review-card {
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
}

.review-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.review-message {
  display: flex;
  min-height: 300px;
  padding: 24px;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.review-message p,
.review-message blockquote {
  margin: 0;
  padding: 13px 16px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.38;
}

.review-message blockquote {
  align-self: flex-start;
  max-width: 92%;
  color: #fff;
  background: #252525;
}

.review-message .question,
.review-message .answer {
  align-self: flex-end;
  color: #fff;
  background: linear-gradient(135deg, #8b37ee, #613fff);
}

.large-message blockquote {
  max-width: 100%;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.video-poster,
.video-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: #d8d8d5;
}

.video-poster {
  cursor: pointer;
}

.video-poster img {
  position: absolute;
  top: 0;
  left: -1px;
  width: 100%;
  height: 100%;
  min-width: calc(100% + 2px);
  max-width: none;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.video-poster:hover img {
  opacity: 0.82;
  transform: scale(1.02);
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 64px;
  height: 64px;
  padding-left: 4px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.54);
  font-size: 22px;
  transform: translate(-50%, -50%);
}

.video-frame iframe {
  position: absolute;
  top: 0;
  left: -2px;
  width: calc(100% + 4px);
  height: 100%;
  border: 0;
}

.tariff-grid {
  display: grid;
  position: relative;
  z-index: 3;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 50px;
}

.tariffs {
  position: relative;
}

.tariffs .section-title,
.teacher > :not(.section-petals),
.final-cta > :not(.section-petals) {
  position: relative;
  z-index: 3;
}

.tariff-card-wrap {
  position: relative;
  min-width: 0;
  isolation: isolate;
}

.tariff-card-wrap > .tariff-card {
  height: 100%;
}

.tariff-card-wrap-featured {
  z-index: 4;
}

.tariff-card {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 800px;
  padding: 32px 30px 22px;
  flex-direction: column;
  border: 1px solid rgba(87, 71, 36, 0.12);
  border-radius: 26px;
  background: var(--surface);
}

.tariff-card.featured {
  background: var(--surface-warm);
}

.tariff-card header {
  min-height: 128px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.tariff-card h3 {
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.tariff-card h3.premium-plus-title {
  font-size: clamp(31px, 3vw, 46px);
  white-space: nowrap;
}

.premium-plus-title span {
  position: relative;
  top: -0.16em;
  margin-left: 0.08em;
  font-size: 0.68em;
}

.tariff-card header p {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.tariff-card ul {
  display: grid;
  min-height: 285px;
  gap: 17px;
  align-content: start;
  padding: 24px 0 20px;
  margin: 0;
  list-style: none;
}

.tariff-card li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #665b42;
  font-size: 15px;
  line-height: 1.35;
}

.tariff-feature-icon {
  width: 22px;
  height: 22px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-platform,
.icon-modules {
  color: #b06b79;
}

.icon-telegram,
.icon-community {
  color: #5d83a8;
}

.icon-feedback,
.icon-review {
  color: #708353;
}

.icon-bonus {
  color: #bc7c99;
}

.icon-access,
.icon-download {
  color: #b18443;
}

.icon-no-feedback {
  color: #9a786d;
}

.result-box {
  min-height: 190px;
  padding: 22px;
  border-radius: 22px;
  background: #ffedc8;
}

.featured .result-box {
  background: var(--surface);
}

.result-box h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 18px;
}

.result-box p {
  margin: 0;
  color: #665b42;
  font-size: 14px;
  line-height: 1.35;
}

.price {
  margin: auto 0 40px;
  padding-top: 28px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 58px;
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-align: center;
}

.price small {
  position: relative;
  top: -0.02em;
  margin-left: 0.03em;
  font-family: inherit;
  font-size: 0.72em;
  font-weight: inherit;
}

.tariff-actions {
  display: grid;
  gap: 8px;
}

.outline-button,
.select-button {
  min-height: 54px;
  padding: 5px 6px 5px 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.outline-button {
  border: 1px solid #dfcfae;
  background: var(--surface-warm);
}

.featured .outline-button {
  border-color: rgba(87, 71, 36, 0.08);
  background: var(--surface);
}

.select-button {
  color: #fff;
  background: var(--olive);
}

.outline-button span,
.select-button span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface);
  font-size: 19px;
}

.outline-button:hover,
.select-button:hover {
  transform: translateY(-1px);
}

.faq,
.final-cta {
  margin-top: var(--space);
  padding: clamp(34px, 6vw, 90px);
}

.faq-list {
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.faq .section-title {
  font-size: clamp(50px, 7vw, 100px);
  white-space: nowrap;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  min-height: 88px;
  padding: 24px 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  transition: transform 280ms ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  overflow: hidden;
}

.faq details p {
  max-width: 760px;
  margin: 0;
  padding: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.final-cta {
  position: relative;
  overflow: hidden;
}

.final-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-top: 38px;
}

.final-copy {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.45;
}

.final-copy p {
  margin: 0 0 22px;
}

.final-visual {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(170px, 0.65fr);
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
}

.final-puzzles {
  width: min(112%, 660px);
  max-width: none;
  height: auto;
  justify-self: center;
}

.section-petals {
  position: absolute;
  z-index: 2;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.petals-hero {
  z-index: 1;
  top: -85px;
  bottom: auto;
  left: -95px;
  width: clamp(240px, 20vw, 290px);
  opacity: 0.86;
  transform: rotate(-13deg);
}

.petals-teacher {
  width: clamp(250px, 24vw, 340px);
  opacity: 0.72;
}

.petals-teacher-bottom {
  right: auto;
  bottom: 14px;
  left: 10px;
  transform: rotate(7deg);
}

.petals-teacher-top {
  top: 14px;
  right: 12px;
  transform: rotate(172deg) scale(0.88);
}

.petals-tariffs-premium {
  z-index: 2;
  top: -88px;
  left: -74px;
  width: calc(100% + 148px);
  opacity: 0.9;
  transform: rotate(-8deg);
}

.petals-tariffs-mobile {
  display: none;
}

.petals-final {
  top: -110px;
  right: 0;
  width: clamp(270px, 27vw, 400px);
  opacity: 0.76;
  filter: blur(0.3px);
  transform: rotate(10deg);
}

.final-visual p {
  min-width: 0;
  font-size: clamp(25px, 2.45vw, 38px);
  line-height: 1.07;
  letter-spacing: -0.05em;
}

.final-button {
  width: min(820px, 100%);
  margin: 42px auto 0;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 10px 24px;
    border-radius: 30px;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 32px;
  }

  .hero-copy,
  .hero-visual {
    height: 540px;
    min-height: 0;
  }

  .benefits-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .teacher {
    grid-template-columns: 0.4fr 1.35fr 1.25fr;
  }

  .reviews-marquee {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 720px;
  }

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

  .tariff-card {
    min-height: 720px;
  }
}

@media (max-width: 800px) {
  :root {
    --radius: 25px;
    --space: 72px;
  }

  html {
    scroll-padding-top: 134px;
  }

  .site-header {
    top: 5px;
    width: calc(100% - 10px);
    min-height: 0;
    padding: 13px 16px 11px;
    gap: 13px 12px;
    border-radius: 23px;
  }

  .brand,
  .start-date,
  .main-nav a {
    font-size: 11px;
  }

  .main-nav {
    width: 100%;
    padding-bottom: 2px;
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  main {
    padding-top: 5px;
  }

  .section-shell {
    width: calc(100% - 10px);
  }

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

  .hero-copy {
    height: auto;
    min-height: clamp(310px, 52vw, 360px);
    padding: 24px 20px 18px;
  }

  .hero h1 {
    font-size: clamp(52px, 14.7vw, 76px);
  }

  .hero-lead {
    margin: 14px 0;
    font-size: 14px;
  }

  .petals-hero {
    top: -38px;
    bottom: auto;
    left: -65px;
    width: clamp(145px, 25vw, 175px);
  }

  .desktop-break {
    display: none;
  }

  .primary-button {
    min-height: 54px;
    padding-left: 20px;
    font-size: 12px;
  }

  .arrow-circle {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .hero-visual {
    height: clamp(310px, 70vw, 400px);
    min-height: 0;
  }

  .promise-card {
    top: 24px;
    right: 22px;
    width: 160px;
    min-height: 160px;
  }

  .section-title,
  .teacher-word {
    font-size: clamp(48px, 15vw, 82px);
  }

  .benefits .section-title,
  .benefits .section-title span {
    text-align: center;
  }

  .benefits-track {
    display: flex;
    width: calc(100% + 5px);
    margin-top: 34px;
    padding: 0 5px 14px 0;
    gap: 9px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .benefits-track::-webkit-scrollbar {
    display: none;
  }

  .benefit-card {
    width: min(70vw, 270px);
    min-height: 290px;
    padding: 22px 20px;
    grid-template-rows: 78px auto 1fr;
    gap: 8px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .benefit-icon {
    width: 68px;
    height: 74px;
  }

  .benefit-card h3 {
    font-size: 16px;
  }

  .benefit-card p {
    font-size: 13px;
    line-height: 1.42;
  }

  .teacher {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 26px;
  }

  .teacher-word-before {
    padding-top: 0;
  }

  .teacher-word-after {
    margin-bottom: 32px;
  }

  .teacher-photo {
    max-height: none;
  }

  .teacher-copy p,
  .teacher-copy p:last-child {
    margin: 0 0 26px;
  }

  .teacher-copy p:last-child {
    margin-top: 28px;
  }

  .reviews-marquee {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    height: 680px;
    margin-top: 34px;
    gap: 8px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .review-column {
    min-height: 0;
  }

  .video-grid {
    display: flex;
    width: calc(100% + 5px);
    padding: 0 5px 14px 0;
    gap: 9px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-top: 34px;
  }

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

  .video-poster,
  .video-frame {
    width: min(68vw, 270px);
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .tariff-grid {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

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

  .petals-tariffs-premium {
    display: none;
  }

  .tariff-card.featured {
    overflow: hidden;
    isolation: isolate;
  }

  .tariff-card.featured > :not(.petals-tariffs-mobile) {
    position: relative;
    z-index: 2;
  }

  .petals-tariffs-mobile {
    display: block;
    z-index: 1;
    width: 105px;
    opacity: 0.46;
  }

  .petals-tariffs-mobile-left {
    top: 6px;
    left: -42px;
    transform: rotate(18deg);
  }

  .petals-tariffs-mobile-right {
    top: 12px;
    right: -38px;
    transform: rotate(-22deg);
  }

  .tariff-card header {
    min-height: 0;
  }

  .tariff-card ul {
    min-height: 0;
  }

  .result-box {
    min-height: 0;
  }

  .price {
    margin-top: 18px;
  }

  .faq,
  .final-cta {
    padding: 32px 22px;
  }

  .faq-list {
    margin-top: 32px;
  }

  .faq summary {
    min-height: 74px;
    font-size: 14px;
  }

  .final-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  .final-visual {
    grid-template-columns: minmax(170px, 1.2fr) minmax(130px, 0.8fr);
    justify-content: center;
    min-width: 0;
  }

  .final-visual p {
    min-width: 0;
    font-size: clamp(21px, 6.5vw, 28px);
  }
}

@media (min-width: 700px) and (max-width: 800px) {
  .petals-tariffs-mobile {
    width: 190px;
    opacity: 0.5;
  }

  .petals-tariffs-mobile-left {
    top: -8px;
    left: -58px;
  }

  .petals-tariffs-mobile-right {
    top: -2px;
    right: -54px;
  }
}

@media (max-width: 480px) {
  .site-header {
    grid-template-columns: 1fr 1fr;
  }

  .brand {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .start-date {
    white-space: nowrap;
  }

  .hero-copy {
    height: auto;
    min-height: 330px;
    padding: 20px;
    overflow: hidden;
  }

  .hero-lead {
    margin-block: 10px;
  }

  .hero-visual {
    height: 340px;
    min-height: 0;
  }

  .promise-card {
    top: 18px;
    right: 16px;
    width: 144px;
    min-height: 145px;
    padding: 22px 18px 18px;
  }

  .promise-text {
    font-size: 14px;
  }

  .promise-arrow {
    right: -15px;
    bottom: 22px;
    width: 42px;
    height: 42px;
  }

  .section-title span {
    text-align: center;
  }

  .faq .section-title {
    font-size: clamp(40px, 11vw, 52px);
    white-space: normal;
  }

  .review-message {
    padding: 20px;
  }

  .final-visual {
    justify-content: flex-start;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .final-puzzles {
    width: min(105%, 440px);
  }

  .section-petals {
    opacity: 0.7;
  }

  .petals-hero {
    top: -38px;
    bottom: auto;
    left: -65px;
    width: 145px;
  }

  .petals-teacher {
    width: 240px;
    opacity: 0.64;
  }

  .petals-teacher-bottom {
    right: auto;
    bottom: 8px;
    left: 0;
  }

  .petals-teacher-top {
    top: 8px;
    right: 0;
  }

  .petals-final {
    top: -58px;
    right: 0;
    width: 235px;
  }

  .final-button {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .review-stack {
    animation: none !important;
    transform: none !important;
  }
}

/* Local tariff program pages */
.program-page {
  min-width: 320px;
  background-color: var(--page);
}

.program-header {
  position: sticky;
  top: 8px;
  z-index: 100;
  display: flex;
  width: min(1180px, calc(100% - 20px));
  min-height: 58px;
  margin: 8px auto 0;
  padding: 12px 28px;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.95);
  box-shadow: 0 6px 26px rgba(87, 71, 36, 0.06);
  backdrop-filter: blur(16px);
  color: var(--ink);
  font-size: 13px;
}

.program-header a {
  font-family: "Prata", Georgia, serif;
  font-size: 18px;
  text-decoration: none;
}

.program-page main {
  width: min(1180px, calc(100% - 20px));
  margin-inline: auto;
  padding: 10px 0 30px;
}

.program-hero {
  display: grid;
  min-height: 620px;
  padding: clamp(32px, 7vw, 86px);
  align-content: start;
}

.program-back,
.program-kicker {
  color: var(--olive);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.program-back {
  display: flex;
  width: max-content;
  margin-bottom: 28px;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.program-back::before {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  content: "";
  background: var(--surface-warm) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23574724' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M10 7l-5 5 5 5'/%3E%3C/svg%3E") center / 21px no-repeat;
}

.program-kicker {
  margin: 0 0 18px;
}

.program-hero h1,
.program-modules h2,
.program-bottom p {
  margin: 0;
  color: var(--ink);
  font-family: "Prata", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.program-hero h1 {
  max-width: 1000px;
  font-size: clamp(48px, 7.2vw, 94px);
  line-height: 1.02;
}

.program-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(36px, 6vw, 72px);
}

.program-intro p {
  margin: 0;
  padding: 24px 26px;
  border-radius: 24px;
  color: #514a3b;
  background: #f2eadb;
  font-size: 16px;
  line-height: 1.5;
}

.program-intro .program-result {
  color: var(--ink);
  background: var(--surface-warm);
  font-weight: 700;
}

.program-buy {
  width: min(430px, 100%);
  margin-top: 34px;
}

.program-arrow::before {
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.program-arrow {
  position: relative;
}

.program-arrow::after {
  position: absolute;
  width: 17px;
  height: 2px;
  content: "";
  background: currentColor;
}

.program-modules {
  padding: var(--space) clamp(14px, 4vw, 48px) 0;
}

.program-modules h2 {
  margin-bottom: 42px;
  font-size: clamp(48px, 7vw, 90px);
  line-height: 0.98;
  text-align: center;
}

.module-list {
  border-top: 1px solid var(--line);
}

.program-module {
  border-bottom: 1px solid var(--line);
}

.program-module summary {
  display: grid;
  min-height: 104px;
  padding: 25px 4px;
  grid-template-columns: 58px minmax(0, 1fr) 38px;
  gap: 22px;
  align-items: center;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.program-module summary::-webkit-details-marker {
  display: none;
}

.module-number {
  color: #b0a58e;
  font-size: 13px;
}

.module-heading {
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 750;
  line-height: 1.25;
}

.module-mark {
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  text-align: center;
  transition: transform 280ms ease;
}

.program-module[open] .module-mark {
  transform: rotate(45deg);
}

.module-content {
  overflow: hidden;
  padding-left: 80px;
}

.module-content h3,
.module-content p {
  max-width: 850px;
  margin: 0;
  line-height: 1.5;
}

.module-content h3 {
  padding-top: 21px;
  color: var(--ink);
  font-size: 17px;
}

.module-content p {
  padding-top: 7px;
  color: #615a4d;
  font-size: 15px;
}

.module-content > :first-child {
  padding-top: 4px;
}

.module-content > :last-child {
  padding-bottom: 34px;
}

.module-content .module-result,
.module-content .module-bonus {
  max-width: 900px;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 18px;
  color: var(--ink);
  background: var(--surface-warm);
  font-weight: 700;
}

.module-content .module-bonus {
  background: #dfe7d1;
}

.module-content > .module-result:last-child,
.module-content > .module-bonus:last-child {
  margin-bottom: 30px;
}

.program-bottom {
  position: relative;
  display: flex;
  min-height: 260px;
  margin-top: var(--space);
  padding: clamp(34px, 6vw, 72px);
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  overflow: hidden;
}

.program-bottom::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: url("assets/petals-anemone-v2.webp") center bottom / 100% auto no-repeat;
  opacity: 0.5;
}

.program-bottom > * {
  position: relative;
  z-index: 1;
}

.program-bottom p {
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1;
}

.program-bottom .program-buy {
  margin-top: 0;
  flex: 0 1 430px;
}

@media (max-width: 700px) {
  .program-header {
    top: 5px;
    width: calc(100% - 10px);
    min-height: 52px;
    padding: 10px 16px;
    border-radius: 22px;
    font-size: 10px;
  }

  .program-header a {
    font-size: 14px;
  }

  .program-page main {
    width: calc(100% - 10px);
    padding-top: 5px;
  }

  .program-hero {
    min-height: 0;
    padding: 28px 22px 34px;
  }

  .program-back {
    margin-bottom: 24px;
  }

  .program-hero h1 {
    font-size: clamp(39px, 12.5vw, 58px);
  }

  .program-intro {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .program-intro p {
    padding: 20px;
    font-size: 14px;
  }

  .program-modules {
    padding: 72px 10px 0;
  }

  .program-modules h2 {
    margin-bottom: 30px;
    font-size: clamp(39px, 12vw, 54px);
    text-align: left;
  }

  .program-module summary {
    min-height: 88px;
    padding: 20px 0;
    grid-template-columns: 34px minmax(0, 1fr) 30px;
    gap: 10px;
  }

  .module-heading {
    font-size: 15px;
  }

  .module-content {
    padding-left: 44px;
  }

  .module-content h3 {
    font-size: 15px;
  }

  .module-content p {
    font-size: 14px;
  }

  .program-bottom {
    min-height: 300px;
    padding: 32px 22px;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }

  .program-bottom::before {
    background-size: auto 100%;
    background-position: center bottom;
    opacity: 0.52;
  }

  .program-bottom .program-buy {
    flex-basis: auto;
  }
}
