:root {
  --blue: #467fe0;
  --blue-dark: #285bb5;
  --blue-deep: #17345f;
  --blue-soft: #eef4ff;
  --turquoise: #60cbd0;
  --turquoise-soft: rgba(96, 203, 208, 0.16);
  --lime: #b2e766;
  --lime-dark: #334b00;
  --cream: #e6dfc0;
  --cream-soft: rgba(230, 223, 192, 0.42);
  --white: #ffffff;
  --surface: #fbfdff;
  --text: #17345f;
  --muted: #536987;
  --line: #b8d8e8;
  --shadow: 0 18px 48px rgba(35, 78, 151, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(70, 127, 224, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 127, 224, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

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

h1,
h2,
h3 {
  font-family: "Outfit", sans-serif;
  letter-spacing: 0;
  line-height: 1.08;
}

h2,
h3 {
  color: var(--blue-dark);
}

h1 {
  margin-bottom: 20px;
  font-size: 4rem;
  max-width: 14ch;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.75rem;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.landing-header {
  min-height: 76px;
  padding: 10px max(24px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -4px 0 var(--turquoise);
  position: sticky;
  top: 0;
  z-index: 20;
}

.landing-header img {
  display: block;
  width: 105px;
  height: auto;
}

.header-cta,
.primary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 12px 20px;
  background: var(--blue);
  color: var(--white);
  font: 800 1rem "Manrope", sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(70, 127, 224, 0.28);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.header-cta,
.trial-form .primary-button {
  background: var(--lime);
  color: var(--lime-dark);
  box-shadow: 0 10px 24px rgba(178, 231, 102, 0.28);
}

.header-cta:hover,
.primary-button:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
  box-shadow: 0 14px 30px rgba(70, 127, 224, 0.34);
}

.header-cta:hover,
.trial-form .primary-button:hover {
  background: var(--cream);
  color: var(--blue-deep);
  box-shadow: 0 14px 30px rgba(178, 231, 102, 0.34);
}

.landing-hero {
  min-height: 82svh;
  padding: 80px max(24px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(10, 35, 76, 0.94) 0%, rgba(23, 52, 95, 0.84) 45%, rgba(23, 52, 95, 0.18) 78%),
    url("images/anaandkids.png");
  background-position: 58% center;
  background-size: cover;
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 8px;
  background: var(--lime);
}

.hero-content {
  width: min(680px, 62%);
  color: var(--white);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-hero .eyebrow {
  color: var(--lime);
}

.hero-lead {
  margin-bottom: 18px;
  font: 700 1.4rem "Outfit", sans-serif;
}

.hero-facts {
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.hero-facts li {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-copy {
  max-width: 62ch;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.landing-hero .primary-button {
  background: var(--lime);
  color: var(--lime-dark);
  box-shadow: 0 12px 28px rgba(178, 231, 102, 0.28);
}

.landing-hero .primary-button:hover {
  background: var(--white);
  color: var(--blue-deep);
}

.trust-line {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 600;
}

.page-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading > p:last-child {
  max-width: 65ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.skills-section .section-heading {
  margin-bottom: 48px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.skills-grid article {
  min-height: 280px;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}

.skills-grid article:last-child {
  border-right: 0;
}

.skills-grid article:nth-child(2) {
  background: var(--turquoise-soft);
}

.skills-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.skill-index {
  display: block;
  margin-bottom: 56px;
  color: var(--blue);
  font: 800 0.85rem "Outfit", sans-serif;
}

.section-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-style: italic;
}

.fit-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 72px;
  align-items: start;
}

.signal-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.signal-list li {
  padding: 18px 8px 18px 42px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-weight: 600;
}

.signal-list li::before {
  content: "✓";
  position: absolute;
  top: 18px;
  left: 8px;
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 900;
}

.steps-section {
  max-width: none;
  padding-inline: max(24px, calc((100% - 1180px) / 2));
  background: var(--blue-deep);
  color: var(--white);
}

.steps-section .eyebrow {
  color: var(--lime);
}

.steps-section h2,
.steps-section h3 {
  color: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.steps-grid article {
  min-height: 260px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(96, 203, 208, 0.08);
}

.steps-grid article:last-child {
  border-right: 0;
}

.steps-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.step-number {
  display: block;
  margin-bottom: 44px;
  color: var(--turquoise);
  font: 800 1rem "Outfit", sans-serif;
}

.discover-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.discover-photo {
  min-height: 610px;
}

.discover-photo img {
  display: block;
  width: 100%;
  height: 610px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.discover-list article {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--turquoise);
  border-radius: 8px;
  background: var(--turquoise-soft);
}

.discover-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.path-section {
  max-width: none;
  padding-inline: max(24px, calc((100% - 1180px) / 2));
  background: var(--cream-soft);
}

.level-path {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
}

.level-path li {
  min-height: 190px;
  padding: 24px 14px 18px 10px;
  border-top: 3px solid var(--blue);
  position: relative;
}

.level-path li::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lime);
  border: 3px solid var(--blue);
  position: absolute;
  top: -8px;
  left: 10px;
}

.level-path span {
  display: block;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
}

.level-path strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font: 700 1.08rem "Outfit", sans-serif;
}

.level-path small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.outcomes-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 72px;
  align-items: start;
}

.outcomes-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.outcomes-list li {
  min-height: 64px;
  padding: 18px 20px 18px 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
  background: var(--white);
  font-weight: 600;
}

.outcomes-list li::before {
  content: "✓";
  position: absolute;
  top: 17px;
  left: 20px;
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 900;
}

.outcomes-summary {
  grid-column: 2;
  margin: 8px 0 0;
  padding-left: 20px;
  border-left: 4px solid var(--lime);
  color: var(--muted);
  font-weight: 700;
}

.registration-section {
  padding: 96px max(24px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
  background: var(--blue);
  color: var(--white);
}

.registration-copy {
  position: sticky;
  top: 112px;
}

.registration-copy .eyebrow {
  color: var(--lime);
}

.registration-copy h2 {
  color: var(--white);
}

.registration-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
}

.registration-copy ul {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.registration-copy li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--lime);
  font-weight: 900;
}

.trial-form {
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-radius: 8px;
  background: var(--white);
  border-top: 6px solid var(--turquoise);
  color: var(--text);
  box-shadow: var(--shadow);
}

.trial-form label {
  display: grid;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 800;
}

.trial-form input,
.trial-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: var(--surface);
  color: var(--text);
  font: 500 1rem "Manrope", sans-serif;
}

.trial-form input:focus,
.trial-form select:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(70, 127, 224, 0.18);
  outline-offset: 0;
}

.consent-row,
.trial-form .primary-button,
.form-status,
.privacy-note {
  grid-column: 1 / -1;
}

.consent-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 500 !important;
}

.consent-row input {
  width: 18px;
  min-height: 18px;
  margin: 3px 0 0;
  accent-color: var(--blue);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue-dark);
  font-weight: 800;
}

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

.privacy-note {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.landing-footer {
  min-height: 150px;
  padding: 32px max(24px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--cream-soft);
  border-top: 1px solid var(--line);
}

.landing-footer img {
  width: 90px;
}

.landing-footer p {
  margin: 0 auto 0 0;
  color: var(--muted);
}

.landing-footer a {
  color: var(--blue-dark);
  font-weight: 800;
}

.mobile-cta {
  display: none;
}

@media (max-width: 920px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .landing-hero {
    min-height: 76svh;
    background-image:
      linear-gradient(90deg, rgba(10, 35, 76, 0.94) 0%, rgba(23, 52, 95, 0.82) 64%, rgba(23, 52, 95, 0.42) 100%),
      url("images/anaandkids.png");
  }

  .hero-content {
    width: min(680px, 82%);
  }

  .fit-section,
  .outcomes-section,
  .discover-section,
  .registration-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .outcomes-summary {
    grid-column: 1;
  }

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

  .steps-grid article:nth-child(2) {
    border-right: 0;
  }

  .steps-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .level-path {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 24px;
  }

  .registration-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 70px;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .landing-header {
    min-height: 64px;
    padding: 8px 16px;
  }

  .landing-header img {
    width: 82px;
  }

  .header-cta {
    min-height: 42px;
    padding: 9px 13px;
    font-size: 0.88rem;
  }

  .landing-hero {
    min-height: calc(100svh - 120px);
    padding: 56px 18px 48px;
    align-items: flex-end;
    background-image:
      linear-gradient(180deg, rgba(10, 35, 76, 0.16) 0%, rgba(10, 35, 76, 0.78) 42%, rgba(10, 35, 76, 0.98) 100%),
      url("images/anaandkids.png");
    background-position: 50% center;
  }

  .hero-content {
    width: 100%;
  }

  .hero-copy {
    font-size: 0.96rem;
  }

  .hero-facts {
    gap: 6px;
  }

  .hero-facts li {
    font-size: 0.76rem;
  }

  .hero-lead {
    font-size: 1.2rem;
  }

  .page-section,
  .registration-section {
    padding: 72px 18px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .steps-grid,
  .skills-grid,
  .discover-list,
  .trial-form {
    grid-template-columns: 1fr;
  }

  .skills-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .skills-grid article:last-child {
    border-bottom: 0;
  }

  .skill-index {
    margin-bottom: 24px;
  }

  .steps-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .steps-grid article:last-child {
    border-bottom: 0;
  }

  .step-number {
    margin-bottom: 24px;
  }

  .discover-photo,
  .discover-photo img {
    min-height: 380px;
    height: 380px;
  }

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

  .level-path li {
    min-height: 170px;
  }

  .trial-form {
    padding: 22px 16px;
  }

  .consent-row,
  .trial-form .primary-button,
  .form-status,
  .privacy-note {
    grid-column: 1;
  }

  .landing-footer {
    padding: 28px 18px;
    flex-wrap: wrap;
    gap: 16px;
  }

  .landing-footer p {
    width: calc(100% - 110px);
    margin: 0;
  }

  .landing-footer a {
    width: 100%;
  }

  .mobile-cta.is-visible {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 12px;
    bottom: 10px;
    left: 12px;
    z-index: 30;
    border: 2px solid var(--lime);
    border-radius: 8px;
    background: var(--lime);
    color: var(--lime-dark);
    font-weight: 800;
    text-decoration: none;
    box-shadow: var(--shadow);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}