/* Sri Maths Academy — polished, fast, mobile-first */

:root {
  --bg: #f4f6fb;
  --bg-alt: #eef2f9;
  --bg-white: #ffffff;
  --bg-tint: #e8edf7;
  --text: #0c1a3a;
  --text-muted: #5a6578;
  --text-light: #7b8798;
  --primary: #1a3a8f;
  --primary-dark: #0f2660;
  --primary-light: #2d5bd4;
  --highlight: #b8860b;
  --highlight-soft: #f5ecd4;
  --border: #d8dee9;
  --border-strong: #c5cedd;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --shadow-sm: 0 2px 8px rgba(12, 26, 58, 0.06);
  --shadow-md: 0 8px 28px rgba(12, 26, 58, 0.1);
  --shadow-lg: 0 16px 48px rgba(12, 26, 58, 0.14);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --container: 76rem;
  --header-h: 4.5rem;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

strong {
  font-weight: 700;
  color: var(--text);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* Section backgrounds */
.section--alt {
  background: linear-gradient(165deg, var(--bg-alt) 0%, var(--bg-white) 55%);
}

.section--white {
  background: var(--bg-white);
}

.section--tint {
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg-alt) 100%);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

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

/* Hero visible immediately on first paint (no clip from reveal offset) */
#hero.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Typography */
.text-light {
  font-weight: 400;
  color: var(--text-muted);
}

.text-highlight {
  color: var(--primary);
  font-weight: 700;
}

.section__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-light);
}

.section__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.section__lead {
  margin: 0;
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  font-weight: 500;
  color: var(--text-muted);
  max-width: 42rem;
}

.section__header--center .section__lead {
  margin-inline: auto;
}

.subsection__title {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.section {
  padding-block: 0;
}

/* Full-viewport sections */
main > section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 0;
  box-sizing: border-box;
  overflow-y: auto;
  scroll-snap-align: start;
}

main {
  scroll-snap-type: y proximity;
}

main > section > .container:not(.hero__grid),
main > section > .container.cta-band__inner,
main > section > .container.contact__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

main > section.hero {
  min-height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  scroll-margin-top: var(--header-h);
}

main > section.hero > .container.hero__grid {
  flex: 1;
  display: grid;
  width: 100%;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-content: center;
  align-items: center;
  min-height: 0;
}

@media (min-width: 900px) {
  main > section.hero {
    min-height: calc(100dvh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
  }

  main > section.hero > .container.hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-content: start;
    align-items: start;
    gap: 1.25rem;
    padding-top: clamp(2.75rem, 6.5vh, 4rem);
    padding-bottom: clamp(0.5rem, 1vh, 0.85rem);
    height: 100%;
    min-height: 0;
  }

  .hero .btn-eyebrow {
    margin-bottom: clamp(1rem, 3vh, 1.5rem);
    padding: 0.45rem 0.8rem;
    font-size: 0.8125rem;
  }

  .hero__title {
    margin-bottom: 0.65rem;
    font-size: clamp(1.875rem, 3.8vw, 2.75rem);
  }

  .hero__subtitle {
    margin-bottom: 0.65rem;
    font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
    line-height: 1.45;
  }

  .hero__features {
    margin-bottom: clamp(0.5rem, 1.5vh, 0.75rem);
    gap: 0.45rem;
  }

  .hero__feature {
    gap: 0.5rem;
    font-size: 0.9375rem;
  }

  .hero__feature-icon {
    width: 1.35rem;
    height: 1.35rem;
    font-size: 0.6875rem;
  }

  .hero__ctas {
    margin-top: clamp(1rem, 2.5vh, 1.5rem);
    margin-bottom: clamp(0.5rem, 1.5vh, 0.75rem);
  }

  .hero__ctas .btn--lg {
    padding: 0.6rem 1.35rem;
    font-size: 0.9375rem;
  }

  .hero__content {
    align-self: start;
  }

  .hero__visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    height: 100%;
    min-height: calc(100dvh - var(--header-h) - 2rem);
  }

  .hero__image-wrap {
    height: clamp(16rem, 52vh, 21rem);
    min-height: 16rem;
    max-height: 21rem;
    aspect-ratio: unset;
    width: 100%;
  }

  .hero-play {
    padding: 0.5rem 0.55rem 0.4rem;
  }

  .hero-play__hint {
    font-size: clamp(0.625rem, 1.1vw, 0.75rem);
  }

  .hero-play__pool {
    min-height: 4.25rem;
  }

  .hero-chip {
    font-size: clamp(0.75rem, 1.05vw, 0.9375rem);
    padding: clamp(0.28rem, 0.9vw, 0.4rem) clamp(0.45rem, 1.4vw, 0.65rem);
  }

  .hero-play__slot {
    min-width: clamp(1.35rem, 4.5vw, 1.85rem);
    min-height: clamp(1.45rem, 5vw, 2rem);
    font-size: clamp(0.75rem, 1.1vw, 0.9375rem);
  }

  .hero-play__target-bubble {
    min-width: clamp(2.35rem, 6vw, 3.1rem);
    min-height: clamp(2.35rem, 6vw, 3.1rem);
  }

  .hero-play__target-num {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
  }

  .hero__badges {
    width: 100%;
    margin-top: clamp(1rem, 2.5vh, 1.5rem);
    gap: 0.5rem;
    flex-shrink: 0;
    justify-content: center;
  }

  .hero__badge {
    padding: 0.5rem 0.95rem;
    font-size: 0.8125rem;
  }
}

@media (min-width: 900px) and (max-height: 800px) {
  main > section.hero > .container.hero__grid {
    padding-top: clamp(2rem, 5vh, 2.75rem);
  }

  .hero__title {
    font-size: clamp(1.625rem, 3.2vw, 2.125rem);
    margin-bottom: 0.5rem;
  }

  .hero__subtitle {
    margin-bottom: 0.5rem;
  }

  .hero__features {
    margin-bottom: 0.65rem;
    gap: 0.35rem;
  }

  .hero__visual {
    min-height: calc(100dvh - var(--header-h) - 1.5rem);
  }

  .hero__image-wrap {
    height: clamp(13.5rem, 46vh, 17.5rem);
    min-height: 13.5rem;
    max-height: 17.5rem;
  }

  .hero-play__pool {
    min-height: 3.5rem;
  }
}

.section__header {
  margin-bottom: 2.5rem;
}

.section__header--center {
  text-align: center;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

.header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(26, 58, 143, 0.35);
  flex-shrink: 0;
}

.logo__wordmark {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.35rem;
  line-height: 1.1;
}

.logo__sri {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.logo__maths {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--highlight);
  letter-spacing: -0.03em;
}

.logo__academy {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.logo:hover {
  text-decoration: none;
}

.logo:hover .logo__symbol {
  transform: scale(1.05);
  transition: transform 0.2s var(--ease);
}

.logo:hover .logo__maths {
  color: var(--primary-light);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: var(--radius);
}

.nav-toggle:hover {
  background: var(--bg-alt);
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
}

.nav.is-open {
  display: block;
}

.nav__list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.nav__link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.nav__link:hover {
  background: var(--bg-alt);
  color: var(--primary);
  text-decoration: none;
}

.nav__cta {
  width: 100%;
}

@media (min-width: 1100px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
    position: static;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .nav__list {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    margin: 0;
  }

  .nav__link {
    padding: 0.5rem 0.875rem;
    white-space: nowrap;
  }

  .nav__cta {
    width: auto;
    margin-left: 0.75rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  user-select: none;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(26, 58, 143, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 8px 24px rgba(26, 58, 143, 0.45);
  color: #fff;
}

.btn--nav {
  min-height: 42px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn--light {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.btn--light:hover {
  background: var(--highlight-soft);
  color: var(--primary-dark);
}

.btn--outline {
  background: var(--bg-white);
  color: var(--primary);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn--outline:hover {
  border-color: var(--primary);
  background: var(--bg-alt);
  color: var(--primary-dark);
}

.btn--whatsapp {
  background: linear-gradient(135deg, #2ee66d 0%, var(--whatsapp) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.btn--whatsapp:hover:not(:disabled) {
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.btn--whatsapp:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn--lg {
  min-height: 52px;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn--shine {
  position: relative;
  overflow: hidden;
}

/* Eyebrow CTA */
.btn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  background: linear-gradient(135deg, #fff 0%, var(--highlight-soft) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s;
  user-select: none;
}

.btn-eyebrow:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.btn-eyebrow__icon {
  font-size: 1rem;
}

.btn-eyebrow__arrow {
  transition: transform 0.2s;
}

.btn-eyebrow:hover .btn-eyebrow__arrow {
  transform: translateX(3px);
}

/* Hero */
.hero {
  padding-block: 0;
  overflow: hidden;
}

.hero__visual {
  width: 100%;
}

@media (max-width: 899px) {
  :root {
    --section-pad: clamp(3rem, 10vh, 4.5rem);
  }

  main {
    scroll-snap-type: none;
  }

  main > section {
    min-height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    justify-content: center;
    -webkit-overflow-scrolling: touch;
  }

  main > section > .container:not(.hero__grid),
  main > section > .container.cta-band__inner,
  main > section > .container.contact__inner {
    flex: 1;
    min-height: 0;
    width: 100%;
    justify-content: center;
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
    box-sizing: border-box;
  }

  .section__header {
    margin-bottom: clamp(1.25rem, 3vh, 1.75rem);
  }

  #syllabus .pills {
    margin-bottom: 0;
  }

  #experience {
    min-height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  #experience > .container {
    height: auto;
    max-height: none;
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
    gap: clamp(0.625rem, 2vw, 1rem);
    justify-content: center;
  }

  #experience .section__title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  #experience .bento {
    gap: clamp(0.5rem, 1.5vw, 0.875rem);
  }

  #experience .bento__card {
    padding-block: 0.65rem;
    padding-inline: 0.875rem;
  }

  #why-one-on-one {
    overflow: hidden;
  }

  #why-one-on-one > .container {
    --section-pad: clamp(2rem, 5.5vh, 2.75rem);
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
    gap: clamp(0.5rem, 1.5vh, 0.75rem);
    justify-content: center;
  }

  #why-one-on-one .section__header {
    margin-bottom: clamp(0.5rem, 1.5vh, 0.75rem);
  }

  #why-one-on-one .section__eyebrow {
    margin-bottom: 0.35rem;
    font-size: 0.6875rem;
  }

  #why-one-on-one .section__title {
    font-size: clamp(1.25rem, 4.2vw, 1.5rem);
    line-height: 1.15;
    margin-bottom: 0;
  }

  #why-one-on-one .compare__grid {
    width: 100%;
    gap: clamp(0.5rem, 1.2vh, 0.625rem);
  }

  #why-one-on-one .compare__col {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding: clamp(0.625rem, 1.5vh, 0.75rem) clamp(0.75rem, 2vw, 0.875rem);
  }

  #why-one-on-one .compare__col-title {
    font-size: 0.875rem;
    margin-top: 0;
    margin-bottom: 0.4rem;
  }

  #why-one-on-one .compare__list {
    margin-bottom: 0.5rem;
  }

  #why-one-on-one .compare__list li {
    font-size: 0.6875rem;
    line-height: 1.3;
    margin-bottom: 0.25rem;
    padding-left: 1.15rem;
  }

  #why-one-on-one .compare__col .btn {
    min-height: 38px;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    width: 100%;
    align-self: stretch;
  }

  #why-one-on-one .compare__footnote {
    font-size: 0.6875rem;
    padding-top: 0.35rem;
    margin: 0;
  }

  #tutor .section__title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  #tutor .stat-grid {
    gap: 0.75rem;
  }

  #tutor .stat-card {
    padding: 1.125rem 0.75rem;
  }

  #tutor .stat-card__icon {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
  }

  #results {
    overflow-y: auto;
    overflow-x: hidden;
  }

  #results .section__title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  #results .metrics-grid {
    gap: 0.75rem;
  }

  #results .metric-card {
    padding: 1rem 0.75rem;
  }

  #results .metric-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.625rem;
    font-size: 1.125rem;
  }

  #results .metric-card__value {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  #contact {
    overflow-y: auto;
    overflow-x: hidden;
  }

  #contact > .container.contact__inner {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
    justify-content: center;
  }

  #contact .contact__title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
  }

  main > section.cta-band {
    min-height: 100dvh;
    max-height: 100dvh;
    padding: 0;
  }

  main > section.cta-band > .container.cta-band__inner {
    min-height: 0;
    flex: 1;
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
    justify-content: center;
  }

  main > section.hero,
  .hero {
    overflow: visible;
  }

  main > section.hero {
    min-height: calc(100dvh - var(--header-h));
    max-height: none;
    overflow-y: visible;
    overflow-x: hidden;
  }

  main > section.hero > .container.hero__grid {
    align-content: start;
    align-items: stretch;
    gap: clamp(0.5rem, 1.5vh, 0.75rem);
    padding-top: clamp(1.25rem, 4vh, 1.75rem);
    padding-bottom: clamp(1.25rem, 4vh, 2rem);
  }

  .hero .btn-eyebrow {
    margin-bottom: clamp(1rem, 3vh, 1.5rem);
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
  }

  .hero__title {
    font-size: clamp(1.5rem, 5.5vw, 1.875rem);
    margin-bottom: 0.5rem;
  }

  .hero__subtitle {
    margin-bottom: 0.625rem;
    font-size: 0.9375rem;
    line-height: 1.45;
  }

  .hero__features {
    margin-bottom: clamp(0.5rem, 1.5vh, 0.75rem);
    gap: 0.35rem;
  }

  .hero__feature {
    gap: 0.5rem;
    font-size: 0.8125rem;
  }

  .hero__feature-icon {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.625rem;
  }

  .hero__ctas {
    margin: 0;
  }

  .hero__ctas .btn--lg {
    min-height: 44px;
    padding: 0.65rem 1.25rem;
    font-size: 0.9375rem;
  }

  .hero__visual {
    width: 100%;
  }

  .hero__image-wrap {
    width: 100%;
    height: clamp(10rem, 28dvh, 12.5rem);
    aspect-ratio: unset;
    min-height: 10rem;
    max-height: 12.5rem;
  }

  .hero-play {
    padding: 0.35rem 0.4rem 0.3rem;
  }

  .hero-play__stage,
  .hero-chip {
    touch-action: pan-y;
  }

  .hero-play__hint {
    font-size: 0.5625rem;
  }

  .hero-play__feedback {
    font-size: 0.5625rem;
  }

  .hero-play__pan {
    min-width: 1.35rem;
    min-height: 1.35rem;
    font-size: 0.6875rem;
  }

  .hero-play__total {
    font-size: 0.6875rem;
  }

  .hero-play__pool {
    min-height: 3.25rem;
  }

  .hero-play__equation,
  .hero-play__balance {
    padding: 0.1rem 0.2rem 0.15rem;
    gap: 0.12rem;
  }

  .hero-play__equation {
    gap: 0.12rem;
  }

  .hero-play__slot {
    min-width: 1rem;
    min-height: 1.15rem;
    padding: 0.08rem 0.18rem;
    font-size: 0.6875rem;
  }

  .hero-play__target-bubble {
    min-width: 1.65rem;
    min-height: 1.65rem;
  }

  .hero-play__target-num {
    font-size: 0.75rem;
  }

  .hero-chip {
    padding: 0.18rem 0.32rem;
    font-size: 0.6875rem;
  }

  .hero__badges {
    margin-top: 0.75rem;
    gap: 0.4rem;
  }

  .hero__badge {
    padding: 0.45rem 0.75rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 899px) and (max-height: 700px) {
  .hero__title {
    font-size: clamp(1.375rem, 5vw, 1.625rem);
  }

  .hero__features {
    margin-bottom: 0.5rem;
    gap: 0.25rem;
  }

  .hero__image-wrap {
    height: clamp(9rem, 24dvh, 11rem);
    min-height: 9rem;
    max-height: 11rem;
  }

  #why-one-on-one > .container {
    --section-pad: clamp(1.5rem, 4vh, 2rem);
    gap: 0.4rem;
  }

  #why-one-on-one .section__title {
    font-size: 1.125rem;
  }

  #why-one-on-one .compare__col {
    padding: 0.5rem 0.65rem;
  }

  #why-one-on-one .compare__list li {
    font-size: 0.625rem;
    margin-bottom: 0.15rem;
  }

  #why-one-on-one .compare__col .btn {
    min-height: 34px;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 5.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero__rotate-wrap {
  display: block;
  margin-top: 0.15em;
}

.hero__rotate {
  display: inline-block;
  color: var(--primary);
  position: relative;
}

.hero__rotate::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.12em;
  background: linear-gradient(90deg, var(--highlight) 0%, #e8c468 100%);
  border-radius: 2px;
  opacity: 0.85;
}

.hero__rotate.is-fading {
  opacity: 0;
  transition: opacity 0.25s;
}

.hero__subtitle {
  margin: 0 0 1.75rem;
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  line-height: 1.6;
  max-width: 38ch;
}

.hero__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.hero__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero list / CTA spacing (must follow base .hero__features margin reset) */
@media (max-width: 899px) {
  .hero__features {
    margin-bottom: clamp(0.75rem, 2vh, 1rem);
    gap: 0.35rem;
  }

  .hero__ctas {
    margin: 0;
  }

  main > section.hero > .container.hero__grid {
    gap: clamp(0.75rem, 2vh, 1rem);
  }
}

@media (min-width: 900px) {
  .hero__features {
    margin-bottom: clamp(0.75rem, 2vh, 1.125rem);
    gap: 0.45rem;
  }

  .hero__ctas {
    margin-top: clamp(1rem, 2.5vh, 1.5rem);
    margin-bottom: clamp(0.75rem, 2vh, 1.125rem);
  }
}

/* Hero Math Snap Lab */
.hero__image-wrap {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(145deg, #1a3a8f 0%, #2d5bd4 45%, #4a7ae8 100%);
}

.hero-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 0.45rem 0.5rem 0.35rem;
  color: rgba(255, 255, 255, 0.95);
  user-select: none;
  -webkit-user-select: none;
}

.hero-play--results {
  background: linear-gradient(145deg, #1a3a8f 0%, #2d5bd4 45%, #4a7ae8 100%);
}

.hero-play--oneonone {
  background: linear-gradient(145deg, #0f2660 0%, #1a3a8f 50%, #3d6bc8 100%);
}

.hero-play__hint,
.hero-play__feedback,
.hero-play__static {
  margin: 0;
  line-height: 1.2;
  text-align: center;
  flex-shrink: 0;
}

.hero-play__hint {
  font-size: clamp(0.5625rem, 2.2vw, 0.6875rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero-play__feedback {
  margin-top: 0.1rem;
  font-size: clamp(0.5rem, 2vw, 0.625rem);
  font-weight: 600;
  color: rgba(255, 220, 140, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 0.75rem;
}

.hero-play__static {
  margin-top: 0.35rem;
  font-size: clamp(0.6875rem, 2.5vw, 0.8125rem);
  font-weight: 700;
  font-family: var(--font-display);
}

.hero-play__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  margin-top: 0.25rem;
  border-radius: calc(var(--radius) - 2px);
  background: rgba(0, 0, 0, 0.12);
  touch-action: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-play__stage.is-dragging {
  cursor: grabbing;
}

.hero-play__equation {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  padding: 0.12rem 0.3rem 0.18rem;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.15rem, 1vw, 0.35rem);
  z-index: 3;
}

.hero-play__equation[hidden],
.hero-play__balance[hidden] {
  display: none !important;
}

.hero-play__slots {
  display: flex;
  align-items: center;
  gap: clamp(0.15rem, 1vw, 0.3rem);
}

.hero-play__equals {
  font-size: clamp(0.75rem, 3vw, 0.9375rem);
  font-weight: 800;
  opacity: 0.85;
}

.hero-play__target-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(2rem, 10vw, 2.75rem);
  min-height: clamp(2rem, 10vw, 2.75rem);
  padding: 0.2rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe566 0%, #f5b800 100%);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.25s var(--ease);
}

.hero-play__target-num {
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 4vw, 1.125rem);
  font-weight: 800;
  color: #1a3a8f;
  line-height: 1;
}

.hero-play__target-bubble.is-pop {
  animation: hero-target-pop 0.55s var(--ease);
}

@keyframes hero-target-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}

.hero-play__slots.is-shake {
  animation: hero-slots-shake 0.45s var(--ease);
}

@keyframes hero-slots-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}

.hero-play__slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(1.25rem, 7vw, 1.75rem);
  min-height: clamp(1.35rem, 7.5vw, 1.85rem);
  padding: 0.1rem 0.25rem;
  font-size: clamp(0.6875rem, 2.8vw, 0.875rem);
  font-weight: 700;
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px dashed rgba(255, 255, 255, 0.45);
  border-radius: 0.35rem;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.hero-play__slot.is-filled {
  background: rgba(255, 255, 255, 0.22);
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-play__slot.is-wrong-flash {
  border-color: #ffb4b4;
  background: rgba(255, 80, 80, 0.25);
  transform: scale(1.05);
}

.hero-play__slot--op {
  min-width: clamp(1.1rem, 6vw, 1.5rem);
}

.hero-play__pool {
  position: relative;
  flex: 1 1 auto;
  min-height: 3.75rem;
  width: 100%;
  z-index: 1;
}

.hero-chip {
  position: absolute;
  margin: 0;
  padding: clamp(0.2rem, 1.2vw, 0.35rem) clamp(0.35rem, 2vw, 0.55rem);
  font-size: clamp(0.6875rem, 2.8vw, 0.875rem);
  font-weight: 700;
  font-family: var(--font-display);
  line-height: 1;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.97);
  border: none;
  border-radius: 0.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: grab;
  touch-action: none;
  transition: box-shadow 0.2s var(--ease), transform 0.15s var(--ease);
}

.hero-chip:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.hero-chip.is-dragging {
  cursor: grabbing;
  z-index: 5;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transform: scale(1.06);
}

.hero-chip.is-snapped {
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-chip:not(.is-dragging):not(.is-snapped) {
    animation: hero-chip-float 2.8s ease-in-out infinite;
  }

  .hero-chip:nth-child(2n) {
    animation-delay: 0.4s;
  }

  .hero-chip:nth-child(3n) {
    animation-delay: 0.8s;
  }
}

@keyframes hero-chip-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.hero-chip--op {
  background: linear-gradient(180deg, #fff 0%, #e8eeff 100%);
  color: #2d5bd4;
}

.hero-play__toast {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0.35rem 0.75rem;
  font-size: clamp(0.75rem, 3vw, 0.9375rem);
  font-weight: 800;
  font-family: var(--font-display);
  color: #1a3a8f;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 6;
  pointer-events: none;
}

.hero-play.is-complete .hero-play__stage {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-play.is-complete .hero-play__stage {
    animation: hero-play-glow 0.6s var(--ease);
  }
}

@keyframes hero-play-glow {
  0% {
    box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
  }
  100% {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  }
}

/* Balance the Scales (1:1 game) */
.hero-play--balance .hero-play__equation {
  display: none !important;
}

.hero-play__balance {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  padding: 0.12rem 0.3rem 0.18rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.25rem, 2vw, 0.5rem);
  z-index: 3;
}

.hero-play:not(.hero-play--balance) .hero-play__balance {
  display: none !important;
}

.hero-play__pan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(1.5rem, 8vw, 2.25rem);
  min-height: clamp(1.5rem, 8vw, 2.25rem);
  padding: 0.15rem 0.35rem;
  font-size: clamp(0.75rem, 3vw, 0.9375rem);
  font-weight: 700;
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px dashed rgba(255, 255, 255, 0.45);
  border-radius: 0.4rem;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.hero-play__pan.is-filled {
  background: rgba(255, 255, 255, 0.22);
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-play__scale {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-width: clamp(2.25rem, 11vw, 3rem);
  padding: 0.2rem 0.35rem;
  transform: rotate(-4deg);
  transition: transform 0.45s var(--ease);
}

.hero-play.is-balanced .hero-play__scale {
  transform: rotate(0deg);
}

.hero-play__balance.is-tilt .hero-play__scale {
  animation: hero-scale-tilt 0.45s var(--ease);
}

@keyframes hero-scale-tilt {
  0%,
  100% {
    transform: rotate(-4deg);
  }
  30% {
    transform: rotate(-12deg);
  }
  70% {
    transform: rotate(6deg);
  }
}

.hero-play__scale-icon {
  font-size: clamp(0.875rem, 3.5vw, 1.125rem);
  line-height: 1;
  opacity: 0.85;
}

.hero-play__total {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  padding: 0.15rem 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 3.2vw, 0.9375rem);
  font-weight: 800;
  color: #1a3a8f;
  background: linear-gradient(145deg, #ffe566 0%, #f5b800 100%);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-play.is-balanced .hero-play__total {
  animation: hero-target-pop 0.55s var(--ease);
}

.hero-play--static .hero-chip {
  cursor: default;
  pointer-events: none;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.hero__badge {
  padding: 0.625rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  user-select: none;
}

.hero__badge:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

.hero__badge.is-active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 58, 143, 0.35);
}

/* Interactive cards */
.interactive-card {
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s, background 0.25s;
  user-select: none;
}

.interactive-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

/* Syllabus cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.card-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding: 1.5rem 1.75rem;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.syllabus__card:hover {
  background: linear-gradient(145deg, #fff 0%, #eef3fc 100%);
  border-color: var(--primary);
}

.syllabus__card:hover .card__label {
  color: var(--primary-light);
}

.card__label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
  transition: color 0.2s;
}

.card__text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Pills */
.pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.pill {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: default;
  transition: background 0.2s var(--ease), border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
  user-select: none;
}

.pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 58, 143, 0.3);
}

/* Bento */
.bento {
  display: grid;
  gap: 0.875rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Experience section — compact, single-viewport layout */
#experience {
  max-height: 100dvh;
  overflow: hidden;
}

#experience > .container {
  height: 100%;
  max-height: 100dvh;
  min-height: 0;
  justify-content: flex-start;
  gap: clamp(0.25rem, 0.6vh, 0.4rem);
  padding-top: clamp(3.5rem, 8.5vh, 5.5rem);
  padding-bottom: clamp(2rem, 5vh, 3rem);
  padding-inline: clamp(1.5rem, 5vw, 3rem);
}

#experience .section__header {
  margin-bottom: 0;
  flex-shrink: 0;
}

#experience .section__title {
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  margin-bottom: 0.4rem;
}

#experience .section__lead {
  font-size: clamp(0.8125rem, 1.6vw, 0.9375rem);
  line-height: 1.45;
  max-width: 48rem;
  margin-inline: auto;
}

#experience .bento {
  gap: clamp(0.75rem, 2vw, 1.25rem);
  width: 100%;
  flex: 1;
  min-height: 0;
  align-content: center;
}

@media (min-width: 640px) {
  #experience .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    align-items: start;
    gap: clamp(0.75rem, 1.8vw, 1.125rem);
  }
}

#experience .bento__card {
  padding-block: 0.875rem;
  padding-inline: 1.125rem;
  min-height: 0;
  border-left-width: 4px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: start;
}

#experience .bento__card:first-child,
#experience .bento__card:nth-child(2) {
  background: linear-gradient(135deg, #fff 0%, #f4f7fc 100%);
}

#experience .bento__card:hover {
  box-shadow: var(--shadow-lg);
  border-left-color: var(--primary);
}

#experience .bento__number {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin-bottom: 0.25rem;
}

#experience .bento__heading {
  font-size: clamp(0.875rem, 1.6vw, 1.0625rem);
  margin-bottom: 0.25rem;
}

#experience .bento__card p {
  font-size: clamp(0.75rem, 1.4vw, 0.875rem);
  line-height: 1.4;
}

#experience .bento__icon-wrap {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  border-radius: 10px;
}

@media (max-width: 639px) {
  #experience > .container {
    gap: clamp(0.625rem, 2vw, 1rem);
  }

  #experience .section__title {
    font-size: clamp(1.625rem, 5vw, 2.25rem);
  }

  #experience .section__lead {
    font-size: 0.75rem;
  }

  #experience .bento {
    gap: clamp(0.625rem, 2vw, 1rem);
  }

  #experience .bento__card {
    padding-block: 0.75rem;
    padding-inline: 1rem;
  }

  #experience .bento__number {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  }

  #experience .bento__heading {
    font-size: 0.8125rem;
  }

  #experience .bento__card p {
    font-size: 0.75rem;
    line-height: 1.35;
  }
}

.bento__card {
  padding: 1.125rem 1.25rem;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.bento__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.bento__heading {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 800;
}

.bento__card p {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.45;
}

.bento__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--bg-alt);
  border-radius: 10px;
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 42%, #2349a8 100%);
  color: #fff;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-band::before {
  width: min(52vw, 28rem);
  height: min(52vw, 28rem);
  top: -18%;
  right: -8%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 68%);
}

.cta-band::after {
  width: min(40vw, 22rem);
  height: min(40vw, 22rem);
  bottom: -22%;
  left: -6%;
  background: radial-gradient(circle, rgba(45, 91, 212, 0.45) 0%, transparent 70%);
}

main > section.cta-band > .container.cta-band__inner {
  position: relative;
  z-index: 1;
  justify-content: center;
  align-items: center;
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.5rem, 3vh, 2.25rem);
  width: 100%;
  max-width: 40rem;
  margin-inline: auto;
}

.cta-band__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.75rem, 1.5vh, 1rem);
}

.cta-band__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #fff;
}

.cta-band__text p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 34rem;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2vh, 1.25rem);
  width: 100%;
}

.cta-band .btn--light {
  min-height: 3.25rem;
  padding: 0.9375rem 2.25rem;
  font-size: 1.0625rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.cta-band .btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.cta-band__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.cta-band__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.cta-band__trust li:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.cta-band__trust li::before {
  content: "✓";
  font-weight: 800;
  color: #9fd4ff;
  pointer-events: none;
}

.cta-band .btn {
  cursor: pointer;
}

/* Compare */
.compare__grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .compare__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.compare__col {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  min-height: 100%;
}

.compare__col--win {
  background: linear-gradient(180deg, #f0f4fc 0%, #fff 100%);
  border-color: var(--primary);
}

.compare__col--lose {
  background: var(--bg-alt);
}

.compare__col-title {
  margin: 0 0 1.25rem;
  font-size: 1.1875rem;
  font-weight: 800;
}

.compare__col--win .compare__col-title {
  color: var(--primary);
}

.compare__list {
  flex: 1;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.compare__list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.compare__col--win .compare__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--primary);
}

.compare__col--lose .compare__list li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: var(--text-light);
}

.compare__footnote {
  margin: auto 0 0;
  padding-top: 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-muted);
}

.compare__col .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Compare — #why-one-on-one only (medium compact) */
#why-one-on-one .section__header {
  margin-bottom: 1.5rem;
}

#why-one-on-one .section__title {
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
}

#why-one-on-one .compare__grid {
  gap: 1rem;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  justify-content: center;
}

@media (min-width: 768px) {
  #why-one-on-one .compare__grid {
    grid-template-columns: repeat(2, auto);
    align-items: stretch;
  }
}

#why-one-on-one .compare__col {
  width: max-content;
  max-width: min(100%, 24rem);
  min-height: auto;
  padding-block: 1.375rem;
  padding-inline: 2.15rem;
  box-sizing: border-box;
}

#why-one-on-one .compare__col-title {
  font-size: 1.0625rem;
  margin-bottom: 0.875rem;
}

#why-one-on-one .compare__list {
  margin-bottom: 1rem;
}

#why-one-on-one .compare__list li {
  font-size: 0.9375rem;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

#why-one-on-one .compare__footnote {
  font-size: 0.8125rem;
  padding-top: 0.75rem;
}

#why-one-on-one .compare__col .btn {
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  font-size: 0.9375rem;
}

/* Tutor */
.tutor__name {
  color: var(--primary);
}

.tutor__link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.tutor__link:hover {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.stat-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1024px) {
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.stat-card__icon {
  display: block;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--primary-light);
}

.stat-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.stat-card__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Metrics — base grid */
.metrics-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Results — premium metrics showcase */
#results {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #ffffff 0%, #f4f7fd 38%, #e9effa 100%);
}

#results::before,
#results::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

#results::before {
  width: min(55vw, 32rem);
  height: min(55vw, 32rem);
  top: -20%;
  left: -12%;
  background: radial-gradient(circle, rgba(45, 91, 212, 0.12) 0%, transparent 68%);
}

#results::after {
  width: min(45vw, 26rem);
  height: min(45vw, 26rem);
  bottom: -25%;
  right: -10%;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.1) 0%, transparent 70%);
}

#results > .container {
  position: relative;
  z-index: 1;
}

#results .section__header {
  margin-bottom: clamp(1.75rem, 4vh, 2.5rem);
}

#results .section__title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#results .metrics-grid {
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

#results .metric-card {
  --metric-accent: var(--primary-light);
  --metric-glow: rgba(45, 91, 212, 0.22);
  position: relative;
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1rem, 2vw, 1.25rem);
  background: linear-gradient(160deg, #ffffff 0%, #f8faff 100%);
  border: 1px solid rgba(216, 222, 233, 0.9);
  border-radius: var(--radius-lg);
  box-shadow:
    0 4px 6px rgba(12, 26, 58, 0.04),
    0 12px 32px rgba(12, 26, 58, 0.08);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

#results .metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--metric-accent), transparent);
}

#results .metric-card:nth-child(1) {
  --metric-accent: #e8a317;
  --metric-glow: rgba(232, 163, 23, 0.28);
}

#results .metric-card:nth-child(2) {
  --metric-accent: #2d9d5f;
  --metric-glow: rgba(45, 157, 95, 0.28);
}

#results .metric-card:nth-child(3) {
  --metric-accent: var(--primary-light);
  --metric-glow: rgba(45, 91, 212, 0.28);
}

#results .metric-card:nth-child(4) {
  --metric-accent: #7c5cbf;
  --metric-glow: rgba(124, 92, 191, 0.28);
}

#results .metric-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 91, 212, 0.35);
  box-shadow:
    0 8px 16px rgba(12, 26, 58, 0.06),
    0 20px 48px var(--metric-glow);
}

#results .metric-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1.125rem;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff 0%, #eef2f9 100%);
  border: 2px solid rgba(216, 222, 233, 0.8);
  box-shadow: 0 4px 14px var(--metric-glow);
}

#results .metric-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

#results .metric-card__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 14ch;
  margin-inline: auto;
}

/* Contact — luxury dark showcase */
#contact {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45, 91, 212, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 100% 100%, rgba(184, 134, 11, 0.15) 0%, transparent 50%),
    linear-gradient(165deg, #060f28 0%, var(--primary-dark) 35%, #122a6b 70%, #0d1f4d 100%);
}

#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

#contact::after {
  content: "";
  position: absolute;
  width: min(40vw, 20rem);
  height: min(40vw, 20rem);
  bottom: -15%;
  left: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

#contact > .container.contact__inner {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vh, 4rem);
}

#contact .contact__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e8c56a;
}

#contact .contact__eyebrow::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, transparent, #e8c56a, transparent);
}

#contact .contact__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
}

#contact .contact__lead {
  margin: 0 auto clamp(2rem, 4vh, 2.75rem);
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
}

#contact .contact__lead .text-highlight {
  color: #e8c56a;
  font-weight: 700;
}

#contact .contact__channels {
  display: grid;
  gap: 1rem;
  text-align: left;
}

@media (min-width: 640px) {
  #contact .contact__channels {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

#contact .contact__channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.375rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(216, 222, 233, 0.95);
  border-radius: calc(var(--radius-lg) + 2px);
  box-shadow:
    0 2px 4px rgba(12, 26, 58, 0.04),
    0 12px 40px rgba(12, 26, 58, 0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
  cursor: pointer;
}

#contact .contact__channel:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.2),
    0 24px 56px rgba(0, 0, 0, 0.35);
}

#contact .contact__channel-icon {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1.5rem;
}

#contact .contact__channel--whatsapp .contact__channel-icon {
  background-color: #e8faf0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2325d366'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.884 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.2);
}

#contact .contact__channel--call .contact__channel-icon {
  background-color: #eef2fc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a3a8f'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.01-.24 11.36 11.36 0 003.56.57 1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1 11.36 11.36 0 00.57 3.56 1 1 0 01-.25 1.01l-2.2 2.22z'/%3E%3C/svg%3E");
  box-shadow: 0 4px 16px rgba(26, 58, 143, 0.15);
}

#contact .contact__channel--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.45);
  box-shadow:
    0 4px 8px rgba(12, 26, 58, 0.06),
    0 24px 56px rgba(37, 211, 102, 0.18);
}

#contact .contact__channel--call:hover {
  border-color: rgba(26, 58, 143, 0.35);
  box-shadow:
    0 4px 8px rgba(12, 26, 58, 0.06),
    0 24px 56px rgba(26, 58, 143, 0.14);
}

#contact .contact__channel-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}

#contact .contact__channel-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}

#contact .contact__channel-desc {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.35;
}

#contact .contact__channel-arrow {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-light);
  background: var(--bg-alt);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}

#contact .contact__channel:hover .contact__channel-arrow {
  transform: translateX(3px);
  background: var(--primary);
  color: #fff;
}

/* Footer */
.footer {
  padding: 1.75rem 0;
  text-align: center;
  background: linear-gradient(180deg, #2a4f94 0%, #3159a3 100%);
  color: rgba(255, 255, 255, 0.9);
}

.footer__copy {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
}

.footer__credit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.85;
}

.footer__credit-label {
  margin: 0;
}

.footer__credit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__credit-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__linkedin-icon {
  display: block;
  flex-shrink: 0;
  width: 0.9rem;
  height: 0.9rem;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
  color: #fff;
  text-decoration: none;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.modal[hidden] {
  display: none;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 15, 40, 0.72);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-height: min(90vh, 36rem);
  overflow: hidden;
  background: #fff;
  border-radius: calc(var(--radius-lg) + 6px) calc(var(--radius-lg) + 6px) 0 0;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

@media (min-width: 480px) {
  .modal {
    align-items: center;
    padding: 1.25rem;
  }

  .modal__dialog {
    max-width: 52rem;
    max-height: min(92vh, 38rem);
    border-radius: calc(var(--radius-lg) + 8px);
  }
}

@media (max-width: 639px) {
  .modal {
    align-items: flex-end;
    padding: 0;
  }

  .modal__dialog {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    max-height: min(92dvh, 34rem);
    overflow: hidden;
    border-radius: calc(var(--radius-lg) + 6px) calc(var(--radius-lg) + 6px) 0 0;
  }

  .modal__promo {
    display: none;
  }

  .modal__layout {
    height: auto;
    max-height: inherit;
  }

  .modal__body {
    flex: 0 0 auto;
    padding: 0.875rem 1rem max(0.875rem, env(safe-area-inset-bottom));
    overflow: hidden;
  }

  .modal__body-head {
    margin-bottom: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .modal__title {
    margin-right: 2.25rem;
    font-size: 1.125rem;
  }

  .modal__subtitle {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .modal__form {
    flex: 0 0 auto;
  }

  .modal__form-fields {
    flex: 0 0 auto;
    overflow-y: visible;
  }

  .modal__form .form-group {
    margin-bottom: 0.4rem;
    padding: 0.35rem 0.55rem;
  }

  .modal__form .form-group label {
    margin-bottom: 0.2rem;
    font-size: 0.6875rem;
  }

  .modal__form .form-group input,
  .modal__form .form-group select {
    min-height: 2.25rem;
    padding: 0.4rem 0.6rem;
    font-size: 0.875rem;
  }

  .modal__form .form-error {
    margin-top: 0.15rem;
    font-size: 0.6875rem;
  }

  .modal__submit {
    margin-top: 0.5rem;
    min-height: 2.5rem;
    font-size: 0.9375rem;
  }

  .modal__close {
    top: 0.875rem;
    right: 0.875rem;
  }
}

@media (max-width: 639px) and (max-height: 640px) {
  .modal__dialog {
    max-height: 92dvh;
  }

  .modal__body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.modal__layout {
  display: flex;
  flex-direction: column;
  max-height: inherit;
  height: 100%;
}

@media (min-width: 640px) {
  .modal__layout {
    flex-direction: row;
  }
}

.modal__promo {
  position: relative;
  flex-shrink: 0;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  overflow: hidden;
  background: linear-gradient(145deg, #0a1f52 0%, var(--primary-dark) 35%, #1e4a9e 75%, #2d5bd4 100%);
  color: #fff;
}

@media (min-width: 640px) {
  .modal__promo {
    width: 42%;
    min-width: 14rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .modal__body {
    padding: 1.375rem 1.5rem 1.5rem;
  }
}

.modal__promo-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.modal__float {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  opacity: 0.2;
  color: #fff;
}

.modal__float--pi {
  top: 8%;
  right: 10%;
  font-size: 4.5rem;
}

.modal__float--sum {
  bottom: 22%;
  left: 8%;
  font-size: 3rem;
}

.modal__float--sqrt {
  top: 42%;
  left: 18%;
  font-size: 2.5rem;
}

.modal__float--pct {
  bottom: 12%;
  right: 15%;
  font-size: 2rem;
  opacity: 0.35;
  color: #e8c56a;
}

.modal__promo-eyebrow {
  position: relative;
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e8c56a;
}

.modal__promo-headline {
  position: relative;
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.modal__promo-perks {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal__promo-perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.modal__promo-perks li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--primary-dark);
  background: #e8c56a;
  border-radius: 50%;
}

.modal__body {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.375rem 1.375rem;
  background:
    radial-gradient(ellipse 90% 55% at 100% 0%, rgba(45, 91, 212, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 0% 100%, rgba(232, 197, 106, 0.12) 0%, transparent 50%),
    linear-gradient(165deg, #ffffff 0%, #f6f9ff 100%);
}

.modal__body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26, 58, 143, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.modal__body-head {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(216, 222, 233, 0.8);
}

.modal__badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: linear-gradient(135deg, #f5ecd4 0%, #e8c56a 100%);
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(184, 134, 11, 0.25);
}

.modal__trust-chips {
  list-style: none;
  margin: 0.625rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.modal__trust-chips li {
  padding: 0.25rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(45, 91, 212, 0.2);
  border-radius: var(--radius-pill);
}

.modal__form {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.modal__form-fields {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.modal__form-fields::-webkit-scrollbar {
  display: none;
}

.modal__close {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  font-size: 1.375rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s;
}

.modal__close:hover {
  transform: scale(1.08);
  background: #fff;
  color: var(--primary);
}

.modal__title {
  margin: 0 2.25rem 0.35rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.modal__subtitle {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-muted);
}

.modal__subtitle strong {
  color: var(--primary);
  font-weight: 700;
}

.modal__form .form-group {
  margin-bottom: 0.625rem;
  padding: 0.5rem 0.75rem;
  background: #fff;
  border: 1px solid #e2e8f4;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(12, 26, 58, 0.05);
}

.modal__form .form-group label {
  margin-bottom: 0.3rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

.modal__form .form-group input,
.modal__form .form-group select {
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  background: #f8faff;
  border: 1px solid #d8dee9;
  border-radius: 10px;
  box-shadow: inset 0 1px 2px rgba(12, 26, 58, 0.04);
}

.modal__form .form-group input:focus,
.modal__form .form-group select:focus {
  background: #fff;
  border-color: var(--primary-light);
  box-shadow:
    inset 0 1px 2px rgba(12, 26, 58, 0.04),
    0 0 0 3px rgba(45, 91, 212, 0.15);
}

.modal__form .form-group input.is-invalid,
.modal__form .form-group select.is-invalid {
  border-color: #dc2626;
  background: #fff8f8;
}

.modal__form .form-error {
  min-height: 0;
  margin-top: 0.25rem;
  font-size: 0.75rem;
}

.modal__form .form-error:empty {
  display: none;
}

.modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.625rem;
  min-height: 2.875rem;
  font-size: 1rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #34eb7a 0%, var(--whatsapp) 45%, #1aab54 100%);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.modal__submit::before {
  content: "";
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
  vertical-align: -0.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.884 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.modal__submit:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}

.modal__submit:disabled {
  background: linear-gradient(135deg, #a8e6c0 0%, #8fd4a8 100%);
  box-shadow: none;
}

.form-group {
  margin-bottom: 1.125rem;
}

.form-group--hidden {
  display: none;
}

.form-group--hidden.is-visible {
  display: block;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.form-group input,
.form-group select {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group input.is-invalid,
.form-group select.is-invalid {
  border-color: #dc2626;
}

.form-error {
  display: block;
  min-height: 1.25rem;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #dc2626;
}

@media (prefers-reduced-motion: reduce) {
  .hero__rotate.is-fading {
    transition: none;
  }

  .interactive-card:hover,
  .btn:hover,
  .pill:hover {
    transform: none;
  }

  main {
    scroll-snap-type: none;
  }
}
