/* OTAFC layout + typography v1 (shared, all inner pages). Header, hero and footer are not touched. */
:root{--otafc-navy:#0b2a5b;--otafc-blue:#2563eb;--otafc-orange:#fb923c;--otafc-text:#1f2937;--otafc-muted:#475569;--otafc-font:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
/* 1. One font everywhere (Tailwind font-sans was falling back to the system font) */
html,body,.font-sans,main,main :where(p,li,td,th,dd,dt,label,blockquote,figcaption,button,input,select,textarea){font-family:var(--otafc-font)!important}
body{color:var(--otafc-text);background-color:#fafaf9;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
/* 2. One page width: 1200px content container, same side gutters on every page */
body>main,body main.flex-grow{width:100%!important;max-width:1200px!important;margin-left:auto!important;margin-right:auto!important;padding-left:16px!important;padding-right:16px!important;box-sizing:border-box}
@media (min-width:640px){body>main,body main.flex-grow{padding-left:24px!important;padding-right:24px!important}}
/* text-only pages (About, legal, contact, 404) keep a narrower reading column */
body main[class*="max-w-[900px]"],body main[class*="max-w-[850px]"]{max-width:900px!important}
/* 3. Readable line length for running text (about 70-75 characters) */
main p,main li{max-width:46rem}
main .text-center p,main p.text-center,main .text-center li{margin-left:auto;margin-right:auto}
main :where(table,figure,form,.otafc-related,[class*="grid"]) :where(p,li){max-width:none}
/* 4. Body text: one size, one color family */
main p,main li{line-height:1.7}
main .text-stone-600,main .text-stone-700,main .text-gray-600,main .text-gray-700,main .text-slate-600,main .text-slate-700,main .text-\[\#444\],main .text-\[\#444444\],main .text-\[\#333\],main .text-\[\#333333\],main .text-\[\#222\],main .text-\[\#222222\],main .text-neutral-700,main .text-neutral-600{color:#374151}
main .text-stone-500,main .text-gray-500,main .text-slate-500{color:#64748b}
/* 5. Headings: brand navy, consistent scale and spacing */
.text-\[\#003366\]{color:var(--otafc-navy)!important}
main h2,main h3,main h4{font-family:var(--otafc-font)!important;letter-spacing:-.015em;text-wrap:balance}
main h2:not([class*="text-white"]):not([class*="text-orange"]):not([class*="text-blue"]),main h3:not([class*="text-white"]):not([class*="text-orange"]):not([class*="text-blue"]){color:var(--otafc-navy)}
main h2{line-height:1.3}
main h3{line-height:1.35}
/* 6. Links in running text */
main p a:not([class*="bg-"]):not([class*="btn"]),main li a:not([class*="bg-"]):not([class*="btn"]){color:var(--otafc-blue);text-underline-offset:3px;text-decoration-thickness:1px}
main p a:not([class*="bg-"]):not([class*="btn"]):hover,main li a:not([class*="bg-"]):not([class*="btn"]):hover{color:#1d4ed8}
/* 7. Tables and images never break the page width on mobile */
main img{max-width:100%;height:auto}
main table{max-width:100%}
main .overflow-x-auto{-webkit-overflow-scrolling:touch}
html,body{overflow-x:clip}
/* 8. Small screens: rows of buttons wrap instead of running off the screen */
@media (max-width:639px){main div.flex:not(.flex-col):not(.flex-nowrap):has(>button+button){flex-wrap:wrap}}
