/* Foundations Chiropractic — base styles: reset, typography, color tokens.
   Palette seeded from the original Salient theme's dynamic styles; confirm
   against final brand guidelines and adjust as needed. */

:root {
  --color-primary: #257096;
  --color-primary-dark: #0a2c36;
  --color-accent: #ff1053;
  --color-text: #333333;
  --color-text-muted: #676767;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7f8;
  --color-border: #e2e6e8;

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: var(--font-body);

  --max-width: 1200px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  line-height: 1.25;
  margin: 0 0 var(--space-2);
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }

p {
  margin: 0 0 var(--space-2);
}

a {
  color: var(--color-primary);
  text-decoration: underline;
}

a:hover {
  color: var(--color-accent);
}

.button,
a.button {
  display: inline-block;
  padding: 0.65em 1.4em;
  background: var(--color-accent);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

.button:hover,
a.button:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

address {
  font-style: normal;
}
