@font-face {
  font-family: "Recoleta";
  src: url("../fonts/Recoleta-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Basic";
  src: url("../fonts/Basic-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Brandon";
  src: url("../fonts/Brandon_regular.ttf") format("truetype");
}

@font-face {
  font-family: "Georgia Pro";
  src: url("../fonts/GeorgiaPro-Light.ttf") format("truetype");
}

:root {
  --bg: #f6f1ff;
  --bg-soft: #fcf9ff;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-dark: #211132;
  --text: #211132;
  --text-soft: #61507f;
  --text-faint: #8f7aa8;
  --line: rgba(107, 63, 160, 0.15);
  --purple: #6b3fa0;
  --purple-strong: #53298a;
  --purple-soft: #bda4ea;
  --gold: #d8b675;
  --gold-deep: #a57b35;
  --shadow-lg: none;
  --shadow-md: none;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --page-width: min(1060px, calc(100vw - 40px));
  --section-gap: clamp(44px, 7vw, 72px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Basic", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(189, 164, 234, 0.34), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(216, 182, 117, 0.18), transparent 28%),
    linear-gradient(180deg, #fffefe 0%, #f9f4ff 36%, #f1ebff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(107, 63, 160, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 63, 160, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 85%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  width: var(--page-width);
  margin: 0 auto;
}

.section {
  padding: var(--section-gap) 0;
}

.section--tight {
  padding: 56px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-family: "Brandon", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(216, 182, 117, 0.15);
}

.page-title,
.hero-title,
.section-title,
.card-title,
.metric-value {
  font-family: "Recoleta", "Georgia Pro", Georgia, serif;
  letter-spacing: -0.03em;
}

.hero-title {
  margin: 20px 0 18px;
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  line-height: 1;
  color: #fff;
}

.hero-copy,
.section-copy,
.card-copy,
.detail-list,
.form-note,
.footer-copy,
.footer-links a,
.meta-copy {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.hero-copy {
  max-width: 620px;
  font-size: 0.96rem;
}

.hero {
  position: relative;
  padding: 118px 0 56px;
  overflow: clip;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  top: 24px;
  right: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 72%);
}

.hero::after {
  width: 360px;
  height: 360px;
  bottom: -90px;
  left: -120px;
  background: radial-gradient(circle, rgba(216, 182, 117, 0.16), transparent 70%);
}

.hero-surface {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(25, 11, 39, 0.92), rgba(107, 63, 160, 0.82) 45%, rgba(39, 18, 60, 0.96)),
    var(--hero-image) center / cover no-repeat;
  box-shadow: var(--shadow-lg);
}

.hero-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 255, 255, 0.14), transparent 22%),
    radial-gradient(circle at 78% 14%, rgba(255, 255, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.08));
}

.hero-surface--light {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 237, 255, 0.94) 52%, rgba(255, 248, 238, 0.96)),
    var(--hero-image) center / cover no-repeat;
  border-color: rgba(107, 63, 160, 0.08);
}

.hero-surface--light::before {
  background:
    radial-gradient(circle at 14% 16%, rgba(107, 63, 160, 0.08), transparent 22%),
    radial-gradient(circle at 78% 14%, rgba(216, 182, 117, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.12));
}

.hero-surface--light .eyebrow {
  border-color: rgba(107, 63, 160, 0.12);
  background: rgba(107, 63, 160, 0.06);
  color: var(--text-faint);
}

.hero-surface--light .hero-title,
.hero-surface--light .hero-copy {
  color: var(--text);
}

.hero-surface--light .hero-copy {
  color: var(--text-soft);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: center;
  padding: 38px;
}

.hero-grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
}

.hero-media-card,
.glass-card,
.feature-card,
.teacher-card,
.info-card,
.cta-band,
.form-card,
.embed-card,
.stat-card,
.simple-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: none;
  box-shadow: var(--shadow-md);
}

.hero-media-card {
  padding: 18px;
  background: #fff;
  color: var(--text);
}

.hero-media-stack {
  display: grid;
  gap: 20px;
}

.hero-media-image {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: none;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-card {
  padding: 14px;
  background: #fff;
}

.metric-value {
  font-size: 1.5rem;
  color: var(--purple-strong);
}

.metric-label {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.button,
.button-secondary,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: "Brandon", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button {
  color: #fff;
  background: linear-gradient(135deg, var(--purple) 0%, #8357be 100%);
  box-shadow: none;
}

.button-secondary {
  color: var(--purple-strong);
  border: 1px solid rgba(107, 63, 160, 0.18);
  background: transparent;
}

.button-link {
  min-height: unset;
  padding: 0;
  color: var(--purple);
}

.button:hover,
.button-secondary:hover,
.button-link:hover {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(107, 63, 160, 0.1);
}

.site-header__inner {
  width: var(--page-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 60px;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding-left: 0;
}

.site-brand img {
  width: 166px;
  max-width: 40vw;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  color: var(--text-soft);
  font-family: "Brandon", Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--purple-strong);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header__actions .button-secondary {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.74rem;
  color: #fff;
  border-color: rgba(107, 63, 160, 0.18);
  background: linear-gradient(135deg, var(--purple), #8357be);
  box-shadow: none;
}

.site-header__actions .button-secondary:hover {
  border-color: rgba(107, 63, 160, 0.48);
  box-shadow: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(107, 63, 160, 0.08);
  color: var(--purple);
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 640px;
  margin-bottom: 24px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.02;
}

.section-copy {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

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

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

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

.feature-card,
.teacher-card,
.info-card,
.simple-card {
  padding: 18px;
}

.feature-card h3,
.teacher-card h3,
.info-card h3,
.simple-card h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
}

.feature-card p,
.teacher-card p,
.info-card p,
.simple-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.feature-card__icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(107, 63, 160, 0.14), rgba(216, 182, 117, 0.2));
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.media-panel {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: none;
}

.media-panel img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.content-panel {
  padding: 24px;
}

.teacher-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 18px;
}

.teacher-role {
  margin-bottom: 12px;
  color: var(--gold-deep);
  font-family: "Brandon", Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(107, 63, 160, 0.08);
  color: var(--purple-strong);
  font-size: 0.78rem;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(84, 39, 135, 0.96), rgba(36, 18, 54, 0.96)),
    var(--cta-image) center / cover no-repeat;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.14), transparent 24%);
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band .section-title,
.cta-band .section-copy,
.cta-band .meta-copy {
  color: #fff;
}

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

.form-card {
  padding: 22px;
  background: #fff;
}

.register-section {
  scroll-margin-top: 88px;
}

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

.compound-grid {
  display: grid;
  gap: 10px;
}

.compound-grid--birthday {
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
}

.compound-grid--time {
  grid-template-columns: 0.8fr 0.8fr 0.8fr 1.6fr;
}

.field,
.field--full {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: "Brandon", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(107, 63, 160, 0.16);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field select:invalid {
  color: var(--text-faint);
}

.field-hint {
  margin: 8px 0 0;
  color: var(--text-faint);
  font-size: 0.92rem;
  line-height: 1.6;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.checkbox-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(107, 63, 160, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
}

.checkbox-pill input {
  width: 18px;
  height: 18px;
  accent-color: var(--purple);
}

.checkbox-pill span {
  color: var(--text);
  font-size: 0.96rem;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--purple-strong);
}

.form-status.is-error {
  color: #a23a46;
}

.embed-card {
  padding: 14px;
  background: rgba(255, 255, 255, 0.96);
}

.embed-frame {
  width: 100%;
  min-height: 760px;
  border: 0;
  border-radius: 12px;
  background: #fff;
}

.site-footer {
  padding: 0;
  background: linear-gradient(135deg, #1b1029, #0f0819);
}

.site-footer__inner {
  width: var(--page-width);
  margin: 0 auto;
  padding: 40px 0 24px;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  box-shadow: none;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 26px;
}

.site-footer img {
  width: 156px;
  margin-bottom: 12px;
  filter: brightness(1.16);
}

.footer-title {
  margin: 0 0 14px;
  color: #fff;
  font-family: "Brandon", Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.66);
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.66);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.hero .reveal {
  transition-delay: 120ms;
}

.policy-intro {
  max-width: 760px;
  margin-bottom: 24px;
}

.legal-shell {
  max-width: 820px;
}

.legal-document {
  padding: 30px 32px;
  border: 1px solid rgba(107, 63, 160, 0.12);
  background: #fff;
  color: var(--text);
}

.legal-document p,
.legal-document li {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.8;
}

.legal-section + .legal-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(107, 63, 160, 0.1);
}

.legal-section h2,
.legal-section h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: "Recoleta", "Georgia Pro", Georgia, serif;
  letter-spacing: -0.02em;
}

.legal-section h2 {
  font-size: 1.45rem;
}

.legal-section h3 {
  font-size: 1.12rem;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-document a {
  color: var(--purple-strong);
}

@media (max-width: 1040px) {
  .hero-grid,
  .split-section,
  .form-layout,
  .grid-4,
  .grid-3,
  .grid-2,
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .form-layout,
  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --page-width: calc(100vw - 26px);
  }

  .site-header__inner {
    min-height: 56px;
    border-radius: 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    top: 56px;
    left: 13px;
    right: 13px;
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(107, 63, 160, 0.12);
    border-radius: 0 0 16px 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a.is-active::after {
    display: none;
  }

  .site-header__actions .button-secondary {
    display: none;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-grid,
  .cta-band,
  .content-panel,
  .form-card,
  .legal-document,
  .feature-card,
  .teacher-card,
  .info-card,
  .simple-card,
  .site-footer__inner {
    padding: 18px;
  }

  .hero-metrics,
  .form-grid,
  .compound-grid--birthday,
  .compound-grid--time,
  .checkbox-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .button-row,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .embed-frame {
    min-height: 620px;
  }

  .media-panel img {
    min-height: 280px;
  }
}
