/* =============================================================
   base.css — reset, page shell, typographic defaults
   ============================================================= */

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}

body{
  font-family:var(--font);
  color:var(--ink);
  background:var(--bg);
  font-size:var(--t-body);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img,svg,video,canvas{display:block;max-width:100%}

a{text-decoration:none;color:inherit}

button,input,select,textarea{font-family:inherit;font-size:inherit;color:inherit}

:focus-visible{outline:2px solid var(--red);outline-offset:2px}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;scroll-behavior:auto!important}
}

/* ---------- shell ---------- */
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gutter)}

/* screen-reader only — use on every section heading that is
   visually replaced by an image, and on skip links */
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* skip link — first focusable element on every page */
.skip{position:absolute;left:-9999px;top:0;z-index:999;background:var(--red);color:#fff;padding:10px 18px;font-size:14.5px}
.skip:focus{left:0}

/* generic rich-text block used inside sections */
.prose{font-size:15px;color:var(--body);line-height:1.85}
.prose p{margin-bottom:14px}
.prose p:last-child{margin-bottom:0}
.prose ul,.prose ol{margin:0 0 14px 20px}
.prose li{margin-bottom:6px}
.prose strong{color:var(--ink);font-weight:500}
.prose a{color:var(--red);text-decoration:underline;text-underline-offset:2px}
.prose h3{font-size:16.5px;color:var(--ink);margin:20px 0 8px;font-weight:700}
.prose h4{font-size:15px;color:var(--ink);margin:16px 0 6px;font-weight:500}

/* page-level heading block, used by every inner page */
.page-head{background:var(--white);border-bottom:1px solid var(--line);padding:26px 0}
.page-head .crumbs{font-size:13px;color:var(--muted);margin-bottom:10px}
.page-head .crumbs a:hover{color:var(--red)}
.page-head .crumbs span{color:#c4c4c4;margin:0 6px}
.page-head h1{font-size:26px;line-height:1.3;font-weight:700;letter-spacing:-.01em}
.page-head p{font-size:15px;color:var(--body);max-width:760px;margin-top:8px;line-height:1.8}

@media(max-width:600px){
  .wrap{padding:0 var(--gutter-sm)}
  .page-head{padding:20px 0}
  .page-head h1{font-size:21px}
}
