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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 0;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
  font-size: var(--fs-label);
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(12px);
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

::selection {
  background: var(--primary-container);
  color: #194c47;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}

.material-symbols-outlined.fill {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* Typography helpers */
.t-label {
  font-size: var(--fs-label);
  font-weight: 700;
  line-height: 1.2;
}

.t-body {
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.6;
}

.t-body-lg {
  font-size: var(--fs-body-lg);
  font-weight: 600;
  line-height: 1.6;
}

.t-subtitle {
  font-size: var(--fs-subtitle);
  font-weight: 700;
  line-height: 1.5;
}

.t-headline-sm {
  font-size: var(--fs-headline-sm);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.05em;
}

.t-headline-md {
  font-size: var(--fs-headline-md);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.t-headline-lg {
  font-size: var(--fs-headline-lg-m);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .t-headline-lg {
    font-size: var(--fs-headline-lg);
  }
}

.text-mint { color: var(--mint); }
.text-coral { color: var(--coral); }
.text-charcoal { color: var(--charcoal); }
.text-white { color: #fff; }
.bg-mint { background-color: var(--mint); }
.bg-coral { background-color: var(--coral); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
