/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: clip;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  background: #ffffff;
  padding-top: 73px;
}

main {
  width: 100%;
  display: block;
}

/* Full-width container (100% viewport) across all pages */
.container {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: clamp(20px, 3.5vw, 48px);
  padding-right: clamp(20px, 3.5vw, 48px);
  box-sizing: border-box;
}

/* On large screens, maintain clean balanced side gutters */
@media (min-width: 1440px) {
  .container {
    padding-left: clamp(32px, 3.5vw, 56px);
    padding-right: clamp(32px, 3.5vw, 56px);
  }
}

/* On mobile, tight comfortable padding */
@media (max-width: 479px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: var(--text-hero);
  font-weight: 700;
  color: var(--color-navy);
}

h2 {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-navy);
}

h3 {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-navy);
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

/* Focus styles for accessibility */
*:focus-visible {
  outline: 2px solid var(--color-crimson);
  outline-offset: 2px;
}

/* Utility classes */
.eyebrow {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-crimson);
  margin-bottom: var(--space-md);
}

.section-pad {
  padding: var(--section-pad);
}

.text-secondary {
  color: var(--color-text-secondary);
}

.text-muted {
  color: var(--color-text-muted);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}