:root {
  --bg: #eef6ff;
  --bg-secondary: #f8fbff;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-stroke: rgba(124, 146, 179, 0.2);
  --text: #10213b;
  --muted: #5d6f8d;
  --heading: #071528;
  --green: #56b76b;
  --cyan: #3aa9d8;
  --gold: #f4b847;
  --pink: #ec6fa6;
  --red: #ff6a6a;
  --grass: #6fc757;
  --grass-dark: #4a9a3d;
  --dirt: #8a613e;
  --shadow-lg: 0 30px 70px rgba(34, 72, 129, 0.16);
  --shadow-md: 0 18px 36px rgba(24, 56, 106, 0.12);
  --shadow-sm: 0 12px 24px rgba(20, 48, 88, 0.08);
  --shadow-pixel: 4px 4px 0 rgba(7, 21, 40, 0.08);
  --shadow-pixel-strong: 6px 6px 0 rgba(7, 21, 40, 0.12);
  --ring: 0 0 0 3px rgba(58, 169, 216, 0.28);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shell: min(1180px, calc(100vw - 32px));
  --hero-shift: 0px;
  --terrain-left-shift: 0px;
  --terrain-right-shift: 0px;
}

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 10px;
}

.button:focus-visible,
.ghost-button:focus-visible,
.filter-pill:focus-visible,
.slider-button:focus-visible,
.faq-trigger:focus-visible,
.cta-inline:focus-visible,
.site-nav__link:focus-visible,
.nav-toggle:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(95, 190, 255, 0.24), transparent 30%),
    radial-gradient(circle at top right, rgba(116, 226, 166, 0.18), transparent 34%),
    linear-gradient(180deg, #f8fcff 0%, #eef6ff 24%, #f6f9ff 100%);
  min-height: 100vh;
}

#app {
  position: relative;
  z-index: 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 154, 197, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 154, 197, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 80%);
}

body.nav-open {
  overflow: hidden;
}

body.nav-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(9, 19, 36, 0.18);
  backdrop-filter: blur(4px);
}

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

[hidden] {
  display: none !important;
}

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

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--heading);
  transform: translateY(-140%);
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 4px;
  z-index: 60;
  pointer-events: none;
}

.terrain-parallax {
  position: fixed;
  inset: auto 0 0;
  height: clamp(240px, 28vw, 420px);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 32%, rgba(0, 0, 0, 0.85) 100%);
}

.terrain-parallax__shape {
  position: absolute;
  bottom: -34px;
  display: block;
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 24px 50px rgba(31, 74, 118, 0.08);
  opacity: 0.55;
}

.terrain-parallax__shape::before,
.terrain-parallax__shape::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.terrain-parallax__shape--left {
  left: -4vw;
  width: min(36vw, 460px);
  height: clamp(150px, 20vw, 280px);
  transform: translate3d(0, calc(var(--terrain-left-shift) * 1), 0);
  background:
    linear-gradient(180deg, rgba(159, 226, 188, 0.68), rgba(120, 204, 156, 0.82) 42%, rgba(101, 174, 130, 0.96) 42%, rgba(86, 146, 111, 0.96) 100%);
  clip-path: polygon(0% 100%, 0% 72%, 10% 72%, 10% 58%, 22% 58%, 22% 46%, 34% 46%, 34% 54%, 46% 54%, 46% 38%, 60% 38%, 60% 48%, 72% 48%, 72% 32%, 84% 32%, 84% 44%, 100% 44%, 100% 100%);
}

.terrain-parallax__shape--left::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 12%, transparent 12% 24%, rgba(255, 255, 255, 0.08) 24% 36%, transparent 36% 48%, rgba(255, 255, 255, 0.12) 48% 60%, transparent 60% 72%, rgba(255, 255, 255, 0.08) 72% 84%, transparent 84% 100%);
  mix-blend-mode: screen;
}

.terrain-parallax__shape--left::after {
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(48, 88, 82, 0.16));
}

.terrain-parallax__shape--right {
  right: -5vw;
  width: min(42vw, 540px);
  height: clamp(170px, 23vw, 320px);
  transform: translate3d(0, calc(var(--terrain-right-shift) * -1), 0);
  background:
    linear-gradient(180deg, rgba(187, 221, 255, 0.56), rgba(149, 200, 255, 0.72) 44%, rgba(125, 171, 226, 0.86) 44%, rgba(104, 144, 198, 0.92) 100%);
  clip-path: polygon(0% 100%, 0% 52%, 12% 52%, 12% 38%, 26% 38%, 26% 48%, 40% 48%, 40% 28%, 56% 28%, 56% 42%, 70% 42%, 70% 22%, 84% 22%, 84% 36%, 100% 36%, 100% 100%);
}

.terrain-parallax__shape--right::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 10%, transparent 10% 22%, rgba(255, 255, 255, 0.08) 22% 34%, transparent 34% 46%, rgba(255, 255, 255, 0.12) 46% 58%, transparent 58% 70%, rgba(255, 255, 255, 0.08) 70% 82%, transparent 82% 100%);
  mix-blend-mode: screen;
}

.terrain-parallax__shape--right::after {
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(54, 92, 132, 0.16));
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #4ab36d, #4ec7ff, #f4b847);
  box-shadow: 0 0 24px rgba(78, 199, 255, 0.45);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled .site-header__inner {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(123, 151, 190, 0.24);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark--logo img {
  display: block;
  width: auto;
  height: 48px;
}

.brand-mark__glyph {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #2bcd75, #1c8ee4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.brand-mark__glyph svg {
  width: 22px;
  height: 22px;
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-mark strong {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  color: var(--heading);
}

.brand-mark small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  justify-content: flex-end;
}

.site-nav__links,
.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav__link {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: 999px;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--heading);
  background: rgba(255, 255, 255, 0.7);
}

.button,
.ghost-button,
.cta-inline,
.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.button,
.ghost-button,
.filter-pill {
  cursor: pointer;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #1a9aee, #38bc6d);
  box-shadow:
    0 14px 24px rgba(34, 141, 215, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 0 rgba(7, 21, 40, 0.14);
}

.button:hover,
.button:focus-visible {
  box-shadow:
    0 18px 32px rgba(34, 141, 215, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(7, 21, 40, 0.16);
}

.button--ghost,
.ghost-button {
  color: var(--heading);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(124, 146, 179, 0.24);
  box-shadow: none;
}

.button:hover,
.button:focus-visible,
.button--ghost:hover,
.button--ghost:focus-visible,
.ghost-button:hover,
.ghost-button:focus-visible,
.cta-inline:hover,
.cta-inline:focus-visible,
.filter-pill:hover,
.filter-pill:focus-visible {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(124, 146, 179, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--heading);
  border-radius: 999px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 34px;
  align-items: center;
  padding: 46px 0 12px;
}

.eyebrow,
.eyebrow-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
  color: #2f9a7d;
}

.eyebrow::before {
  content: "";
  width: 14px;
  height: 14px;
  background:
    linear-gradient(#6fc757 0 50%, #8a613e 50% 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 0 rgba(7, 21, 40, 0.18),
    2px 2px 0 rgba(7, 21, 40, 0.1);
}

.hero h1,
.section-heading h2,
.closing-panel h2 {
  margin: 16px 0 14px;
  font-family: "Outfit", sans-serif;
  line-height: 1.02;
  color: var(--heading);
  letter-spacing: -0.045em;
}

.hero h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.2rem);
}

.hero__lede,
.section-heading p,
.feature-card p,
.goal-card p,
.launch-card p,
.closing-panel p,
.faq-answer p,
.site-footer p,
.challenge-card__summary,
.challenge-card__teacher-note strong {
  color: var(--muted);
  line-height: 1.58;
}

.challenge-card__teacher-note {
  display: grid;
  gap: 6px;
  margin: -2px 0 2px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(239, 247, 255, 0.88);
  border: 1px solid rgba(124, 146, 179, 0.16);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.hero__copy {
  position: relative;
}

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

.hero-stat {
  position: relative;
  padding: 18px 18px 18px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(124, 146, 179, 0.2);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
  overflow: hidden;
}

.hero-stat::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px 8px;
  width: 4px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.9;
}

.hero-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-stat__value {
  display: block;
  margin-bottom: 6px;
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.15;
}

.hero-stat--green {
  color: #26844d;
}

.hero-stat--cyan {
  color: #0b7dad;
}

.hero-stat--gold {
  color: #c77e00;
}

.hero-stat--green .hero-stat__value,
.hero-stat--cyan .hero-stat__value,
.hero-stat--gold .hero-stat__value {
  color: currentColor;
}

.hero-stat__label {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual__frame {
  position: relative;
  margin: 0;
  width: 100%;
  height: 100%;
  transform: translateY(calc(var(--hero-shift) * 0.35));
}

.hero-visual__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.section {
  padding: 118px 0 0;
}

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

.section-heading h2,
.closing-panel h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.7rem);
}

.hero__lede,
.section-heading p {
  max-width: 60ch;
}

.challenge-card__summary {
  font-size: 0.98rem;
}

.challenge-card__teacher-note strong {
  font-size: 0.95rem;
}

.feature-grid,
.goals-grid,
.launch-grid {
  display: grid;
  gap: 20px;
}

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

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

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

.feature-card,
.goal-card,
.launch-card,
.comparison-shell,
.closing-panel {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--surface-stroke);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover,
.goal-card:hover,
.launch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(58, 169, 216, 0.28);
}

.feature-card__icon,
.goal-card__icon,
.launch-card__icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 14px;
  color: var(--heading);
  background:
    linear-gradient(135deg, rgba(76, 206, 122, 0.22), rgba(84, 195, 255, 0.28)),
    #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -2px 0 rgba(7, 21, 40, 0.08),
    3px 3px 0 rgba(7, 21, 40, 0.06);
}

.feature-card__icon::after,
.goal-card__icon::after,
.launch-card__icon::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -4px;
  width: 10px;
  height: 10px;
  background: var(--grass);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(7, 21, 40, 0.18);
}

.goal-card__icon::after {
  background: var(--cyan);
}

.launch-card__icon::after {
  background: var(--gold);
}

.feature-card__icon svg,
.goal-card__icon svg,
.launch-card__icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3,
.goal-card h3,
.launch-card h3,
.challenge-card h3,
.faq-trigger span {
  font-family: "Outfit", sans-serif;
  color: var(--heading);
  letter-spacing: -0.03em;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.challenge-slider {
  position: relative;
  display: grid;
  gap: 18px;
}

.challenge-slider__controls {
  position: absolute;
  inset: 50% -28px auto;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  transform: translateY(-50%);
}

.slider-button {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(124, 146, 179, 0.22);
  border-radius: 14px;
  background: #fff;
  color: var(--heading);
  box-shadow:
    var(--shadow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -2px 0 rgba(7, 21, 40, 0.06);
  pointer-events: auto;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.slider-button:hover,
.slider-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(58, 169, 216, 0.45);
  color: #0b7dad;
}

.slider-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
  color: var(--heading);
}

.slider-button svg {
  width: 18px;
  height: 18px;
}

.slider-button svg {
  transform: rotate(180deg);
}

.slider-button--next svg {
  transform: none;
}

.filter-pill {
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(124, 146, 179, 0.24);
  color: var(--muted);
  font-weight: 600;
}

.filter-pill:hover {
  color: var(--heading);
  border-color: rgba(58, 169, 216, 0.4);
}

.filter-pill.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #1a9aee, #38bc6d);
  box-shadow:
    0 12px 20px rgba(25, 152, 237, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 0 rgba(7, 21, 40, 0.14);
}

.challenge-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.challenge-grid::-webkit-scrollbar {
  display: none;
}

.challenge-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  flex: 0 0 calc((100% - 22px) / 2);
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid rgba(124, 146, 179, 0.2);
  box-shadow: var(--shadow-md);
  scroll-snap-align: start;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.challenge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(58, 169, 216, 0.3);
}

.challenge-card__art {
  position: relative;
  min-height: 250px;
  overflow: hidden;
}

.challenge-card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 12, 27, 0.22));
}

.challenge-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.challenge-card:hover .challenge-card__art img {
  transform: scale(1.04);
}

.challenge-card__art--night {
  background: linear-gradient(135deg, #203a78, #0d1837);
}

.challenge-card__art--crimson {
  background: linear-gradient(135deg, #34212b, #120d15);
}

.challenge-card__art--sunrise {
  background: linear-gradient(135deg, #ffd17b, #7ad7ff);
}

.challenge-card__art--forest {
  background: linear-gradient(135deg, #a5dcb4, #6ecae4);
}

.challenge-card__art--violet {
  background: linear-gradient(135deg, #6953c4, #0d1837);
}

.challenge-card__art--magenta {
  background: linear-gradient(135deg, #d775b9, #6356d4);
}

.challenge-card__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 36px);
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 17, 38, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.challenge-card__badge svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.challenge-card__badge span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.challenge-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 24px 26px;
}

.challenge-card__meta,
.challenge-card__tags,
.challenge-card__actions,
.challenge-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.challenge-card__meta span,
.tag-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(229, 240, 255, 0.9);
  color: #3e5377;
  font-size: 0.82rem;
}

.challenge-card__stats {
  padding: 16px;
  border-radius: 22px;
  background: rgba(242, 247, 255, 0.96);
  border: 1px solid rgba(124, 146, 179, 0.16);
}

.challenge-card__stats div {
  flex: 1 1 150px;
}

.challenge-card__stats strong {
  display: block;
  margin-top: 4px;
  color: var(--heading);
}

.ghost-button {
  min-height: 40px;
  padding: 0 14px;
}

.cta-inline {
  min-height: 40px;
  padding: 0 0 0 2px;
  color: #1176b4;
  font-weight: 700;
}

.cta-inline svg,
.faq-trigger svg {
  width: 16px;
  height: 16px;
}

.challenge-card__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 18px 4px 2px;
  border-top: 1px solid rgba(124, 146, 179, 0.16);
}

.challenge-card__details h4 {
  margin: 0 0 10px;
  font-family: "Outfit", sans-serif;
  color: var(--heading);
}

.challenge-card__details ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.66;
}

.empty-state {
  margin-top: 18px;
  color: var(--muted);
}

.comparison-table-wrap {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 860px;
  border-collapse: separate;
  border-spacing: 0;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 16px;
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  position: sticky;
  top: 0;
  background: rgba(242, 247, 255, 0.96);
  color: #3f5679;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  border-bottom: 1px solid rgba(124, 146, 179, 0.22);
  backdrop-filter: blur(12px);
}

.comparison-table tbody tr {
  transition: background-color 180ms ease;
}

.comparison-table tbody tr:nth-child(even) {
  background: rgba(239, 247, 255, 0.5);
}

.comparison-table tbody tr:hover {
  background: rgba(58, 169, 216, 0.08);
}

.comparison-table tbody th,
.comparison-table tbody td {
  border-bottom: 1px solid rgba(124, 146, 179, 0.12);
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table tbody th {
  min-width: 280px;
  color: var(--heading);
  position: relative;
  padding-left: 20px;
}

.comparison-table tbody th::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #38bc6d, #1a9aee);
  opacity: 0;
  transition: opacity 180ms ease;
}

.comparison-table tbody tr:hover th::before {
  opacity: 1;
}

.comparison-table tbody th span {
  display: block;
  margin-bottom: 6px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}

.comparison-table tbody th small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.faq-list {
  display: grid;
  gap: 14px;
  counter-reset: faq;
}

.faq-item {
  position: relative;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(124, 146, 179, 0.2);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  counter-increment: faq;
  transition: border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #38bc6d, #1a9aee);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 280ms ease;
}

.faq-item:hover {
  border-color: rgba(58, 169, 216, 0.35);
  background: rgba(255, 255, 255, 0.92);
}

.faq-item.is-open {
  background: #fff;
  border-color: rgba(58, 169, 216, 0.35);
  box-shadow: var(--shadow-md);
}

.faq-item.is-open::before {
  transform: scaleY(1);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 22px 30px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.faq-trigger::before {
  content: counter(faq, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 34px;
  height: 26px;
  margin-right: 14px;
  padding: 0 6px;
  border-radius: 6px;
  background: rgba(229, 240, 255, 0.9);
  color: #1176b4;
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: inset 0 -1px 0 rgba(7, 21, 40, 0.08);
}

.faq-item.is-open .faq-trigger::before {
  background: linear-gradient(135deg, #1a9aee, #38bc6d);
  color: #fff;
  box-shadow: inset 0 -1px 0 rgba(7, 21, 40, 0.18);
}

.faq-trigger span {
  flex: 1;
  font-size: 0.98rem;
  font-weight: 600;
}

.faq-trigger svg {
  transition: transform 260ms ease;
}

.faq-answer {
  padding: 0 24px 22px 68px;
}

.faq-item.is-open .faq-trigger svg {
  transform: rotate(90deg);
}

.closing-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(77, 198, 255, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(72, 199, 116, 0.18), transparent 28%),
    rgba(255, 255, 255, 0.82);
}

.closing-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.site-footer {
  padding: 30px 0 42px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
  transition-delay: var(--delay, 0s);
}

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .terrain-parallax__shape--left,
  .terrain-parallax__shape--right {
    transform: none;
  }
}

@media (max-width: 1100px) {
  .site-nav__links {
    display: none;
  }

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

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

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .challenge-card {
    flex-basis: min(78vw, 640px);
  }
}

@media (max-width: 820px) {
  .terrain-parallax {
    height: 180px;
  }

  .terrain-parallax__shape--left {
    width: 50vw;
    left: -8vw;
  }

  .terrain-parallax__shape--right {
    width: 58vw;
    right: -12vw;
  }

  .site-header__inner {
    border-radius: 28px;
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 86px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.985);
    border: 1px solid rgba(124, 146, 179, 0.22);
    box-shadow: var(--shadow-lg);
    z-index: 40;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__links,
  .site-nav__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav__link {
    padding: 14px 16px;
    background: rgba(241, 247, 255, 0.84);
  }

  .hero__stats,
  .feature-grid,
  .goals-grid,
  .launch-grid,
  .challenge-card__details,
  .closing-panel {
    grid-template-columns: 1fr;
  }

  .closing-panel__actions {
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 9vw, 3.2rem);
  }

  .challenge-slider__controls {
    position: static;
    inset: auto;
    justify-content: flex-start;
    pointer-events: auto;
    transform: none;
  }

  .challenge-card {
    flex-basis: 88vw;
  }
}

@media (max-width: 580px) {
  .terrain-parallax {
    height: 132px;
    opacity: 0.7;
  }

  :root {
    --shell: calc(100vw - 24px);
  }

  .site-header {
    padding-top: 10px;
  }

  .site-header__inner {
    padding: 12px;
  }

  .brand-mark__text small {
    display: none;
  }

  .brand-mark--logo img {
    height: 40px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-visual {
    min-height: 400px;
  }

  .hero-visual__frame {
    height: 290px;
  }

  .section {
    padding-top: 84px;
  }

  .feature-card,
  .goal-card,
  .launch-card,
  .comparison-shell,
  .closing-panel,
  .challenge-card__body {
    padding: 22px;
  }

  .challenge-card__art {
    min-height: 210px;
  }

  .challenge-slider {
    gap: 14px;
  }

  .challenge-card {
    flex-basis: calc(100vw - 24px);
  }

  .button,
  .button--ghost {
    width: 100%;
  }
}
