/* 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;
  --warning: #FFC800;
  --streak: #FF9600;
  --gems: #CE82FF;
  --footer-soft: #D7FFB8;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --max: 988px;
  --wide: 1090px;
  --font-display: "Fredoka", "Nunito", sans-serif;
  --font-body: "Nunito", 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: 1.41;
  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);
}

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

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

/* Header */
.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

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

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

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

.header-cta {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--link-blue);
  padding: 10px 16px;
  border: 2px solid var(--border);
  border-bottom-width: 4px;
  border-bottom-color: var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  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(3px);
  border-bottom-width: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  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-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.btn-primary {
  background: var(--duo-green);
  color: #fff;
  box-shadow: 0 4px 0 var(--duo-green-shadow);
  min-width: min(330px, 100%);
}

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

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

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

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

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

/* Hero */
.hero {
  padding: 48px 0 32px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 420px;
}

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

.hero__copy {
  max-width: 480px;
}

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

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--duo-green);
  margin: 0 0 16px;
}

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

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

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

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

/* Benefit bullets in hero */
.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}

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

/* Domain rail (course-strip pattern) */
.domain-rail {
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  padding: 20px 0;
  margin-bottom: 48px;
  overflow: hidden;
}

.domain-rail__inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.domain-rail__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-light);
  white-space: nowrap;
  padding-right: 8px;
}

.domain-rail__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  padding: 4px 0;
}

.domain-rail__track::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.chip__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chip__dot--green { background: var(--duo-green); }
.chip__dot--blue { background: var(--link-blue); }
.chip__dot--yellow { background: var(--warning); }
.chip__dot--orange { background: var(--streak); }
.chip__dot--purple { background: var(--gems); }

.rail-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}

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

/* Feature sections */
.feature-section {
  padding: 64px 0;
}

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

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

.feature-grid--reverse .feature-grid__visual {
  order: -1;
}

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

.feature-grid__body {
  margin: 0 0 24px;
  max-width: 503px;
}

.feature-grid__link {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Trust section */
.trust-section {
  padding: 64px 0;
  text-align: center;
}

.trust-section__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
}

.trust-section__subtitle {
  margin: 0 auto 40px;
  max-width: 560px;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
}

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

.trust-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-strong);
  margin: 0 0 8px;
}

.trust-card__text {
  font-size: 15px;
  margin: 0;
  line-height: 1.4;
}

/* Stats bar */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding: 24px;
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--duo-green);
  line-height: 1;
  margin-bottom: 4px;
}

.stat__label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

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

.super-block__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin: 0 0 16px;
  background: linear-gradient(135deg, var(--duo-green) 0%, var(--link-blue) 50%, var(--gems) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.super-block__body {
  margin: 0 auto 32px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.75);
}

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

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

/* Final CTA */
.final-cta {
  padding: 80px 0 0;
  text-align: center;
  background: linear-gradient(180deg, var(--canvas) 0%, #E8FCD4 100%);
}

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

.final-cta__body {
  margin: 0 auto 28px;
  max-width: 480px;
}

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

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

.site-footer::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--duo-green);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
}

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

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

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

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  color: #fff;
}

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

.footer-links li {
  margin-bottom: 8px;
}

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

.footer-links a:hover {
  color: #fff;
}

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

.footer-bottom a {
  color: var(--footer-soft);
}

.footer-bottom a:hover {
  color: #fff;
}

/* Illustrations */
.illustration-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 8px 0 var(--border);
  max-width: 400px;
  margin-inline: auto;
}

.progress-bar {
  height: 16px;
  background: var(--surface-alt);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 16px;
}

.progress-bar__fill {
  height: 100%;
  background: var(--duo-green);
  border-radius: var(--radius-pill);
  width: 72%;
  transition: width 1s ease;
}

.skill-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.skill-tile {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--border);
  background: var(--wash-blue);
  box-shadow: 0 4px 0 var(--border-strong);
}

.skill-tile--active {
  background: var(--duo-green);
  border-color: var(--duo-green-dark);
  box-shadow: 0 4px 0 var(--duo-green-shadow);
}

.skill-tile svg {
  width: 32px;
  height: 32px;
}

.streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF4E5;
  border: 2px solid var(--streak);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-weight: 700;
  color: var(--streak);
  font-size: 15px;
  margin-bottom: 16px;
}

.domain-search-mock {
  background: var(--wash-blue);
  border-radius: var(--radius-md);
  padding: 16px;
}

.domain-search-mock__input {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid var(--border);
  border-bottom-width: 4px;
  border-bottom-color: var(--border-strong);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--ink);
}

.domain-search-mock__results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 14px;
}

.result-row__domain {
  font-weight: 700;
  color: var(--ink);
}

.result-row__value {
  font-weight: 700;
  color: var(--duo-green);
}

.portfolio-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  padding: 0 8px;
}

.portfolio-chart__bar {
  flex: 1;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  min-width: 24px;
}

.float-animation {
  animation: float 4s ease-in-out infinite;
}

.float-animation--delay {
  animation-delay: 1.5s;
}

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

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

  .feature-grid--reverse .feature-grid__visual {
    order: 0;
  }

  .hero__copy {
    order: -1;
    max-width: none;
    text-align: center;
  }

  .hero__actions {
    align-items: center;
  }

  .benefit-list {
    align-items: flex-start;
    text-align: left;
    max-width: 400px;
    margin-inline: auto;
  }

  .trust-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-tagline {
    margin-inline: auto;
  }

  .domain-rail__label {
    display: none;
  }

  .stats-bar {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .btn-primary,
  .btn-secondary {
    width: 100%;
    min-width: unset;
  }

  .header-cta {
    font-size: 13px;
    padding: 8px 12px;
  }
}

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

  .float-animation,
  .float-animation--delay {
    animation: none;
  }

  .progress-bar__fill {
    transition: none;
  }
}
