/* === Reset === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'Georgia', serif;
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

p + p {
  margin-top: 1em;
}

/* === Design Tokens === */
:root {
  --primary: #2563EB;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --navy: #0f172a;
  --navy-mid: #1e293b;
  --text: #334155;
  --text-light: #64748b;
  --gray: #94a3b8;
  --light: #f8fafc;
  --light-alt: #f1f5f9;
  --white: #ffffff;
  --border: #e2e8f0;
  --accent: #dc2626;
  --accent-dark: #b91c1c;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.07), 0 4px 6px rgba(0, 0, 0, 0.05);
  --max-width: 1200px;
  --header-height: 80px;
}

/* === Utilities === */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.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;
}

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

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  text-decoration: none;
  line-height: 1;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

.btn--outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn--accent {
  background-color: var(--accent);
  color: var(--white);
}

.btn--accent:hover {
  background-color: var(--accent-dark);
  color: var(--white);
}

.btn--white {
  background-color: var(--white);
  color: var(--navy);
}

.btn--white:hover {
  background-color: var(--light);
  color: var(--navy);
}

/* === Fade-in Animation === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive Typography === */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }
  h3 { font-size: 1.25rem; }
}
