/* AX365: shared foundations. Heading width follows its layout column. */
@font-face { font-family: Onest; src: url("../fonts/Onest.23cd8aa6cc08.ttf") format('truetype'); font-style: normal; font-weight: 100 900; font-display: swap; }
:root {
  --bg: #fcfcee;
  --surface: #fcfcee;
  --text: #000000;
  --muted: #53534b;
  --line: #d6d6c9;
  --accent: #182f81;
  --accent-hover: #122568;
  --accent-soft: #e8ebf4;
  --success: #225c3e;
  --success-bg: #e8efe5;
  --error: #92372f;
  --error-bg: #f5e8df;
  --font: Onest, 'Segoe UI', Arial, sans-serif;
  --radius: 10px;
  --panel-radius: 16px;
  --container: 1240px;
  --ease: 160ms ease;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.2; letter-spacing: normal; font-stretch: normal; text-transform: none; }
h1 { font-size: 52px; }
h2 { font-size: 36px; }
h3 { font-size: 22px; }
p { margin-top: 16px; }
a { color: inherit; text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent); }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img, svg, input, textarea, select { max-width: 100%; }
button:disabled { opacity: .55; cursor: not-allowed; }
:is(button, a, input, select, textarea, summary):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--bg); }
small, .small { font-size: 13px; line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.lead { font-size: 19px; line-height: 1.65; color: var(--muted); }
.icon { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.danger { color: var(--error) !important; }
.block { width: 100%; }
.spaced { margin-top: 24px; }
.skip { position: absolute; top: -100px; left: 12px; z-index: 100; padding: 12px; background: var(--accent); color: var(--bg); }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
