@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&family=Inter:wght@400;500;700&display=swap');

:root {
  /* Thematic Variables - Colorful Theme */
  --ligament-paper: #ffffff;
  --ligament-ink: #0f172a;
  --ligament-ink-soft: #475569;
  
  --mobility-teal: #0ea5e9;
  --mobility-plum: #8b5cf6;
  --wellness-amber: #f59e0b;
  --wellness-surface: #f8fafc;
  
  --posture-shade: rgba(15, 23, 42, 0.08);
  --posture-overlay: rgba(15, 23, 42, 0.75);
  
  --cartilage-gradient: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
  --cartilage-reverse-gradient: linear-gradient(135deg, #8b5cf6 0%, #0ea5e9 100%);
  
  /* Fonts */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Base Styles */
html {
  font-family: var(--font-body);
  color: var(--ligament-ink);
  background-color: var(--ligament-paper);
  scroll-behavior: smooth;
}

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

/* CSS-only Hamburger Menu */
.mobile-nav-pane {
  display: none;
}
#mobile-menu-logic:checked ~ .mobile-nav-pane {
  display: flex;
}

/* Specific Component Resets/Tweaks */
.posture-action-trigger {
  background-color: var(--ligament-ink);
  color: var(--ligament-paper);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.posture-action-trigger:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
.posture-action-trigger-outline {
  border: 2px solid var(--ligament-ink);
  color: var(--ligament-ink);
  background-color: transparent;
}
.posture-action-trigger-outline:hover {
  background-color: var(--ligament-ink);
  color: var(--ligament-paper);
}

/* Accordion Logic (CSS Only) */
.knowledge-accordion details > summary {
  list-style: none;
  cursor: pointer;
}
.knowledge-accordion details > summary::-webkit-details-marker {
  display: none;
}

/* Custom Checkbox */
.consent-checkbox {
  accent-color: var(--mobility-teal);
}

/* Nav Link Underline Hover */
.joint-nav-link {
  position: relative;
}
.joint-nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--ligament-paper);
  transition: width 0.3s ease;
}
.joint-nav-link:hover::after {
  width: 100%;
}