/* ============================================
   THEME: Axis
   Deep purple-navy, coral-orange accent,
   cool blue-grey background, Poppins geometric
   Inspired by axissportmedicine.co.nz
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root[data-theme="axis"] {
  /* Fonts — Poppins: geometric, rounded, confident */
  --font-serif: 'Poppins', system-ui, sans-serif;
  --font-sans:  'Poppins', system-ui, sans-serif;

  /* Core palette — Axis-inspired */
  --color-bg:           #f4f8f9;
  --color-bg-alt:       #eaf1f3;
  --color-bg-light:     #dce8eb;
  --color-bg-card:      #ffffff;
  --color-text:         #1a0829;
  --color-text-secondary: #3b1f4a;
  --color-text-muted:   rgba(26, 8, 41, 0.52);
  --color-text-subtle:  rgba(26, 8, 41, 0.32);
  --color-accent:       #e85535;
  --color-accent-hover: #cf4228;
  --color-highlight:    #e85535;
  --color-border:       rgba(26, 8, 41, 0.09);
  --color-border-strong: rgba(26, 8, 41, 0.2);
  --color-divider:      rgba(26, 8, 41, 0.05);

  /* Nav — dark purple-black like Axis header */
  --nav-bg: rgba(26, 8, 41, 0.97);
  --nav-height: 4.25rem;

  /* Footer */
  --footer-bg: #1a0829;
  --footer-text: rgba(244, 248, 249, 0.45);
  --footer-text-strong: rgba(244, 248, 249, 0.82);
  --footer-border: rgba(244, 248, 249, 0.08);

  /* Buttons */
  --btn-primary-bg:      #e85535;
  --btn-primary-text:    #ffffff;
  --btn-secondary-border: rgba(26, 8, 41, 0.22);

  /* Layout */
  --site-margin: clamp(1.5rem, 5vw, 5rem);
  --max-width: 1280px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 2rem;

  --transition-fast: 200ms ease;
  --transition-med:  300ms ease;
  --transition-slow: 400ms ease;

  --logo-filter: invert(1) brightness(2);
  --holly-bg: #1a0829;

  /* Poppins is heavier than most serifs — tune weights */
  --heading-weight: 700;
  --heading-size-scale: 1;
  --heading-tracking: -0.02em;
}

/* ---- Nav overrides: dark bg means light text ---- */

/* Nav links */
:root[data-theme="axis"] .nav-links a {
  color: rgba(244, 248, 249, 0.78);
}
:root[data-theme="axis"] .nav-links a:hover {
  color: #ffffff;
  opacity: 1;
}

/* Secondary CTA (email button) */
:root[data-theme="axis"] nav .btn-secondary {
  color: rgba(244, 248, 249, 0.78);
  border-color: rgba(244, 248, 249, 0.28);
  background: transparent;
}
:root[data-theme="axis"] nav .btn-secondary:hover {
  color: #ffffff;
  border-color: rgba(244, 248, 249, 0.7);
  opacity: 1;
}

/* Primary CTA (Book a demo) */
:root[data-theme="axis"] nav .btn-primary {
  background: #e85535;
  color: #ffffff;
}
:root[data-theme="axis"] nav .btn-primary:hover {
  background: #cf4228;
  opacity: 1;
}

/* Theme switcher pill */
:root[data-theme="axis"] .theme-switcher-btn {
  color: rgba(244, 248, 249, 0.75);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(244, 248, 249, 0.18);
}
:root[data-theme="axis"] .theme-switcher-btn:hover {
  color: #ffffff;
  border-color: rgba(244, 248, 249, 0.4);
}

/* Nav border */
:root[data-theme="axis"] nav {
  border-bottom-color: rgba(244, 248, 249, 0.08);
}

/* ---- Typography ---- */
:root[data-theme="axis"] h1,
:root[data-theme="axis"] h2,
:root[data-theme="axis"] h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

:root[data-theme="axis"] h1 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.08;
}

:root[data-theme="axis"] h2 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.1;
}

:root[data-theme="axis"] em {
  font-style: normal;
  color: #e85535;
}

/* ---- Accent stripe on section labels ---- */
:root[data-theme="axis"] h4 {
  color: #e85535;
  letter-spacing: 0.12em;
}

/* ---- Cards ---- */
:root[data-theme="axis"] .problem-card,
:root[data-theme="axis"] .feature-card,
:root[data-theme="axis"] .audience-card {
  border-top: 3px solid #e85535;
}

/* ---- Buttons ---- */
:root[data-theme="axis"] .btn-primary {
  background: #e85535;
  color: #ffffff;
  border-radius: var(--radius-sm);
}

:root[data-theme="axis"] .btn-primary:hover {
  background: #cf4228;
}

/* ---- Holly section ---- */
:root[data-theme="axis"] .holly-section {
  background: #1a0829;
}

:root[data-theme="axis"] .holly-section h2 {
  color: #f4f8f9;
}
