/* Name Data Hub — Duolingo-inspired design tokens */
:root {
  --duo-green: #58CC02;
  --duo-green-light: #61E002;
  --duo-green-dark: #46A302;
  --duo-green-shadow: #58A700;
  --ink: #3C3C3C;
  --ink-strong: #4B4B4B;
  --muted: #777777;
  --muted-light: #AFAFAF;
  --canvas: #FFFFFF;
  --wash-blue: #DDF4FF;
  --surface: #FFFFFF;
  --surface-alt: #F7F7F7;
  --border: #E5E5E5;
  --border-strong: #DADADA;
  --link-blue: #1CB0F6;
  --link-blue-dark: #1B99D6;
  --navy: #042C60;
  --super-navy: #100F3E;
  --footer-soft: #D7FFB8;
  --warning: #FFC800;
  --error: #FF4B4B;
  --streak: #FF9600;
  --gems: #CE82FF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --max-width: 988px;
  --wide-width: 1090px;
  --header-height: 72px;
  --section-padding: 96px;
  --font-display: "Nunito", "Varela Round", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
  color: var(--muted);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--link-blue-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--link-blue);
  outline-offset: 2px;
}

.btn-primary:focus-visible {
  outline-color: var(--duo-green-dark);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--duo-green);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 15px;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.container--wide {
  width: min(100% - 32px, var(--wide-width));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--canvas);
  border-bottom: 2px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--duo-green);
  text-decoration: none;
}

.logo:hover {
  color: var(--duo-green-dark);
}

.logo__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--link-blue);
  background: var(--surface);
  border: 2px solid var(--border);
  border-bottom-width: 4px;
  border-bottom-color: var(--border-strong);
  border-radius: var(--radius-md);
  transition: background 0.15s, transform 0.1s;
}

.header-cta:hover {
  background: var(--wash-blue);
  border-color: var(--link-blue);
  color: var(--link-blue-dark);
}

.header-cta:active {
  transform: translateY(2px);
  border-bottom-width: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.1s;
}

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

.btn--primary:hover {
  background: var(--duo-green-light);
  color: #fff;
}

.btn--primary:active {
  transform: translateY(4px);
  box-shadow: none;
}

.btn--secondary {
  color: var(--link-blue);
  background: var(--surface);
  border: 2px solid var(--border);
  border-bottom-width: 4px;
  border-bottom-color: var(--border-strong);
}

.btn--secondary:hover {
  background: var(--wash-blue);
  border-color: var(--link-blue);
  color: var(--link-blue-dark);
}

.btn--secondary:active {
  transform: translateY(2px);
  border-bottom-width: 2px;
}

.btn--super {
  color: var(--super-navy);
  background: #fff;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
}

.btn--super:hover {
  background: var(--wash-blue);
  color: var(--super-navy);
}

.btn--super:active {
  transform: translateY(4px);
  box-shadow: none;
}

.btn--wide {
  width: 100%;
  max-width: 330px;
}

/* Hero */
.hero {
  padding: 48px 0 64px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__illustration svg {
  width: 100%;
  max-width: 424px;
  height: auto;
}

.hero__content {
  max-width: 480px;
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--link-blue);
  background: var(--wash-blue);
  border-radius: var(--radius-pill);
}

.hero__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--duo-green);
}

.hero__subtitle {
  margin: 0 0 24px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.375;
  color: var(--ink-strong);
}

.hero__desc {
  margin: 0 0 32px;
  max-width: 473px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.hero__note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted-light);
}

/* Benefit rail */
.benefit-rail {
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  padding: 20px 0;
  background: var(--surface-alt);
}

.benefit-rail__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.benefit-rail__inner::-webkit-scrollbar {
  display: none;
}

.benefit-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
}

.benefit-chip__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Features */
.feature {
  padding: var(--section-padding) 0;
}

.feature--alt {
  background: var(--wash-blue);
}

.feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature__grid--reverse .feature__visual {
  order: -1;
}

.feature__heading {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--duo-green);
}

.feature__text {
  margin: 0 0 28px;
  max-width: 473px;
}

.feature__list {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.feature__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 600;
}

.feature__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 1px;
}

.feature__visual {
  display: flex;
  justify-content: center;
}

.feature__visual svg {
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* Stats / trust */
.trust {
  padding: 64px 0;
  background: var(--surface-alt);
}

.trust__heading {
  margin: 0 0 40px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--ink-strong);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-card {
  padding: 32px 24px;
  text-align: center;
  background: var(--surface);
  border: 2px solid var(--border);
  border-bottom-width: 4px;
  border-bottom-color: var(--border-strong);
  border-radius: var(--radius-lg);
}

.trust-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
}

.trust-card__value {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--duo-green);
  line-height: 1;
}

.trust-card__label {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.trust-card__desc {
  margin: 8px 0 0;
  font-size: 15px;
}

/* Steps */
.steps {
  padding: var(--section-padding) 0;
}

.steps__heading {
  margin: 0 0 12px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--duo-green);
}

.steps__sub {
  margin: 0 auto 48px;
  max-width: 520px;
  text-align: center;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  position: relative;
  padding: 32px 24px;
  text-align: center;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
}

.step-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  background: var(--duo-green);
  border-radius: 50%;
  box-shadow: 0 4px 0 var(--duo-green-shadow);
}

.step-card__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-strong);
}

.step-card__text {
  margin: 0;
  font-size: 15px;
}

/* Super promo block */
.super-promo {
  padding: 80px 0;
  background: var(--super-navy);
  color: #fff;
  text-align: center;
}

.super-promo__heading {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
}

.super-promo__text {
  margin: 0 auto 36px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
}

.super-promo__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Final CTA */
.final-cta {
  position: relative;
  padding: 80px 0 120px;
  text-align: center;
  background: linear-gradient(180deg, var(--wash-blue) 0%, #fff 60%);
  overflow: hidden;
}

.final-cta__decor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--duo-green);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: scaleX(1.5);
}

.final-cta__content {
  position: relative;
  z-index: 1;
}

.final-cta__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--duo-green);
}

.final-cta__desc {
  margin: 0 auto 36px;
  max-width: 520px;
}

.final-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.final-cta__legal {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted-light);
}

.final-cta__legal a {
  color: var(--link-blue);
}

/* Footer */
.site-footer {
  padding: 48px 0 32px;
  background: var(--duo-green);
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}

.footer__tagline {
  margin: 0;
  color: var(--footer-soft);
  font-size: 15px;
  max-width: 320px;
}

.footer__heading {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
}

.footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: var(--footer-soft);
  font-size: 15px;
  font-weight: 600;
}

.footer__links a:hover {
  color: #fff;
}

.footer__bottom {
  padding-top: 24px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--footer-soft);
}

/* Responsive */
@media (max-width: 900px) {
  .hero__grid,
  .feature__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature__grid--reverse .feature__visual {
    order: 0;
  }

  .hero__content {
    max-width: none;
    text-align: center;
  }

  .hero__actions {
    align-items: center;
  }

  .hero__desc {
    margin-inline: auto;
  }

  .trust__grid,
  .steps__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  :root {
    --section-padding: 64px;
  }

  .hero {
    padding-top: 32px;
  }

  .hero__illustration {
    order: -1;
  }

  .hero__grid {
    display: flex;
    flex-direction: column;
  }

  .benefit-rail__inner {
    gap: 10px;
  }

  .benefit-chip {
    font-size: 13px;
    padding: 8px 14px;
  }
}

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

  .btn--primary:active,
  .btn--secondary:active,
  .btn--super:active {
    transform: none;
  }
}
