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

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

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
  min-height: 100vh;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--space-3xl) 0;
}

.section--alt {
  background: var(--color-bg);
}

.section-header {
  margin-bottom: var(--space-2xl);
}

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

.section-header--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  max-width: 560px;
}

.section-header--center p {
  margin: 0 auto;
}

.section-underline {
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin: var(--space-sm) auto 0;
  border-radius: 2px;
}

.link-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  white-space: nowrap;
}

.link-all:hover {
  gap: 10px;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1100;
  padding: 12px 16px;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--color-white);
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: var(--color-bg);
}

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

.breadcrumb__home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
}

.breadcrumb__home svg {
  flex-shrink: 0;
}

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

.breadcrumb span {
  margin: 0 6px;
  opacity: 0.5;
}

.breadcrumb .current {
  color: var(--color-primary);
  font-weight: 500;
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-2xl) 0;
  }

  .section-header--row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
  }

  .section-header--row p {
    margin-left: auto;
    margin-right: auto;
  }

  .section-header--row .link-all {
    margin-top: var(--space-sm);
  }
}
