/* ============================================================
   Base — reset, typography defaults
   ============================================================ */

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

* { margin: 0; }

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

body {
  font-family: var(--ff-base);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: var(--c-text-primary);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-weight: var(--fw-medium); letter-spacing: 0; }

.h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--tracking-h2);
  color: var(--c-deep-navy);
}

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

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

.skip-link {
  position: absolute;
  top: -40px;
  left: var(--sp-sm);
  z-index: calc(var(--z-nav) + 1);
  padding: 8px 16px;
  background: var(--c-deep-navy);
  color: var(--c-text-light-primary);
  border-radius: var(--radius-sm);
  font-weight: var(--fw-medium);
  text-decoration: none;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: var(--sp-sm); }

/* Focus outline (visible only for keyboard) */
:focus-visible {
  outline: 2px solid var(--c-teal);
  outline-offset: 2px;
  border-radius: 4px;
}
