/* ─── WHY.CSS — styles specific to why.html ─── */
/* Overrides and additions scoped under .why-page body class */

/* ─── NAV (why-specific controls) ─── */
.why-page .nav-concerns {
  font-size: .82rem; font-weight: 600; color: var(--text-2);
  display: flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: 100px;
  border: 1px solid var(--border); text-decoration: none;
  transition: all .15s;
}
.why-page .nav-concerns:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-l); }
.why-page .nav-back {
  font-size: .82rem; font-weight: 600; color: var(--text-2);
  display: flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: 100px;
  border: 1px solid var(--border); text-decoration: none;
  transition: all .15s;
}
.why-page .nav-back:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-l); }
@media (max-width: 600px) {
  .why-page .nav-concerns { display: none; }
  .why-page .nav-back-text { display: none; }
  .why-page .nav-back { padding: 7px 11px; }
}

/* ─── HERO ─── */
.why-page .hero {
  background: var(--white);
  padding: 80px 24px 64px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
/* Override home's hero-inner grid layout */
.why-page .hero .hero-inner {
  max-width: 800px; margin: 0 auto;
  display: block; grid-template-columns: none;
}
.why-page .hero .hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
  margin-bottom: 24px;
}
.why-page .hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700; letter-spacing: -.03em;
  line-height: 1.1; color: var(--text);
  margin-bottom: 20px;
}
.why-page .hero h1 em { font-style: normal; color: var(--blue); }
.why-page .hero .hero-sub {
  font-size: 1.1rem; color: var(--text-2);
  line-height: 1.75; max-width: 620px;
  margin: 0 auto 36px;
}
.why-page .hero-cta {
  padding: 13px 28px; border-radius: var(--r);
  background: var(--blue); color: white;
  font-size: .95rem; font-weight: 600;
  font-family: var(--font); border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(35,64,234,.35);
  transition: all .15s;
}
.why-page .hero-cta:hover {
  background: var(--blue-d);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(35,64,234,.4);
}
@media (max-width: 600px) {
  .why-page .hero { padding: 52px 20px 48px; }
  .why-page .section { padding: 52px 0; }
}

/* ─── EYEBROW (why uses .eyebrow, home uses .section-eyebrow) ─── */
.why-page .eyebrow {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
}

/* ─── REVEAL DELAYS d1–d4 ─── */
.why-page .reveal.d1 { transition-delay: .08s; }
.why-page .reveal.d2 { transition-delay: .18s; }
.why-page .reveal.d3 { transition-delay: .28s; }
.why-page .reveal.d4 { transition-delay: .38s; }

/* ─── TWO-COL: prefer center alignment in why ─── */
.why-page .two-col { align-items: center; gap: 56px; }
@media (max-width: 800px) { .why-page .two-col { gap: 32px; } }

/* ─── CTA: narrower inner for why ─── */
.why-page .cta-inner { max-width: 640px; }

/* ─── STAT CARDS ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px; margin-top: 40px;
}
.stat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.stat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.stat-num {
  font-size: 2.4rem; font-weight: 700;
  letter-spacing: -.04em; line-height: 1;
  color: var(--blue); margin-bottom: 8px;
}
.stat-num.red   { color: var(--red); }
.stat-num.green { color: var(--verdure); }
.stat-label  { font-size: .875rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.stat-source { font-size: .75rem; color: var(--text-3); }

/* ─── GAP VISUAL ─── */
.gap-visual {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 40px;
  margin-top: 40px; text-align: center;
  box-shadow: var(--shadow);
}
.gap-bar-wrap { margin: 28px auto; max-width: 600px; }
.gap-bar-label {
  display: flex; justify-content: space-between;
  font-size: .8rem; font-weight: 600; margin-bottom: 8px;
}
.gap-bar {
  height: 48px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border);
  overflow: hidden; position: relative;
}
.gap-bar-fill {
  height: 100%; border-radius: 100px;
  background: linear-gradient(90deg, var(--blue), #60a5fa);
  transition: width 1.5s cubic-bezier(.34,1.1,.64,1);
  width: 0%;
}
.gap-bar-fill.animated { width: var(--target-w); }
.gap-bar-text {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: .8rem; font-weight: 700; color: var(--text-3);
}
.gap-note { font-size: .875rem; color: var(--text-2); margin-top: 16px; line-height: 1.6; }
.gap-note strong { color: var(--red); font-weight: 700; }

/* ─── PROBLEM CARDS ─── */
.problem-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px; margin-top: 40px;
}
.problem-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid transparent;
  transition: all .2s;
}
.problem-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.problem-card.p-red   { border-left-color: var(--red); }
.problem-card.p-amber { border-left-color: var(--yellow); }
.problem-card.p-blue  { border-left-color: var(--blue); }
.problem-icon { font-size: 1.8rem; margin-bottom: 14px; }
.problem-h { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.problem-p { font-size: .875rem; color: var(--text-2); line-height: 1.7; }

/* ─── VS LIST (before/after) ─── */
.vs-list { margin-top: 32px; }
.vs-item {
  display: flex; gap: 20px; padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.vs-item:last-child { border-bottom: none; }
.vs-before {
  flex: 1; padding: 14px 18px;
  background: #fff8f8; border: 1px solid #fecaca;
  border-radius: var(--r); font-size: .875rem;
  color: var(--text-2); line-height: 1.65;
}
.vs-after {
  flex: 1; padding: 14px 18px;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: var(--r); font-size: .875rem;
  color: var(--text-2); line-height: 1.65;
}
.vs-label {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 6px;
}
.vs-label.before { color: var(--red); }
.vs-label.after  { color: var(--verdure); }
.vs-arrow { color: var(--text-3); font-size: 1.1rem; margin-top: 18px; flex-shrink: 0; }

/* ─── AUDIENCE CARDS ─── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px; margin-top: 40px;
}
.audience-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px 22px;
  box-shadow: var(--shadow); transition: all .2s;
}
.audience-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.audience-emoji { font-size: 2rem; margin-bottom: 12px; }
.audience-h { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.audience-p { font-size: .84rem; color: var(--text-2); line-height: 1.65; }
.audience-tag {
  display: inline-block; margin-top: 12px;
  padding: 3px 10px; border-radius: 100px;
  font-size: .72rem; font-weight: 600;
  background: var(--blue-l); color: var(--blue);
  border: 1px solid var(--blue-l2);
}

/* ─── MARKET CARDS — why uses 3-col with year/num/desc ─── */
.why-page .market-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 32px; align-items: center;
}
@media (max-width: 720px) { .why-page .market-cards { grid-template-columns: 1fr; } }
.why-page .market-card { text-align: center; }
.market-year { font-size: .8rem; font-weight: 700; color: var(--text-3); margin-bottom: 8px; }
.market-num  { font-size: 2rem; font-weight: 700; letter-spacing: -.03em; color: var(--blue); }
.market-desc { font-size: .8rem; color: var(--text-2); margin-top: 6px; }

/* ─── SOLUTION STEPS ─── */
.solution-steps { margin-top: 40px; }
/* Override main.css .step-num (which is decorative large number) */
.why-page .solution-steps .step-num {
  position: static;
  width: 36px; height: 36px; min-width: 36px;
  border-radius: 50%;
  background: var(--blue); color: white;
  font-size: .85rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; line-height: 1;
}
.why-page .solution-steps .step {
  display: flex; gap: 24px; padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.why-page .solution-steps .step:last-child { border-bottom: none; }
.why-page .solution-steps .step-h {
  font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--text);
}
.why-page .solution-steps .step-p {
  font-size: .875rem; color: var(--text-2); line-height: 1.7;
}

/* ─── CTA BUTTON ─── */
.cta-btn {
  padding: 12px 24px; border-radius: var(--r);
  background: var(--white); color: var(--blue);
  font-size: .95rem; font-weight: 700;
  font-family: var(--font); border: none; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  transition: all .15s;
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.22); }

/* ─── PULLQUOTE ─── */
.pullquote {
  border-left: 4px solid var(--blue);
  padding: 16px 24px; margin: 32px 0;
  background: var(--blue-l);
  border-radius: 0 var(--r) var(--r) 0;
}
.pullquote p { font-size: 1.1rem; font-weight: 600; color: var(--text); line-height: 1.6; }
.pullquote cite { font-size: .78rem; color: var(--text-2); font-style: normal; margin-top: 8px; display: block; }

/* ─── CONCERN CARDS ─── */
.concern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px; margin-top: 40px;
}
.concern-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.concern-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.concern-header {
  padding: 20px 22px 14px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 12px;
}
.concern-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.concern-q { font-size: .9rem; font-weight: 700; color: var(--text); line-height: 1.4; }
.concern-q-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 4px;
}
.concern-body { padding: 16px 22px 20px; }
.concern-a { font-size: .875rem; color: var(--text-2); line-height: 1.75; margin-bottom: 12px; }
.concern-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 100px;
  font-size: .72rem; font-weight: 700;
  background: #f0fdf4; color: var(--verdure);
  border: 1px solid #bbf7d0;
}
.concern-tag::before { content: '✓'; }

/* ─── TOAST (why page) ─── */
.why-page .toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(60px);
  background: var(--text); color: white;
  border-radius: var(--r); padding: 12px 20px;
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; font-weight: 500;
  box-shadow: var(--shadow-lg); z-index: 999;
  opacity: 0; transition: all .35s cubic-bezier(.34,1.56,.64,1);
}
.why-page .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
