/* -- TaskStat Header -- */
:root {
  --earth-bark:     rgb(74, 52, 38);   /* deepest brown — body text, borders */
  --earth-soil:     rgb(45, 31, 18);   /* near-black soil — headings */
  --earth-stone:    rgb(107, 93, 82);  /* warm grey text */
  --earth-sand:     rgb(245, 241, 232);/* page background / cream */
  --earth-dune:     rgb(232, 220, 200);/* secondary background */
  --earth-tan:      rgb(201, 184, 154);/* tertiary / code bg */
  --earth-mist:     rgb(180, 168, 156);/* warm light neutral — muted text on dark surfaces */
  --earth-bark-raise: rgb(94, 68, 50); /* half-step lighter than earth-bark — dark elevation step */

  --trail-moss:     rgb(90, 107, 79);  /* muted forest green */
  --trail-sage:     rgb(134, 169, 148);/* lighter sage accent */
  --trail-clay:     rgb(211, 95, 61);  /* burnt orange / trail marker */
  --trail-ember:    rgb(179, 74, 45);  /* deeper clay — primary button */
  --trail-rust:     rgb(155, 42, 32);  /* brick red — error/danger (light) */
  --trail-rust-light: rgb(224, 108, 90); /* lightened rust — error/danger (dark) */

  --earth-stone-light: rgb(150, 138, 128); /* lightened stone — muted text on dark surfaces */

  --ink-pure:       rgb(0, 0, 0);
  --paper-pure:     rgb(255, 255, 255);
}
@media (prefers-color-scheme: dark) {
  :root {
  --earth-bark:     rgb(74, 52, 38);   /* deepest brown — body text, borders */
  --earth-soil:     rgb(45, 31, 18);   /* near-black soil — headings */
  --earth-stone:    rgb(107, 93, 82);  /* warm grey text */
  --earth-sand:     rgb(245, 241, 232);/* page background / cream */
  --earth-dune:     rgb(232, 220, 200);/* secondary background */
  --earth-tan:      rgb(201, 184, 154);/* tertiary / code bg */
  --earth-mist:     rgb(180, 168, 156);/* warm light neutral — muted text on dark surfaces */
  --earth-bark-raise: rgb(94, 68, 50); /* half-step lighter than earth-bark — dark elevation step */

  --trail-moss:     rgb(90, 107, 79);  /* muted forest green */
  --trail-sage:     rgb(134, 169, 148);/* lighter sage accent */
  --trail-clay:     rgb(211, 95, 61);  /* burnt orange / trail marker */
  --trail-ember:    rgb(179, 74, 45);  /* deeper clay — primary button */
  --trail-rust:     rgb(155, 42, 32);  /* brick red — error/danger (light) */
  --trail-rust-light: rgb(224, 108, 90); /* lightened rust — error/danger (dark) */

  --earth-stone-light: rgb(150, 138, 128); /* lightened stone — muted text on dark surfaces */

  --ink-pure:       rgb(0, 0, 0);
  --paper-pure:     rgb(255, 255, 255);
  }
}
body {
  background: var(--earth-sand);
  color: var(--ink-pure) !important;
}
.page-taskstat {
  background-color: rgb(245, 241, 232) !important;
}
.page-taskstat a {
  color: rgb(179, 74, 45) !important;
}
.page-taskstat a:hover {
  color: rgba(179, 74, 45, 0.75) !important;
}
.page-taskstat .hero-headline em {
  color: rgb(179, 74, 45);
}
.contact-card {
  background: var(--earth-sand);
}

.contact-card a.btn-email {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--trail-ember);
  color: var(--white) !important;
  text-decoration: none;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: background var(--duration) var(--ease);
}

.contact-card a.btn-email:hover {
  background: var(--trail-rust);
}

.hero-eyebrow {
  color: var(--earth-sand);
  background: var(--earth-soil);
}
.hero-headline {
  color: var(--earth-soil);
}

.features {
  background: var(--earth-soil);
}
.feature-icon {
  background: var(--earth-sand);
}
.feature-card {
  background: var(--earth-stone);
}
.feature-title {
  color: var(--earth-sand);
}
.feature-description {
  color: var(--earth-sand);
}
.section-headline {
  color: var(--earth-mist);
}
.section-label {
  color: var(--trail-ember);
}
.privacy-callout {
  color: var(--earth-sand);
  background: var(--ink-pure);
}
.privacy-callout-label {
  color: var(--trail-ember);
}
.privacy-pillar {
  background: var(--earth-bark);
}

.site-header--taskstat {
  background: rgba(90, 107, 79, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header--taskstat .nav-brand {
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: var(--text-xl);
}

.site-header--taskstat .nav-brand:hover {
  color: var(--gray-300);
}

.site-header--taskstat .nav-links a {
  color: var(--white);
}

.site-header--taskstat .nav-links a:hover {
  color: rgba(255, 255, 255, 0.75);
}
/* ── Prose ─────────────────────────────────────────────────── */
.prose h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-pure);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--earth-tan);
}

.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.prose p {
  color: var(--earth-bark);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.prose ul {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.prose ul li {
  color: var(--earth-bark);
  line-height: 1.6;
}

.prose strong {
  color: var(--earth-soil);
  font-weight: 600;
}

.prose a {
  color: var(--trail-ember);
}
.faq-question {
  color: var(--earth-soil);
}
