/* Why page — matches landing page scale and feel */

/* Hero — centered, massive */
.why-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 120px clamp(24px, 6vw, 120px) 80px;
}

.why-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 900px;
  text-wrap: balance;
}

.why-sub {
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--text-tertiary);
}

/* Sections — full-width like landing */
.why-section {
  padding: 80px clamp(24px, 6vw, 120px);
  width: 100%;
}

.why-heading {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  text-align: center;
  text-wrap: balance;
}

.why-body {
  font-size: clamp(13px, 1.5vw, 16px);
  color: var(--text-tertiary);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 24px;
  text-align: center;
}

.why-note {
  font-size: 12px;
  color: var(--text-quaternary);
  margin-top: 20px;
  text-align: center;
}

/* Pipeline steps */
.pipeline-steps {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 24px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.pipeline-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 5px;
}

.step-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-quaternary);
}

.step-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-quaternary);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.step-text {
  font-size: 14px;
  color: var(--text-secondary);
}

.pipeline-jd li {
  background: rgba(255, 255, 255, 0.06);
}

.pipeline-jd .step-icon { color: var(--text-secondary); }
.pipeline-jd .step-text { color: var(--text-primary); font-weight: 500; }

/* Quotes */
.quote-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-quote {
  padding: clamp(20px, 5cqi, 36px);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.why-quote .quote-icon {
  width: 20px;
  height: 20px;
  color: var(--text-quaternary);
  margin-bottom: 10px;
}

.why-quote p {
  font-size: clamp(14px, 1.5vw, 17px);
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 10px;
}

.why-quote cite {
  font-size: 11px;
  color: var(--text-quaternary);
  font-style: normal;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  -webkit-overflow-scrolling: touch;
}

.why-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  white-space: nowrap;
}

.why-table th {
  text-align: left;
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-quaternary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.why-table td {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
}

.why-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.cell-yes { color: var(--text-primary); }
.cell-no { color: var(--text-quaternary); }
.cell-partial { color: var(--text-tertiary); }

.row-justdraw td {
  color: var(--text-primary);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
}

/* Stat grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.stat-card {
  padding: clamp(20px, 5cqi, 36px);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-icon {
  width: 20px;
  height: 20px;
  color: var(--text-quaternary);
}

.stat-value {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.stat-label {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.45;
}

/* Auto grid (what happens after save) */
.auto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.auto-item {
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--text-secondary);
  padding: clamp(16px, 4cqi, 28px);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.45;
}

.auto-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--text-tertiary);
}

/* Source of truth — pull-quote style matching landing */
.why-thesis {
  padding: 100px clamp(24px, 6vw, 120px);
  text-align: center;
}

.why-thesis-text {
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-secondary);
  max-width: 1000px;
  margin: 0 auto;
  text-wrap: balance;
}

/* Responsive */
@media (max-width: 900px) {
  .auto-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .stat-grid { grid-template-columns: 1fr; }
  .auto-grid { grid-template-columns: 1fr; }
  .quote-stack { grid-template-columns: 1fr; }
  .why-hero { padding-top: 80px; }
}
