/* HEEMS PICKS — 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;
  --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-width: 988px;
  --wide-width: 1090px;
  --section-pad: 96px;
  --font: "Nunito", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  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);
}

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

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

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

/* 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;
  color: var(--ink-strong);
  font-weight: 800;
  font-size: 15px;
}

.logo:hover {
  color: var(--ink-strong);
}

.logo-icon {
  flex-shrink: 0;
}

.header-cta {
  min-width: auto;
  width: auto;
  padding-inline: 20px;
}

/* 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);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s ease, background-color 0.15s ease, box-shadow 0.1s ease;
  box-shadow: 0 4px 0 var(--duo-green-shadow);
}

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

.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-ink);
  box-shadow: 0 4px 0 rgba(255, 255, 255, 0.25);
  min-width: 280px;
}

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

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

.btn-lg {
  min-width: min(100%, 330px);
}

.btn-sm {
  min-height: 44px;
  font-size: 13px;
  padding-inline: 16px;
}

/* Hero */
.hero {
  padding: 48px 0;
  min-height: 520px;
  display: flex;
  align-items: center;
}

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

.hero-visual {
  order: 1;
}

.hero-copy {
  order: 2;
}

.hero-eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.hero-brand {
  margin: 0 0 12px;
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--duo-green);
}

.hero-headline {
  margin: 0 0 16px;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink-strong);
  max-width: 480px;
}

.hero-body {
  margin: 0 0 32px;
  max-width: 473px;
  color: var(--muted);
}

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

.hero-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.hero-mascot {
  width: min(100%, 280px);
  height: auto;
  animation: float 4s ease-in-out infinite;
}

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

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 0 var(--border-strong);
  font-size: 13px;
  z-index: 2;
}

.float-card strong {
  display: block;
  color: var(--ink-strong);
  font-weight: 800;
}

.float-card span:not(.streak-flame):not(.pick-badge) {
  color: var(--muted);
  font-size: 12px;
}

.streak-card {
  top: 10%;
  left: 0;
  animation: float 3.5s ease-in-out infinite reverse;
}

.pick-card {
  bottom: 15%;
  right: 0;
  animation: float 4.2s ease-in-out 0.5s infinite;
}

.streak-flame {
  font-size: 24px;
}

.pick-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--duo-green);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
}

/* Sport rail */
.sport-rail {
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  background: var(--canvas);
  padding: 16px 0;
}

.sport-rail-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100% - 32px, var(--wide-width));
}

.sport-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
  padding: 4px 0;
}

.sport-chips::-webkit-scrollbar {
  display: none;
}

.sport-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

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

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

.rail-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

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

.section-title {
  margin: 0 0 48px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  color: var(--duo-green);
}

/* Benefits */
.benefits {
  background: var(--wash-blue);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.benefit-icon {
  display: block;
  font-size: 32px;
  margin-bottom: 12px;
}

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

.benefit-card p {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
}

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

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

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

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

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

.feature-title {
  margin: 0 0 20px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--duo-green);
}

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

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

.stat-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 500;
}

.stat-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--duo-green);
  font-weight: 800;
}

.stat-list strong {
  color: var(--ink-strong);
  font-weight: 800;
}

/* App stack illustration */
.app-stack {
  position: relative;
  width: 280px;
  height: 280px;
  margin-inline: auto;
}

.app-tile {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  box-shadow: 0 4px 0 var(--border-strong);
  font-weight: 900;
  color: var(--ink-strong);
}

.app-tile span {
  font-size: 24px;
}

.app-tile small {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 4px;
}

.app-tile-1 { top: 0; left: 50%; transform: translateX(-50%); background: #CE82FF; }
.app-tile-2 { top: 50%; left: 0; transform: translateY(-50%); background: var(--link-blue); color: #fff; }
.app-tile-2 small { color: rgba(255,255,255,0.8); }
.app-tile-3 { top: 50%; right: 0; transform: translateY(-50%); background: var(--duo-green); color: #fff; }
.app-tile-3 small { color: rgba(255,255,255,0.8); }
.app-tile-4 { bottom: 0; left: 50%; transform: translateX(-50%); background: var(--warning); }

/* Leaderboard card */
.leaderboard-card {
  max-width: 320px;
  margin-inline: auto;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 4px 0 var(--border-strong);
}

.lb-header {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-light);
  margin-bottom: 16px;
}

.lb-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}

.lb-row-highlight {
  background: rgba(88, 204, 2, 0.12);
  border: 2px solid var(--duo-green);
}

.lb-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--surface-alt);
  border-radius: 50%;
  font-weight: 800;
  color: var(--ink-strong);
  font-size: 14px;
}

.lb-row-highlight .lb-rank {
  background: var(--duo-green);
  color: #fff;
}

.lb-name {
  font-weight: 700;
  color: var(--ink-strong);
}

.lb-xp {
  font-weight: 800;
  color: var(--duo-green);
  font-size: 14px;
}

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

.progress-fill {
  width: 78%;
  height: 100%;
  background: var(--duo-green);
  border-radius: var(--radius-pill);
}

/* Trust */
.trust-inner {
  text-align: center;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  text-align: left;
}

.trust-quote {
  margin: 0;
  padding: 32px;
  background: var(--surface-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  border-left: 6px solid var(--duo-green);
}

.trust-quote p {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--ink);
  font-style: italic;
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--ink-strong);
}

.trust-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--duo-green);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  flex-shrink: 0;
}

/* Super promo */
.super-promo {
  background: var(--super-navy);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.super-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.super-label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warning);
}

.super-title {
  margin: 0 0 20px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
}

.super-body {
  margin: 0 0 32px;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
}

.super-visual {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.super-gem {
  font-size: 80px;
  animation: float 3s ease-in-out infinite;
}

.super-infinity {
  position: absolute;
  font-size: 120px;
  font-weight: 900;
  background: linear-gradient(135deg, #CE82FF, #1CB0F6, #FFC800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.6;
}

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

.final-cta-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  color: var(--ink-strong);
}

.final-cta-body {
  margin: 0 auto 32px;
  max-width: 520px;
}

.btn-final {
  margin-inline: auto;
}

.final-cta-note {
  margin: 24px 0 0;
  font-size: 14px;
  color: var(--muted-light);
}

.final-cta-note strong {
  color: var(--duo-green);
}

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

.footer-inner {
  display: grid;
  gap: 32px;
}

.footer-brand strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
}

.footer-brand p {
  margin: 0;
  max-width: 400px;
  color: var(--footer-soft);
  font-size: 15px;
  line-height: 22px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

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

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

.footer-disclaimer {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  color: var(--footer-soft);
}

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

  .hero-visual {
    order: 1;
  }

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

  .hero-body,
  .hero-headline {
    margin-inline: auto;
  }

  .hero-cta-stack {
    align-items: center;
  }

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

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

  .feature-body,
  .stat-list {
    margin-inline: auto;
  }

  .feature-copy .btn {
    margin-inline: auto;
  }

  .super-visual {
    display: none;
  }

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

  .trust-grid {
    text-align: center;
  }

  .trust-badges {
    align-items: center;
  }
}

@media (max-width: 600px) {
  :root {
    --section-pad: 64px;
  }

  .hero {
    min-height: auto;
    padding: 32px 0;
  }

  .hero-illustration {
    min-height: 260px;
  }

  .float-card {
    font-size: 11px;
    padding: 8px 12px;
  }

  .btn-lg {
    width: 100%;
  }

  .header-cta {
    display: none;
  }

  .super-promo {
    padding: 80px 0;
  }
}

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

  .hero-mascot,
  .float-card,
  .super-gem {
    animation: none;
  }

  .btn:active {
    transform: none;
  }
}
