/* Poke Alerts — 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;
  --error: #FF4B4B;
  --streak: #FF9600;
  --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);
}

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

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

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

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

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  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 {
  font-size: 15px;
}

/* 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: transform 0.1s ease, background 0.15s 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 {
  transform: translateY(4px);
  box-shadow: none;
}

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

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

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

.hero-illustration {
  display: flex;
  justify-content: center;
  animation: float 4s ease-in-out infinite;
}

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

.hero-copy {
  text-align: left;
}

.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(42px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--duo-green);
}

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

.hero-desc {
  margin: 0 0 32px;
  max-width: 473px;
  font-size: 17px;
  line-height: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-note {
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted-light);
}

/* Retailer rail */
.retailer-rail {
  border-block: 1px solid var(--border);
  padding: 20px 0;
  background: var(--surface-alt);
}

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

.retailer-rail-inner::-webkit-scrollbar {
  display: none;
}

.rail-label {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.retailer-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  white-space: nowrap;
}

.chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--duo-green);
}

/* Features */
.section {
  padding: 96px 0;
}

.section-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: 2;
}

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

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

.feature-desc {
  margin: 0 0 28px;
  max-width: 503px;
  font-size: 17px;
  line-height: 24px;
}

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

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 17px;
  color: var(--ink);
}

.check-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 2px;
}

.feature-card {
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 2px solid var(--border);
}

.card-stack {
  display: grid;
  gap: 16px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
}

.stat-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--duo-green);
  line-height: 1;
}

.stat-label {
  font-size: 15px;
  color: var(--muted);
  margin-top: 4px;
}

/* Social proof */
.testimonials {
  text-align: center;
}

.section-heading {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--duo-green);
}

.section-lead {
  margin: 0 auto 48px;
  max-width: 560px;
  font-size: 17px;
  line-height: 24px;
}

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

.testimonial-card {
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 2px solid var(--border);
  box-shadow: 0 4px 0 var(--border-strong);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--warning);
}

.testimonial-quote {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--wash-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--link-blue);
}

.author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-strong);
}

.author-meta {
  font-size: 13px;
  color: var(--muted-light);
}

/* Pricing / trial */
.trial-banner {
  padding: 64px 0;
  background: var(--super-navy);
  color: #fff;
  text-align: center;
}

.trial-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  color: #fff;
}

.trial-desc {
  margin: 0 auto 32px;
  max-width: 520px;
  font-size: 17px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.75);
}

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

.btn-super:hover {
  background: var(--footer-soft);
  color: var(--super-navy);
}

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

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

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

.final-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--duo-green);
}

.final-desc {
  margin: 0 auto 36px;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
}

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

.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: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.5;
  color: var(--footer-soft);
  max-width: 320px;
}

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

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

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

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

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

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

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

  .feature-grid.reverse .feature-visual,
  .feature-grid.reverse .feature-text {
    order: unset;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-desc {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-illustration {
    order: -1;
  }

  .hero-illustration svg {
    max-width: 320px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .hero {
    padding: 32px 0 48px;
  }

  .section {
    padding: 64px 0;
  }

  .header-cta span {
    display: none;
  }

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

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

  .hero-illustration {
    animation: none;
  }

  .btn {
    transition: none;
  }
}
