/* Shared by the static pages (about, contact, privacy, terms). Plain CSS, no scripts and no hashed
   assets, so the pages work on every host and under a strict Content-Security-Policy. */
/* Fonts: the same files the app bundles, copied to public/fonts so these script-free pages can use them.
   Licences: EB Garamond, Inter and Caveat are SIL Open Font License 1.1. */
@font-face { font-family: 'EB Garamond'; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/eb-garamond-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/eb-garamond-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Caveat'; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/caveat-latin-600-normal.woff2) format('woff2'); }
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 17px; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(40rem 28rem at 50% 0%, rgba(241, 220, 212, 0.55), transparent 70%),
    radial-gradient(120% 90% at 12% 0%, rgba(255, 252, 246, 0.9), transparent 60%),
    radial-gradient(100% 70% at 96% 100%, rgba(226, 214, 200, 0.45), transparent 62%),
    #f3eee7;
  color: #201b18;
  font-family: 'EB Garamond', 'Iowan Old Style', Georgia, serif;
  line-height: 1.55;
}
a { color: #5c544d; text-underline-offset: 0.18em; }
a:hover { color: #b3362f; }
a:focus-visible { outline: 2px solid #45459a; outline-offset: 3px; border-radius: 2px; }

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  width: min(100%, 46rem);
  margin: 0 auto;
  padding: 1.4rem 1.25rem 0;
}
.brand { display: inline-flex; align-items: center; gap: 0.5rem; color: #201b18; text-decoration: none; font-size: 1.3rem; }
.brand svg { width: 1.9rem; height: 1.9rem; color: #b3362f; }
.nav { display: flex; flex-wrap: wrap; gap: 0.1rem; font: 500 0.82rem/1 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif; }
.nav a { padding: 0.55rem 0.7rem; border-radius: 999px; color: #5c544d; text-decoration: none; }
.nav a:hover { background: rgba(60, 45, 35, 0.05); color: #201b18; }
.nav a[aria-current='page'] { background: #f1dcd4; color: #b3362f; }

main { flex: 1; width: min(100%, 46rem); margin: 0 auto; padding: 2.2rem 1.25rem 3rem; }
.eyebrow { margin: 0; font: 600 0.72rem/1 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: #b3362f; }
h1 { margin: 0.4rem 0 0; font-size: clamp(2.1rem, 6vw, 3rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }
.hand { margin: 0.3rem 0 0; font: 600 1.45rem/1.2 'Caveat', 'Bradley Hand', cursive; color: #45459a; }
.updated { margin: 0.9rem 0 0; font: 400 0.8rem/1.3 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif; color: #5c544d; }
h2 { margin: 2.1rem 0 0.35rem; font-size: 1.5rem; font-weight: 500; line-height: 1.15; }
p, ul { margin: 0.6rem 0 0; font-size: 1.1rem; color: #3a332e; }
ul { padding-left: 1.2rem; }
li + li { margin-top: 0.3rem; }

.notice {
  margin: 1.6rem 0 0;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  background: rgba(241, 220, 212, 0.55);
  box-shadow: inset 0 0 0 1px rgba(179, 54, 47, 0.18);
}
.notice p { margin: 0; color: #201b18; }
.notice p + p { margin-top: 0.4rem; }
.notice strong { font-weight: 600; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.9rem; margin-top: 1.6rem; }
.card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.05rem 1.25rem;
  border-radius: 1rem;
  background: rgba(236, 229, 216, 0.55);
  box-shadow: inset 0 0 0 1px rgba(60, 45, 35, 0.06);
  color: inherit;
  text-decoration: none;
}
.card:hover { background: #e4d8cf; color: inherit; }
.card svg { flex: none; width: 1.6rem; height: 1.6rem; color: #b3362f; }
.card span { display: flex; flex-direction: column; min-width: 0; }
.card small { font: 600 0.68rem/1.4 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: #5c544d; }
.card b { font-weight: 400; font-size: 1.3rem; line-height: 1.2; overflow-wrap: anywhere; }

.btn {
  display: inline-flex;
  align-items: center;
  height: 2.75rem;
  margin-top: 1.4rem;
  padding: 0 1.3rem;
  border-radius: 999px;
  background: #b3362f;
  color: #fff;
  font: 500 0.9rem/1 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.btn:hover { background: #962b25; color: #fff; }

footer {
  width: min(100%, 46rem);
  margin: 0 auto;
  padding: 1.2rem 1.25rem 2rem;
  border-top: 1px solid rgba(60, 45, 35, 0.12);
  font: 400 0.82rem/1.5 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: #5c544d;
}
footer nav { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; margin-top: 0.4rem; }
