/* ============== TOKENS ============== */
:root {
  --cream: #f7fbf6;
  --cream-deep: #ecf5ee;
  --card: #ffffff;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --border: #dbe7e1;
  --border-strong: #b7d7c8;

  --green: #16a34a;
  --green-dark: #15803d;
  --green-light: #dcfce7;
  --green-deep: #14532d;
  --leaf: #22c55e;

  --blue: #0ea5e9;
  --blue-sky: #bae6fd;
  --coral: #fb7185;
  --coral-light: #ffe4e6;
  --gold: #fbbf24;
  --amber: #f59e0b;
  --plum: #a855f7;

  --shadow-tight: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.08);
  --shadow-pop: 0 24px 60px -16px rgba(15, 23, 42, 0.18);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.6) inset, 0 18px 40px -18px rgba(15,23,42,.14);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ============== NAV ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 32px;
  background: rgba(247, 251, 246, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(219, 231, 225, 0.6);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.nav-brand img { border-radius: 8px; }
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .2s;
}
.nav-links a:hover { color: var(--green); }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.4);
}
.btn-primary:hover { background: var(--green-deep); box-shadow: 0 12px 28px -6px rgba(20,83,45,0.5); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 14px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover { background: white; border-color: var(--green); color: var(--green-dark); }
.btn-pill {
  background: var(--green);
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 14px -4px rgba(22, 163, 74, 0.5);
}
.btn-pill:hover { background: var(--green-dark); }

/* ============== CHIPS ============== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: white;
  border: 1px solid var(--border);
  color: var(--ink-soft);
}
.chip-green { background: var(--green-light); color: var(--green-deep); border-color: transparent; }
.chip-coral { background: var(--coral-light); color: #9f1239; border-color: transparent; }
.chip-blue  { background: var(--blue-sky); color: #075985; border-color: transparent; }
.chip-gold  { background: #fef3c7; color: #92400e; border-color: transparent; }
.chip-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px rgba(22,163,74,0.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0.4); }
  50% { box-shadow: 0 0 0 7px rgba(22,163,74,0); }
}

/* ============== HEADINGS ============== */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.025em;
  margin: 0;
}
h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.02;
}
h2 {
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 800;
  line-height: 1.08;
}
h3 {
  font-size: 22px;
  font-weight: 700;
}

.grad {
  background: linear-gradient(120deg, var(--green) 0%, var(--leaf) 50%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-mute {
  background: linear-gradient(120deg, var(--green-dark), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-warm {
  background: linear-gradient(120deg, var(--gold), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: 64px 28px 96px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.blob-a { width: 500px; height: 500px; background: var(--green-light); top: -120px; left: -100px; }
.blob-b { width: 420px; height: 420px; background: var(--coral-light); top: 40px; right: -100px; }
.blob-c { width: 380px; height: 380px; background: var(--blue-sky); bottom: -150px; left: 30%; opacity: 0.45; }

.hero-grid {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy h1 { margin: 16px 0 20px; }
.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 32px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-tight);
  max-width: 540px;
}
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.trust-item span { font-size: 12px; color: var(--muted); }
.trust-divider { width: 1px; height: 32px; background: var(--border); }

/* Hero stage with phone */
.hero-stage {
  position: relative;
  height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float {
  position: absolute;
  background: white;
  border-radius: 18px;
  padding: 12px 14px 12px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-pop);
  font-size: 14px;
  font-weight: 700;
  z-index: 2;
  animation: bobble 6s ease-in-out infinite;
}
.float img { width: 32px; height: 32px; }
.float-1 { top: 60px; left: -10px; animation-delay: 0s; }
.float-2 { top: 200px; right: -10px; animation-delay: -1.5s; }
.float-3 { bottom: 220px; left: -20px; animation-delay: -3s; }
.float-4 {
  bottom: 90px; right: 10px;
  background: var(--green);
  color: white;
  animation-delay: -4.5s;
}
@keyframes bobble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Phone */
.phone {
  position: relative;
  width: 290px;
  height: 580px;
  background: linear-gradient(160deg, #1f2937, #0f172a);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 0 0 6px #1f2937,
    0 50px 100px -30px rgba(15, 23, 42, 0.6),
    0 0 0 1px rgba(255,255,255,0.08) inset;
}
.phone-notch {
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px;
  background: #0a0f1a;
  border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--cream);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 14px 24px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.signal::before {
  content: '●●●● 5G';
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--ink-soft);
}
.phone-app { padding: 36px 18px 18px; }

.phone-card {
  background: white;
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.scan-frame {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 14px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scan-frame img {
  width: 90px;
  height: 90px;
  z-index: 2;
  position: relative;
  animation: scan-pop .5s ease;
}
.scan-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed var(--green);
  opacity: 0.5;
  animation: scan-spin 12s linear infinite;
}
@keyframes scan-spin { to { transform: rotate(360deg); } }
@keyframes scan-pop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.phone-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin: 0;
}
.phone-card h3 { font-size: 22px; margin: 4px 0 12px; letter-spacing: -0.02em; }
.phone-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: var(--cream-deep);
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}
.phone-reward {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 14px;
  text-align: left;
  margin-bottom: 14px;
}
.phone-reward img { width: 32px; height: 32px; }
.phone-reward strong { display: block; font-size: 14px; }
.phone-reward small { color: #92400e; font-size: 11px; }
.phone-btn {
  width: 100%;
  background: var(--ink);
  color: white;
  border: 0;
  padding: 12px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
}

/* ============== SECTIONS ============== */
.section {
  padding: 96px 0;
}
.section-tinted {
  background: linear-gradient(180deg, var(--cream-deep), var(--cream) 80%);
}
.section-cream { background: var(--cream-deep); }
.section-dark {
  background: var(--ink);
  color: white;
}
.section-dark .lede,
.section-dark p { color: rgba(255,255,255,0.7); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .chip { margin-bottom: 18px; }
.section-head h2 { margin: 0 0 14px; }
.section-head p { font-size: 18px; color: var(--ink-soft); margin: 0; }
.section-head-light p { color: rgba(255,255,255,0.6); }

/* ============== HOW IT WORKS ============== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform .3s ease, box-shadow .3s;
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-light) 0%, transparent 60%);
  opacity: 0.5;
  z-index: 0;
}
.step-card > * { position: relative; z-index: 1; }
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.step-num {
  width: 40px; height: 40px;
  background: var(--ink);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 20px;
}
.step-illustration {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 16px;
}
.step-card h3 { margin: 0 0 8px; }
.step-card p { color: var(--ink-soft); margin: 0 0 16px; font-size: 15px; }
.step-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.step-tags li {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--cream-deep);
  border-radius: 999px;
  font-weight: 600;
  color: var(--green-deep);
}

/* ============== BIN ROW ============== */
.bin-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.bin-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  border-top: 5px solid var(--accent);
  box-shadow: var(--shadow-card);
  transition: transform .25s cubic-bezier(.4, 1.5, .6, 1);
  cursor: default;
}
.bin-card:hover { transform: translateY(-8px) rotate(-1deg); }
.bin-card:nth-child(even):hover { transform: translateY(-8px) rotate(1deg); }
.bin-card img { width: 72px; height: 72px; margin: 0 auto 12px; }
.bin-card h4 { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.bin-card small { color: var(--muted); font-size: 12px; }

/* ============== SCAN GRID ============== */
.scan-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}
.scan-tile {
  background: white;
  border-radius: var(--radius-md);
  aspect-ratio: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-tight);
  border: 1px solid var(--border);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.scan-tile:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: var(--shadow-soft);
}
.scan-tile img { width: 48px; height: 48px; }
.scan-tile span { font-size: 11px; font-weight: 600; color: var(--ink-soft); text-align: center; }
.scan-tile-more {
  background: linear-gradient(135deg, var(--green), var(--leaf));
  color: white;
  border: 0;
}
.scan-tile-more strong { font-size: 22px; font-weight: 800; }
.scan-tile-more span { color: rgba(255,255,255,0.85); }

/* ============== REWARDS ============== */
.reward-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.reward-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: transform .25s, background .25s, border-color .25s;
}
.reward-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}
.reward-card-feature {
  background: linear-gradient(160deg, rgba(251,191,36,0.18), rgba(251,113,133,0.12));
  border-color: rgba(251,191,36,0.4);
}
.reward-art {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.reward-art img { width: 90px; height: 90px; }
.reward-card h3 { color: white; margin: 0 0 6px; }
.reward-card p { color: rgba(255,255,255,0.65); font-size: 14px; margin: 0 0 16px; }
.reward-points {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: white;
  font-weight: 700;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 999px;
}
.reward-flag {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--gold);
  color: #422006;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============== BENEFITS ============== */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.benefit-card::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  background: var(--green-light);
  border-radius: 50%;
  opacity: 0.5;
  z-index: 0;
}
.benefit-community::after { background: var(--coral-light); }
.benefit-planet::after { background: var(--blue-sky); opacity: 0.4; }
.benefit-card > * { position: relative; z-index: 1; }
.benefit-card img { width: 80px; height: 80px; margin-bottom: 18px; }
.benefit-card h3 { margin: 0 0 8px; }
.benefit-card p { color: var(--ink-soft); margin: 0 0 18px; font-size: 15px; }
.benefit-card ul { padding: 0; margin: 0; list-style: none; }
.benefit-card ul li {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0 8px 24px;
  border-top: 1px solid var(--border);
  color: var(--ink);
  position: relative;
}
.benefit-card ul li:first-child { border-top: 0; }
.benefit-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  background: var(--green);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M6.5 10.5L3.5 7.5l-1 1L6.5 12.5l7-7-1-1z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ============== KIDS ============== */
.kids-card {
  background: linear-gradient(135deg, #fef3c7, var(--coral-light) 60%, var(--blue-sky));
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.kids-copy h2 { margin: 16px 0 16px; }
.kids-copy p { font-size: 17px; color: var(--ink-soft); max-width: 480px; }
.kids-stats {
  display: flex;
  gap: 28px;
  margin: 24px 0 32px;
}
.kids-stats > div {
  display: flex;
  flex-direction: column;
}
.kids-stats strong { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.kids-stats span { font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.kids-visual {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mascot { position: absolute; }
.mascot-main {
  width: 240px;
  z-index: 2;
  animation: bobble 4s ease-in-out infinite;
}
.mascot-cheer {
  width: 110px;
  top: 0;
  right: 0;
  animation: bobble 5s ease-in-out infinite -1s;
}
.mascot-huh {
  width: 90px;
  bottom: 20px;
  left: 0;
  animation: bobble 4.5s ease-in-out infinite -2s;
}

/* ============== COUNCILS ============== */
.council-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.stat-card strong {
  display: block;
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--green), var(--leaf));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.stat-card span { color: var(--ink-soft); font-size: 15px; }
.stat-card-accent {
  background: var(--ink);
  border-color: transparent;
  color: white;
}
.stat-card-accent strong {
  background: linear-gradient(120deg, var(--gold), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-card-accent span { color: rgba(255,255,255,0.7); }
.council-cta {
  text-align: center;
  padding: 32px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-strong);
}
.council-cta p { margin: 0 0 16px; color: var(--ink-soft); font-size: 17px; }

/* ============== DOWNLOAD ============== */
.download-card {
  background: linear-gradient(135deg, var(--green-deep), var(--green-dark));
  border-radius: var(--radius-xl);
  padding: 0;
  color: white;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}
.download-card::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--leaf), transparent 70%);
  opacity: 0.3;
  border-radius: 50%;
  pointer-events: none;
}
.download-card > * { position: relative; z-index: 1; }
/* Left half: skyline as a full-bleed background image. The illustration's
   sky fills the upper portion, buildings sit at the bottom. */
.download-art {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  /* Gentle gradient blends the right edge of the art into the green card so
     there's no hard seam at the column boundary. */
  background:
    linear-gradient(to right, transparent 78%, var(--green-deep) 100%),
    linear-gradient(180deg, #bfe2f7 0%, #95cef0 55%, #cdeed2 100%);
}
.download-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
}
.download-copy { padding: 56px; }
.download-copy h2 { color: white; margin: 0 0 14px; }
.download-copy p { color: rgba(255,255,255,0.85); margin: 0 0 24px; font-size: 17px; }
.download-copy .grad {
  background: linear-gradient(120deg, var(--gold), #fde68a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.store-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  color: white;
  transition: background .2s, transform .15s;
}
.store-btn:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.store-btn span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.store-btn small { font-size: 11px; opacity: 0.8; }
.store-btn strong { font-size: 17px; font-weight: 700; }
.legal-tiny { font-size: 12px; color: rgba(255,255,255,0.6); margin: 0; }

/* ============== FOOTER ============== */
.foot {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 24px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.foot-brand .nav-brand { color: white; margin-bottom: 12px; }
.foot-brand p { font-size: 14px; color: rgba(255,255,255,0.6); margin: 0; }
.foot-col h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  margin: 0 0 16px;
}
.foot-col a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  color: rgba(255,255,255,0.65);
  transition: color .2s;
}
.foot-col a:hover { color: var(--leaf); }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
}
.foot-bottom small { color: rgba(255,255,255,0.4); font-size: 12px; }

/* ============== RESPONSIVE ============== */
@media (max-width: 980px) {
  .nav { padding: 12px 20px; }
  .nav-links { display: none; }
  .hero { padding: 40px 20px 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { height: 540px; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .how-grid,
  .benefit-grid,
  .council-grid { grid-template-columns: 1fr; }
  .bin-row { grid-template-columns: repeat(2, 1fr); }
  .scan-grid { grid-template-columns: repeat(4, 1fr); }
  .reward-grid { grid-template-columns: repeat(2, 1fr); }
  .kids-card { grid-template-columns: 1fr; padding: 40px 28px; }
  .download-card { grid-template-columns: 1fr; padding: 0; }
  .download-art { min-height: 220px; }
  .download-copy { padding: 32px 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  h1 { font-size: 38px; }
  .scan-grid { grid-template-columns: repeat(2, 1fr); }
  .reward-grid { grid-template-columns: 1fr; }
  .bin-row { grid-template-columns: 1fr; }
  .hero-trust { flex-wrap: wrap; gap: 12px; }
  .trust-divider { display: none; }
}

/* ============== REVEAL ============== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============== TILT + PARALLAX + SPOTLIGHT ============== */

/* Cards that opt into 3D mouse-tilt need a containing perspective and
   transform-style so their children can sit on the right z-plane. */
[data-tilt] {
  transform-style: preserve-3d;
  /* Lift on hover even before the tilt JS kicks in — degrades nicely without
     JS as a plain hover effect. */
  transition: box-shadow .35s ease, filter .35s ease;
}
[data-tilt]:hover {
  box-shadow: var(--shadow-pop);
}

/* Soft white highlight that follows the cursor across a tilting card. */
.tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .9;
  transition: background .25s ease;
}

/* Pull the image OUT of its card on tilt — gives a sticker-on-glass feel. */
.reward-card { position: relative; overflow: visible; }
.reward-card .reward-art {
  transform: translateZ(40px);
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.reward-card:hover .reward-art { transform: translateZ(60px) scale(1.05); }
.reward-card h3,
.reward-card p,
.reward-card .reward-points { transform: translateZ(20px); }

.step-card { position: relative; }
.step-card .step-illustration { transform: translateZ(30px); transition: transform .4s ease; }
.step-card:hover .step-illustration { transform: translateZ(50px); }
.step-card .step-num { transform: translateZ(45px); }

.bin-card { position: relative; }
.bin-card img { transform: translateZ(28px); transition: transform .35s ease; }
.bin-card:hover img { transform: translateZ(48px) scale(1.08); }

.benefit-card { position: relative; }
.benefit-card > img { transform: translateZ(35px); }

/* Parallax targets need to opt out of layout transforms during their
   inline-style updates — we set will-change so the browser keeps them on
   their own composite layer. */
[data-parallax] { will-change: transform; }

/* Floats in the hero should still float in 3D — give them a clear plane. */
.hero-stage { transform-style: preserve-3d; perspective: 1400px; }
.float { transform-style: preserve-3d; }

/* Hero spotlight — a soft warm radial glow that tracks the cursor. The CSS
   variables --spot-x / --spot-y are written by JS on mousemove. */
.hero { --spot-x: 50%; --spot-y: 40%; }
.hero-spotlight {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background: radial-gradient(
    520px circle at var(--spot-x) var(--spot-y),
    rgba(34, 197, 94, 0.18),
    rgba(34, 197, 94, 0) 60%
  );
  transition: background 240ms ease-out;
  z-index: 0;
  mix-blend-mode: multiply;
}
/* Keep the spotlight behind the actual hero content but above blobs. */
.hero-grid { position: relative; z-index: 2; }
.hero-bg { z-index: 1; }

/* Deeper, more glossy bin card on hover (was just lift before). */
.bin-card {
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease;
}

/* Download skyline image gets a tiny depth treatment so the parallax has
   room to breathe inside the card. */
.download-card { perspective: 1200px; }
.download-art img { transform: translateZ(20px); transition: transform .4s ease; }
.download-card:hover .download-art img { transform: translateZ(36px) scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  [data-parallax] { transform: none !important; }
  .tilt-glare { display: none; }
  .hero-spotlight { display: none; }
}

/* ── Docs grid (pitch deck, whitepaper, one-pager) ──────────────── */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.doc-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px;
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 24px -8px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 220ms ease, box-shadow 240ms ease, border-color 200ms ease;
}
.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -14px rgba(22, 163, 74, 0.28);
  border-color: rgba(22, 163, 74, 0.35);
}
.doc-card-eyebrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.doc-pill {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}
.doc-time {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 700;
}
.doc-card h3 {
  font-size: 19px;
  line-height: 1.22;
  margin: 0;
  letter-spacing: -0.3px;
}
.doc-card p {
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
  flex: 1;
}
.doc-action {
  font-size: 14px;
  font-weight: 800;
  color: #16a34a;
  letter-spacing: -0.1px;
  margin-top: 4px;
}
.doc-card:hover .doc-action { color: #15803d; }

.docs-extra {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
  color: #475569;
}
.docs-extra a {
  color: #16a34a;
  text-decoration: none;
  font-weight: 700;
}
.docs-extra a:hover { text-decoration: underline; }

@media (max-width: 800px) {
  .docs-grid { grid-template-columns: 1fr; gap: 16px; }
  .doc-card { padding: 22px 20px; }
}
