/* Shared page typography and accessible primitives. */


:root {
  --navy-1000: #002640;
  --navy-950: #003357;
  --navy-900: #003d68;
  --navy-800: #07537f;
  --navy-700: #126790;
  --orange-600: #f39200;
  --orange-500: #ff9f0a;
  --orange-200: #ffd89a;
  --sky-300: #bad5f0;
  --sky-150: #dce9f6;
  --sand-200: #eadabf;
  --sand-100: #f4ecdf;
  --paper: #f7f8f5;
  --paper-cool: #f1f5f7;
  --white: #ffffff;
  --ink: #0b2b42;
  --ink-soft: #365569;
  --muted: #6a7f8d;
  --line: rgba(11, 43, 66, .14);
  --line-strong: rgba(11, 43, 66, .23);
  --line-dark: rgba(255, 255, 255, .18);
  --success: #71bd64;
  --warning: #f4b74a;
  --danger: #d9534f;
  --shadow-sm: 0 8px 24px rgba(0, 38, 64, .08);
  --shadow: 0 24px 70px rgba(0, 38, 64, .14);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 36px;
  --apc-container-max: 1240px;
  --container: min(var(--apc-container-max), calc(100vw - 48px));
  --narrow: min(820px, calc(100vw - 48px));
  --header-height: 88px;
  --ease: cubic-bezier(.2, .72, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  --apc-admin-bar-height: 0px;
  --apc-utility-bar-height: 38px;
  --apc-site-header-height: var(--header-height);
  --apc-fixed-top-offset: calc(var(--apc-admin-bar-height) + var(--apc-site-header-height));
  --apc-overlay-top-offset: calc(var(--apc-admin-bar-height) + var(--apc-utility-bar-height) + var(--apc-site-header-height));
  --apc-viewport-height: 100vh;
  --apc-fixed-available-height: calc(var(--apc-viewport-height) - var(--apc-fixed-top-offset));
  --apc-overlay-available-height: calc(var(--apc-viewport-height) - var(--apc-overlay-top-offset));
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--apc-font, Inter, Aptos, "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.admin-bar { --apc-admin-bar-height: 32px; }
body.menu-open, body.search-open { overflow: hidden; }
@supports (height: 100dvh) {
  body { --apc-viewport-height: 100dvh; }
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--orange-200); color: var(--navy-1000); }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -100px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 800;
  transition: top .2s ease;
}
.skip-link:focus { top: calc(var(--apc-admin-bar-height) + 18px); }

.container { width: var(--container); margin-inline: auto; }
.narrow { width: var(--narrow); margin-inline: auto; }
.section { position: relative; padding: 112px 0; }
.prose { color: var(--ink-soft); font-size: 17px; }
.prose p { margin: 0 0 1.2em; }
.prose h2, .prose h3 { color: var(--navy-1000); letter-spacing: -.03em; }
.prose h2 { margin: 2.2em 0 .6em; font-size: 34px; }
.prose h3 { margin: 1.8em 0 .5em; font-size: 24px; }
.prose ul { padding-left: 1.25em; }
.prose a { color: var(--navy-800); text-decoration: underline; text-decoration-color: var(--orange-500); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 880;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.button--primary { color: var(--navy-1000); border-color: var(--orange-600); background: var(--orange-600); }
.button--dark { color: var(--white); border-color: var(--navy-1000); background: var(--navy-1000); }
.button--light { color: var(--white); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.button--white { color: var(--navy-1000); border-color: var(--white); background: var(--white); }
.button svg { width: 17px; height: 17px; }
