/* Design tokens, reset, typography.
   Mobile first throughout: every media query in responsive.css is min-width,
   so the phone layout is the base case rather than the fallback. */

:root {
  /* Ocean + sunset. Warm enough to feel welcoming, saturated enough to read
     as deliberate rather than a default template. */
  --teal: #0e7c86;
  --teal-dark: #0a5f68;
  --teal-tint: #e6f4f5;
  --coral: #ff7a59;
  --coral-dark: #e85f3d;
  --coral-tint: #fff0eb;
  --sunshine: #ffc24b;
  --navy: #143642;
  --slate: #5a7280;
  --slate-light: #8398a5;
  --bg: #fffdf9;
  --surface: #ffffff;
  --sand: #fdf3e7;
  --line: #e9e1d6;
  --line-strong: #d6cabb;
  --green: #17916b;
  --green-tint: #e4f5ee;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 54, 66, .06), 0 2px 8px rgba(20, 54, 66, .05);
  --shadow: 0 2px 4px rgba(20, 54, 66, .06), 0 8px 24px rgba(20, 54, 66, .08);
  --shadow-lg: 0 12px 40px rgba(20, 54, 66, .14);

  --wrap: 1180px;
  --gap: 1.25rem;

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 .5rem;
  font-weight: 750;
}
h1 { font-size: clamp(1.85rem, 5.5vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 3.6vw, 2.05rem); }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1rem; }

address { font-style: normal; color: var(--slate); margin-bottom: .9rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.15rem;
}

.prose { color: var(--slate); max-width: 42rem; }
.prose.lead { font-size: 1.06rem; color: var(--navy); }

/* --- Accessibility ------------------------------------------------------- */

.skip {
  position: absolute; left: -9999px;
  background: var(--navy); color: #fff;
  padding: .7rem 1.1rem; border-radius: 0 0 var(--radius-sm) 0; z-index: 200;
}
.skip:focus { left: 0; top: 0; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
