/* ====================================================
   SPEAK YOUR LIFE — Brand Identity CSS
   Colors: #6c55b1 (purple) · #bf5b92 (pink) · #afb1b4 (grey) · #f2e587 (yellow)
   Fonts: Source Serif 4 (display) · Noto Sans (body)
   ==================================================== */

/* === DESIGN TOKENS === */
:root,
[data-theme="light"] {
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body: 'Noto Sans', 'Helvetica Neue', sans-serif;

  /* Brand palette */
  --brand-purple: #6c55b1;
  --brand-purple-dark: #4e3d87;
  --brand-purple-light: #ede9f8;
  --brand-pink: #bf5b92;
  --brand-pink-light: #f5e0ee;
  --brand-yellow: #f2e587;
  --brand-yellow-text: #8a7a0a;
  --brand-grey: #afb1b4;
  --brand-grey-light: #f0f0f1;

  /* Surfaces */
  --color-bg: #faf9f7;
  --color-surface: #ffffff;
  --color-surface-alt: #f4f2fa;
  --color-border: #e5e2f0;

  /* Text */
  --color-text: #1e1a2e;
  --color-text-muted: #6b6680;
  --color-text-faint: #a09cba;

  /* Functional */
  --color-primary: var(--brand-purple);
  --color-primary-hover: var(--brand-purple-dark);

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2.5rem;
  --radius-blob: 60% 40% 55% 45% / 50% 60% 40% 50%;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(108, 85, 177, 0.08);
  --shadow-md: 0 4px 16px rgba(108, 85, 177, 0.12);
  --shadow-lg: 0 12px 40px rgba(108, 85, 177, 0.16);

  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --content-narrow: 680px;
  --content-default: 1040px;
}

[data-theme="dark"] {
  --color-bg: #13101f;
  --color-surface: #1b1729;
  --color-surface-alt: #211d30;
  --color-border: #2e2a40;
  --color-text: #e8e4f8;
  --color-text-muted: #9b96b8;
  --color-text-faint: #5c5878;
  --brand-purple-light: #2a2148;
  --brand-pink-light: #2d1a27;
  --brand-grey-light: #252330;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #13101f;
    --color-surface: #1b1729;
    --color-surface-alt: #211d30;
    --color-border: #2e2a40;
    --color-text: #e8e4f8;
    --color-text-muted: #9b96b8;
    --color-text-faint: #5c5878;
    --brand-purple-light: #2a2148;
    --brand-pink-light: #2d1a27;
    --brand-grey-light: #252330;
  }
}

/* === BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"] { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; }
p, li { text-wrap: pretty; max-width: 70ch; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
::selection { background: color-mix(in oklch, var(--brand-purple) 25%, transparent); }
:focus-visible { outline: 2px solid var(--brand-purple); outline-offset: 3px; border-radius: var(--radius-sm); }

/* === LAYOUT === */
.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-12));
}
.container--narrow { max-width: var(--content-narrow); }
.section { padding-block: clamp(var(--space-12), 8vw, var(--space-24)); }

/* === TYPOGRAPHY === */
.section__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-8);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75em 1.5em;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--brand-purple);
  color: #fff;
  box-shadow: 0 2px 8px rgba(108, 85, 177, 0.35);
}
.btn--primary:hover {
  background: var(--brand-purple-dark);
  box-shadow: 0 4px 16px rgba(108, 85, 177, 0.45);
}
.btn--outline {
  background: transparent;
  color: var(--brand-purple);
  border: 2px solid var(--brand-purple);
}
.btn--outline:hover {
  background: var(--brand-purple-light);
}
.btn--ghost {
  color: var(--color-text-muted);
  padding: 0.5em;
}
.btn--ghost:hover { color: var(--brand-purple); }
.btn--sm { font-size: var(--text-xs); padding: 0.5em 1.1em; }
.btn--lg { font-size: var(--text-base); padding: 0.9em 2em; }
.btn--full { width: 100%; }

/* === BADGES === */
.badge {
  display: inline-block;
  padding: 0.35em 1em;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}
.badge--purple { background: var(--brand-purple-light); color: var(--brand-purple-dark); }
.badge--pink   { background: var(--brand-pink-light);   color: var(--brand-pink); }
.badge--yellow { background: var(--brand-yellow);        color: var(--brand-yellow-text); }

/* === TAGS === */
.tag {
  display: inline-block;
  padding: 0.3em 0.8em;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  background: var(--brand-purple-light);
  color: var(--brand-purple-dark);
  font-family: var(--font-body);
}
[data-theme="dark"] .tag,
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .tag {
  background: var(--brand-purple-light);
  color: #c4b8f8;
}}

/* === SHAPES & BLOBS === */
.blob {
  border-radius: var(--radius-blob);
  position: absolute;
  opacity: 0.85;
}
.blob--purple { background: var(--brand-purple); }
.blob--pink   { background: var(--brand-pink); }
.blob--yellow { background: var(--brand-yellow); }
.blob--grey   { background: var(--brand-grey); }
.blob--lg  { width: 220px; height: 200px; }
.blob--md  { width: 160px; height: 150px; }
.blob--sm  { width: 110px; height: 100px; }
.blob--xs  { width: 70px;  height: 65px; }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklch, var(--color-bg) 90%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
.nav--scrolled { box-shadow: var(--shadow-sm); }
.nav__inner {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-12));
  height: 68px;
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav__logo-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--brand-purple);
  line-height: 1.2;
  white-space: nowrap;
}
.nav__logo-sub {
  font-size: 10px;
  color: var(--brand-pink);
  font-family: var(--font-body);
  white-space: nowrap;
  line-height: 1.2;
}
.nav__links {
  display: flex;
  gap: var(--space-6);
  margin-inline: auto;
}
.nav__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 500;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--brand-purple); }
.nav__actions { display: flex; align-items: center; gap: var(--space-3); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: var(--space-2); }
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--color-text); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) clamp(var(--space-5), 5vw, var(--space-12)) var(--space-6);
  border-top: 1px solid var(--color-border);
}
.nav__mobile a {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-2) 0;
}
.nav__mobile.is-open { display: flex; }
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; margin-left: auto; }
  .nav__actions .btn--primary { display: none; }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(var(--space-12), 10vw, var(--space-24));
}
.hero__bg-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: var(--radius-blob);
  opacity: 0.07;
}
.shape--1 { width: 600px; height: 500px; background: var(--brand-purple); top: -100px; right: -100px; border-radius: 45% 55% 40% 60% / 50% 45% 55% 50%; }
.shape--2 { width: 400px; height: 350px; background: var(--brand-pink); bottom: -80px; left: -60px; border-radius: 60% 40% 55% 45% / 40% 55% 45% 60%; }
.shape--3 { width: 250px; height: 220px; background: var(--brand-yellow); top: 20%; left: 30%; border-radius: 50%; }
.shape--4 { width: 180px; height: 160px; background: var(--brand-grey); bottom: 15%; right: 25%; border-radius: 55% 45% 50% 50% / 45% 55% 50% 50%; }
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__badges { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.hero__title {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}
.hero__title em {
  font-style: italic;
  color: var(--brand-purple);
}
.hero__sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-8);
  max-width: 52ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__visual { position: relative; height: 420px; }
.hero__blobs { position: absolute; inset: 0; }
.hero__blobs .blob--lg { top: 30px; left: 40px; }
.hero__blobs .blob--md { top: 60px; left: 130px; border-radius: 45% 55% 60% 40% / 55% 45% 50% 50%; }
.hero__blobs .blob--sm { top: 10px; left: 220px; border-radius: 50%; }
.hero__blobs .blob--xs { bottom: 80px; left: 80px; }
.hero__quote {
  position: absolute;
  bottom: 40px;
  right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-md);
  max-width: 220px;
  z-index: 2;
}
.hero__quote-text {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__title { font-size: var(--text-2xl); }
}

/* === PAIN === */
.pain { background: var(--color-surface-alt, var(--color-bg)); }
[data-theme="dark"] .pain { background: var(--color-surface); }
.pain .section__title { text-align: center; }
.pain__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}
.pain__item {
  display: flex;
  gap: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  align-items: flex-start;
}
.pain__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--brand-pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-pink);
}
.pain__item p { font-size: var(--text-sm); color: var(--color-text); margin: 0; max-width: none; line-height: 1.55; }
.pain__reveal { text-align: center; position: relative; padding-top: var(--space-6); }
.pain__line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--brand-pink), var(--brand-purple));
  margin: 0 auto var(--space-5);
  border-radius: 2px;
}
.pain__insight {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 54ch;
  margin: 0 auto;
}
.pain__insight strong { color: var(--brand-purple); font-weight: 700; }
@media (max-width: 600px) { .pain__list { grid-template-columns: 1fr; } }

/* === SOLUTION === */
.solution__header { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: var(--space-12); }
.solution__lead { font-size: var(--text-lg); color: var(--color-text-muted); line-height: 1.6; margin-bottom: 0; max-width: none; }
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-4);
  align-items: center;
  margin-bottom: var(--space-16);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.compare__col { }
.compare__label {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-border);
}
.compare__col--new .compare__label { color: var(--brand-purple); border-color: var(--brand-purple); }
.compare__col--old .compare__label { color: var(--color-text-muted); }
.compare__col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.compare__col li {
  font-size: var(--text-sm);
  padding-left: var(--space-5);
  position: relative;
  color: var(--color-text-muted);
  max-width: none;
}
.compare__col--old li::before { content: '—'; position: absolute; left: 0; color: var(--brand-grey); }
.compare__col--new li { color: var(--color-text); }
.compare__col--new li::before { content: '✦'; position: absolute; left: 0; color: var(--brand-purple); font-size: 10px; top: 4px; }
.compare__vs {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-faint);
  padding-inline: var(--space-4);
}
@media (max-width: 640px) {
  .compare { grid-template-columns: 1fr; gap: var(--space-6); }
  .compare__vs { text-align: center; }
}
.for-whom__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-6);
  text-align: center;
}
.for-whom__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.for-whom__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
}
.for-whom__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  color: var(--brand-purple-light);
  line-height: 1;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}
[data-theme="dark"] .for-whom__num { color: var(--brand-purple); opacity: 0.25; }
.for-whom__card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; max-width: none; }
@media (max-width: 768px) { .for-whom__grid { grid-template-columns: 1fr; } }

/* === PROGRAMME === */
.programme { background: color-mix(in oklch, var(--brand-purple-light) 40%, var(--color-bg)); }
[data-theme="dark"] .programme { background: var(--color-surface); }
.programme__header { text-align: center; margin-bottom: var(--space-12); }
.programme__sub { font-size: var(--text-lg); color: var(--color-text-muted); max-width: none; }
.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.module {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: box-shadow var(--transition), transform var(--transition);
}
.module:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.module__accent {
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  border-radius: 50%;
  opacity: 0.12;
}
.module--1 .module__accent { background: var(--brand-purple); }
.module--2 .module__accent { background: var(--brand-pink); }
.module--3 .module__accent { background: var(--brand-yellow); }
.module--1 { border-top: 3px solid var(--brand-purple); }
.module--2 { border-top: 3px solid var(--brand-pink); }
.module--3 { border-top: 3px solid var(--brand-yellow-text, #8a7a0a); }
.module__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-family: var(--font-body);
}
.module--1 .module__tag { color: var(--brand-purple); }
.module--2 .module__tag { color: var(--brand-pink); }
.module--3 .module__tag { color: var(--brand-yellow-text, #8a7a0a); }
.module__title { font-size: var(--text-xl); font-weight: 700; }
.module__dates {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  letter-spacing: 0.01em;
}
.module--1 .module__dates { color: var(--brand-purple); background: color-mix(in srgb, var(--brand-purple) 8%, transparent); border-color: color-mix(in srgb, var(--brand-purple) 20%, transparent); }
.module--2 .module__dates { color: var(--brand-pink); background: color-mix(in srgb, var(--brand-pink) 8%, transparent); border-color: color-mix(in srgb, var(--brand-pink) 20%, transparent); }
.module--3 .module__dates { color: var(--brand-yellow-text, #8a7a0a); background: color-mix(in srgb, var(--brand-yellow) 15%, transparent); border-color: color-mix(in srgb, var(--brand-yellow) 40%, transparent); }
.module__sub { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; max-width: none; }
.module__topics { display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.module__topics li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-4);
  position: relative;
  max-width: none;
  line-height: 1.5;
}
.module__topics li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-text-faint);
}
.module--1 .module__topics li::before { background: var(--brand-purple); opacity: 0.6; }
.module--2 .module__topics li::before { background: var(--brand-pink); opacity: 0.6; }
.module--3 .module__topics li::before { background: var(--brand-yellow-text, #8a7a0a); opacity: 0.6; }
.module__result {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
  margin-top: auto;
}
.module__result-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
}
.module__result p { font-size: var(--text-sm); font-style: italic; font-family: var(--font-display); color: var(--color-text); max-width: none; }
.module__price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--brand-purple);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
}
@media (max-width: 900px) { .modules { grid-template-columns: 1fr; } }

/* === PRICE === */
.format__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.format__fact {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.format__icon {
  flex-shrink: 0;
  color: var(--brand-purple);
}
.format__fact strong { display: block; font-size: var(--text-sm); font-weight: 600; margin-bottom: 2px; }
.format__fact span { font-size: var(--text-xs); color: var(--color-text-muted); }
.price__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  max-width: 720px;
  margin-inline: auto;
}
.price__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: relative;
}
.price__card--featured {
  background: var(--brand-purple);
  border-color: var(--brand-purple);
  color: #fff;
}
.price__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-yellow);
  color: var(--brand-yellow-text);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.3em 1.2em;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  white-space: nowrap;
}
.price__card-label { font-size: var(--text-sm); font-weight: 600; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.06em; }
.price__amount { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; line-height: 1; }
.price__amount span { font-size: 0.55em; vertical-align: super; }
.price__period { font-size: var(--text-xs); opacity: 0.85; }
.price__period strong { color: var(--brand-yellow); font-weight: 700; opacity: 1; }
.price__features { display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.price__features li {
  font-size: var(--text-sm);
  padding-left: var(--space-5);
  position: relative;
  max-width: none;
}
.price__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-yellow);
  font-size: var(--text-xs);
  top: 2px;
}
.price__card:not(.price__card--featured) .price__features li::before { color: var(--brand-purple); }
.price__card--featured .btn--outline {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.price__card--featured .btn--outline:hover { background: rgba(255,255,255,0.15); }
@media (max-width: 600px) {
  .price__cards { grid-template-columns: 1fr; }
  .format__facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) { .format__facts { grid-template-columns: 1fr; } }

/* === TEACHERS === */
.teachers { background: var(--color-surface-alt, var(--brand-purple-light)); }
[data-theme="dark"] .teachers { background: var(--color-surface); }
.teachers__inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-12);
  align-items: center;
}
.teachers__visual { position: relative; height: 200px; }
.teachers__visual .blob--md { top: 0; left: 0; }
.teachers__visual .blob--sm { bottom: 20px; right: 0; }
.teachers__eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-pink);
  margin-bottom: var(--space-3);
  font-family: var(--font-body);
}
.teachers__title { font-size: var(--text-xl); margin-bottom: var(--space-4); }
.teachers__content p { font-size: var(--text-base); color: var(--color-text-muted); line-height: 1.65; margin-bottom: var(--space-3); }
.teachers__content .btn { margin-top: var(--space-2); }
@media (max-width: 640px) {
  .teachers__inner { grid-template-columns: 1fr; }
  .teachers__visual { display: none; }
}

/* === ABOUT === */
.about__inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-12);
  align-items: start;
}
.about__photo-wrap {
  position: relative;
}
.about__photo-img {
  width: 260px;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: block;
}
.about__eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-pink);
  margin-bottom: var(--space-3);
  font-family: var(--font-body);
}
.about__name { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
.about__lead { font-size: var(--text-lg); color: var(--color-text); line-height: 1.55; margin-bottom: var(--space-4); max-width: 60ch; }
.about__content p { font-size: var(--text-base); color: var(--color-text-muted); line-height: 1.65; margin-bottom: var(--space-4); }
.about__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
@media (max-width: 768px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__photo-placeholder { width: 100%; height: 200px; }
}

/* === FAQ === */
.faq__list { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-8); }
.faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq__item[open] { box-shadow: var(--shadow-sm); }
.faq__q {
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  list-style: none;
  user-select: none;
  transition: color var(--transition);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  font-size: 1.4em;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--brand-purple);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq__item[open] .faq__q { color: var(--brand-purple); }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a {
  padding: 0 var(--space-6) var(--space-5);
  border-top: 1px solid var(--color-border);
}
.faq__a p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; margin: var(--space-4) 0 0; max-width: none; }

/* === SIGNUP === */
.signup {
  position: relative;
  background: color-mix(in oklch, var(--brand-purple-light) 60%, var(--color-bg));
  overflow: hidden;
}
[data-theme="dark"] .signup { background: var(--color-surface); }
.signup__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape--signup-1 { width: 500px; height: 450px; background: var(--brand-purple); top: -150px; right: -100px; border-radius: 45% 55% 40% 60% / 50% 45% 55% 50%; opacity: 0.06; }
.shape--signup-2 { width: 350px; height: 300px; background: var(--brand-pink); bottom: -100px; left: -80px; border-radius: 60% 40% 50% 50% / 45% 55% 45% 55%; opacity: 0.07; }
.signup .container { position: relative; z-index: 1; }
.signup__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-4);
}
.signup__title em { font-style: italic; color: var(--brand-purple); }
.signup__sub { text-align: center; color: var(--color-text-muted); margin-bottom: var(--space-8); }
.signup__form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  box-shadow: var(--shadow-md);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form__field { display: flex; flex-direction: column; gap: var(--space-2); }
.form__field label { font-size: var(--text-sm); font-weight: 600; color: var(--color-text-muted); }
.form__field input,
.form__field select {
  padding: 0.75em 1em;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form__field input:focus,
.form__field select:focus {
  outline: none;
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--brand-purple) 15%, transparent);
}
.form__req { color: var(--brand-purple); font-weight: 700; margin-left: 2px; }
.form__opt {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-faint);
  margin-left: var(--space-1);
  font-style: italic;
}

/* Radio option cards */
.form__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form__option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  position: relative;
}
.form__option:hover {
  border-color: var(--brand-purple);
  background: color-mix(in oklch, var(--brand-purple) 4%, var(--color-bg));
}
.form__option input[type="radio"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--brand-purple);
  cursor: pointer;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}
.form__option input[type="radio"]:focus-visible {
  outline: 2px solid var(--brand-purple);
  outline-offset: 2px;
}
.form__option:has(input:checked) {
  border-color: var(--brand-purple);
  background: color-mix(in oklch, var(--brand-purple) 6%, var(--color-bg));
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--brand-purple) 12%, transparent);
}
.form__option-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.form__option-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.form__option-sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.form__option--featured {
  margin-top: var(--space-3);
  border-color: var(--color-border);
  background: var(--color-bg);
}
.form__option--featured:has(input:checked) {
  border-color: var(--brand-purple);
  background: color-mix(in oklch, var(--brand-purple) 10%, var(--color-bg));
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--brand-purple) 12%, transparent);
}
.form__option-badge {
  position: absolute;
  top: -10px;
  right: var(--space-4);
  background: var(--brand-purple);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.form__option--featured:has(input:checked) .form__option-title { color: var(--brand-purple); }
.form__option--featured:has(input:checked) .form__option-sub { color: var(--brand-purple); opacity: 0.8; }

.form__note { font-size: var(--text-xs); color: var(--color-text-faint); text-align: center; }

/* Promo status & total */
.form__promo-status {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.form__promo-status[data-state="ok"]  { color: var(--brand-purple); }
.form__promo-status[data-state="err"] { color: var(--brand-pink); }

.form__total {
  margin-top: var(--space-4);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(108,85,177,0.08), rgba(242,229,135,0.18));
  border: 1.5px solid rgba(108,85,177,0.18);
}
.form__total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.form__total-label {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
}
.form__total-prices {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-3);
}
.form__total-old {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-faint);
  text-decoration: line-through;
  text-decoration-color: var(--brand-pink);
}
.form__total-old:empty { display: none; }
.form__total-new {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--brand-purple);
}
.form__total-note {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  font-family: var(--font-body);
}
.form__total-note:empty { display: none; }

/* Consent checkbox */
.form__consent {
  margin-top: var(--space-2);
}
.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.form__checkbox:hover {
  border-color: var(--brand-purple);
  background: color-mix(in oklch, var(--brand-purple) 4%, var(--color-bg));
}
.form__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--brand-purple);
  cursor: pointer;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}
.form__checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--brand-purple);
  outline-offset: 2px;
}
.form__checkbox:has(input:checked) {
  border-color: var(--brand-purple);
  background: color-mix(in oklch, var(--brand-purple) 6%, var(--color-bg));
}
.form__checkbox-body {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.55;
  flex: 1;
}
.form__checkbox-body a {
  color: var(--brand-purple);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--brand-purple) 35%, transparent);
  text-underline-offset: 2px;
  font-weight: 500;
  transition: color var(--transition);
}
.form__checkbox-body a:hover {
  color: var(--brand-purple-dark);
}
.signup__success {
  text-align: center;
  padding: var(--space-10) var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  box-shadow: var(--shadow-md);
}
.signup__success[hidden] { display: none !important; }
.signup__success h3 { font-size: var(--text-xl); }
.signup__success p { color: var(--color-text-muted); }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-8);
  background: var(--color-bg);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-bottom: var(--space-5);
}
.footer__brand { display: flex; flex-direction: column; gap: var(--space-1); }
.footer__name { font-family: var(--font-display); font-size: var(--text-base); font-weight: 700; color: var(--brand-purple); }
.footer__tagline { font-size: var(--text-xs); color: var(--color-text-muted); }
.footer__links { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.footer__links a { font-size: var(--text-sm); color: var(--color-text-muted); transition: color var(--transition); }
.footer__links a:hover { color: var(--brand-purple); }
.footer__copy { font-size: var(--text-xs); color: var(--color-text-faint); }

/* === SCROLL ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: 0.01ms !important; }
}

/* === LEVEL CHOICE (экспресс-проверка / диагностика) === */
.lvl-section { background: color-mix(in oklch, var(--brand-purple-light) 40%, var(--color-bg)); }
[data-theme="dark"] .lvl-section { background: var(--color-surface); }
.lvl-section .section__title { text-align: center; }
.lvl-intro { text-align: center; color: var(--color-text-muted); max-width: 52ch; margin: calc(-1 * var(--space-4)) auto var(--space-8); }
.lvl-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.lvl-card { display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 0; padding: var(--space-8); }
.lvl-card--accent { background: var(--brand-purple); border-color: var(--brand-purple); color: #fff; }
.lvl-card__label { align-self: flex-start; font-size: var(--text-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: var(--brand-pink-light); color: var(--brand-purple-dark); margin-bottom: var(--space-4); }
.lvl-card--accent .lvl-card__label { background: var(--brand-yellow); }
.lvl-card h3 { font-family: var(--font-display); font-size: var(--text-lg); margin: 0 0 var(--space-3); }
.lvl-card p { font-size: var(--text-sm); line-height: 1.6; margin: 0 0 var(--space-6); flex: 1; max-width: none; }
.lvl-card--accent p { color: rgba(255,255,255,.92); }
.lvl-card .btn { align-self: flex-start; }
.lvl-card--accent .btn { background: #fff; color: var(--brand-purple-dark); border: 2px solid #fff; }
.lvl-card--accent .btn:hover { background: var(--brand-purple-light); }
@media (max-width: 720px) { .lvl-choice { grid-template-columns: 1fr; } .lvl-card { padding: var(--space-6); } .lvl-card .btn { align-self: stretch; text-align: center; } }
.lvl-choice { max-width: 920px; margin: 0 auto; }
.lvl-card .btn { white-space: normal; text-align: center; }
.lvl-section .section__title { max-width: 24ch; margin-left: auto; margin-right: auto; }
