/* bundle-site.css - GENERATED by scripts/build_css_bundles.py from: base.css, fonts.css, chrome.css.
   Do not edit; change the source files and re-run the script. */

/* ===== base.css ===== */
/* base.css — shared design tokens + reset for every themed page (Section 35 HCI, Section 8.5 Design System).
   Linked first, before chrome.css and the page-family stylesheet (eaa.css, home.css).
   Dark mode: prefers-color-scheme (unless data-theme="light") or an explicit data-theme="dark" (home theme toggle). */

:root {
    --primary: #1a1a2e;      /* ink: headings, strong text */
    --panel: #1a1a2e;        /* dark panels that carry light text (badge, table head, credibility) */
    --badge-ink: #ffffff;
    --accent: #4f46e5;
    --accent-light: #6366f1;
    --on-accent: #ffffff;
    --surface: #fafaf9;      /* page */
    --surface-alt: #f5f5f4;
    --band: #ffffff;         /* home section bands */
    --band-alt: #fafaf9;
    --card: #ffffff;
    --tint: #f5f3ff;         /* chips, numbered tiles */
    --cta-bg: #1a1a2e;
    --text: #1c1917;
    --text-muted: #57534e;
    --border: #e7e5e4;
    --ok: #15803d;
    --ok-ink: #065f46;
    --success: #059669;
    --err: #b91c1c;
    --callout-bg: #fff7ed;
    --callout-border: #fed7aa;
    --callout-ink: #c2410c;
    --measure: 720px;        /* reading column */
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) {
        --primary: #f5f5f4; --panel: #2d2d44; --badge-ink: #a5b4fc;
        --accent: #818cf8; --accent-light: #a5b4fc; --on-accent: #0f0f1a;
        --surface: #0f0f1a; --surface-alt: #16162a; --band: #0f0f1a; --band-alt: #16162a;
        --card: #1e1e36; --tint: #2d2d44; --cta-bg: #16162a;
        --text: #e7e5e4; --text-muted: #a8a29e; --border: #2d2d44;
        --ok: #34d399; --ok-ink: #34d399; --success: #34d399; --err: #f87171;
        --callout-bg: #2a1f14; --callout-border: #6b4423; --callout-ink: #fdba74;
        color-scheme: dark;
    }
}
html[data-theme="dark"] {
    --primary: #f5f5f4; --panel: #2d2d44; --badge-ink: #a5b4fc;
    --accent: #818cf8; --accent-light: #a5b4fc; --on-accent: #0f0f1a;
    --surface: #0f0f1a; --surface-alt: #16162a; --band: #0f0f1a; --band-alt: #16162a;
    --card: #1e1e36; --tint: #2d2d44; --cta-bg: #16162a;
    --text: #e7e5e4; --text-muted: #a8a29e; --border: #2d2d44;
    --ok: #34d399; --ok-ink: #34d399; --success: #34d399; --err: #f87171;
    --callout-bg: #2a1f14; --callout-border: #6b4423; --callout-ink: #fdba74;
    color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== fonts.css ===== */
/* fonts.css — self-hosted Inter + Newsreader (Section 35 HCI / 8.5 Design System; performance).
   Replaces the render-blocking Google Fonts stylesheet and two third-party connections on every themed page.
   Same files Google served (latin + latin-ext subsets; other scripts fall back to the system font), so type
   renders identically. Both families are SIL Open Font License 1.1: see web/fonts/LICENSE.txt.
   Inter is one variable file for 400-700; Newsreader keeps the 400/600 + italic 400 faces the pages request.
   Critical faces are preloaded in each page's <head> (inter-latin, newsreader-latin). */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url(/fonts/inter-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: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url(/fonts/inter-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; }

@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400; font-display: swap;
    src: url(/fonts/newsreader-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: 'Newsreader'; font-style: normal; font-weight: 600; font-display: swap;
    src: url(/fonts/newsreader-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: 'Newsreader'; font-style: normal; font-weight: 400; font-display: swap;
    src: url(/fonts/newsreader-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; }

@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 600; font-display: swap;
    src: url(/fonts/newsreader-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; }

@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap;
    src: url(/fonts/newsreader-italic-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: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap;
    src: url(/fonts/newsreader-italic-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; }

/* ===== chrome.css ===== */
/* chrome.css — shared header, navigation, mobile menu, skip link (Section 35 HCI, Section 8.5).
   One source for /, /eaa/*. Markup: src/hrao/web_templates/ (header + footer) and the home header. */

.site-header { padding: 1rem 0; border-bottom: 1px solid var(--border); background: var(--card); position: relative; z-index: 1000; }
.header-content { display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.logo { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 600; color: var(--primary); text-decoration: none; font-size: 1.125rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text-muted); text-decoration: none; font-size: 0.9375rem; padding: 0.5rem 0; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.current-page { color: var(--primary); font-weight: 500; position: relative; }
.nav-links a.current-page::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 2px; background: var(--primary); border-radius: 1px; }
.mobile-menu-btn { display: none; flex-direction: column; justify-content: center; width: 44px; height: 44px; border: none; background: none; cursor: pointer; padding: 8px; border-radius: 8px; transition: background-color 0.2s ease; }
.mobile-menu-btn:hover { background: var(--surface); }
.mobile-menu-btn:focus { outline: 2px solid var(--primary); outline-offset: 2px; }
.hamburger-icon { position: relative; width: 24px; height: 18px; }
.hamburger-icon span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 1px; opacity: 1; left: 0; transform: rotate(0deg); transition: all 0.25s ease; position: absolute; }
.hamburger-icon span:nth-child(1) { top: 0px; }
.hamburger-icon span:nth-child(2) { top: 8px; }
.hamburger-icon span:nth-child(3) { top: 16px; }
.mobile-menu-btn.active .hamburger-icon span:nth-child(1) { top: 8px; transform: rotate(135deg); }
.mobile-menu-btn.active .hamburger-icon span:nth-child(2) { opacity: 0; left: -60px; }
.mobile-menu-btn.active .hamburger-icon span:nth-child(3) { top: 8px; transform: rotate(-135deg); }
.mobile-nav-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--card); border-bottom: 1px solid var(--border); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); z-index: 999; }
.mobile-nav-menu.active { display: block; }
.mobile-nav-links { display: flex; flex-direction: column; max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem; }
.mobile-nav-links a { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text); text-decoration: none; padding: 1rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; transition: color 0.2s ease; }
.mobile-nav-links a:last-child { border-bottom: none; }
.mobile-nav-links a:hover { color: var(--primary); }
.mobile-nav-links a.current-page { color: var(--primary); font-weight: 500; }
/* Seven links (six + a per-page CTA) need ~1040px: tighten below 1180px, collapse to the hamburger below 900px. */
@media (max-width: 1180px) { .nav-links { gap: 1.25rem; } .nav-links a { font-size: 0.875rem; } .nav-links a.nav-cta { padding: 0.4rem 0.75rem; } }
@media (max-width: 900px) { .nav-links { display: none; } .mobile-menu-btn { display: flex; } .header-content { padding: 0 1rem; } }
@media (prefers-reduced-motion: reduce) { .hamburger-icon span, .mobile-menu-btn, .scroll-indicator { transition: none; animation: none; } }
@media (prefers-contrast: high) { .nav-links a, .mobile-nav-links a { border: 1px solid transparent; } .nav-links a:focus, .mobile-nav-links a:focus { border: 1px solid var(--text); } }
.skip-to-content { position: absolute; left: -9999px; top: 0; z-index: 1001; padding: 0.75rem 1rem; background: var(--accent); color: var(--on-accent); text-decoration: none; font-family: 'Inter', sans-serif; font-weight: 600; border-radius: 0 0 8px 0; }
.skip-to-content:focus { left: 0; }

/* ===== Footer (shared by / pages that use the site-footer template) ===== */
.site-footer { border-top: 1px solid var(--border); margin-top: 3rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; font-family: 'Inter', sans-serif; }
.footer-brand-name { font-weight: 600; color: var(--primary); }
.footer-tagline { font-size: 0.875rem; color: var(--text-muted); }
.footer-col { display: flex; flex-direction: column; gap: 0.375rem; }
.footer-col h3 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; color: var(--text-muted); }
.footer-col a { color: var(--accent); text-decoration: none; font-size: 0.875rem; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); font-family: 'Inter', sans-serif; font-size: 0.8125rem; color: var(--text-muted); text-align: center; }
.footer-disclosure { margin-top: 0.5rem; font-size: 0.6875rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0.5rem 1.25rem; }
.footer-bottom .footer-disclosure { flex-basis: 100%; }
.footer-legal-links { display: flex; gap: 1rem; }
.footer-legal-links a { color: var(--text-muted); text-decoration: none; }
.footer-legal-links a:hover { color: var(--accent); text-decoration: underline; }

/* ===== Per-page header call to action (blog posts keep their tracked CTA verbatim) ===== */
.nav-links a.nav-cta { background: var(--accent); color: var(--on-accent); padding: 0.5rem 1rem; border-radius: 8px; font-weight: 600; }
.nav-links a.nav-cta:hover { color: var(--on-accent); opacity: 0.9; }
.mobile-nav-links a.nav-cta { color: var(--accent); font-weight: 600; }

