/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, figure, ul, ol { margin: 0; padding: 0; }
ul { list-style: none; }
img, video { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button, input, textarea { font: inherit; color: inherit; }

/* Brand tokens */
:root {
  --color-accent: #0390b0;
  --color-accent-hover: #414852;
  --color-ink: #262b31;
  --color-cream: #e9e8e3;
  --color-surface: #ffffff;
  --color-text: #262b31;
  --font-heading: "Syncopate", sans-serif;
  --font-body: "Ubuntu", sans-serif;
  --container-max: 1240px;
}

:root[data-theme="dark"] {
  --color-surface: #15181c;
  --color-cream: #1e2227;
  --color-text: #e6e5e0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--color-text);
  background: var(--color-surface);
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Live site loads Syncopate 400 only; Bootstrap's h weight 500 renders as regular */
h1, h2, h3 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  line-height: 1.2;
  font-weight: 400;
}

/* Live-site sizes: h1 34/40/51px, h2 30/30/44.8px at <768 / <1200 / ≥1200 */
h1 { font-size: 2.125rem; }
h2 { font-size: 1.875rem; }
h3.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

h4 {
  font-family: var(--font-body);
  font-size: 1.25rem;
}

p { font-size: 1.2rem; }

.text-center { text-align: center; }
.text-justify { text-align: justify; }

@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }
}

@media (min-width: 1200px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.8rem; }
}
