/* ConnectUs site: the "See you" brand (prairie green, sunflower, paper), Young Serif titles, Figtree text.
   Fonts are self-hosted (SIL Open Font License, see assets/fonts). No scripts, trackers or cookies. */
@font-face { font-family: "Figtree"; src: url("/assets/fonts/Figtree_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/Figtree_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/Figtree_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Young Serif"; src: url("/assets/fonts/YoungSerif_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --prairie: #1F4D3A;
  --sunflower: #F2C14E;
  --paper: #FBFAF6;
  --text: #16201B;
  --text-2: #5A625D;
  --surface: #F0EDE4;
  --line: #E2DDCF;
  --link: #1F4D3A;
  --heading: #1F4D3A;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E1512;
    --text: #F4F2EC;
    --text-2: #AEB6B0;
    --surface: #1B2420;
    --line: #28332D;
    --link: #F2C14E;
    --heading: #F4F2EC;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-wrap: break-word; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 17px/1.6 "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible { outline: 3px solid var(--sunflower); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: "Young Serif", ui-serif, Georgia, serif; font-weight: 400; color: var(--heading); line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin: 0 0 .75rem; }
h2 { font-size: 1.4rem; margin: 2.25rem 0 .75rem; }
strong { font-weight: 600; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--paper); padding: 6px 10px; z-index: 1; }

.site-header { background: var(--prairie); color: #FBFAF6; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #FBFAF6; text-decoration: none; font-family: "Young Serif", ui-serif, Georgia, serif; font-size: 1.35rem; }
.brand svg { width: 40px; height: 40px; flex: none; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .95rem; }
.site-header nav a { color: #FBFAF6; text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { border-bottom-color: var(--sunflower); }

.wrap { max-width: 780px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
main { padding-top: 40px; padding-bottom: 64px; }
.lede { font-size: 1.2rem; color: var(--text); }
.muted { color: var(--text-2); }

.hero { padding: 24px 0 8px; }
.hero .mark { width: 88px; height: 88px; margin-bottom: 20px; }
.badge { display: inline-block; background: var(--sunflower); color: #16201B; font-weight: 600; border-radius: 999px; padding: 6px 14px; font-size: .95rem; }
.cards { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.cards a { display: block; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-decoration: none; color: var(--text); }
.cards a:hover { border-color: var(--prairie); }
.cards strong { display: block; color: var(--heading); font-family: "Young Serif", ui-serif, Georgia, serif; font-weight: 400; font-size: 1.1rem; margin-bottom: 4px; }

.table-scroll { overflow-x: auto; margin: 1rem 0; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
th, td { border-bottom: 1px solid var(--line); padding: 10px; vertical-align: top; text-align: left; }
th { background: var(--surface); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
td + td, th + th { border-left: 1px solid var(--line); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin: 1.5rem 0; }
address { font-style: normal; }

.site-footer { border-top: 1px solid var(--line); color: var(--text-2); font-size: .9rem; }
.site-footer .wrap { padding-top: 24px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.site-footer a { color: var(--text-2); }
