/* Shared chrome for About / Legal / Methodology static pages — mirrors cashflow-navigator Footer + page heroes. */

:root {
  --sp-bg: #020617;
  --sp-panel: #0f172a;
  --sp-border: rgba(255, 255, 255, 0.05);
  --sp-text: #e2e8f0;
  --sp-muted: #94a3b8;
  --sp-faint: #64748b;
  --sp-emerald: #34d399;
  --sp-teal: #2dd4bf;
  --sp-cyan: #22d3ee;
}

body.site-page,
body.site-page * {
  box-sizing: border-box;
}

body.site-page {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #0f172a;
  background: #ffffff;
  line-height: 1.65;
}

body.site-page a,
.site-footer a {
  color: inherit;
}

.site-topnav {
  background: var(--sp-bg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--sp-border);
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .site-topnav {
    padding: 20px 40px;
  }
}

.site-topnav-brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  background: linear-gradient(90deg, #34d399, #2dd4bf, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-topnav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 640px) {
  .site-topnav-links {
    position: static;
    transform: none;
    gap: 16px;
  }
}

.site-topnav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(90deg, #6ee7b7, #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.site-topnav-links a:hover {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
}

.site-page-hero {
  background: var(--sp-bg);
  position: relative;
  overflow: hidden;
}

.site-page-hero-glow {
  position: absolute;
  top: 0;
  width: 500px;
  height: 340px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.1);
  filter: blur(64px);
  pointer-events: none;
}

.site-page-hero-glow-left {
  left: 25%;
  width: 600px;
  height: 400px;
}

.site-page-hero-glow-right {
  right: 25%;
}

.site-page-hero-inner {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  padding: 64px 24px 72px;
}

@media (min-width: 768px) {
  .site-page-hero-inner {
    padding: 80px 24px 96px;
  }
}

.site-page-kicker {
  margin: 0 0 16px;
  color: var(--sp-emerald);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-page-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.site-page-hero-accent {
  background: linear-gradient(90deg, #34d399, #2dd4bf, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-page-hero-lead {
  margin: 24px 0 0;
  max-width: 42rem;
  color: #cbd5e1;
  font-size: 1.125rem;
  line-height: 1.7;
}

.site-page-hero-meta {
  margin: 16px 0 0;
  color: #64748b;
  font-size: 0.875rem;
}

.site-footer {
  background: #020617;
  padding: 56px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
}

.site-footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 24px;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .site-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer-brand {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  background: linear-gradient(90deg, #34d399, #2dd4bf, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-footer-blurb {
  margin: 12px 0 0;
  max-width: 20rem;
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.65;
}

.site-footer-heading {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer-list a,
.site-footer-button {
  color: #94a3b8;
  font-size: 0.875rem;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.site-footer-list a:hover,
.site-footer-button:hover {
  color: #ffffff;
}

.site-footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer-disclaimer {
  margin: 0;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.65;
}

.site-footer-copy {
  margin: 12px 0 0;
  color: #475569;
  font-size: 0.75rem;
}

.site-footer-copy a {
  color: #64748b;
  text-decoration: underline;
}

.site-footer-copy a:hover {
  color: #94a3b8;
}

/* About content */
.about-mission {
  max-width: 56rem;
  margin: 0 auto;
  padding: 64px 24px;
}

@media (min-width: 768px) {
  .about-mission {
    padding: 80px 24px;
  }
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 768px) {
  .about-mission-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.about-mission h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.about-mission-copy {
  display: grid;
  gap: 16px;
  color: #475569;
}

.about-mission-copy p {
  margin: 0;
}

.about-values {
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.about-values-inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 64px 24px;
}

@media (min-width: 768px) {
  .about-values-inner {
    padding: 80px 24px;
  }
}

.about-values h2 {
  margin: 0 0 40px;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: #0f172a;
}

.about-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .about-values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-value-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.about-value-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.about-value-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.about-value-card p {
  margin: 0;
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.65;
}

.about-how {
  max-width: 56rem;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

@media (min-width: 768px) {
  .about-how {
    padding: 80px 24px 96px;
  }
}

.about-how h2 {
  margin: 0 0 32px;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: #0f172a;
}

.about-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.about-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-steps p {
  margin: 4px 0 0;
  color: #475569;
}

.about-cta-row {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.about-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, #059669 0%, #0d9488 60%, #0891b2 100%);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.25);
}

.about-cta-primary:hover {
  transform: scale(1.03);
}

.about-cta-secondary {
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.about-cta-secondary:hover {
  color: #0f172a;
}

.about-contact {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.9375rem;
}

.about-contact a {
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
}

.about-contact a:hover {
  text-decoration: underline;
}

/* Legal content */
.legal-layout {
  max-width: 64rem;
  margin: 0 auto;
  padding: 56px 24px 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .legal-layout {
    grid-template-columns: 200px 1fr;
    gap: 56px;
    padding: 64px 24px 80px;
  }
}

.legal-toc {
  order: 2;
}

@media (min-width: 1024px) {
  .legal-toc {
    order: 1;
    position: sticky;
    top: 32px;
    align-self: start;
  }
}

.legal-toc-label {
  margin: 0 0 12px;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-toc ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 16px;
  border-left: 1px solid #e2e8f0;
  display: grid;
  gap: 8px;
}

.legal-toc a {
  color: #64748b;
  font-size: 0.875rem;
  text-decoration: none;
}

.legal-toc a:hover {
  color: #047857;
}

.legal-sections {
  order: 1;
  display: grid;
  gap: 56px;
}

@media (min-width: 1024px) {
  .legal-sections {
    order: 2;
  }
}

.legal-section {
  scroll-margin-top: 32px;
}

.legal-section h2 {
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: #0f172a;
}

.legal-block {
  margin-bottom: 24px;
}

.legal-block:last-child {
  margin-bottom: 0;
}

.legal-block h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-block p,
.legal-block ul {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

.legal-block ul {
  padding-left: 1.2rem;
}

.legal-block li {
  margin: 6px 0;
}

.legal-footnote {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  color: #94a3b8;
  font-size: 0.75rem;
  line-height: 1.65;
}

.legal-section ol,
.legal-section ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #475569;
}

.legal-section > p {
  margin: 0 0 16px;
  color: #475569;
  line-height: 1.7;
}
