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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-margin-top: var(--nav-height);
}

body {
  min-height: 100vh;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

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

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

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  overflow-wrap: break-word;
}

section {
  position: relative;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--color-teal);
  color: white;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

*:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.img-shadow {
  filter: drop-shadow(0px 10px 24px rgba(24, 57, 95, 0.16))
          drop-shadow(0px 3px 8px rgba(24, 57, 95, 0.10));
}

.img-shadow--strong {
  filter: drop-shadow(0px 16px 40px rgba(24, 57, 95, 0.22))
          drop-shadow(0px 6px 14px rgba(24, 57, 95, 0.14));
}

.img-shadow--glow {
  filter: drop-shadow(0px 12px 32px rgba(59, 191, 178, 0.28))
          drop-shadow(0px 4px 12px rgba(24, 57, 95, 0.14));
}

/* Standardized rounding for images that have a baked-in white/solid
   background (illustrations where the bg can't be cleanly removed).
   Apply alongside the .img-shadow utilities, e.g.
   class="... img-shadow--strong img-rounded".
   Uses --radius-lg (16px) to match the card components; change here to
   restandardize site-wide. Transparent-bg images are unaffected. */
.img-rounded {
  border-radius: var(--radius-lg);
}
