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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white-sand);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: var(--font-weight-regular);
  font-synthesis: none;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }

button { font: inherit; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.045em; }
h1 { font-size: var(--text-h1); font-weight: var(--font-weight-regular); line-height: 1.1; }
h2 { font-size: var(--text-h2); font-weight: var(--font-weight-regular); line-height: 1.15; }
h3 { font-size: var(--text-h3); font-weight: var(--font-weight-regular); line-height: 1.2; }
strong { font-weight: var(--font-weight-semibold); }

:focus-visible { outline: 3px solid var(--ocean-blue); outline-offset: 4px; }

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--pure-white);
  background: var(--deep-ocean);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
  transition: transform var(--duration-fast) var(--ease-fluid);
}
.skip-link:focus { transform: translateY(0); }
