: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;
  --super-ink: #000437;
  --footer-soft: #d7ffb8;
  --warning: #ffc800;
  --streak: #ff9600;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --max: 988px;
  --wide: 1090px;
  --font-display: "Fredoka", 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: 1.41;
  color: var(--muted);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

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

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

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

a:focus-visible {
  outline: 3px solid var(--link-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--duo-green);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-md);
}

.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 {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
  height: 72px;
  display: flex;
  align-items: center;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.site-logo:hover {
  text-decoration: none;
  color: var(--ink-strong);
}

.site-logo__mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--duo-green);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 0 var(--duo-green-shadow);
}

.site-header__cta {
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 20px;
  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 ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--link-blue);
  outline-offset: 2px;
}

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

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

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

.btn--secondary {
  background: var(--surface);
  color: var(--link-blue);
  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);
  text-decoration: none;
}

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

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

.btn--super:hover {
  background: var(--wash-blue);
  color: var(--super-ink);
  text-decoration: none;
}

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

.btn--lg {
  padding: 0 28px;
  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;
  background: var(--wash-blue);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
}

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

.hero__subtitle {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink-strong);
  max-width: 28ch;
  margin-inline: auto;
}

.hero__lead {
  margin: 0 auto 28px;
  max-width: 473px;
  font-size: 17px;
  line-height: 24px;
}

.hero__bullets {
  list-style: none;
  margin: 0 auto 32px;
  padding: 0;
  max-width: 400px;
  text-align: left;
}

.hero__bullets li {
  position: relative;
  padding: 8px 0 8px 36px;
  color: var(--ink);
  font-weight: 600;
}

.hero__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--duo-green);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

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

.hero-illustration {
  width: min(100%, 424px);
  aspect-ratio: 1;
  position: relative;
}

.hero-illustration svg {
  width: 100%;
  height: 100%;
}

/* Plan rail */
.plan-rail {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  background: var(--surface-alt);
}

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

.plan-rail__label {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted-light);
  letter-spacing: 0.04em;
}

.plan-rail__scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
}

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

.plan-chip {
  flex-shrink: 0;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 3px 0 var(--border-strong);
}

.plan-chip:hover {
  border-color: var(--duo-green);
  color: var(--ink);
  text-decoration: none;
  background: #f0ffe0;
}

.plan-chip__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.plan-chip__icon--premium {
  background: var(--link-blue);
}

.plan-chip__icon--plus {
  background: var(--duo-green);
}

.plan-chip__icon--ultra {
  background: var(--super-navy);
}

.plan-chip__icon--bundle {
  background: var(--warning);
  color: var(--ink);
}

/* Sections */
.section {
  padding: 64px 0;
}

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

.section__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--duo-green);
}

.section__title--navy {
  color: var(--navy);
}

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

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

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

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

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 2px solid var(--border);
  max-width: 320px;
  margin-inline: auto;
}

.feature-card__bar {
  height: 10px;
  background: #e8e8e8;
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 16px;
}

.feature-card__bar span {
  display: block;
  height: 100%;
  width: 72%;
  background: var(--duo-green);
  border-radius: var(--radius-pill);
}

.feature-card__nodes {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}

.feature-card__node {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wash-blue);
  border: 3px solid var(--link-blue);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--link-blue);
  font-size: 14px;
}

.feature-card__node--done {
  background: var(--duo-green);
  border-color: var(--duo-green-dark);
  color: #fff;
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.pricing-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 0 var(--border-strong);
  transition: border-color 0.15s ease;
}

.pricing-card:hover {
  border-color: var(--duo-green);
}

.pricing-card--highlight {
  border-color: var(--duo-green);
  background: linear-gradient(180deg, #f0ffe0 0%, #fff 40%);
}

.pricing-card__tier {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink-strong);
}

.pricing-card__storage {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--duo-green);
}

.pricing-card__desc {
  margin: 0 0 20px;
  font-size: 15px;
}

.pricing-note {
  margin-top: 24px;
  text-align: center;
  font-size: 15px;
  color: var(--muted-light);
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

.trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
}

.trust-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.trust-item__icon--green {
  background: #e8ffd0;
}

.trust-item__icon--blue {
  background: var(--wash-blue);
}

.trust-item__icon--gold {
  background: #fff4cc;
}

.trust-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink-strong);
}

.trust-item p {
  margin: 0;
  font-size: 15px;
}

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

.super-block__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  background: linear-gradient(90deg, #ffc800, #58cc02, #1cb0f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.super-block__lead {
  margin: 0 auto 32px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
}

.super-block__list {
  list-style: none;
  margin: 0 auto 36px;
  padding: 0;
  max-width: 400px;
  text-align: left;
}

.super-block__list li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.super-block__list li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--warning);
}

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

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

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

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

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

.site-footer h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

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

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

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

.affiliate-note {
  font-size: 13px;
  color: var(--muted-light);
  margin-top: 16px;
  max-width: 520px;
  margin-inline: auto;
}

/* Responsive */
@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__subtitle {
    margin-inline: 0;
  }

  .hero__lead {
    margin-inline: 0;
  }

  .hero__bullets {
    margin-inline: 0;
  }

  .hero__cta-stack {
    align-items: flex-start;
  }

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

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

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

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

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

  .site-footer__grid {
    grid-template-columns: 2fr 1fr;
  }
}

@media (min-width: 960px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .section {
    padding: 96px 0;
  }
}

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

  .btn,
  .plan-chip {
    transition: none;
  }
}