/* Shared styling for the static legal pages (privacy, terms).
   These live outside the React app — they are plain HTML in public/ so the
   policy text is in the raw document for crawlers and does not depend on JS. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #071C2C;
  --ivory: #F5F1E8;
  --surface: #FFFFFF;
  --accent: #00B9E8;
  --accent-hi: #2CC8F0;
  --accent-text: #007896;   /* electric blue fails AA as text — see index.css */
  --fg: #2A2A2A;
  --muted: #5A5A5A;
  --line: #DCD2C2;
}

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

body {
  background: var(--ivory);
  color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: 780px; margin: 0 auto; padding-inline: 24px; }

/* ---- chrome ---- */
header.site {
  background: var(--navy);
  padding-block: 22px;
}
header.site img { height: 46px; width: auto; }

main { flex: 1; padding-block: 56px 72px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: 'Montserrat', sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent-text);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }

h1 {
  font-family: 'Playfair Display', serif; font-weight: 500;
  font-size: clamp(2.1rem, 6vw, 3.4rem); line-height: 1.06; letter-spacing: -.01em;
  color: var(--navy);
}
.effective {
  font-family: 'Montserrat', sans-serif; font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin-top: 18px;
}

.intro { margin-top: 28px; }
.intro p { margin-bottom: 16px; }

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: .86rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy);
  margin: 46px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
h2:first-of-type { border-top: none; padding-top: 0; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

ul { margin: 0 0 18px 0; padding-left: 0; list-style: none; }
li {
  position: relative; padding-left: 22px; margin-bottom: 8px;
  color: var(--muted);
}
li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 7px; height: 1px; background: var(--accent);
}

strong { color: var(--navy); font-weight: 600; }
a { color: var(--accent-text); }
a:hover { color: var(--navy); }

.callout {
  margin-top: 46px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 26px 28px;
}
.callout .lbl {
  font-family: 'Montserrat', sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--navy);
  margin-bottom: 12px;
}

.contact-card {
  margin-top: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 26px;
}
.contact-card div { margin-bottom: 4px; }

/* ---- footer ---- */
footer.site {
  background: var(--navy); color: #B9C4D1;
  padding-block: 30px 40px; font-size: 13.5px;
}
footer.site a {
  color: #C7D2E0; text-decoration: underline; text-underline-offset: 3px;
  display: inline-block; padding: 11px 6px;
}
footer.site a:hover { color: var(--accent-hi); }
footer.site .copy { margin-top: 6px; color: #8FA0B4; }

/* ---- a11y ---- */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent-text); outline-offset: 2px; border-radius: 2px;
}
header.site a:focus-visible, footer.site a:focus-visible { outline-color: var(--accent-hi); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; }
.skip-link:focus {
  left: 0; padding: 10px 16px; background: var(--navy); color: #fff;
  text-decoration: none; border: 2px solid var(--accent);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
@media (forced-colors: active) {
  a:focus-visible, button:focus-visible { outline: 3px solid CanvasText !important; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  main { padding-block: 40px 56px; }
}
