/* Accessibility feature landing: editorial structure and a readable report example. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 7rem; }
body { margin: 0; color: var(--color-ink); background: var(--color-bg); font-family: var(--font-sans); line-height: 1.65; -webkit-font-smoothing: antialiased; }
.icon { display: inline-block; width: 1em; height: 1em; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-filled { fill: currentColor; stroke: none; }
a { color: var(--color-accent); text-underline-offset: .2em; }
a:hover { color: var(--color-accent-hover); }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }
input, button { font: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.14; letter-spacing: -.025em; }
h1 { font-size: clamp(2.3rem, 3.8vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.75rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.ac-container { width: min(100% - 2 * var(--spacing-container), 1200px); margin-inline: auto; }
.ac-eyebrow { color: var(--color-accent); font-size: .84rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ac-hero { padding-block: clamp(2.75rem, 5.2vw, 5rem); background: var(--color-bg-secondary); }
.ac-hero-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.ac-hero-copy h1 { max-width: 16ch; }
.ac-lead { max-width: 42ch; margin-top: 1.3rem; font-size: 1.12rem; color: var(--color-muted); }
.ac-included { margin-bottom: 1.4rem; font-size: .95rem; }
.ac-form label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .92rem; }
.ac-form-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.ac-form input[name="url"] { flex: 1 1 10rem; min-width: 0; width: 100%; min-height: 3.2rem; padding: .8rem 1rem; border: 1px solid #8292a6; border-radius: .4rem; color: var(--color-ink); background: #fff; }
.ac-form input::placeholder { color: var(--color-muted); opacity: 1; }
.ac-form input.is-invalid { border-color: var(--color-error); }
.ac-form .btn { flex: 0 1 auto; padding-inline: 1.15rem; }
.form-error { color: var(--color-error); font-size: .9rem; margin-block: .3rem; }
.form-error:empty { display: none; }
.ac-price { margin-top: .7rem; font-weight: 600; font-size: .9rem; }
.ac-price span { display: block; font-weight: 400; color: var(--color-muted); }
.ac-text-link { display: inline-block; font-weight: 600; padding-block: .35rem; font-size: .95rem; }
.ac-paused { padding-block: 1rem; border-block: 1px solid var(--color-border); }
.ac-paused strong { display: block; }
.ac-report { margin: 0; padding: 1.6rem 1.75rem; background: var(--color-surface); border-top: 5px solid var(--color-accent); box-shadow: var(--shadow-md); }
.ac-report-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1.2rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--color-border); color: var(--color-muted); font-size: .76rem; }
.ac-report-heading span:first-child { color: var(--color-accent); font-size: 1.35rem; font-weight: 700; letter-spacing: -.05em; }
.ac-report-section { font-size: .8rem; color: var(--color-muted); margin-bottom: .5rem; }
.ac-report h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); margin-bottom: 1rem; }
.ac-report > p:not(.ac-report-section) { font-size: .94rem; }
.ac-report-facts { margin: 1.3rem 0; font-size: .8rem; }
.ac-report-facts div { display: flex; flex-wrap: wrap; column-gap: 1.2rem; padding-block: .4rem; border-bottom: 1px solid var(--color-border); }
.ac-report-facts dt { color: var(--color-muted); flex: 1 0 9rem; }
.ac-report-facts dd { margin: 0; }
.ac-report code { font-size: .75rem; }
.ac-report-fix { padding: 1.1rem; background: var(--color-accent-soft); }
.ac-report-fix h3 { font-family: var(--font-sans); font-size: .95rem; letter-spacing: 0; margin-bottom: .5rem; }
.ac-report-fix p { font-size: .86rem; margin-bottom: .75rem; }
.ac-report-fix pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.ac-report figcaption { font-size: .73rem; color: var(--color-muted); margin-top: 1rem; }
.ac-section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.ac-section-heading { max-width: 38rem; }
.ac-section-heading h2 { margin-bottom: 1.2rem; }
.ac-section-heading > p:last-child:not(.ac-eyebrow) { color: var(--color-muted); max-width: 47ch; }
.ac-check-details { margin-top: 2.25rem; }
.ac-check-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); padding-block: 2.4rem; border-top: 1px solid var(--color-border); }
.ac-check-detail:last-child { padding-bottom: 0; }
.ac-check-method { color: var(--color-accent); font-size: .82rem; font-weight: 600; }
.ac-check-detail h3 { max-width: 27ch; margin-bottom: 1.1rem; font-size: clamp(1.35rem, 2vw, 1.65rem); }
.ac-check-detail p { max-width: 57ch; }
.ac-check-limit { color: var(--color-muted); font-size: .94rem; margin-bottom: 0; }
.ac-check-example { padding: 1.5rem; background: var(--color-bg-secondary); align-self: start; }
.ac-example-label { font-size: .78rem; font-weight: 600; color: var(--color-muted); }
.ac-check-example h4 { font-size: 1.1rem; line-height: 1.4; margin: 0 0 1rem; }
.ac-check-example > p:not(.ac-example-ratio, .ac-example-label) { font-size: .94rem; }
.ac-check-example p:last-child { margin-bottom: 0; }
.ac-check-example .ac-text-link { display: block; width: fit-content; }
.ac-check-example pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .85rem; line-height: 1.65; margin-block: 1rem; }
.ac-colour-pair { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .83rem; }
.ac-colour-pair > span { display: inline-flex; align-items: center; gap: .45rem; }
.ac-colour-swatch { width: 1.35rem; height: 1.35rem; border: 1px solid #697789; flex-shrink: 0; }
.ac-example-ratio { font-size: 2rem; font-weight: 700; line-height: 1.2; margin-block: 1.1rem; }
.ac-example-ratio span { display: block; font-size: .8rem; font-weight: 400; color: var(--color-muted); margin-top: .3rem; }
.ac-criteria { padding-top: 0; }
.ac-criteria-table { width: 100%; border-collapse: collapse; margin-block: 2rem 1.25rem; font-size: .94rem; }
.ac-criteria-table caption { text-align: left; font-size: .85rem; color: var(--color-muted); margin-bottom: .7rem; }
.ac-criteria-table th, .ac-criteria-table td { text-align: left; vertical-align: top; padding: 1rem .8rem; border-bottom: 1px solid var(--color-border); }
.ac-criteria-table thead { background: var(--color-bg-secondary); }
.ac-criteria-table th:first-child { width: 24%; padding-left: 0; }
.ac-criteria-table thead th:first-child { padding-left: .8rem; }
.ac-criteria-table td:last-child { width: 22%; }
.ac-criteria-table td span { display: block; white-space: nowrap; }
.ac-criteria-note { max-width: 86ch; color: var(--color-muted); font-size: .9rem; }
.ac-scope { background: var(--color-accent); color: #fff; }
.ac-scope .ac-eyebrow { color: #d4e7f5; }
.ac-scope-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 2.8rem; }
.ac-step { color: #d4e7f5; font-size: .83rem; font-weight: 600; }
.ac-scope h3 { margin-bottom: 1rem; }
.ac-scope article > p:last-child { max-width: 47ch; color: #edf4fa; }
.ac-scope-note { border-top: 1px solid #7498b8; padding-top: 1.4rem; margin: 1.2rem 0 0; color: #edf4fa; }
.ac-manual { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.ac-manual ul { margin: 0; padding: 0; list-style: none; }
.ac-manual li { padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--color-border); }
.ac-manual li strong { color: var(--color-accent); }
.ac-limit { color: var(--color-muted); font-size: .9rem; margin-bottom: 0; }
.ac-faq { border-top: 1px solid var(--color-border); padding-top: 0; }
.ac-faq .ac-section-heading { padding-top: 3rem; }
.ac-faq-list { margin-top: 2rem; }
.ac-faq details { border-bottom: 1px solid var(--color-border); }
.ac-faq summary { padding-block: 1.15rem; cursor: pointer; font-weight: 600; }
.ac-faq details p { max-width: 78ch; padding-bottom: .4rem; color: var(--color-muted); }
.ac-final { text-align: center; padding-block: clamp(3.5rem, 6vw, 5rem); background: var(--color-accent-soft); }
.ac-final h2 { margin-bottom: 1.2rem; }
.ac-final p:not(.ac-eyebrow) { max-width: 62ch; margin-inline: auto; }
.ac-final-price { font-weight: 600; padding-block: .4rem; }
.ac-final .ac-text-link { display: block; width: fit-content; margin: 1rem auto 0; }
.ac-updated { color: var(--color-muted); font-size: .8rem; padding-block: 1.5rem; margin-bottom: 0; }
.accessibility-page .btn-primary { background: var(--color-accent); box-shadow: none; }
.accessibility-page .btn-primary:hover { background: var(--color-accent-hover); transform: none; }
.accessibility-page .btn-primary::after { display: none; }
@media (max-width: 900px) {
  .ac-hero-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .ac-hero-copy { max-width: 42rem; }
  .ac-hero-copy h1 { max-width: 20ch; }
  .ac-report { max-width: 34rem; }
  .ac-manual { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 2.25rem; }
  .ac-container { width: calc(100% - 2.5rem); }
  .ac-hero { padding-block: 2rem; }
  .ac-lead { font-size: 1rem; }
  .ac-form-row { flex-direction: column; }
  .ac-form input[name="url"] { flex-basis: auto; }
  .ac-report { padding: 1.25rem; }
  .ac-check-detail { grid-template-columns: 1fr; gap: 1.3rem; padding-block: 1.75rem; }
  .ac-check-example { padding: 1.2rem; }
  .ac-criteria-table { font-size: .8rem; line-height: 1.5; }
  .ac-criteria-table th, .ac-criteria-table td { padding: .8rem .35rem; }
  .ac-criteria-table thead th:first-child { padding-left: .35rem; }
  .ac-criteria-table th:first-child { width: 26%; }
  .ac-criteria-table td:last-child { width: 25%; }
  .ac-scope-columns { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .accessibility-page *, .accessibility-page *::before, .accessibility-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
