@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sora';
  src: url('fonts/sora-variable.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* Wellie public site. Plain CSS, no build step. Dark, like the app (src/index.css). Fonts are
   self-hosted (Fraunces for the wordmark, Sora for body text, as in the app): no third-party requests. */
:root {
  --navy: #141924;
  --navy-deep: #0f131b;
  --navy-raised: #1b2130;
  --text: #efe7dc;
  --text-soft: #b8ab9a;
  --gold: #d4a847;
  --rule: #2a3142;
  --wordmark: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #fff; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

header.site {
  background: var(--navy-deep);
  border-bottom: 1px solid var(--rule);
  color: rgba(255, 255, 255, 0.88);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: var(--wordmark);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand img { width: 28px; height: 28px; }
.brand:hover { color: var(--gold); }
nav.site { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
nav.site a { color: rgba(255, 255, 255, 0.72); text-decoration: none; padding: 10px 0; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--gold); }


main { padding: 48px 0 64px; }
main h1 {
  font-family: var(--wordmark);
  font-weight: 600;
  color: #fff;
  font-size: clamp(34px, 6vw, 44px);
  line-height: 1.15;
  margin: 0 0 6px;
}
main h2 {
  font-family: var(--wordmark);
  font-weight: 600;
  color: #fff;
  font-size: 27px;
  line-height: 1.25;
  margin: 40px 0 10px;
}
main h3 { font-size: 17px; margin: 28px 0 6px; color: #fff; }
.effective { color: var(--text-soft); font-size: 15px; margin: 0 0 28px; }
.lead { font-size: 19px; }

.note {
  background: var(--navy-raised);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 24px 0;
}

.table-scroll { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
th { font-weight: 600; background: var(--navy-raised); color: #fff; }

footer.site {
  border-top: 1px solid var(--rule);
  background: var(--navy-deep);
  color: var(--text-soft);
  font-size: 14px;
  padding: 24px 0 40px;
}
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
footer.site a { color: var(--text-soft); }
footer.site a:hover { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
