:root {
  --ink: #17151f;
  --muted: #635f70;
  --line: #e7e2f0;
  --paper: #fffdf8;
  --cream: #fff4d7;
  --green: #20d18d;
  --pink: #ff5d8f;
  --yellow: #ffc857;
  --blue: #3f7cff;
  --violet: #6d5dfc;
  --shadow: 0 22px 70px rgba(31, 27, 50, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 248, 0.88);
  border-bottom: 1px solid rgba(231, 226, 240, 0.72);
  backdrop-filter: blur(18px);
}

.header-inner,
.main-nav,
.hero-actions,
.hero-facts,
.split-layout,
.format-grid,
.method-inner,
.teacher-cards,
.process-row,
.faq-inner,
.contact-inner,
.footer-inner {
  display: flex;
}

.header-inner {
  min-height: 76px;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.logo-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: 6px 6px 0 var(--yellow);
}

.main-nav {
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-left: auto;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--ink);
}

.header-cta {
  padding: 12px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.section-band {
  background:
    radial-gradient(circle at 8% 12%, rgba(32, 209, 141, 0.18), transparent 28%),
    radial-gradient(circle at 94% 0%, rgba(255, 93, 143, 0.16), transparent 26%),
    #f7f4ff;
}

.hero {
  overflow: hidden;
  padding: 84px 0 72px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 54px;
}

.hero-copy {
  flex: 1 1 48%;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy > p {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: 19px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--green);
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-facts {
  flex-wrap: wrap;
  gap: 12px;
}

.hero-facts div {
  min-width: 142px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  margin-bottom: 2px;
  font-size: 16px;
}

.hero-facts span {
  color: var(--muted);
  font-size: 14px;
}

.hero-media {
  position: relative;
  flex: 1 1 46%;
  min-width: 320px;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 12;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lesson-card {
  position: absolute;
  right: -18px;
  bottom: 36px;
  width: 220px;
  padding: 18px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 9px 9px 0 var(--ink);
}

.lesson-card span,
.lesson-card strong {
  display: block;
}

.lesson-card span {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.lesson-card strong {
  font-size: 22px;
  line-height: 1.08;
}

section {
  padding: 84px 0;
}

.split-layout {
  align-items: flex-start;
  gap: 60px;
}

.section-heading {
  flex: 0 0 36%;
}

.section-heading.centered {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.audience-list {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 18px;
}

.audience-list article {
  flex: 1 1 calc(50% - 18px);
  min-width: 230px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.audience-list span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--pink);
  font-weight: 900;
}

.format-grid {
  flex-wrap: wrap;
  gap: 18px;
}

.format-card {
  flex: 1 1 250px;
  min-height: 310px;
  padding: 26px;
  background: #fff;
  border: 1px solid rgba(23, 21, 31, 0.08);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(31, 27, 50, 0.07);
}

.format-card .icon {
  display: inline-flex;
  min-width: 58px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  padding: 0 12px;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.format-card p {
  min-height: 104px;
}

.format-card a {
  font-weight: 850;
}

.accent-green .icon {
  background: var(--green);
}

.accent-pink .icon {
  background: var(--pink);
  color: #fff;
}

.accent-yellow .icon {
  background: var(--yellow);
}

.accent-blue .icon {
  background: var(--blue);
  color: #fff;
}

.method-inner {
  align-items: stretch;
  gap: 26px;
}

.method-panel {
  flex: 1 1 45%;
  padding: 36px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
}

.method-panel p,
.method-panel .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.method-steps {
  display: flex;
  flex: 1 1 55%;
  flex-direction: column;
  gap: 16px;
}

.method-steps div {
  position: relative;
  padding: 26px 26px 26px 72px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.method-steps span {
  position: absolute;
  left: 26px;
  top: 30px;
  width: 24px;
  height: 24px;
  background: var(--green);
  border: 4px solid var(--ink);
  border-radius: 50%;
}

.teachers-inner {
  align-items: center;
  gap: 48px;
}

.teacher-cards {
  flex: 1;
  gap: 16px;
}

.teacher-cards article {
  flex: 1;
  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.avatar {
  display: flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  font-weight: 900;
}

.avatar-one {
  background: var(--yellow);
}

.avatar-two {
  color: #fff;
  background: var(--blue);
}

.avatar-three {
  color: #fff;
  background: var(--pink);
}

.process-row {
  align-items: stretch;
  flex-wrap: wrap;
  gap: 16px;
}

.process-row article {
  flex: 1 1 220px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-row span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.faq-inner {
  align-items: flex-start;
  gap: 64px;
}

.faq-list {
  flex: 1;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-item + .faq-item {
  margin-top: 12px;
}

.faq-item button {
  position: relative;
  width: 100%;
  padding: 22px 54px 22px 22px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-weight: 850;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
}

.faq-item.active button::after {
  content: "-";
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 22px 22px;
}

.faq-item.active p {
  display: block;
}

.contact {
  background: var(--ink);
}

.contact-inner {
  align-items: center;
  gap: 54px;
}

.contact-copy {
  flex: 1;
}

.contact-copy h2,
.contact-copy p {
  color: #fff;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.lead-form {
  display: flex;
  flex: 0 0 430px;
  flex-direction: column;
  gap: 15px;
  padding: 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 12px 12px 0 var(--green);
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 850;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--ink);
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(63, 124, 255, 0.13);
}

.lead-form .field-error {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 93, 143, 0.13);
}

.lead-form .btn {
  width: 100%;
  margin-top: 4px;
}

.form-note,
.form-status {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.form-status {
  min-height: 19px;
  color: var(--violet);
  font-weight: 800;
}

.site-footer {
  padding: 54px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  background: #121019;
}

.footer-inner {
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner .logo {
  color: #fff;
}

.footer-inner .logo-mark {
  color: var(--ink);
  background: #fff;
}

.footer-brand {
  flex: 1.4 1 280px;
}

.footer-brand p {
  max-width: 330px;
  margin: 22px 0 18px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-domain {
  display: inline-flex;
  color: var(--green);
  font-weight: 850;
}

.footer-column {
  display: flex;
  flex: 1 1 190px;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}

.footer-column h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 17px;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.legal-page {
  min-height: 100vh;
  padding: 64px 0;
  background: var(--paper);
}

.legal-content {
  max-width: 840px;
}

.legal-content .logo {
  margin-bottom: 46px;
}

.legal-content h1 {
  margin-bottom: 24px;
  font-size: clamp(38px, 6vw, 64px);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(24px, 4vw, 34px);
}

.legal-content .btn {
  margin-top: 24px;
}

.legal-body {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.legal-body h2 {
  margin: 34px 0 14px;
  color: var(--ink);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.18;
}

.legal-body h3 {
  margin: 24px 0 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
}

.legal-body p {
  margin-bottom: 14px;
}

.legal-body ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body a {
  color: var(--violet);
  font-weight: 700;
  overflow-wrap: anywhere;
}

@media (max-width: 960px) {
  .container {
    width: min(100% - 28px, 760px);
  }

  .header-inner {
    min-height: 68px;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .main-nav.is-open {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 78px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open a {
    padding: 16px;
  }

  .hero,
  section {
    padding: 64px 0;
  }

  .hero-inner,
  .split-layout,
  .method-inner,
  .teachers-inner,
  .faq-inner,
  .contact-inner,
  .footer-inner,
  .footer-bottom {
    flex-direction: column;
  }

  .section-heading {
    flex: none;
    width: 100%;
  }

  .hero-media {
    width: 100%;
    min-width: 0;
  }

  .teacher-cards {
    width: 100%;
    flex-wrap: wrap;
  }

  .teacher-cards article {
    flex: 1 1 230px;
  }

  .lead-form {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 22px, 560px);
  }

  .logo {
    font-size: 15px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-copy > p {
    font-size: 17px;
  }

  .hero-actions .btn,
  .hero-facts div {
    width: 100%;
  }

  .lesson-card {
    right: 10px;
    bottom: 14px;
    width: min(190px, calc(100% - 20px));
    padding: 14px;
  }

  .lesson-card strong {
    font-size: 19px;
  }

  .audience-list article,
  .format-card,
  .process-row article {
    flex-basis: 100%;
  }

  .method-panel,
  .lead-form {
    padding: 22px;
  }

  .method-steps div {
    padding: 22px 22px 22px 62px;
  }

  .method-steps span {
    left: 22px;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}
