/* ========================================================================
 * static-base.css
 *
 * Generated from client/public/theme.json :: theme 'myth-weavers' (Myth-Weavers).
 * Do not edit by hand — regenerate via:
 *   node scripts/static/build-static-base.mjs --theme=myth-weavers --out=<path>
 *
 * Provides the theme's CSS custom properties plus a minimal typographic
 * baseline for pre-auth static surfaces (help site, marketing landing).
 * Surface-specific overlays should reference var(--bs-*) / var(--theme-*)
 * tokens directly rather than redefining them.
 *
 * Font strategy: body uses a system serif so initial render is immediate
 * and consistent; headings use Roboto Slab with the same serif as fallback.
 * font-display: swap means headings render in the fallback first, then
 * swap to Roboto Slab once it loads — no FOIT, minimal layout shift since
 * both stacks are serif.
 * ====================================================================== */

/* Self-hosted Roboto Slab (variable weight 300–700, latin + latin-ext).
   Files must be at <stylesheet-dir>/fonts/roboto-slab-latin{,-ext}.woff2. */
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/roboto-slab-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/roboto-slab-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bs-body-bg: rgb(226, 210, 174);
  --bs-body-color: rgb(0, 0, 0);
  --bs-primary: rgb(156, 66, 33);
  --bs-primary-rgb: 156, 66, 33;
  --bs-secondary: rgb(87, 36, 31);
  --bs-secondary-rgb: 87, 36, 31;
  --bs-link-color: rgb(87, 24, 25);
  --bs-link-hover-color: rgb(193, 82, 42);
  --bs-nav-tabs-link-active-bg: rgb(68, 30, 24);
  --bs-nav-tabs-link-active-color: rgb(250, 236, 174);
  --bs-card-bg: rgb(191, 177, 143);
  --bs-border-color: rgb(112, 73, 38);
  --bs-emphasis-color: rgb(87, 24, 25);
  --bs-heading-color: rgb(68, 30, 24);
  --bs-secondary-bg: rgb(210, 195, 162);
  --bs-secondary-bg-rgb: 210, 195, 162;
  --bs-tertiary-bg: rgb(210, 195, 162);
  --mwpalette-Text_1: 0, 0, 0;
  --mwpalette-Text_2: 98, 98, 98;
  --mwpalette-Text_3: 137, 137, 137;
  --mwpalette-Warm_1: 225, 53, 45;
  --mwpalette-Warm_2: 237, 134, 129;
  --mwpalette-Warm_3: 67, 16, 13;
  --mwpalette-Cool_1: 18, 179, 171;
  --mwpalette-Cool_2: 11, 112, 107;
  --mwpalette-Cool_3: 7, 67, 64;
  --mwpalette-Bright_1: 0, 153, 255;
  --mwpalette-Bright_2: 51, 173, 255;
  --mwpalette-Bright_3: 0, 107, 179;
  --mwpalette-Bold_1: 224, 114, 56;
  --mwpalette-Bold_2: 157, 80, 39;
  --mwpalette-Bold_3: 67, 34, 17;
  --mwpalette-Bold_4: 158, 37, 31;
  --mwpalette-Accent_1: 82, 179, 54;
  --mwpalette-Accent_2: 72, 157, 47;
  --mwpalette-Accent_3: 41, 90, 27;
  --mwpalette-Accent_4: 10, 22, 7;
  --mwpalette-Mood_1: 224, 34, 192;
  --mwpalette-Mood_2: 201, 30, 173;
  --mwpalette-Mood_3: 230, 78, 205;
  --mwpalette-Mood_4: 90, 14, 77;
  --theme-card-bg: 226 210 174;
  --theme-dashboard-card-bg: 210 195 162;
  --theme-nav-active-bg: 68 30 24;
  --theme-nav-active-color: 250 236 174;
  --theme-navbar-bg: 86 36 27;
  --theme-navbar-color: 250 236 174;
  --theme-navbar-font-family: 'Roboto Slab', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --theme-navbar-font-size: 1rem;
  --theme-navbar-font-weight: 400;
  --theme-footer-bg: 68 30 24;
  --theme-footer-color: 250 236 174;
  --theme-form-bg: 226 210 174;
  --theme-form-color: 0 0 0;
  --theme-form-border-color: 112 73 38;
  --theme-form-focus-bg: 240 228 200;
  --theme-form-focus-border-color: 156 66 33;
  --theme-form-focus-ring-color: 156 66 33;
  --theme-map-selected-color: 156 66 33;
  --theme-map-flag-color: 225 53 45;
  /* Texture URLs (assets copied per-surface)
   */
  --static-body-bg-image: url("textures/theme-pagebg.webp");
  --static-body-bg-repeat: repeat;
  --static-chrome-bg-image: url("textures/theme-redtex.webp");
  --static-chrome-bg-repeat: repeat;
}

/* ---- minimal reboot ----------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1rem;
  line-height: 1.55;
  background-color: var(--bs-body-bg);
  background-image: var(--static-body-bg-image, none);
  background-repeat: var(--static-body-bg-repeat, repeat);
  color: var(--bs-body-color);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--bs-link-color);
  text-decoration: none;
}
a:hover, a:focus {
  color: var(--bs-link-hover-color);
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto Slab", Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  color: var(--bs-heading-color);
  font-weight: 600;
  line-height: 1.25;
}

code, pre, kbd, samp {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

img, svg, video { max-width: 100%; height: auto; }

hr {
  border: 0;
  border-top: 1px solid var(--bs-border-color);
  margin: 1.5rem 0;
}
