@font-face {
  font-family: Space;
  src: url("/space.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #17181b;
  --fg: #f2f3f5;
  --muted: #afb3bb;
  --surface: #23252a;
  --field: #1d1f23;
  --border: #444952;
  --control: #797f8a;
  --accent: #ff9b55;
  --good: #8adeb0;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #faf9f7;
  --fg: #22252b;
  --muted: #5c616a;
  --surface: #efeeea;
  --field: #fff;
  --border: #d3d1cc;
  --control: #747983;
  --accent: #a63d08;
  --good: #246b43;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font:
    16px/1.55 system-ui,
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
header {
  max-width: 1248px;
  margin: auto;
  padding: 22px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--border);
}
.brand {
  font:
    500 23px/1.2 Space,
    sans-serif;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand small {
  display: block;
  font: 12px/1.4 system-ui;
  color: var(--muted);
  margin-top: 3px;
}
.brand img {
  background: #faf9f7;
  border-radius: 6px;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
}
main {
  max-width: 1248px;
  padding: 36px 32px 0;
  margin: auto;
}
h1 {
  font:
    500 2.5rem/1.15 Space,
    sans-serif;
  letter-spacing: -0.025em;
  margin: 12px 0 16px;
}
h2 {
  font:
    500 23px/1.3 Space,
    sans-serif;
  margin: 0 0 18px;
}
h3 {
  font:
    500 20px/1.3 Space,
    sans-serif;
}
p {
  max-width: 70ch;
}
.intro p {
  color: var(--muted);
  font-size: 18px;
  max-width: 65ch;
}
.small {
  font-size: 14px;
  color: var(--muted);
}
label {
  display: block;
  font-weight: 600;
  font-size: 14px;
}
form {
  margin: 28px 0 0;
  padding: 24px;
  background: var(--surface);
  border-radius: 12px;
}
.input-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
input,
select {
  font: inherit;
  padding: 12px;
  border: 1px solid var(--control);
  border-radius: 6px;
  background: var(--field);
  color: var(--fg);
  min-height: 48px;
  min-width: 0;
}
input {
  flex: 1;
  width: 100%;
}
input::placeholder {
  color: var(--muted);
}
select {
  width: 100%;
  margin-top: 8px;
  font-size: 14px;
}
button {
  min-height: 48px;
  padding: 12px 20px;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--accent);
  color: var(--bg);
  font: 600 15px system-ui;
}
button:hover {
  filter: brightness(1.1);
}
button:active {
  filter: brightness(0.9);
}
button.secondary {
  background: transparent;
  border-color: var(--control);
  color: var(--fg);
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
:root[data-theme="light"] button:not(.secondary) {
  color: white;
}
#supported {
  font-size: 13px;
  color: var(--muted);
}
#supported summary {
  padding-bottom: 0;
}
#supported p {
  margin-bottom: 0;
}
.empty {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 30px 0 48px;
  padding: 24px 0;
}
.empty h2 {
  font-size: 28px;
}
.empty p,
.empty li {
  color: var(--muted);
}
.empty ul {
  padding-left: 20px;
}
.empty li {
  padding: 4px 0;
}
.empty figure {
  margin: 0;
}
.empty img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.empty figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.report-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.report-heading h2 {
  margin-bottom: 6px;
}
.report-heading p {
  margin: 0;
}
.workbench {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  margin: 32px 0 40px;
}
.site-heading {
  display: flex;
  gap: 16px;
  align-items: center;
}
.site-heading img {
  object-fit: contain;
  background: #faf9f7;
  border-radius: 8px;
  padding: 4px;
}
.site-heading h3 {
  margin: 0;
}
.site-heading p {
  margin: 4px 0 0;
}
.identity > p {
  color: var(--muted);
}
dl {
  margin: 24px 0;
}
dt {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}
dd {
  margin: 4px 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.icon-evidence p {
  font-size: 13px;
  border-top: 1px solid var(--border);
  padding: 12px 0;
  margin: 0;
  overflow-wrap: anywhere;
}
.summary-count {
  color: var(--fg) !important;
  font-weight: 600;
  margin-top: 24px;
}
.preview-heading {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.preview-heading h2 {
  margin: 0;
}
.preview-heading label {
  max-width: 240px;
  font-size: 12px;
  color: var(--muted);
}
.preview {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.preview img {
  display: block;
  width: 100%;
  aspect-ratio: 1.91;
  object-fit: cover;
}
.preview[data-shape="x"] img {
  aspect-ratio: 2;
}
.preview[data-shape="chat"] {
  display: flex;
  align-items: center;
}
.preview[data-shape="chat"] img {
  width: 100px;
  aspect-ratio: 1;
  flex-shrink: 0;
}
.preview > div {
  padding: 20px;
}
.preview h3 {
  margin: 6px 0;
  overflow-wrap: anywhere;
}
.preview p {
  margin: 6px 0;
  overflow-wrap: anywhere;
}
.preview[data-shape="search"] h3 {
  color: var(--accent);
}
.image-dimensions {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.page-checks {
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.findings {
  list-style: none;
  padding: 0;
  margin: 0;
}
.findings li {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.findings strong {
  font-size: 14px;
  font-weight: 600;
}
.findings p {
  margin: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.findings [data-status="pass"] strong {
  color: var(--good);
}
.findings [data-status="fix"] strong {
  color: var(--accent);
}
.findings [data-status="review"] strong {
  color: var(--muted);
}
pre {
  font:
    13px/1.6 ui-monospace,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 20px;
  background: var(--surface);
  max-height: 400px;
  overflow: auto;
}
summary {
  padding: 16px 0;
  cursor: pointer;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}
.guidance {
  margin: 24px 0;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}
.guidance > summary {
  font:
    500 20px Space,
    sans-serif;
}
.guidance > div {
  columns: 2;
  column-gap: 48px;
}
.guidance h3 {
  break-after: avoid;
}
.guidance p {
  break-inside: avoid;
  font-size: 14px;
}
footer {
  margin: 36px 0 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
footer p {
  margin: 4px 0;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--surface);
  padding: 12px;
}
.skip:focus {
  top: 12px;
  z-index: 10;
}
#status {
  min-height: 24px;
  font-size: 14px;
  margin: 12px 0;
  color: var(--muted);
}
@media (max-width: 800px) {
  header {
    flex-wrap: wrap;
    padding: 18px 20px;
    gap: 12px;
  }
  nav {
    gap: 20px;
    width: 100%;
    justify-content: space-between;
  }
  main {
    padding: 24px 20px 0;
  }
  h1 {
    font-size: 2rem;
  }
  .input-row {
    flex-direction: column;
  }
  form {
    padding: 18px;
  }
  .empty,
  .workbench {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .empty {
    padding-top: 8px;
  }
  .empty h2 {
    font-size: 24px;
  }
  .empty figure {
    order: 2;
  }
  .guidance > div {
    columns: 1;
  }
  .report-heading {
    flex-wrap: wrap;
    gap: 16px;
  }
  .report-heading h2 {
    font-size: 21px;
  }
  .preview-heading {
    align-items: start;
  }
  .preview-heading label {
    max-width: 190px;
  }
  .findings li {
    display: block;
  }
  .findings p {
    margin-top: 6px;
  }
  .preview[data-shape="chat"] img {
    width: 80px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
