/* ============================================================
   MenuMetric — Legal & About Pages Shared CSS
   Used by: about-us, privacy-policy, terms, contact, etc.
   ============================================================ */

/* ── Base ── */
.page-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.page-wrap-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ── Page Hero ── */
.page-hero {
  padding: 72px 0 56px;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 64px;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.1;
  color: #0f172a;
  margin-bottom: 20px;
}

.page-hero h1 span {
  color: #2563eb;
}

.page-hero-lead {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 32px;
}

.page-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #94a3b8;
}

.page-hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Section ── */
.page-section {
  margin-bottom: 72px;
}

.page-section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 10px;
}

.page-section h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #0f172a;
  margin-bottom: 16px;
  line-height: 1.2;
}

.page-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  margin-top: 28px;
}

.page-section p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-section p:last-child {
  margin-bottom: 0;
}

.page-section a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-section a:hover {
  color: #1d4ed8;
}

/* ── Stats Strip ── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #e2e8f0;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 72px;
}

.stats-strip-item {
  background: #fff;
  padding: 32px 24px;
  text-align: center;
}

.stats-strip-val {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -.04em;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 8px;
}

.stats-strip-val span {
  color: #2563eb;
}

.stats-strip-lbl {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

/* ── Feature Grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.feature-card {
  padding: 28px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  transition: all .2s;
}

.feature-card:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  border-color: #bfdbfe;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: .875rem;
  color: #64748b;
  line-height: 1.7;
}

/* ── Mission Block ── */
.mission-block {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  border-radius: 20px;
  padding: 56px 48px;
  color: #fff;
  margin-bottom: 72px;
  position: relative;
  overflow: hidden;
}

.mission-block::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 32px;
  font-size: 200px;
  font-weight: 900;
  color: rgba(255,255,255,.04);
  line-height: 1;
  font-family: Georgia, serif;
}

.mission-quote {
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
  position: relative;
  max-width: 700px;
}

.mission-quote em {
  color: #60a5fa;
  font-style: normal;
}

.mission-attribution {
  font-size: 14px;
  color: #94a3b8;
}

/* ── Methodology Steps ── */
.method-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
}

.method-step {
  display: flex;
  gap: 24px;
  padding: 28px 32px;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
  transition: background .2s;
}

.method-step:last-child {
  border-bottom: none;
}

.method-step:hover {
  background: #f8fafc;
}

.method-step-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-step-content {}

.method-step-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.method-step-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
}

/* ── Values Grid ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.value-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.value-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  flex-shrink: 0;
}

.value-content {}

.value-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.value-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
}

/* ── Commitment Box ── */
.commitment-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  padding: 36px 40px;
  margin-top: 32px;
}

.commitment-box h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 12px;
  margin-top: 0;
}

.commitment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.commitment-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #166534;
  line-height: 1.6;
}

.commitment-list li::before {
  content: '✓';
  font-weight: 700;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Divider ── */
.page-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 64px 0;
}

/* ── CTA Block ── */
.page-cta {
  background: linear-gradient(135deg, #eff6ff 0%, #faf5ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  margin-bottom: 72px;
}

.page-cta h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #0f172a;
  margin-bottom: 12px;
}

.page-cta p {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.page-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary-lg {
  padding: 13px 28px;
  background: #2563eb;
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-lg:hover {
  background: #1d4ed8;
  color: #fff;
}

.btn-outline-lg {
  padding: 13px 28px;
  background: #fff;
  color: #374151;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-lg:hover {
  border-color: #2563eb;
  color: #2563eb;
}

/* ── Legal page specific ── */
.legal-toc {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 48px;
}

.legal-toc-title {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}

.legal-toc ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-toc li {
  font-size: 14px;
  color: #374151;
}

.legal-toc a {
  color: #2563eb;
  text-decoration: none;
}

.legal-toc a:hover {
  text-decoration: underline;
}

.legal-last-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 32px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .page-hero h1 { font-size: 2rem; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .mission-block { padding: 36px 28px; }
  .mission-quote { font-size: 1.25rem; }
  .page-cta { padding: 32px 24px; }
  .method-step { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 1.625rem; }
  .page-hero-lead { font-size: 1rem; }
}