/* Screenless Allies — hand-coded stylesheet. Written for Jose Briseno, 2026. */
:root{
  --red:#B80D0D; --red-dark:#8f0a0a; --tint:#F9E9E9;
  --ink:#1c1c1c; --paper:#ffffff; --line:#d9d9d9;
}
*{box-sizing:border-box}
body{margin:0;font-family:-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:var(--ink);background:var(--paper);line-height:1.6;font-size:1.125rem}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--red);color:#fff;padding:.6rem 1rem;z-index:10}
.skip-link:focus{left:0}
a{color:var(--red-dark)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--red);outline-offset:2px}
.site-header{border-bottom:4px solid var(--red);padding:1rem 1.25rem;display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 2rem;max-width:76rem;margin:0 auto}
.site-title{font-size:1.5rem;font-weight:700;color:var(--ink);text-decoration:none}
.site-title:hover{color:var(--red)}
nav.main-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.25rem 1.25rem}
nav.main-nav a{color:var(--ink);text-decoration:none;font-weight:600}
nav.main-nav a:hover{color:var(--red);text-decoration:underline}
nav.main-nav a[aria-current="page"]{color:var(--red);text-decoration:underline}
main{max-width:76rem;margin:0 auto;padding:1.5rem 1.25rem 3rem}
main p,main li{max-width:72ch}
h1{font-size:2rem;line-height:1.25;margin:.5rem 0 1rem}
h2{font-size:1.5rem;margin:2rem 0 .75rem;line-height:1.3}
h3{font-size:1.2rem;margin:1.5rem 0 .5rem}
img{max-width:100%;height:auto;border-radius:6px}
.site-logo{height:64px;width:auto}
hr{border:0;border-top:2px solid var(--tint);border-bottom:1px solid var(--line);margin:2rem 0}
blockquote{border-left:4px solid var(--red);background:var(--tint);margin:1.5rem 0;padding:1rem 1.25rem;border-radius:0 6px 6px 0}
blockquote p{margin:.25rem 0}
blockquote cite{display:block;margin-top:.5rem;font-style:italic}
.button{display:inline-block;background:var(--red);color:#fff;text-decoration:none;font-weight:700;padding:.7rem 1.4rem;border-radius:6px;border:0;cursor:pointer;font-size:1.05rem}
.button:hover{background:var(--red-dark)}
.buttons{margin:1rem 0}
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem;margin:1.5rem 0}
.tile{background:#fff;border:1px solid var(--line);border-top:4px solid var(--red);border-radius:6px;padding:1.25rem}
.tile h2,.tile h3{margin-top:0}
.tile figure{margin:0}
.tile img{width:100%}
.site-footer{border-top:4px solid var(--red);background:var(--tint);padding:1.5rem 1.25rem;margin-top:2rem}
.site-footer .wrap{max-width:76rem;margin:0 auto;display:flex;flex-wrap:wrap;gap:.5rem 2rem;align-items:center}
.site-footer a{color:var(--ink)}
form{max-width:44rem}
.field{margin:0 0 1.4rem}
fieldset.field{border:1px solid var(--line);border-radius:6px;padding:1rem 1.25rem}
legend{font-weight:700;padding:0 .4rem}
label{font-weight:600;display:block;margin-bottom:.35rem}
fieldset label{font-weight:400;display:flex;gap:.55rem;align-items:flex-start;margin:.45rem 0}
input[type="text"],input[type="email"],input[type="tel"],input[type="number"],textarea{width:100%;padding:.6rem .7rem;border:1.5px solid #767676;border-radius:4px;font:inherit}
input[type="radio"],input[type="checkbox"]{width:1.25rem;height:1.25rem;margin-top:.2rem;flex:none}
.help{color:#444;font-size:.95rem;margin:.3rem 0 0}
.req{color:var(--red);font-weight:700}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.consent-text{font-weight:400}
@media (prefers-color-scheme: dark){
  :root{--ink:#f2f2f2;--paper:#161616;--line:#444}
  .tile{background:#1e1e1e}
  blockquote{background:#2a1515}
  .site-footer{background:#2a1515}
  .help{color:#ccc}
  input,textarea{background:#1e1e1e;color:#f2f2f2}
}

/* Display settings: text size steps (visitor's own base size respected) */
html[data-textsize="large"]{font-size:125%}
html[data-textsize="xlarge"]{font-size:150%}
.display-settings{max-width:76rem;margin:0 auto;padding:.75rem 1.25rem;border-bottom:1px solid var(--line)}
.display-settings:empty{display:none}
.ds-title{font-size:1.05rem;margin:.25rem 0 .5rem}
.ds-group{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin:.4rem 0}
.ds-label{font-weight:600;margin-right:.25rem}
.ds-btn{font:inherit;font-size:.95rem;padding:.35rem .85rem;border:2px solid var(--ink);background:var(--paper);color:var(--ink);border-radius:999px;cursor:pointer}
.ds-btn[aria-pressed="true"]{background:var(--ink);color:var(--paper)}
/* High contrast theme */
html[data-contrast="high"]{--ink:#000;--paper:#fff;--line:#000;--red:#000;--red-dark:#000;--tint:#fff}
html[data-contrast="high"] body{background:#fff;color:#000}
html[data-contrast="high"] a{color:#0000cc;text-decoration:underline}
html[data-contrast="high"] .site-title,html[data-contrast="high"] nav.main-nav a{color:#000}
html[data-contrast="high"] .site-footer{background:#fff}
html[data-contrast="high"] .tile,html[data-contrast="high"] blockquote{background:#fff}
html[data-contrast="high"] .button{background:#000;color:#fff}
html[data-contrast="high"] input,html[data-contrast="high"] textarea{background:#fff;color:#000;border-color:#000}
html[data-contrast="high"] a:focus-visible,html[data-contrast="high"] button:focus-visible,html[data-contrast="high"] input:focus-visible,html[data-contrast="high"] textarea:focus-visible{outline:3px solid #000}

/* Low-vision basics: links in content are underlined, never color alone */
main a{text-decoration:underline}
.site-footer a{text-decoration:underline}
/* Windows forced-colors mode: keep the pressed state of the display buttons visible */
@media (forced-colors: active){
  .ds-btn[aria-pressed="true"]{outline:3px solid ButtonText;outline-offset:2px}
}

/* Print: content prints as a clean document; controls and forms do not print */
.print-note{display:none}
@media print{
  @page{margin:2cm}
  body{background:#fff;color:#000;font-size:12pt}
  .skip-link,.display-settings,nav.main-nav,.button,.buttons{display:none}
  .site-header{border:0;padding:0 0 1rem}
  .site-logo{height:40px}
  .site-footer{background:#fff;border-top:1px solid #000}
  a{color:#000;text-decoration:underline}
  main{max-width:none;padding:0}
  h1,h2,h3{page-break-after:avoid}
  blockquote,.tile{background:#fff;border:1px solid #000}
  form{display:none}
  .print-note{display:block;border:1px solid #000;padding:1rem;font-weight:600}
}
