/**
 * Page Builder — 9-beat homepage, /studio/, inner pages.
 * Motion hooks only; no GSAP/Three logic here.
 */

/* Hero + Three.js canvas stacking: blobs 0, canvas 1, sparks 2, cutout 3 */
.hero--home {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: stretch;
  position: relative;
}

.hero__slogan {
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
}

.hero__slogan span {
  color: var(--primary, #6C3CE1);
}

.hero__note {
  font-size: 14px;
  color: #6b6280;
  max-width: 560px;
}

.hero__visual {
  position: relative;
  isolation: isolate;
  text-align: center;
  min-height: 420px;
}

/* 1.2.9: pin cutout to the bottom of the text row (grid item = .hero__visual). */
#hero .hero__content {
  align-self: start;
  position: relative;
  z-index: 4;
}

#hero .hero__visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  align-self: end;
}

#hero .hero__actions,
#hero .hero__stats {
  position: relative;
  z-index: 5;
}

.hero__neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero__spark-cluster {
  position: absolute;
  top: 8%;
  right: 6%;
  z-index: 2;
  pointer-events: none;
}

[data-motion="spark-drift"] {
  animation: teenai-spark-drift 4s ease-in-out infinite;
}

@keyframes teenai-spark-drift {
  0%,
  100% {
    opacity: 0.6;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 1;
    transform: translate3d(0, -6px, 0);
  }
}

.section--hero {
  overflow: visible;
  position: relative;
}

/* 1.2.9: drop 96px dead pad so the mint wave sits under the cutout. */
#hero.section--hero {
  padding-bottom: 24px;
  overflow: visible;
}

.section--hero .hero--home {
  position: relative;
  z-index: 2;
}

.section--hero > .section-transition {
  position: relative;
  z-index: 1;
}

/* 1.2.11: mobile-first −120 (was −40 in ≤1024). Desktop override −140 below. */
#hero > .section-transition--wave {
  margin-top: -120px;
  z-index: 1;
}

.hero__photo,
.hero__cutout {
  position: relative;
  z-index: 3;
}

.hero__cutout {
  max-height: 520px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(108, 60, 225, 0.2));
}

/* Hero Perks & Lead Body */
.hero__body--lead {
  font-size: 17px;
  line-height: 1.6;
  color: #2D2638;
  max-width: 560px;
  margin-bottom: 18px;
}

.hero__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

.hero__perk {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid #E5DFF5;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #1A1625;
  box-shadow: 0 2px 8px rgba(108, 60, 225, 0.06);
}

.stat-pill {
  display: inline-flex;
  flex-direction: column;
  background: #fff;
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(108, 60, 225, 0.08);
  font-size: 13px;
  color: #3D3650;
}

.stat-pill strong {
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-size: 22px;
  color: var(--primary, #6C3CE1);
}

.stat-pill span {
  font-size: 12px;
  color: #554D68;
  margin-top: 2px;
}

/* Photo slots — clay covering is a real <img>, not CSS background */
.photo-slot {
  display: block;
  max-width: 100%;
}

.photo-slot img,
.photo-slot--clay img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Transitions */
.section-transition {
  line-height: 0;
  pointer-events: none;
}

.section-transition__svg {
  display: block;
  width: 100%;
  height: 72px;
}

.section-transition--wave .section-transition__svg {
  height: 120px;
  margin-bottom: -1px;
}

.section-transition--arc .section-transition__svg {
  height: 64px;
}

.section-transition--blob .section-transition__svg {
  height: 80px;
}

.section-transition--diagonal {
  height: 48px;
  background: linear-gradient(175deg, transparent 40%, rgba(108, 60, 225, 0.06) 41%);
  clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
}

.section-transition--object-overlap {
  height: 24px;
}

/* 1.2.11: mobile-first +80 (was +40). Desktop +100 below. Overlap lives on wrapper, not GSAP y. */
#hero .hero__photo {
  align-self: end;
  margin-top: auto;
  transform: translateY(80px);
  z-index: 3;
}

@media (min-width: 1025px) {
  #hero .hero__photo {
    transform: translateY(100px);
  }

  #hero > .section-transition--wave {
    margin-top: -140px;
  }
}

#safety .safety__roman {
  margin-top: -40px;
  position: relative;
  z-index: 3;
}

.section--violet-tint {
  background: rgba(108, 60, 225, 0.06);
}

.section__title--left {
  text-align: left;
}

.section__lead--left {
  text-align: left;
  margin-left: 0;
}

.section__more {
  margin-top: 24px;
  text-align: center;
}

.section__more a {
  font-weight: 700;
  color: var(--primary, #6C3CE1);
}

/* Free start Roadmap (5 Step Cards) */
.free-start-roadmap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.roadmap-step {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 24px 18px;
  box-shadow: 0 8px 24px rgba(108, 60, 225, 0.08);
  display: flex;
  flex-direction: column;
  border: 1px solid #E5DFF5;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.roadmap-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(108, 60, 225, 0.14);
}

.roadmap-step--finish {
  border-color: #FFB800;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF5 100%);
}

.roadmap-step__badge {
  position: absolute;
  top: -12px;
  left: 16px;
  background: var(--primary, #6C3CE1);
  color: #fff;
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(108, 60, 225, 0.3);
}

.roadmap-step--finish .roadmap-step__badge {
  background: #FFB800;
  color: #3D2E00;
}

.roadmap-step__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  margin-bottom: 12px;
}

.roadmap-step__icon {
  font-size: 26px;
  line-height: 1;
}

.roadmap-step__time {
  font-size: 12px;
  font-weight: 700;
  color: #6C3CE1;
  background: #EDE7FF;
  padding: 4px 8px;
  border-radius: 8px;
}

.roadmap-step__title {
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
  color: #1A1625;
}

.roadmap-step__desc {
  font-size: 13px;
  line-height: 1.5;
  color: #3D3650;
  margin: 0 0 16px;
  flex: 1;
}

.roadmap-step__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #0A2E2A;
  background: #E6FBF8;
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}

.free-start-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: #fff;
  border-radius: 20px;
  padding: 24px 32px;
  margin-top: 28px;
  box-shadow: 0 8px 32px rgba(108, 60, 225, 0.08);
  border: 1px solid #E5DFF5;
}

.free-start-summary__text strong {
  display: block;
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-size: 17px;
  color: #1A1625;
  margin-bottom: 4px;
}

.free-start-summary__text p {
  font-size: 14px;
  color: #3D3650;
  margin: 0;
}

.free-start-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(108, 60, 225, 0.08);
}

.outcome-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.outcome-chips li {
  background: #E6FBF8;
  color: #0A2E2A;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

.program-list {
  margin: 0 0 24px;
  padding-left: 20px;
}

/* Safety */
.safety-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.safety-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.safety-pillar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: 18px;
  padding: 18px 20px;
  border: 1px solid #E5DFF5;
  box-shadow: 0 4px 16px rgba(108, 60, 225, 0.05);
}

.safety-pillar__icon {
  font-size: 24px;
  flex-shrink: 0;
  padding: 8px;
  background: #FAF8FF;
  border-radius: 12px;
  line-height: 1;
}

.safety-pillar strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #1A1625;
  margin-bottom: 4px;
}

.safety-pillar p {
  font-size: 13px;
  line-height: 1.45;
  color: #3D3650;
  margin: 0;
}

.safety-cta {
  margin-top: 16px;
}

.safety-callout {
  background: #EDE7FF;
  border-radius: 20px;
  padding: 24px;
  margin-top: 16px;
}

.safety__img {
  max-height: 360px;
  margin: 0 auto;
  object-fit: contain;
}

/* Path cards — single price */
.course-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.course-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(108, 60, 225, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(108, 60, 225, 0.14);
}

.course-card--hit {
  border: 2px solid #FFB800;
}

.course-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.course-card__header h3 {
  margin: 0;
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-size: 20px;
}

.course-card__age {
  font-size: 12px;
  font-weight: 700;
  background: #EDE7FF;
  color: #6C3CE1;
  padding: 4px 10px;
  border-radius: 999px;
}

.course-card__teacher {
  font-size: 13px;
  color: #3D3650;
  margin-bottom: 12px;
}

.course-card__price {
  font-size: 20px;
  margin: 8px 0;
}

.course-card__was {
  font-size: 14px;
  color: #8C82A2;
  text-decoration: line-through;
  font-weight: 400;
}

.course-card__per-lesson {
  font-size: 13px;
  font-weight: 700;
  color: #00887A;
  margin: -4px 0 12px;
}

.course-card__perks {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: #2D2638;
}

.course-card__perks li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.course-card__perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #30A46C;
  font-weight: 800;
}

.course-card__tokens {
  font-size: 12px;
  color: #554D68;
  margin-bottom: 12px;
}

.course-card__action {
  margin-top: auto;
  padding-top: 14px;
}

.course-card__action .btn {
  width: 100%;
}

.course-card__sticker {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 0 12px;
  object-fit: contain;
}

.course-card__sticker--svg {
  flex-shrink: 0;
}

.hit-badge {
  display: inline-block;
  position: relative;
  overflow: visible;
  background: #FFB800;
  color: #3D2E00;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.easter-egg-spark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  background: #FFB800;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
}

.tokens-caption {
  max-width: 800px;
  margin: 0 auto 32px;
  text-align: center;
  color: #3D3650;
}

/* Interactive Prompt Playground */
.prompt-playground {
  background: #fff;
  border-radius: 24px;
  padding: 28px 32px;
  margin-top: 28px;
  margin-bottom: 36px;
  border: 1px solid #E5DFF5;
  box-shadow: 0 12px 40px rgba(108, 60, 225, 0.08);
}

.prompt-playground__badge {
  display: inline-block;
  background: #FFB800;
  color: #3D2E00;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.prompt-playground__title {
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  margin: 0 0 6px;
  color: #1A1625;
}

.prompt-playground__header p {
  font-size: 14px;
  color: #3D3650;
  margin: 0 0 18px;
}

.prompt-playground__controls {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.prompt-control-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1A1625;
  margin-bottom: 8px;
}

.prompt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prompt-tag {
  background: #FAF8FF;
  border: 1px solid #E5DFF5;
  color: #2D2638;
  font-family: var(--font-body, 'Nunito Sans', sans-serif);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.prompt-tag:hover {
  background: #EDE7FF;
  border-color: #6C3CE1;
  color: #6C3CE1;
}

.prompt-tag.is-active {
  background: #6C3CE1;
  border-color: #6C3CE1;
  color: #fff;
  box-shadow: 0 4px 12px rgba(108, 60, 225, 0.25);
}

.prompt-playground__preview {
  background: #1A1625;
  border-radius: 16px;
  padding: 16px 20px;
}

.prompt-formula {
  font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
  font-size: 13px;
  line-height: 1.5;
  color: #00C9B7;
}

.prompt-formula span {
  color: #FFB800;
  font-weight: 600;
}

/* Works */
.works-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-thumb {
  margin: 0;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(108, 60, 225, 0.08);
  display: flex;
  flex-direction: column;
}

.gallery-thumb img,
.gallery-thumb__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-thumb figcaption {
  padding: 16px;
  font-size: 14px;
}

.gallery-thumb figcaption strong {
  display: block;
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-size: 15px;
  color: #1A1625;
  margin-bottom: 4px;
}

.gallery-thumb figcaption p {
  font-size: 13px;
  line-height: 1.5;
  color: #3D3650;
  margin: 0;
}

/* Outcomes */
.outcome-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.outcome-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(108, 60, 225, 0.08);
  display: flex;
  flex-direction: column;
}

.outcome-card__icon {
  font-size: 32px;
  margin-bottom: 12px;
  line-height: 1;
}

.outcome-card h3 {
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #1A1625;
}

.outcome-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #3D3650;
  margin: 0;
}
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(108, 60, 225, 0.08);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 12px;
  padding: 8px 20px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 12px 0;
}

.faq-item__answer {
  padding: 0 0 16px;
  color: #3d3650;
}

.geo-answer {
  max-width: 800px;
  margin: 32px auto 0;
  background: #EDE7FF;
  border-radius: 16px;
  padding: 20px;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(108, 60, 225, 0.08);
}

.blog-card__cover {
  display: block;
  overflow: hidden;
  background: #EDE7FF;
}

.blog-card__cover img,
.blog-card__cover-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card__cover--text {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #EDE7FF, #E6FBF8);
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-weight: 800;
  color: var(--primary, #6C3CE1);
}

.blog-card__body {
  padding: 20px;
}

.blog-card__badge {
  display: inline-block;
  background: #FFB800;
  color: #3D2E00;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.blog-card--plan .blog-card__badge {
  background: #E6FBF8;
  color: #0A2E2A;
}

.blog-card__title {
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-size: 18px;
  margin: 0 0 8px;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-card__excerpt {
  color: #6b6280;
  font-size: 14px;
}

.blog-card__link {
  font-weight: 700;
  color: var(--primary, #6C3CE1);
}

/* Final CTA overlap */
.final-cta {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  position: relative;
}

.final-cta__cutout {
  margin-top: -64px;
}

.final-cta__img {
  max-height: 320px;
  margin: 0 auto;
  object-fit: contain;
}

.section--final-cta.section--violet,
#studio-access-cta.section--violet {
  background: linear-gradient(135deg, #6C3CE1 0%, #5A2FC4 100%);
  color: #fff;
}

.section--final-cta.section--violet .section__title,
.section--final-cta.section--violet .section__lead,
.section--final-cta.section--violet p,
.section--final-cta.section--violet a,
#studio-access-cta.section--violet .section__title,
#studio-access-cta.section--violet .section__lead,
#studio-access-cta.section--violet p,
#studio-access-cta.section--violet a {
  color: #fff;
}

.section--final-cta.section--violet .btn--secondary,
#studio-access-cta.section--violet .btn--secondary {
  background: #fff;
  color: #6C3CE1;
}

/* Studio */
.hero--studio,
.vibe-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.studio-hero__cutout {
  max-height: 360px;
  margin: 0 auto;
}

.directions-map {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.direction-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}

.direction-card__icon {
  width: 48px;
  height: 48px;
  color: var(--primary, #6C3CE1);
  margin: 0 auto 12px;
}

.engines-item {
  background: #fff;
  border-radius: 16px;
  padding: 12px 20px;
}

.teacher-card--large img,
.teacher-card__img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  margin: 0 auto 16px;
}

.timeline-steps {
  padding-left: 20px;
}

.timeline-steps li {
  margin-bottom: 12px;
}

.form-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.form-split__img {
  max-height: 420px;
  margin: 0 auto;
}

.channel-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
}

.channel-card--primary {
  border: 2px solid #00C9B7;
}

.courses-subnav {
  position: sticky;
  top: 72px;
  z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #E5DFF5;
}

.courses-subnav__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 24px;
}

.courses-subnav__link {
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #1A1625;
  background: #F3F0FF;
}

.page-hero__eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary, #6C3CE1);
}

.page-cta {
  text-align: center;
}

.legal-sm {
  font-size: 13px;
  color: #6b6280;
}

@media (max-width: 1024px) {
  .hero--home,
  .hero--studio,
  .safety-grid,
  .vibe-panel,
  .final-cta,
  .form-split,
  .course-detail-card__split {
    grid-template-columns: 1fr;
  }

  .free-start-roadmap {
    grid-template-columns: repeat(2, 1fr);
  }

  .free-start-roadmap .roadmap-step--finish {
    grid-column: span 2;
  }

  .directions-map {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Override site-pages `.hero__visual { order: -1 }` — photo must sit above the wave, not above the CTA. */
  #hero .hero__content {
    order: 1;
  }

  #hero .hero__visual {
    order: 2;
    align-self: stretch;
    width: 100%;
  }

  #hero .hero__photo {
    transform: translateY(80px);
  }

  #hero > .section-transition--wave {
    margin-top: -120px;
  }
}

@media (max-width: 768px) {
  .course-cards,
  .works-gallery,
  .outcome-cards,
  .blog-grid,
  .grid--3,
  .grid--2,
  .free-start-roadmap,
  .safety-pillars,
  .prompt-playground__controls {
    grid-template-columns: 1fr;
  }

  .free-start-roadmap .roadmap-step--finish {
    grid-column: auto;
  }

  .free-start-summary {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 20px;
  }

  .free-start-summary__action .btn {
    width: 100%;
  }

  .directions-map {
    grid-template-columns: 1fr;
  }

  .section-transition--wave .section-transition__svg {
    height: 56px;
  }

  #hero.section--hero {
    padding-bottom: 16px;
  }

  #hero .hero__photo {
    transform: translateY(80px);
    width: 85%;
  }

  #hero > .section-transition--wave {
    margin-top: -120px;
  }

  .final-cta__cutout {
    margin-top: 0;
  }

  #safety .safety__roman {
    margin-top: 0;
  }
}

.site-main--contacts {
  overflow-x: clip;
}

.site-main--contacts,
.site-main--contacts .container,
.site-main--contacts .form-split,
.site-main--contacts .form-split__form,
.site-main--contacts .form-split__visual,
.site-main--contacts .contact-form,
.site-main--contacts .channels-grid,
.site-main--contacts .channel-card,
.site-main--contacts .legal-requisites,
.site-main--contacts .hero__actions {
  max-width: 100%;
  min-width: 0;
}

.site-main--contacts .form-split__img {
  max-width: 100%;
  height: auto;
}

.site-main--contacts .channel-card a,
.site-main--contacts .legal-requisites__list dd,
.site-main--contacts .contact-form__consent {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 767px) {
  .site-main--contacts .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-main--contacts .form-split {
    gap: 24px;
  }

  .site-main--contacts .contact-form {
    padding: 16px;
  }

  .site-main--contacts .hero__actions {
    flex-direction: column;
  }

  .site-main--contacts .hero__actions .btn {
    width: 100%;
    max-width: 100%;
  }

  .mobile-sticky-cta {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: calc(100% - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__cutout,
  .safety__roman,
  .studio-hero__cutout,
  .final-cta__cutout {
    transform: none !important;
  }

  [data-motion="spark-drift"] {
    animation: none !important;
  }
}

/* ==========================================================================
   Level-up Sprint v1.4: Article TOC, Reviews, GEO Trust, Button Shine
   ========================================================================== */

/* Table of Contents (TOC) */
.article-toc {
  background: #F8F6FE;
  border: 1px solid #E5DFF5;
  border-left: 4px solid var(--primary, #6C3CE1);
  border-radius: 16px;
  padding: 24px;
  margin: 0 0 40px 0;
}

.article-toc__header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text, #1A1625);
  margin-bottom: 16px;
}

.article-toc__list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-toc__list li {
  font-size: 16px;
  line-height: 1.4;
}

.article-toc__list li a {
  color: var(--primary, #6C3CE1);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.article-toc__list li a:hover {
  color: #5227B8;
  text-decoration: underline;
}

/* Reviews Grid */
.section--reviews {
  padding: 80px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid #E5DFF5;
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 8px 24px rgba(108, 60, 225, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(108, 60, 225, 0.12);
}

.review-card--featured {
  border-color: var(--primary, #6C3CE1);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF8FF 100%);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6C3CE1 0%, #A07CF0 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-card__author {
  font-size: 18px;
  font-weight: 700;
  color: #1A1625;
  margin: 0 0 2px 0;
}

.review-card__meta {
  font-size: 13px;
  color: #6B6280;
}

.review-card__stars {
  color: #FFB800;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: #3D3650;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.review-card__tag {
  display: inline-block;
  background: #EFEAFC;
  color: #5227B8;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
}

/* GEO Trust Box */
.section--geo-trust {
  padding: 40px 0 80px 0;
}

.geo-trust-box {
  background: linear-gradient(135deg, #FAF8FF 0%, #F2EEFD 100%);
  border: 1px solid #DFD7F5;
  border-radius: 28px;
  padding: 48px 40px;
  box-shadow: 0 12px 32px rgba(108, 60, 225, 0.08);
}

.geo-trust-box__header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px auto;
}

.geo-trust-box__badge {
  display: inline-block;
  background: #FFFFFF;
  border: 1px solid #D5C9F3;
  color: #6C3CE1;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.geo-trust-box__header h2 {
  font-size: 32px;
  font-weight: 800;
  color: #1A1625;
  margin: 0 0 12px 0;
}

.geo-trust-box__header p {
  font-size: 17px;
  color: #4A4358;
  line-height: 1.5;
  margin: 0;
}

.geo-trust-box__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.geo-feature {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px 20px;
  border: 1px solid #E5DFF5;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.geo-feature__icon {
  font-size: 28px;
  display: inline-block;
}

.geo-feature strong {
  font-size: 16px;
  color: #1A1625;
}

.geo-feature p {
  font-size: 14px;
  line-height: 1.45;
  color: #4A4358;
  margin: 0;
}

/* Button Shine & Hover FX */
.btn--primary,
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108, 60, 225, 0.35);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .geo-trust-box__features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .geo-trust-box {
    padding: 32px 20px;
  }
  .geo-trust-box__header h2 {
    font-size: 24px;
  }
  .geo-trust-box__features {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ==========================================================================
   16:9 Video Presentation & Course Quiz Styles
   ========================================================================== */

/* 16:9 Video Player Block */
.section--video-intro {
  padding: 64px 0 48px;
  background: #FFFFFF;
}

.teenai-video-frame {
  max-width: 860px;
  margin: 32px auto 0;
}

.teenai-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1A1625;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(108, 60, 225, 0.16);
  border: 1px solid #E5DFF5;
}

.teenai-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.teenai-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(26, 22, 37, 0.45);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: background 0.25s ease;
  z-index: 5;
}

.teenai-video-overlay:hover {
  background: rgba(26, 22, 37, 0.3);
}

.teenai-video-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #6C3CE1;
  color: #FFFFFF;
  border: 4px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 32px rgba(108, 60, 225, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
  padding: 0;
}

.teenai-video-overlay:hover .teenai-video-play-btn {
  transform: scale(1.08);
  background: #7B4DE8;
}

.teenai-video-overlay__label {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  background: rgba(26, 22, 37, 0.6);
  padding: 6px 16px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.teenai-video-caption {
  margin-top: 14px;
  font-size: 14px;
  color: #6B6280;
  line-height: 1.4;
}

/* Course Recommendation Quiz */
.course-quiz {
  max-width: 860px;
  margin: 36px auto 48px;
  padding: 32px;
  background: linear-gradient(135deg, #F8F5FF 0%, #EDFAF8 100%);
  border: 1px solid #DED6F7;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(108, 60, 225, 0.06);
}

.course-quiz__header {
  text-align: center;
  margin-bottom: 24px;
}

.course-quiz__badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(108, 60, 225, 0.1);
  color: #6C3CE1;
  font-weight: 700;
  font-size: 13px;
  border-radius: 99px;
  margin-bottom: 8px;
}

.course-quiz__title {
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-size: 20px;
  font-weight: 800;
  color: #1A1625;
  margin: 0;
}

.course-quiz__steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.course-quiz__step {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.course-quiz__label {
  font-weight: 700;
  font-size: 14px;
  color: #1A1625;
}

.course-quiz__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quiz-pill {
  padding: 10px 18px;
  background: #FFFFFF;
  border: 1.5px solid #E5DFF5;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  color: #1A1625;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quiz-pill:hover {
  border-color: #6C3CE1;
  color: #6C3CE1;
}

.quiz-pill.is-active {
  background: #6C3CE1;
  border-color: #6C3CE1;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(108, 60, 225, 0.25);
}

.course-quiz__recommendation {
  background: #FFFFFF;
  border: 1px solid #E5DFF5;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(26, 22, 37, 0.04);
}

.course-quiz__rec-badge {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #008779;
  margin-bottom: 6px;
}

.course-quiz__rec-title {
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-size: 18px;
  font-weight: 800;
  color: #1A1625;
  margin: 0 0 8px;
}

.course-quiz__rec-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #4A4358;
  margin: 0 0 18px;
}

.course-quiz__rec-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

@media (max-width: 767px) {
  .course-quiz {
    padding: 20px 16px;
    margin: 24px 0 36px;
  }
  .course-quiz__title {
    font-size: 17px;
  }
  .quiz-pill {
    width: 100%;
    text-align: center;
  }
  .course-quiz__rec-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   Studio Token Tariffs & Interactive Calculator (#tokens)
   ========================================================================== */
.section--tokens {
  background: #FFFFFF;
  padding: 80px 0;
  border-top: 1px solid #F0ECF8;
  border-bottom: 1px solid #F0ECF8;
}

.token-tariffs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.token-tariff-card {
  background: #FFFFFF;
  border: 1.5px solid #E5DFF5;
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.token-tariff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(108, 60, 225, 0.1);
  border-color: #6C3CE1;
}

.token-tariff-card--featured {
  border-color: #6C3CE1;
  background: linear-gradient(180deg, #FAF7FF 0%, #FFFFFF 100%);
  box-shadow: 0 12px 32px rgba(108, 60, 225, 0.12);
}

.token-tariff-card--pro {
  border-color: #00C9B7;
  background: linear-gradient(180deg, #F2FCFA 0%, #FFFFFF 100%);
}

.token-tariff-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.token-tariff-card__tag {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 99px;
  background: #F0ECF8;
  color: #4A4358;
}

.token-tariff-card__tag--hit {
  background: rgba(108, 60, 225, 0.15);
  color: #6C3CE1;
}

.token-tariff-card__tag--pro {
  background: rgba(0, 201, 183, 0.18);
  color: #0E8074;
}

.token-tariff-card__rate {
  font-size: 13px;
  font-weight: 600;
  color: #7A7289;
}

.token-tariff-card__title {
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-size: 24px;
  font-weight: 800;
  color: #1A1625;
  margin: 0 0 8px;
}

.token-tariff-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.token-tariff-card__price strong {
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-size: 32px;
  font-weight: 800;
  color: #1A1625;
}

.token-tariff-card__badge-bonus {
  font-size: 12px;
  font-weight: 700;
  color: #0E8074;
  background: rgba(0, 201, 183, 0.15);
  padding: 3px 8px;
  border-radius: 99px;
}

.token-tariff-card__desc {
  font-size: 14px;
  line-height: 1.5;
  color: #4A4358;
  margin: 0 0 24px;
  min-height: 42px;
}

.token-tariff-card__perks {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.token-tariff-card__perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: #2D2738;
}

.token-tariff-card__perks .icon {
  font-size: 16px;
  line-height: 1.3;
  flex-shrink: 0;
}

.token-tariff-card__cta {
  margin-top: auto;
}

.token-tariff-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 99px;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
  cursor: pointer;
}

.token-tariff-card .btn--secondary {
  background: #FFFFFF;
  border: 1.5px solid #6C3CE1;
  color: #6C3CE1;
}

.token-tariff-card .btn--secondary:hover {
  background: #6C3CE1;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(108, 60, 225, 0.2);
}

.token-tariff-card .btn--primary {
  background: #6C3CE1;
  border: 1.5px solid #6C3CE1;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(108, 60, 225, 0.25);
}

.token-tariff-card .btn--primary:hover {
  background: #5A2EC7;
  border-color: #5A2EC7;
}

/* Interactive Calculator */
.token-calc-card {
  background: linear-gradient(135deg, #F8F5FF 0%, #F0FDFB 100%);
  border: 1.5px solid #D5C8F8;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 12px 36px rgba(108, 60, 225, 0.08);
}

.token-calc-card__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}

.token-calc-card__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6C3CE1;
  background: rgba(108, 60, 225, 0.1);
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 10px;
}

.token-calc-card__title {
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-size: 22px;
  font-weight: 800;
  color: #1A1625;
  margin: 0 0 10px;
}

.token-calc-card__sub {
  font-size: 15px;
  color: #4A4358;
  margin: 0;
}

.token-calc-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.token-calc-btn {
  background: #FFFFFF;
  border: 1.5px solid #D5C8F8;
  border-radius: 99px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #1A1625;
  cursor: pointer;
  transition: all 0.2s ease;
}

.token-calc-btn:hover {
  border-color: #6C3CE1;
  color: #6C3CE1;
}

.token-calc-btn.is-active {
  background: #6C3CE1;
  border-color: #6C3CE1;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(108, 60, 225, 0.25);
}

.token-calc-slider-wrapper {
  background: #FFFFFF;
  border: 1px solid #E5DFF5;
  border-radius: 20px;
  padding: 24px 32px;
  margin-bottom: 32px;
}

.token-calc-slider-current {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 16px;
  color: #4A4358;
}

.token-calc-slider-current .label {
  font-weight: 600;
}

.token-calc-slider-current strong {
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-size: 26px;
  font-weight: 800;
  color: #1A1625;
}

.token-calc-slider-current .price {
  color: #6C3CE1;
}

.token-calc-slider-current .rate {
  font-size: 14px;
  color: #7A7289;
  font-weight: 600;
}

#token-calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #E5DFF5;
  outline: none;
  cursor: pointer;
  accent-color: #6C3CE1;
  margin: 12px 0 8px 0;
}

.token-calc-slider-marks {
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
}

.token-calc-slider-marks .mark {
  font-size: 13px;
  font-weight: 700;
  color: #7A7289;
  cursor: pointer;
  transition: color 0.15s ease;
}

.token-calc-slider-marks .mark:hover {
  color: #6C3CE1;
}

.token-calc-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.token-calc-result-item {
  background: #FFFFFF;
  border: 1px solid #E5DFF5;
  border-radius: 16px;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.token-calc-result-item__icon {
  font-size: 28px;
  flex-shrink: 0;
}

.token-calc-result-item__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.token-calc-result-item__label {
  font-size: 12px;
  font-weight: 600;
  color: #7A7289;
}

.token-calc-result-item__value {
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: #1A1625;
}

.token-calc-guarantees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(213, 200, 248, 0.6);
}

.token-calc-guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #4A4358;
}

.token-calc-guarantee-item .icon {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.2;
}

@media (max-width: 1023px) {
  .token-tariffs-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto 36px auto;
  }
  .token-calc-results {
    grid-template-columns: repeat(2, 1fr);
  }
  .token-calc-guarantees {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .section--tokens {
    padding: 56px 0;
  }
  .token-calc-card {
    padding: 24px 16px;
  }
  .token-calc-slider-wrapper {
    padding: 16px;
  }
  .token-calc-results {
    grid-template-columns: 1fr;
  }
  .token-calc-buttons {
    flex-direction: column;
  }
  .token-calc-btn {
    width: 100%;
    text-align: center;
  }
}


