/* Global typography, site header, footer and privacy page. */

:root {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #17261d;
  background: #fafbf8;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header { background: #050605; border-bottom: 1px solid #263021; }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: 13px; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; display: block; flex-shrink: 0; }
.brand strong { display: block; font-size: 1.05rem; color: #f5f6f1; }
.brand small { display: block; font-size: .85rem; color: #b1b8aa; margin-top: 3px; }
.nav { display: flex; gap: 24px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: #f0f3eb; }
.nav a:hover, .nav a:focus-visible { color: #95d400; text-decoration: underline; }

.preview-banner { color: #685119; background: #fff5d7; padding: 11px 0; font-size: .9rem; text-align: center; }

.eyebrow { color: #4c765a; font-weight: 800; text-transform: uppercase; font-size: .75rem; letter-spacing: .15em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 7vw, 6.5rem); line-height: 1.06; max-width: 900px; margin: 20px 0 24px; }
h1 em { font-weight: 400; color: #4e8059; }

.site-footer { background: #050605; color: #fff; padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: .9rem; line-height: 1.6; }
.footer-brand { display: flex; flex-direction: column; gap: 0; }
.footer-logo { display: block; width: 240px; height: auto; max-width: 100%; }
.footer-brand > span { display: block; color: #d3d6c9; font-size: .83rem; margin-top: -8px; }
.footer-inner a { color: #b9e760; }

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 70px; }
  .header-inner { flex-wrap: wrap; padding: 12px 0; gap: 12px 16px; }
  .brand-logo { width: 38px; height: 38px; }
  .nav { flex-wrap: wrap; gap: 10px 16px; }
  .brand strong { font-size: .9rem; }
  .brand small { font-size: .75rem; }
  .nav { gap: 12px; }
  .nav a { font-size: .81rem; }
  .footer-logo { width: 210px; }
  .footer-inner { align-items: start; flex-direction: column; }
}

[hidden] { display: none !important; }

.policy-page { padding-top: 54px; padding-bottom: 86px; max-width: 850px; }
.policy-page h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 14px 0 24px; }
.policy-page h2 { font-size: 1.3rem; margin: 32px 0 12px; }
.policy-page p { color: #4c5e50; line-height: 1.75; }
.policy-page a { color: #225e32; }
.policy-page .policy-draft { padding: 18px 22px; border: 1px solid #e4d6a6; border-radius: 10px; background: #fff9e7; color: #614e18; }

/* One consistent, sticky navigation on all public pages. */
html { scroll-padding-top: 100px; }
.site-header { position: sticky; top: 0; z-index: 1000; background: #050605; transition: box-shadow .18s ease; }
.site-header.is-compact { box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.site-header .header-inner { min-height: 82px; gap: 15px; transition: min-height .18s ease; }
.site-header .brand { flex-shrink: 0; gap: 10px; }
.site-header .brand-logo { transition: width .18s ease, height .18s ease; }
.site-header .brand strong, .site-header .brand small { transition: font-size .18s ease; }
.site-header .nav { align-items: center; gap: clamp(8px,1.35vw,17px); }
.site-header .nav a { white-space: nowrap; font-size: clamp(.78rem,.87vw,.91rem); }
.site-header .nav a[aria-current="page"] { color: #c3e99e; }
.site-header.is-compact .header-inner { min-height: 58px; }
.site-header.is-compact .brand-logo { width: 34px; height: 34px; }
.site-header.is-compact .brand strong { font-size: .92rem; }
.site-header.is-compact .brand small { font-size: .72rem; }
.nav-toggle { display: none; border: 1px solid #5e745f; background: transparent; color: #f5f6f1; font-weight: 700; border-radius: 8px; padding: 8px 12px; }
.nav-toggle:focus-visible, .site-header a:focus-visible { outline: 3px solid #a5d574; outline-offset: 3px; }
@media (max-width: 1050px) {
  .site-header .header-inner { min-height: 72px; flex-wrap: nowrap; padding: 8px 0; }
  .site-header.is-compact .header-inner { min-height: 56px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
  .site-header .nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100vh - 65px); overflow-y: auto; padding: 12px max(20px,calc((100vw - 1180px)/2));
    background: #0b150e; box-shadow: 0 12px 25px rgba(0,0,0,.18); flex-direction: column; align-items: stretch; gap: 0; }
  .site-header.menu-open .nav { display: flex; }
  .site-header .nav a { display: block; font-size: .93rem; padding: 10px 4px; }
}
@media (max-width: 620px) {
  .site-header .header-inner { flex-wrap: nowrap; min-height: 64px; gap: 9px; }
  .site-header .brand strong { font-size: .88rem; }
  .site-header .brand small { font-size: .71rem; }
  .site-header .brand-logo { width: 38px; height: 38px; }
  .site-header.is-compact .brand-logo { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header .header-inner, .site-header .brand-logo,
  .site-header .brand strong, .site-header .brand small { transition: none; }
}
