: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;
  --streak: #ff9600;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max: 988px;
  --wide: 1090px;
  --section-pad: 96px;
  --font-body: "Nunito", system-ui, sans-serif;
  --font-display: "Fredoka", "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;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--duo-green);
  color: #fff;
  font-weight: 700;
}

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

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

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

/* Header */
.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  background: var(--canvas);
  border-bottom: 1px solid transparent;
}

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

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

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

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

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

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

.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,
.btn--primary.is-pressed {
  transform: translateY(4px);
  box-shadow: none;
  background: var(--duo-green-dark);
}

.btn--secondary {
  color: var(--link-blue);
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 0 4px 0 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(4px);
  box-shadow: none;
}

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

.btn--lg {
  min-height: 56px;
  font-size: 16px;
}

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

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

.hero__visual {
  order: 2;
  display: flex;
  justify-content: center;
}

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

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--streak);
  background: #fff5e6;
  border-radius: var(--radius-pill, 999px);
}

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

.hero__subtitle {
  margin: 0 auto 28px;
  max-width: 480px;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-strong);
}

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

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-illustration {
  width: min(100%, 424px);
  aspect-ratio: 424 / 380;
}

/* Chip rail */
.chip-rail {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  margin-bottom: 24px;
}

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

.chip-rail__scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
  padding: 4px 0;
}

.chip-rail__scroll::-webkit-scrollbar {
  display: none;
}

.chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
}

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

.chip__icon {
  font-size: 18px;
  line-height: 1;
}

.rail-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

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

/* Benefits */
.benefits {
  padding: var(--section-pad) 0;
}

.benefits__title {
  margin: 0 0 48px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--duo-green);
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.benefit-card {
  padding: 28px 24px;
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
}

.benefit-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}

.benefit-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-strong);
}

.benefit-card p {
  margin: 0;
}

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

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

.feature--reverse .feature__visual {
  order: 2;
}

.feature--reverse .feature__text {
  order: 1;
}

.feature__text h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--duo-green);
}

.feature__text p {
  margin: 0 0 24px;
  max-width: 503px;
}

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

.feature__list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--ink);
}

.feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background: var(--duo-green);
  border-radius: 50%;
  box-shadow: inset 0 -2px 0 var(--duo-green-shadow);
}

.feature__list li::after {
  content: "✓";
  position: absolute;
  left: 5px;
  top: 2px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.feature-visual {
  width: 100%;
  max-width: 530px;
  margin-inline: auto;
}

/* Trust */
.trust {
  padding: var(--section-pad) 0;
  background: var(--wash-blue);
}

.trust__inner {
  text-align: center;
}

.trust h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--navy);
}

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

.trust-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.trust-stat {
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
}

.trust-stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--duo-green);
  margin-bottom: 4px;
}

.trust-stat__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-strong);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

.super-block h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  background: linear-gradient(135deg, #ffc800, #ff9600, #ce82ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

.btn--super:hover {
  background: #f0f0f0;
  color: var(--super-navy);
}

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

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

.final-cta h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--ink-strong);
}

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

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

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

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

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.site-footer a {
  color: var(--footer-soft);
  font-weight: 600;
}

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

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

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.footer-bottom p {
  margin: 0 0 8px;
}

.disclaimer {
  font-size: 12px;
  opacity: 0.85;
  max-width: 640px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 424px 1fr;
    gap: 48px;
  }

  .hero__visual {
    order: 1;
  }

  .hero__copy {
    order: 2;
    text-align: left;
  }

  .hero__lead,
  .hero__subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero__actions {
    align-items: flex-start;
  }

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

  .feature__grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

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

  .feature--reverse .feature__text {
    order: 2;
  }

  .trust-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .btn {
    transition: none;
  }
}
