/* ==========================================================================
   Base Reset, Typography, Buttons & Accessibility Utilities
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--slate-800);
  background-color: var(--slate-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

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

:focus-visible {
  outline: 3px solid var(--sky-400);
  outline-offset: 2px;
}

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

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

/* Section Typography */
.section {
  padding: 72px 0;
}

.section--alt {
  background-color: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.section__header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--sky-600);
  background: var(--sky-100);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section__subtitle {
  margin-top: 8px;
  color: var(--slate-600);
  max-width: 660px;
  font-size: 0.98rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-xs);
}

.btn--primary:hover {
  background: var(--navy-800);
  box-shadow: var(--shadow-sm);
}

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

.btn--sky:hover {
  background: var(--sky-600);
}

.btn--outline {
  background: var(--white);
  color: var(--navy-900);
  border: 1.5px solid var(--slate-300);
}

.btn--outline:hover {
  border-color: var(--navy-900);
  background: var(--sky-50);
}

.btn--soft {
  background: var(--sky-100);
  color: var(--navy-900);
}

.btn--soft:hover {
  background: var(--sky-200);
}

.btn--danger {
  background: var(--rose-100);
  color: var(--rose-600);
}

.btn--danger:hover {
  background: var(--rose-600);
  color: var(--white);
}

.btn--sm {
  padding: 7px 13px;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

.btn--icon {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
}

.badge--sky {
  background: var(--sky-100);
  color: var(--navy-900);
}

.badge--emerald {
  background: var(--emerald-100);
  color: var(--emerald-600);
}

.badge--amber {
  background: var(--amber-100);
  color: #B45309;
}

.badge--rose {
  background: var(--rose-100);
  color: var(--rose-600);
}

@media (max-width: 768px) {
  .section {
    padding: 52px 0;
  }
}
