* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brand: #1fbf7b;
  --brand-dark: #169061;
  --bg-hero-bottom: #e9f7ff;
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --radius-lg: 28px;
  --radius: 18px;
  --radius-sm: 12px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro", sans-serif;
  background: #ffffff;
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 32px;
  display: block;
}

.logo-text {
  margin-left: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0em;
}

nav a {
  font-size: 0.9rem;
  margin-left: 18px;
  color: var(--text-muted);
}

nav a:hover {
  color: var(--text-main);
}

/* HERO */
.hero {
  position: relative;
  background: #ffffff;
  padding: 72px 0 120px;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.hero-emoji {
  margin-left: 0.25em;
  height: 1.2em;
  width: auto;
  vertical-align: -0.15em;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 32rem;
}

.hero-free {
  color: #2563eb;
  font-weight: 700;
}

.hero-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-btn {
  display: inline-block;
  transition: transform 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
}

.store-btn img {
  display: block;
  height: 44px;
}

.hero-media {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(31, 191, 123, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 220px;
  height: 480px;
  border-radius: 40px;
  background: #020617;
  box-shadow:
    0 26px 70px rgba(15, 23, 42, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  padding: 6px;
  border: 1px solid #020617;
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.phone-frame:hover {
  transform: rotate(0deg);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 6px;
  border-radius: 999px;
  background: #0b1120;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #000000;
  border: none;
  position: relative;
}

.phone-screen::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000000);
  pointer-events: none;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* GENERIC SECTIONS */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 16px 64px;
}

.section h2 {
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 24px;
}

.section-intro {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.96rem;
  max-width: 40rem;
  margin: 0 auto 28px;
}

/* INDEPENDENCE */
.ind-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: flex-start;
}

.ind-layout-media {
  display: flex;
  justify-content: center;
}

.ind-problem-image {
  max-width: 540px;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.25);
  display: block;
}

.ind-heading {
  text-align: left;
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
}

.accent-text {
  color: var(--brand);
}

.ind-lead {
  color: var(--text-muted);
  font-size: 0.96rem;
  max-width: 32rem;
  margin-bottom: 22px;
}

.ind-steps {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.ind-step {
  font-size: 0.96rem;
  color: var(--text-muted);
}

.ind-step-label {
  font-weight: 600;
  color: var(--brand-dark);
  margin-right: 4px;
}

/* FLOW SECTIONS (How it works) */
.flow-section {
  padding: 72px 16px 80px;
  max-width: 1120px;
  margin: 0 auto;
}

.flow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.flow-layout--reverse .flow-media {
  order: 1;
}

.flow-layout--reverse .flow-copy {
  order: 0;
}

.flow-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 12px;
}

.flow-heading {
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.flow-text {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 30rem;
  margin-bottom: 24px;
  line-height: 1.65;
}

.flow-media {
  display: flex;
  justify-content: center;
}

.flow-illustration {
  max-width: 380px;
  width: 100%;
  height: auto;
  display: block;
}

.flow-media--stacked {
  flex-direction: row;
  gap: 24px;
  align-items: flex-end;
}

.flow-illustration--secondary {
  max-width: 160px;
}

.flow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #ecfdf5;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--brand-dark);
}

.flow-badge-icon {
  width: 20px;
  height: 20px;
}

/* Section 1: Classify */
.flow-classify {
  background: #f5f7f9;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.flow-classify .flow-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Section 2: Steps - with step cards (full-width background) */
.flow-steps {
  background: #ffffff;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.steps-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.steps-visual-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.steps-copy {
  padding-right: 40px;
}

.steps-copy .flow-kicker {
  margin-bottom: 16px;
}

.steps-copy .flow-heading {
  margin-bottom: 20px;
}

.steps-copy .flow-text {
  max-width: 460px;
}

.step-visual {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  cursor: pointer;
}

.step-visual img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.step-visual-label {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Both image and label animate together on parent hover */
.step-visual:hover img {
  transform: scale(1.05);
}

.step-visual:hover .step-visual-label {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
}

.step-visual:active .step-visual-label {
  transform: translateX(2px) scale(0.98);
}

.step-number {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
}

/* Section 3: Alternatives (merged with recommendations) */
.flow-alternatives {
  padding: 80px 0 96px;
  background: #f5f7f9;
}

.alternatives-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.alternatives-copy .flow-text {
  max-width: 460px;
}

.alternative-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fdfb 100%);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: 0 8px 32px rgba(15, 80, 50, 0.08);
  border: 1px solid rgba(31, 191, 123, 0.12);
}

.alternative-feature-icon {
  width: 140px;
  height: auto;
  margin-bottom: 20px;
}

.alternative-feature h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.alternative-feature p {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 280px;
}

/* Featured swap card */
.swap-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fdfb 100%);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: 0 8px 32px rgba(15, 80, 50, 0.08);
  border: 1px solid rgba(31, 191, 123, 0.12);
}

.swap-header {
  margin-bottom: 24px;
}

.swap-badge {
  display: inline-block;
  padding: 5px 12px;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  margin-bottom: 10px;
}

.swap-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.swap-comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.swap-item {
  flex: 1;
  max-width: 180px;
  text-align: center;
}

.swap-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.swap-item--before img {
  opacity: 0.65;
  filter: grayscale(20%);
}

.swap-item--after img {
  border: 3px solid var(--brand);
}

.swap-item-name {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.swap-item-stat {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.swap-arrow {
  color: var(--brand);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.swap-impact {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--brand-dark);
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  margin: 0;
}

/* Section 4: Find Centers */
.flow-centers {
  background: #ffffff;
}

.waste-category-list {
  max-width: 32rem;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.waste-category-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.waste-category-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.waste-category-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Keep the recycle icon sharp and visible; use its original colors */
.waste-category-icon--recycle img {
  filter: none;
}

.waste-category-copy h3 {
  font-size: 0.96rem;
  margin-bottom: 2px;
  color: var(--brand-dark);
}

.waste-category-copy p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ind-cta {
  text-align: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(31, 191, 123, 0.4);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

/* RECOMMENDATIONS */
.recommend {
  padding-top: 56px;
}

.recommend-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* New tea layout for recommendations */
.recommend-tea-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.recommend-tea-item h3 {
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 6px;
}

.recommend-tea-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.recommend-tea-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  display: block;
}

.recommend-tea-caption {
  margin-top: 8px;
  font-size: 0.9rem;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
}

.recommend-switch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.recommend-switch-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  text-align: center;
  font-weight: 500;
}

.recommend-switch-arrow {
  font-size: 1.4rem;
  color: var(--text-muted);
}

.rec-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  padding: 18px 18px 20px;
  font-size: 0.9rem;
}

.rec-card--before {
  transform: rotate(-5deg);
}

.rec-card--after {
  transform: rotate(4deg);
}

.rec-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.rec-status--bad {
  background: #fee2e2;
  color: #b91c1c;
}

.rec-status--good {
  background: #dcfce7;
  color: #15803d;
}

.rec-body h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.rec-body p {
  color: var(--text-muted);
}

.rec-arrow {
  font-size: 2rem;
  text-align: center;
  color: var(--text-muted);
}

/* IMPACT BANNER */
.impact-banner {
  padding: 56px 16px 72px;
  text-align: center;
  background: #ecfdf3;
}

.impact-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.impact-banner h2 {
  font-size: 1.9rem;
  margin-bottom: 16px;
}

/* FOOTER */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
}

.footer-top {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 16px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

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

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 32px;
  display: block;
}

.footer-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.footer-links {
  display: flex;
  gap: 40px;
  font-size: 0.88rem;
}

.footer-column h4 {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.footer-column a {
  display: block;
  color: var(--text-muted);
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding: 10px 16px 18px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* LEGAL PAGES */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-content h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text-main);
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-main);
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--text-main);
  font-weight: 600;
}

.legal-content a {
  color: var(--brand);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--brand-dark);
}

.legal-warning {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
}

.legal-warning p {
  margin: 0;
  color: #92400e;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.legal-back:hover {
  color: var(--brand);
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--brand);
}

.footer-legal span {
  color: #d1d5db;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { display: none; }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

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

  .hero-media {
    order: -1;
    margin-bottom: 20px;
  }

  .independence-grid,
  .recommend-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .rec-card--before,
  .rec-card--after {
    transform: none;
  }

  .recommend-cards {
    row-gap: 16px;
  }

  .rec-arrow {
    display: none;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .ind-layout {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }

  .ind-layout-media {
    justify-content: center;
  }

  /* Flow sections responsive */
  .flow-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .flow-layout--reverse .flow-media,
  .flow-layout--reverse .flow-copy {
    order: unset;
  }

  .flow-media {
    order: -1;
  }

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

  .flow-text {
    margin-left: auto;
    margin-right: auto;
  }

  .flow-badge {
    justify-content: center;
  }

  .flow-illustration {
    max-width: 280px;
  }

  .steps-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .steps-copy {
    padding-right: 0;
    order: -1;
  }

  .steps-copy .flow-text {
    margin: 0 auto;
  }

  .steps-visual-list {
    gap: 32px;
    max-width: 300px;
    margin: 0 auto;
  }

  .step-visual {
    flex-direction: column;
    text-align: center;
  }

  .step-visual img {
    width: 120px;
    height: 120px;
  }

  /* Alternatives responsive */
  .alternatives-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .alternatives-copy .flow-text {
    margin: 0 auto;
  }

  .swap-comparison {
    flex-direction: column;
    gap: 16px;
  }

  .swap-arrow {
    transform: rotate(90deg);
  }

  .swap-item {
    max-width: 160px;
  }
}
