/* ACS website styles. Direction: "the well-run board paper". No web fonts, no third-party assets. */
:root {
  --navy: #0B2148; --navy-deep: #06172F; --teal: #2B7785; --teal-dark: #1F5F6B;
  --teal-light: #7FC4CF; --teal-tint: #E8F2F4; --ink: #1B2430; --muted: #4A5868;
  --surface: #FFFFFF; --surface-alt: #F5F7FA; --border: #D9E0E8; --border-strong: #8796AB;
  --on-dark: #FFFFFF; --on-dark-muted: #C9D3E0; --error: #B42318;
  --font: Arial, "Helvetica Neue", Helvetica, "Liberation Sans", sans-serif;
  --fs-display: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --fs-h1: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --fs-h2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --fs-h3: clamp(1.125rem, 1.08rem + 0.2vw, 1.25rem);
  --fs-lead: clamp(1.125rem, 1.08rem + 0.2vw, 1.25rem);
  --fs-body: clamp(1rem, 0.98rem + 0.1vw, 1.0625rem);
  --fs-small: 0.875rem; --fs-eyebrow: 0.8125rem;
  --container: min(1160px, calc(100% - 32px));
  --section: clamp(48px, 7vw, 96px);
  --radius: 8px; --radius-btn: 6px;
}
@media (min-width: 640px) { :root { --container: min(1160px, calc(100% - 48px)); } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.6; color: var(--ink); background: var(--surface); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.band-navy :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible { outline-color: var(--teal-light); }
h1, h2, h3, h4 { color: var(--navy); font-weight: 700; margin: 0 0 0.5em; }
h1 { font-size: var(--fs-h1); line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); line-height: 1.2; }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
p, ul, ol { margin: 0 0 1em; }
.prose { max-width: 68ch; }
.container { width: var(--container); margin-inline: auto; }
.section { padding-block: var(--section); }
.section.alt { background: var(--surface-alt); }
.eyebrow { display: block; font-size: var(--fs-eyebrow); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal-dark); margin-bottom: 12px; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.email { overflow-wrap: anywhere; font-weight: 700; }

/* Helpers */
.skip-link { position: absolute; left: 16px; top: -100px; background: var(--navy); color: #fff; padding: 12px 16px; z-index: 100; border-radius: var(--radius-btn); font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }
.sr-only, .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.wordmark-logo { display: block; height: 56px; width: auto; }
.wordmark-mark { font-size: 1.625rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1; padding-right: 12px; border-right: 3px solid var(--teal); }
.wordmark-name { font-size: 0.875rem; font-weight: 700; line-height: 1.2; max-width: 11ch; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 0.9375rem; border-radius: var(--radius-btn); }
.site-nav a:hover { color: var(--teal-dark); text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--teal-dark); text-decoration: underline; text-decoration-thickness: 3px; }
.site-nav a.nav-cta { background: var(--navy); color: #fff; padding: 0 16px; }
.site-nav a.nav-cta:hover { background: var(--teal-dark); color: #fff; }
.menu-button { display: none; }
.js .menu-button { font: inherit; font-weight: 700; color: var(--navy); background: var(--surface); border: 2px solid var(--navy); border-radius: var(--radius-btn); min-height: 44px; padding: 0 14px; cursor: pointer; }
@media (max-width: 1023px) {
  .header-inner { min-height: 60px; flex-wrap: wrap; }
  .js .menu-button { display: inline-flex; align-items: center; }
  .js .site-nav { display: none; width: 100%; padding-bottom: 12px; }
  .js .site-nav.open { display: block; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav a { min-height: 48px; width: 100%; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: var(--radius-btn); font-weight: 700; text-decoration: none; border: 2px solid var(--navy); font-size: 1rem; line-height: 1.2; text-align: center; cursor: pointer; font-family: var(--font); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--navy); }
.btn-secondary:hover { background: var(--teal-tint); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--teal-tint); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 639px) { .btn-row .btn { width: 100%; } }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 88px); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; } }
.hero h1 { font-size: var(--fs-display); line-height: 1.1; letter-spacing: -0.02em; max-width: 20ch; }
.hero-audience { font-weight: 700; color: var(--navy); }
.strap { margin-top: 28px; font-weight: 700; color: var(--navy); }
.strap::before { content: ""; display: block; width: 40px; height: 3px; background: var(--teal); margin-bottom: 10px; }
.page-hero { padding-block: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--border); }
.page-hero h1 { max-width: 24ch; }

/* Diagram */
.diagram { margin: 0; }
.diagram svg { display: block; width: 100%; height: auto; }
.diagram figcaption { font-size: var(--fs-small); color: var(--muted); margin-top: 12px; }

/* Tiles */
.tile-groups { display: grid; gap: 40px; }
@media (min-width: 1024px) { .tile-groups { grid-template-columns: 2fr 1fr; } }
.tile-group h3.group-title { font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal-dark); margin-bottom: 16px; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .tiles.two { grid-template-columns: repeat(2, 1fr); } }
.tile { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 20px; height: 100%; position: relative; }
.tile:hover { border-color: var(--teal); }
.tile h4, .tile .h4 { font-size: var(--fs-h3); margin-bottom: 6px; }
.tile h4 a, .tile .h4 a { color: var(--navy); text-decoration: none; }
.tile h4 a::after, .tile .h4 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.tile h4 a:hover, .tile .h4 a:hover { text-decoration: underline; }
.tile p { margin: 0; color: var(--muted); }
.tile .num { display: block; font-size: var(--fs-small); font-weight: 700; color: var(--teal-dark); margin-bottom: 6px; }
.tag { display: inline-block; font-size: var(--fs-eyebrow); font-weight: 700; color: var(--teal-dark); background: var(--teal-tint); padding: 2px 8px; border-radius: 4px; margin-bottom: 8px; }

/* Two column */
.split { display: grid; gap: 40px; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; } .split.wide-left { grid-template-columns: 2fr 1fr; } }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.facts li { border-left: 3px solid var(--teal); padding: 4px 0 4px 16px; }
.facts strong { display: block; color: var(--navy); font-size: var(--fs-h3); }

/* Steps */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 24px; }
.steps li { counter-increment: step; position: relative; padding-left: 56px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--teal-tint); color: var(--navy); border: 2px solid var(--teal); }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; }
.steps .note { display: inline-block; margin-top: 6px; font-size: var(--fs-small); font-weight: 700; }
@media (min-width: 1024px) {
  .steps.row { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .steps.row li { padding-left: 0; padding-top: 56px; }
  .steps.row li::after { content: ""; position: absolute; top: 20px; left: 48px; right: -12px; height: 2px; background: var(--teal); }
  .steps.row li:last-child::after { display: none; }
}
.band-navy { background: var(--navy); color: var(--on-dark); }
.band-navy h2, .band-navy h3 { color: var(--on-dark); }
.band-navy .eyebrow { color: var(--teal-light); }
.band-navy p { color: var(--on-dark-muted); }
.band-navy a { color: var(--teal-light); }
.band-navy .steps li::before { background: var(--navy); color: #fff; border-color: var(--teal-light); }
.band-navy .steps .note { color: var(--teal-light); }

/* Family chips */
.chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--teal-tint); color: var(--navy); font-weight: 700; padding: 8px 14px; border-radius: var(--radius-btn); }
.chips li.core { background: var(--navy); color: #fff; }

/* Credentials */
.creds { border-block: 1px solid var(--border); }
.cred-groups { display: grid; gap: 32px; }
@media (min-width: 1024px) { .cred-groups { grid-template-columns: 2fr 5fr; } }
.cred-groups h3 { font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal-dark); }
.badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .badges { grid-template-columns: repeat(3, 1fr); } }
.badges.two { grid-template-columns: repeat(2, 1fr); }
.badge { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; min-height: 80px; background: var(--surface); }
.badge img { height: 64px; width: auto; }
.badge img.mark-missing { display: none; }
.badge span { font-weight: 700; color: var(--navy); font-size: var(--fs-small); line-height: 1.35; }

/* Cards / cases */
.cards { display: grid; gap: 20px; }
@media (min-width: 820px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--surface); }
.card .label { display: inline-block; font-size: var(--fs-eyebrow); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal-dark); margin-bottom: 8px; }
.service { padding-block: 32px; border-top: 1px solid var(--border); }
.service:first-of-type { border-top: 0; }
.service .for { font-style: italic; color: var(--muted); }
.jump { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-btn); text-decoration: none; font-weight: 700; font-size: var(--fs-small); color: var(--navy); }
.jump a:hover { border-color: var(--teal); background: var(--teal-tint); }
.tick-list { list-style: none; padding: 0; }
.tick-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.tick-list li::before { content: ""; position: absolute; left: 4px; top: 0.45em; width: 10px; height: 6px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }
.panel { background: var(--teal-tint); border-left: 4px solid var(--teal); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; }
.panel p:last-child { margin-bottom: 0; }

/* Utility layout */
.utility { display: grid; gap: 40px; }
@media (min-width: 820px) { .utility { grid-template-columns: 2fr 1fr; } .aside-box { position: sticky; top: 96px; } }
.aside-box { border: 1px solid var(--border); background: var(--surface-alt); border-radius: var(--radius); padding: 24px; align-self: start; }

/* Form */
.contact-form { display: grid; gap: 20px; max-width: 640px; }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field .hint { display: block; font-size: var(--fs-small); color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); padding: 12px; min-height: 48px; border: 2px solid var(--border-strong); border-radius: var(--radius-btn); background: #fff; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--teal); }
.field textarea { min-height: 180px; resize: vertical; }
.honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-fallback { font-size: var(--fs-small); }

/* Checklists (resources) */
.checklist { counter-reset: chk; list-style: none; padding: 0; margin: 0; }
.checklist > li { counter-increment: chk; position: relative; padding: 20px 0 20px 56px; border-top: 1px solid var(--border); break-inside: avoid; }
.checklist > li::before { content: counter(chk); position: absolute; left: 0; top: 20px; width: 36px; height: 36px; display: grid; place-items: center; font-weight: 700; color: var(--navy); border: 2px solid var(--teal); border-radius: 4px; }
.checklist h3 { margin-bottom: 6px; }
.checklist p { margin-bottom: 6px; }
.assess { width: 100%; border-collapse: collapse; margin: 16px 0 32px; }
.assess th, .assess td { border: 1px solid var(--border-strong); padding: 10px 12px; text-align: left; vertical-align: top; }
.assess th { background: var(--surface-alt); color: var(--navy); }
.assess td.box { width: 5.5rem; }
.table-wrap { overflow-x: auto; }
.print-btn { display: none; }
.js .print-btn { display: inline-flex; }

/* Legal */
.legal-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 240px 1fr; } .legal-nav { position: sticky; top: 96px; align-self: start; } }
.legal-nav ul { list-style: none; padding: 0; margin: 0; }
.legal-nav a { display: block; padding: 6px 0; }
.legal-body { max-width: 68ch; }
.legal-body h2 { font-size: var(--fs-h3); margin-top: 32px; }

/* CTA band and footer */
.cta-band { background: var(--navy); color: var(--on-dark); padding-block: clamp(40px, 6vw, 72px); }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark-muted); max-width: 62ch; }
.cta-band a:not(.btn) { color: var(--teal-light); }
.site-footer { background: var(--navy-deep); color: var(--on-dark-muted); padding-block: 48px 32px; font-size: var(--fs-small); }
.site-footer a { color: var(--teal-light); }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-wordmark { color: #fff; font-weight: 700; font-size: 1.25rem; }
.footer-strap { color: #fff; font-weight: 700; }
.gbc { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; }
.gbc img { height: 48px; width: auto; background: #fff; padding: 4px; border-radius: 4px; }
.gbc img.mark-missing { display: none; }
.footer-legal { border-top: 1px solid rgba(201, 211, 224, 0.3); margin-top: 32px; padding-top: 20px; }
.footer-legal p { margin-bottom: 6px; }

/* Motion */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Print */
@media print {
  .site-header, .site-footer, .cta-band, .skip-link, .btn-row, .print-btn, .menu-button, .jump, .no-print { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .section, .page-hero, .hero { padding-block: 12pt; border: 0; }
  .container { width: 100%; }
  a { color: #000; }
  .legal-body a[href^="http"]::after, .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .checklist > li { page-break-inside: avoid; }
  .print-footer { display: block !important; }
}
.print-footer { display: none; font-size: 9pt; margin-top: 24pt; }

/* ---- v2 fixes (01 Nov 2026) ---- */
.badge { justify-content: center; min-height: 0; padding: 12px 14px; border-left: 4px solid var(--teal); }
.badge.has-mark { min-height: 80px; }
.tiles.two > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 640px) { .tiles.three { grid-template-columns: repeat(2, 1fr); } .tiles.three > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .tiles.three { grid-template-columns: repeat(3, 1fr); } .tiles.three > li:last-child:nth-child(odd) { grid-column: auto; } }
.tile:focus-within { outline: 3px solid var(--teal); outline-offset: 2px; }
.after-cards { margin-top: 24px; }
.site-footer .email { overflow-wrap: normal; word-break: normal; font-size: 0.8125rem; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr 1.9fr; } }
.req { font-weight: 400; color: var(--muted); font-size: var(--fs-small); }
/* Hero diagram: SVG on wider screens, readable HTML version on phones */
.diagram-mobile { display: none; }
@media (max-width: 639px) {
  .hero .diagram { display: none; }
  .diagram-mobile { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin-top: 8px; }
  .dm-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
  .dm-col li { background: #E8F2F4; border: 1.5px solid var(--teal); border-radius: 6px; padding: 8px 6px; font-size: 0.875rem; font-weight: 700; color: var(--navy); text-align: center; }
  .dm-head { margin: 0 0 6px; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #1F5F6B; text-align: center; }
  .dm-core { background: var(--navy); color: #fff; border-radius: 8px; padding: 14px 8px; text-align: center; width: 84px; }
  .dm-core span { display: block; font-size: 1.375rem; font-weight: 700; }
  .dm-core small { display: block; font-size: 0.875rem; color: #7FC4CF; font-weight: 700; line-height: 1.25; margin-top: 4px; }
}
@media (max-width: 399px) { .wordmark-name { max-width: 14ch; } }
.badges > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 640px) { .badges > li:last-child:nth-child(odd) { grid-column: auto; } .badges:not(.two) > li:last-child:nth-child(3n+2) { grid-column: span 2; } }
@media (min-width: 1024px) { .cred-groups { grid-template-columns: 1fr; } .badges, .badges.two { grid-template-columns: repeat(5, 1fr); } .badges:not(.two) > li:last-child:nth-child(3n+2) { grid-column: auto; } }
.creds .cred-groups + p { margin-top: 24px; }
@media (min-width: 820px) { .cards > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
.aside-box .email { overflow-wrap: anywhere; word-break: normal; font-size: 0.8125rem; }
