: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-display: "Nunito", 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 {
  max-width: 100%;
  height: auto;
  display: block;
}

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 .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--duo-green);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 0 var(--duo-green-shadow);
}

.logo-mark svg {
  width: 22px;
  height: 22px;
}

.header-cta {
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  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;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.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;
}

.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-dark);
}

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

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

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

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

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

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

.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;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--link-blue);
  margin-bottom: 12px;
}

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

.hero-subtitle {
  margin: 0 auto 24px;
  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 28px;
  max-width: 473px;
}

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

.hero-note {
  font-size: 14px;
  margin-top: 8px;
}

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

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

/* Trust rail */
.trust-rail {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--surface-alt);
}

.trust-rail-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.trust-chip-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--wash-blue);
  display: grid;
  place-items: center;
  font-size: 14px;
}

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

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

.section-alt {
  background: var(--surface-alt);
}

.section-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--duo-green);
}

.section-title-navy {
  color: var(--navy);
}

.section-lead {
  max-width: 473px;
  margin: 0 0 24px;
}

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

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

.feature-visual {
  display: flex;
  justify-content: center;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 2px solid var(--border);
  box-shadow: 0 4px 0 var(--border-strong);
  max-width: 360px;
}

.feature-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
}

.check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--duo-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
}

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

.benefit-tile {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 2px solid var(--border);
  box-shadow: 0 4px 0 var(--border-strong);
}

.benefit-tile h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-strong);
}

.benefit-tile p {
  margin: 0;
  font-size: 16px;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--wash-blue);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 24px;
}

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

.plan-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 2px solid var(--border);
  box-shadow: 0 4px 0 var(--border-strong);
  display: flex;
  flex-direction: column;
}

.plan-card.featured {
  border-color: var(--duo-green);
  box-shadow: 0 4px 0 var(--duo-green-shadow);
}

.plan-badge {
  align-self: flex-start;
  background: var(--warning);
  color: var(--ink-strong);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill, 999px);
  margin-bottom: 12px;
}

.plan-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink-strong);
}

.plan-storage {
  font-size: 32px;
  font-weight: 800;
  color: var(--duo-green);
  margin-bottom: 12px;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.plan-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-size: 16px;
}

.plan-card li:last-child {
  border-bottom: none;
}

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

.super-block .section-title {
  color: #fff;
  max-width: 720px;
  margin-inline: auto;
}

.super-block .section-lead {
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 40px auto;
  max-width: 640px;
  text-align: left;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.compare-row span:last-child {
  color: var(--duo-green);
  font-weight: 800;
}

/* Trust stats */
.stats-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
  text-align: center;
}

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

.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--duo-green);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-weight: 700;
  color: var(--ink-strong);
  font-size: 16px;
}

.story-block {
  margin-top: 48px;
  padding: 32px;
  background: var(--wash-blue);
  border-radius: var(--radius-xl);
  max-width: 720px;
  margin-inline: auto;
}

.story-block h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 22px;
}

.story-block p {
  margin: 0;
}

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

.final-cta-inner {
  padding-bottom: 48px;
}

.final-cta .section-title {
  color: var(--ink-strong);
}

.final-cta .hero-actions {
  margin-top: 32px;
}

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

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

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
}

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

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

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

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

.footer-disclaimer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13px;
  line-height: 1.5;
  color: var(--footer-soft);
}

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

.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;
}

@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 {
    margin-left: 0;
  }

  .hero-actions {
    align-items: flex-start;
  }

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

  .feature-grid.reverse .feature-copy {
    order: 2;
  }

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

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

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

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

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

@media (min-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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