/* Fonts are served from this site (no Google Fonts request, so no visitor IP
   goes to a third party). SIL Open Font License: fonts/*-OFL.txt */
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url("fonts/DMSans_400Regular.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 600; font-display: swap; src: url("fonts/DMSans_600SemiBold.ttf") format("truetype"); }
@font-face { font-family: Fraunces; font-weight: 600; font-display: swap; src: url("fonts/Fraunces_600SemiBold.ttf") format("truetype"); }
:root {
  /* Brand guide v2.1: powder pink / plum / cream */
  --background: #FCF7F7; --surface: #FFFCFC; --text: #2A1F2D; --muted: #6B5A66;
  --primary: #9E3A60; --primary-soft: #F8E6EB; --on-primary-soft: #9E3A60; --accent: #D6457A; --border: #F1E4E7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #1E1621; --surface: #2A2030; --text: #F4ECF1; --muted: #B9A9B4;
    --primary: #F2B8C9; --primary-soft: #3A2E3E; --on-primary-soft: #F2B8C9; --accent: #F07FA3; --border: #3A2E3E;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--background); color: var(--text);
  font: 17px/1.55 "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
header img { width: 48px; height: 48px; border-radius: 12px; }
header a { color: var(--text); text-decoration: none; font: 600 20px/1.2 Fraunces, Georgia, serif; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 600; line-height: 1.25; }
h1 { font-size: 32px; margin: 0 0 8px; }
h2 { font-size: 22px; margin: 36px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 4px; }
a { color: var(--primary); }
.muted { color: var(--muted); font-size: 15px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  padding: 16px 20px; margin: 16px 0;
}
.card.soft { background: var(--primary-soft); border-color: transparent; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--border); }
th { font-weight: 600; }
.table-wrap { overflow-x: auto; }
nav.links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
nav.links a {
  display: inline-block; padding: 12px 20px; border-radius: 26px; background: var(--primary-soft);
  color: var(--on-primary-soft); font-weight: 600; text-decoration: none;
}
footer { margin-top: 48px; color: var(--muted); font-size: 15px; }
/* Shared site header and footer (same look as the landing page) */
.site-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
header.site-top { display: block; margin: 0; background: var(--background); }
header.site-top .site-wrap { height: 64px; }
header.site-top .brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 20px/1 Fraunces, Georgia, serif; white-space: nowrap; }
header.site-top .brand img { width: auto; height: 30px; }
header.site-top nav { display: flex; align-items: center; gap: 20px; }
header.site-top .link { color: var(--text); text-decoration: none; font: 600 16px/1 "DM Sans", sans-serif; }
header.site-top .btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 28px; white-space: nowrap;
  background: #D6457A; color: #FCF7F7; font: 600 16px/1 "DM Sans", sans-serif; text-decoration: none; }
header.site-top .btn:hover { background: #C2416F; }
footer.site-foot { margin: 0; padding: 32px 0 44px; border-top: 1px solid var(--border); text-align: center; color: var(--muted); font-size: 14px; }
footer.site-foot .site-wrap { justify-content: center; }
footer.site-foot a { color: var(--muted); }
@media (max-width: 480px) { header.site-top .link { display: none; } }
