/* "Why Good Bugs" page — layout only. Reuses styles.css tokens/classes
   (--forest, --cream, --mango, .wrap, .btn, .section-head, .card, etc.)
   without editing that file. */

.why-hero { padding-top: 64px; padding-bottom: 96px; display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.why-hero h1 { font-weight: 800; font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -0.03em; max-width: 900px; }
.why-hero .lede { font-size: 22px; max-width: 620px; }
.why-hero-image { position: relative; width: 100%; max-width: 720px; margin-top: 8px; }
.why-hero-image > img:first-child,
.why-hero-image picture img { width: 100%; height: auto; border-radius: 28px; display: block; }
.why-sticker-bl { left: -56px; bottom: -40px; width: 130px; transform: rotate(-10deg); }
.why-sticker-tr { right: -50px; top: -44px; width: 120px; transform: rotate(10deg); }

@media (max-width: 640px) {
  .why-sticker-bl { left: -8px; bottom: -24px; width: 76px; }
  .why-sticker-tr { right: -8px; top: -24px; width: 70px; }
}

.why-problem { padding-top: 96px; padding-bottom: 96px; }
.why-problem-inner { display: flex; align-items: center; gap: 64px; }
.why-problem-art { width: 260px; flex-shrink: 0; }
.why-problem-art img { width: 100%; height: auto; }
.why-problem-copy h2 { font-weight: 800; font-size: clamp(36px, 4.5vw, 52px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 20px; }
.why-problem-copy p { font-size: 18px; line-height: 1.6; color: var(--text); max-width: 560px; }
.why-problem-copy p + p { margin-top: 14px; }

/* Comparison table */
.why-compare { background: var(--sand); padding: 96px 0; }
.compare-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 0; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.compare-row, .compare-row-alt { display: contents; }
.compare-cell { padding: 20px 18px; font-size: 15px; display: flex; align-items: center; }
.compare-head { font-family: var(--display); font-weight: 800; font-size: 17px; padding: 22px 18px; }
.compare-row-label { color: var(--forest-ink); font-weight: 700; background: #fff; }
.compare-row-alt .compare-cell:not(.compare-good) { background: #FBF6E9; }
.compare-yes, .compare-no { justify-content: center; text-align: center; font-weight: 700; }
.compare-yes { color: var(--forest); }
.compare-no { color: #B0A48C; }
.compare-good { background: var(--forest); color: var(--cream); }
.compare-good.compare-head { background: var(--forest); color: var(--cream); }
.compare-good .compare-yes { color: var(--mango-soft); }

@media (max-width: 900px) {
  .compare-grid { grid-template-columns: 1fr; border-radius: 20px; }
  .compare-head:not(.compare-row-label) { display: none; }
  .compare-row-label { grid-column: 1; background: var(--sand); font-size: 15px; padding: 18px 18px 4px; border-top: 1px solid #EFE6CE; }
  .compare-row:first-of-type .compare-row-label, .compare-row-alt:first-of-type .compare-row-label { border-top: none; }
  .compare-cell:not(.compare-row-label) { justify-content: flex-start; gap: 8px; font-size: 15px; padding-top: 4px; padding-bottom: 4px; }
  .compare-cell:not(.compare-row-label)::before { content: attr(data-col) ': '; font-weight: 700; margin-right: 2px; }
  .compare-good { padding-bottom: 14px; }
}

/* Founder story */
.why-founder { padding: 96px 0; }
.founder-inner { display: flex; align-items: center; gap: 64px; }
.founder-art { width: 220px; flex-shrink: 0; }
.founder-art img { width: 100%; height: auto; }
.founder-copy h2 { font-weight: 800; font-size: clamp(36px, 4.5vw, 52px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 20px; max-width: 560px; }
.founder-copy p { font-size: 19px; line-height: 1.65; color: var(--text); max-width: 580px; }
.founder-copy p + p { margin-top: 16px; }

/* Meet the bugs */
.why-bugs { background: var(--forest); padding: 96px 0; }
.why-bugs .section-head h2, .why-bugs .section-head p { color: var(--cream); }
.why-bugs .section-head p { opacity: .85; }
.bug-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.bug-card { background: var(--cream); border-radius: 24px; padding: 28px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bug-card img { height: 120px; width: auto; }
.bug-card h3 { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--forest); }
.bug-card p { font-size: 14px; color: var(--text); }

/* CTA */
.why-cta-wrap { padding: 96px 0 120px; text-align: center; }
.why-cta-wrap h2 { font-weight: 800; font-size: clamp(36px, 5vw, 56px); margin-bottom: 20px; }
.why-cta-wrap p { font-size: 18px; color: var(--text); max-width: 480px; margin: 0 auto 32px; }

@media (max-width: 900px) {
  .why-problem-inner, .founder-inner { flex-direction: column; text-align: center; gap: 32px; }
  .why-problem-art, .founder-art { width: 180px; }
  .bug-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .why-hero { padding-top: 32px; padding-bottom: 56px; gap: 28px; }
  .why-problem, .why-founder { padding: 56px 0; }
  .why-compare, .why-bugs { padding: 56px 0; }
  .why-cta-wrap { padding: 56px 0 80px; }
  .bug-grid { grid-template-columns: 1fr; }
}
