:root {
  --brand-midnight: #1e293b;
  --brand-ocean: #0369a1;
  --brand-emerald: #059669;
  --ui-canvas: #f8fafc;
  --text-muted: #64748b;
  --gradient-primary: linear-gradient(135deg, var(--brand-ocean) 0%, var(--brand-emerald) 100%);
  --font-accent: 'Oswald', sans-serif;
  --font-base: 'Inter', sans-serif;
}

body {
  font-family: var(--font-base);
  color: var(--brand-midnight);
  background-color: var(--ui-canvas);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-accent);
}

/* Custom Semantic Wrappers */
.vitality-header-wrap {
  background-color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}

.wellness-intro-space {
  padding: 5rem 1rem;
  color: #ffffff;
  position: relative;
}

.wellness-intro-space::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(30, 41, 59, 0.7);
  z-index: -1;
}

.habit-matrix-section {
  padding: 4rem 1rem;
  background-color: #ffffff;
}

.activity-blueprint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.core-module-box {
  background: var(--ui-canvas);
  border-left: 4px solid var(--brand-emerald);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.step-evolution-path {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.evolution-node {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.node-indicator {
  background: var(--gradient-primary);
  color: white;
  font-family: var(--font-accent);
  font-size: 1.5rem;
  min-width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
}

.legal-document-wrapper {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  flex-grow: 1;
}

/* Footer Semantic */
.foundation-footer {
  background-color: var(--brand-midnight);
  color: #ffffff;
  padding: 3rem 1rem 1.5rem;
  margin-top: auto;
}

/* Custom Numbered List for Reserve Page */
.insight-roster {
  list-style-type: none;
  counter-reset: insight-counter;
  padding-left: 0;
  margin-top: 1rem;
}

.insight-roster li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.insight-roster li::before {
  counter-increment: insight-counter;
  content: counter(insight-counter);
  position: absolute;
  left: 0;
  top: -0.1rem;
  background-color: var(--brand-ocean);
  color: white;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: bold;
  font-family: var(--font-base);
}

/* Cookie Banner logic */
#cookie-banner {
  background-color: var(--brand-midnight);
  color: white;
}

.action-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.3s ease;
  color: white;
  text-align: center;
  cursor: pointer;
  border: none;
}
.action-btn:hover {
  opacity: 0.9;
}

/* Mobile Menu utility */
.mobile-nav-pane {
  display: none;
}
.mobile-nav-pane.active {
  display: flex;
}