/* VC Deal-Flow Agent — front-end styles.
   Palette and typefaces match the rendered one-pager. */

@font-face { font-family: Slab; src: url("/fonts/Slab-Bold.ttf"); font-weight: 700; font-display: swap; }
@font-face { font-family: Slab; src: url("/fonts/Slab-SemiBold.ttf"); font-weight: 600; font-display: swap; }
@font-face { font-family: Sans; src: url("/fonts/OpenSans-Regular.ttf"); font-weight: 400; font-display: swap; }
@font-face { font-family: Sans; src: url("/fonts/OpenSans-SemiBold.ttf"); font-weight: 600; font-display: swap; }
@font-face { font-family: Sans; src: url("/fonts/OpenSans-Bold.ttf"); font-weight: 700; font-display: swap; }
@font-face { font-family: Sans; src: url("/fonts/OpenSans-Italic.ttf"); font-style: italic; font-display: swap; }

:root {
  --navy: #12294a;
  --navy-deep: #0c1c34;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-pale: #eef3fb;
  --blue-light: #dbeafe;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --green: #1b6e2f;
  --amber: #9a6200;
  --red: #a12626;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18,41,74,.06), 0 12px 32px rgba(18,41,74,.08);
}

* { box-sizing: border-box; }

/* `display` on a class beats the user-agent rule for [hidden]; make hiding win. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: Slab, Georgia, serif; color: var(--navy); margin: 0; line-height: 1.15; }
a { color: var(--blue); text-decoration: none; }
em { font-style: italic; color: var(--muted); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 32px;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 16px; letter-spacing: -.2px; }
.brand strong { font-weight: 700; }
.mark {
  width: 22px; height: 22px; border-radius: 7px; background: var(--blue);
  box-shadow: inset 0 -6px 0 rgba(255,255,255,.18);
  position: relative; flex: none;
}
.mark::after {
  content: ""; position: absolute; inset: 0;
  background: no-repeat center/13px 13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M18 68 L40 34 L58 54 L82 22' stroke='white' stroke-width='14' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.topbar nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.topbar nav a { color: var(--muted); }
.topbar nav a:hover { color: var(--navy); }
.topbar nav a.cta {
  color: #fff; background: var(--blue); padding: 8px 16px; border-radius: 999px; font-weight: 600;
}
.topbar nav a.cta:hover { background: var(--blue-dark); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: 72px 32px 84px; max-width: 1180px; margin: 0 auto;
}
.eyebrow {
  font-weight: 600; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--blue); margin: 0 0 14px;
}
.hero h1 { font-size: 44px; letter-spacing: -.6px; margin-bottom: 18px; }
.lede { font-size: 17px; color: #374151; margin: 0 0 26px; max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts {
  display: flex; gap: 34px; list-style: none; padding: 26px 0 0; margin: 30px 0 0;
  border-top: 1px solid var(--line);
}
.hero-facts b { display: block; font-family: Slab; font-size: 21px; color: var(--navy); }
.hero-facts span { font-size: 13px; color: var(--muted); }

/* the decorative "sheet" */
.hero-art { display: flex; justify-content: center; }
.sheet {
  width: 100%; max-width: 380px; aspect-ratio: 1 / 1.414;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); padding: 26px 24px; position: relative; overflow: hidden;
  transform: rotate(-1.4deg);
}
.sheet::before {
  content: ""; position: absolute; right: -40px; top: -60px;
  width: 170px; height: 120px; border-radius: 0 0 100px 100px;
  background: var(--blue); opacity: .92;
}
.sheet::after {
  content: ""; position: absolute; right: 90px; top: -60px;
  width: 130px; height: 100px; border-radius: 0 0 100px 100px; background: var(--line);
}
.sheet-eyebrow { font-size: 8px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--blue); font-weight: 600; max-width: 52%; }
.sheet-title { font-family: Slab; font-size: 24px; color: var(--navy); margin-top: 14px; }
.sheet-tagline { font-size: 13px; color: var(--blue); font-weight: 600; margin-bottom: 14px; }
.sheet-verdict {
  font-size: 10.5px; background: var(--blue-pale); border-left: 3px solid var(--blue);
  padding: 8px 10px; color: var(--navy); margin-bottom: 16px;
}
.sheet-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.sheet .l { display: block; height: 5px; border-radius: 3px; background: #eceff4; margin-bottom: 7px; }
.w90 { width: 90% } .w85 { width: 85% } .w80 { width: 80% } .w75 { width: 75% }
.w70 { width: 70% } .w65 { width: 65% } .w60 { width: 60% } .w50 { width: 50% }
.sheet .stat { margin-bottom: 12px; }
.sheet .stat b { display: block; font-family: Slab; font-size: 19px; color: var(--blue); line-height: 1; }
.sheet .stat small { font-size: 9px; color: var(--muted); font-weight: 600; }
.sheet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 14px 0 16px; }
.sheet-grid span { height: 26px; border-radius: 3px; background: var(--blue-pale); }
.sheet-grid span:first-child { background: var(--blue); }
.sheet-sources { border-top: 1px solid #eceff4; padding-top: 10px; }
.sheet-sources .l { height: 4px; }
.w55 { width: 55% } .w45 { width: 45% }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer; font-family: inherit; font-size: 15px;
  font-weight: 600; padding: 12px 22px; border-radius: 10px; transition: background .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-dark); }
.btn.primary[disabled] { background: #9db8f0; cursor: default; }
.btn.ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn.link { background: none; color: var(--muted); padding: 6px 0; font-size: 14px; font-weight: 400; }
.btn.link:hover { color: var(--blue); text-decoration: underline; }

/* ---------- bands ---------- */
.band { padding: 64px 32px; max-width: 1180px; margin: 0 auto; }
.band.alt { background: var(--bg-alt); max-width: none; }
.band.alt > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.band h2 { font-size: 28px; margin-bottom: 8px; }
.band-lede { color: var(--muted); margin: 0 0 28px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 28px; }
.steps article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px; background: var(--blue-pale);
  color: var(--blue); font-weight: 700; font-family: Slab; margin-bottom: 12px;
}
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { margin: 0; color: #4b5563; font-size: 14.5px; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { font-size: 20px; }
.card-sub { color: var(--blue); font-weight: 600; font-size: 13px; margin: 2px 0 16px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: 14.5px; color: #374151; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 10px;
  background: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M14 52 L38 78 L86 20' stroke='%232563eb' stroke-width='16' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ticks b { color: var(--navy); }
.ticks + .group { margin-top: 18px; }
.group {
  font-size: 11.5px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase;
  color: var(--muted); margin: 0 0 10px; padding-bottom: 7px; border-bottom: 1px solid var(--line);
}
/* The conditional half: same list, lighter marker, so the promise reads as conditional. */
.ticks.soft li { color: #4b5563; }
.ticks.soft li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M14 52 L38 78 L86 20' stroke='%2394a9c9' stroke-width='16' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.sources { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 26px; }
.sources div { border-top: 3px solid var(--blue); padding-top: 12px; }
.sources b { display: block; color: var(--navy); font-size: 15px; }
.sources span { font-size: 13.5px; color: var(--muted); }
.fineprint { margin-top: 26px; font-size: 13.5px; color: var(--muted); max-width: 70em; }

/* ---------- the app ---------- */
.app-band { padding-bottom: 88px; }
.app { margin-top: 26px; }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); max-width: 780px;
}
.panel h3 { font-size: 21px; margin-bottom: 6px; }
.muted { color: var(--muted); margin: 0 0 18px; }
.muted.small { font-size: 13px; }
.error { color: var(--red); font-weight: 600; margin: 10px 0 0; }
.warning { color: var(--amber); font-weight: 600; margin: 0 0 12px; }

.row { display: flex; gap: 10px; }
.row input {
  flex: 1; font-family: inherit; font-size: 15px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff;
}
.row input:focus { outline: 2px solid var(--blue-light); border-color: var(--blue); }
.row-between { display: flex; justify-content: space-between; margin-top: 18px; }

.progress-line { height: 4px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 20px; }
.progress-line div { height: 100%; background: var(--blue); width: 0; transition: width .3s ease; }
.step-label { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--blue); margin: 0 0 6px; }

.options { display: grid; gap: 10px; margin-top: 4px; }
.options button {
  text-align: left; font-family: inherit; font-size: 15px; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px;
  color: var(--navy); font-weight: 600; transition: border-color .15s, background .15s;
}
.options button:hover { border-color: var(--blue); background: var(--blue-pale); }

.files { margin-top: 4px; }
.dropzone {
  display: block; text-align: center; cursor: pointer; padding: 30px;
  border: 2px dashed #c9d6ea; border-radius: 12px; background: var(--blue-pale);
  transition: border-color .15s, background .15s;
}
.dropzone.hot { border-color: var(--blue); background: var(--blue-light); }
.dropzone b { display: block; color: var(--navy); }
.dropzone span { font-size: 13.5px; color: var(--muted); }
.file-list { list-style: none; padding: 0; margin: 14px 0; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 8px; }
.file-list li span { color: var(--muted); }
.file-list li.bad { border-color: #f0c7c7; }
.file-list li.bad span { color: var(--red); }

.run-steps { list-style: none; counter-reset: s; padding: 0; margin: 20px 0 0; }
.run-steps li {
  position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--muted); font-size: 15px;
}
.run-steps li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  border-radius: 50%; border: 2px solid var(--line); background: #fff;
}
.run-steps li.active { color: var(--navy); font-weight: 600; }
.run-steps li.active::before { border-color: var(--blue); border-top-color: transparent; animation: spin .9s linear infinite; }
.run-steps li.done { color: var(--ink); }
.run-steps li.done::before {
  border-color: var(--blue); background: var(--blue) no-repeat center/11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M18 52 L40 74 L84 24' stroke='white' stroke-width='16' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@keyframes spin { to { transform: rotate(360deg); } }

.result { max-width: 980px; }
.result-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.result-actions { display: flex; gap: 10px; }
.verdict {
  background: var(--blue-pale); border-left: 3px solid var(--blue); color: var(--navy);
  font-weight: 600; padding: 12px 16px; margin: 20px 0 14px; border-radius: 0 8px 8px 0;
}
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 20px; }
.checks li {
  font-size: 13px; color: var(--navy); background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px;
}
.preview-wrap {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; min-height: 760px;
}
#preview { display: block; width: 100%; height: 760px; border: 0; background: transparent; }
.preview-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); text-align: right; }

footer {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 26px 32px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px; background: var(--bg-alt);
}
.made-by { font-weight: 700; color: var(--navy); font-size: 14px; }
.made-by a { font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 36px; }
  .hero h1 { font-size: 34px; }
  .hero-art { order: -1; }
  .sheet { max-width: 300px; }
  .steps, .cards { grid-template-columns: 1fr; }
  .sources { grid-template-columns: 1fr 1fr; }
  .topbar nav a:not(.cta) { display: none; }
  .panel { padding: 22px; }
  #preview { height: 520px; }
}
@media (max-width: 560px) {
  .band { padding: 44px 20px; }
  .hero { padding: 36px 20px 48px; }
  .hero-facts { gap: 20px; }
  .sources { grid-template-columns: 1fr; }
}

/* ===========================================================================
   Accessibility
   Each preference is a data-attribute on <html>, set by a11y.js.
   =========================================================================== */

/* Keyboard users: a visible way past the navigation, and a visible focus ring. */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 40;
  background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 10px;
  font-weight: 600; transition: top .15s;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* --- the launcher and panel --- */
.a11y-open {
  position: fixed; left: 18px; bottom: 18px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blue) no-repeat center/28px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Ccircle cx='12' cy='4' r='2'/%3E%3Cpath d='M20.5 7.5c-2.6.9-5.3 1.4-8.5 1.4s-5.9-.5-8.5-1.4a1.1 1.1 0 0 0-.7 2.1c1.9.7 3.9 1.1 6 1.3v2.3L6.4 20a1.1 1.1 0 0 0 2 1l3.6-6 3.6 6a1.1 1.1 0 0 0 2-1l-2.4-6.8v-2.3c2.1-.2 4.1-.6 6-1.3a1.1 1.1 0 0 0-.7-2.1z'/%3E%3C/svg%3E");
  box-shadow: 0 4px 16px rgba(18,41,74,.28);
}
.a11y-open:hover { background-color: var(--blue-dark); }

.a11y-panel {
  position: fixed; left: 18px; bottom: 82px; z-index: 60; width: 320px; max-width: calc(100vw - 36px);
  max-height: calc(100vh - 110px); overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(18,41,74,.22); padding: 18px;
}
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.a11y-head h2 { font-size: 16px; }
.a11y-close {
  border: 0; background: none; cursor: pointer; font-size: 22px; line-height: 1;
  color: var(--muted); padding: 2px 6px; border-radius: 6px;
}
.a11y-close:hover { color: var(--navy); background: var(--bg-alt); }

.a11y-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.a11y-row span { font-size: 14px; color: var(--navy); font-weight: 600; }
.a11y-steppers { display: flex; align-items: center; gap: 6px; }
.a11y-steppers button {
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: #fff;
  font-size: 17px; font-weight: 700; color: var(--navy); cursor: pointer;
}
.a11y-steppers button:hover { border-color: var(--blue); color: var(--blue); }
#a11y-zoom-value { min-width: 46px; text-align: center; font-size: 13px; color: var(--muted); font-weight: 600; }

.a11y-toggles { display: grid; gap: 8px; }
.a11y-toggles button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; cursor: pointer;
  font-family: inherit; font-size: 14px; color: var(--navy); background: #fff;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
.a11y-toggles button::before {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 5px;
  border: 2px solid #c9d6ea; background: #fff;
}
.a11y-toggles button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-pale); }
.a11y-toggles button[aria-pressed="true"]::before {
  border-color: var(--blue);
  background: var(--blue) no-repeat center/11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M18 52 L40 74 L84 24' stroke='white' stroke-width='16' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
#a11y-reset { width: 100%; margin-top: 12px; }
#a11y-reset[disabled] { opacity: .5; cursor: default; }
.a11y-statement { font-size: 12px; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }

/* --- text size: scale the page, never the accessibility controls --- */
html[data-a11y-zoom="110"] body > header,
html[data-a11y-zoom="110"] body > main,
html[data-a11y-zoom="110"] body > footer { zoom: 1.1; }
html[data-a11y-zoom="125"] body > header,
html[data-a11y-zoom="125"] body > main,
html[data-a11y-zoom="125"] body > footer { zoom: 1.25; }
html[data-a11y-zoom="140"] body > header,
html[data-a11y-zoom="140"] body > main,
html[data-a11y-zoom="140"] body > footer { zoom: 1.4; }
html[data-a11y-zoom="160"] body > header,
html[data-a11y-zoom="160"] body > main,
html[data-a11y-zoom="160"] body > footer { zoom: 1.6; }

/* --- high contrast: repaint the palette, then force the hard-coded greys --- */
html[data-a11y-contrast="1"] {
  --bg: #000; --bg-alt: #000; --ink: #fff; --navy: #fff; --muted: #e6e6e6;
  --line: #ffffff; --blue: #ffd400; --blue-dark: #ffe866; --blue-pale: #101010; --blue-light: #333;
  --green: #4ade80; --amber: #fbbf24; --red: #ff8080;
}
html[data-a11y-contrast="1"] body,
html[data-a11y-contrast="1"] .panel,
html[data-a11y-contrast="1"] .card,
html[data-a11y-contrast="1"] .steps article,
html[data-a11y-contrast="1"] .a11y-panel,
html[data-a11y-contrast="1"] .sheet,
html[data-a11y-contrast="1"] .a11y-toggles button,
html[data-a11y-contrast="1"] .row input,
html[data-a11y-contrast="1"] .btn.ghost,
html[data-a11y-contrast="1"] .a11y-steppers button { background: #000; color: #fff; }
html[data-a11y-contrast="1"] p,
html[data-a11y-contrast="1"] li,
html[data-a11y-contrast="1"] span,
html[data-a11y-contrast="1"] small,
html[data-a11y-contrast="1"] td,
html[data-a11y-contrast="1"] th { color: #fff; }
html[data-a11y-contrast="1"] h1,
html[data-a11y-contrast="1"] h2,
html[data-a11y-contrast="1"] h3,
html[data-a11y-contrast="1"] b,
html[data-a11y-contrast="1"] strong { color: #fff; }
html[data-a11y-contrast="1"] a,
html[data-a11y-contrast="1"] .eyebrow,
html[data-a11y-contrast="1"] .card-sub { color: #ffd400; }
html[data-a11y-contrast="1"] .btn.primary,
html[data-a11y-contrast="1"] .topbar nav a.cta,
html[data-a11y-contrast="1"] .a11y-open { background: #ffd400; color: #000; }
html[data-a11y-contrast="1"] .a11y-open { background-color: #ffd400; }
html[data-a11y-contrast="1"] .topbar { background: #000; }
html[data-a11y-contrast="1"] .sheet .l,
html[data-a11y-contrast="1"] .sheet-grid span { background: #444; }

/* --- the remaining switches --- */
html[data-a11y-grayscale="1"] body { filter: grayscale(1); }

html[data-a11y-links="1"] a {
  text-decoration: underline !important; text-underline-offset: 3px;
  outline: 1px dashed currentColor; outline-offset: 3px;
}

html[data-a11y-font="1"] body,
html[data-a11y-font="1"] h1,
html[data-a11y-font="1"] h2,
html[data-a11y-font="1"] h3 {
  font-family: Verdana, Tahoma, Arial, sans-serif !important;
  letter-spacing: .3px;
}
html[data-a11y-font="1"] p,
html[data-a11y-font="1"] li { line-height: 1.85; }

html[data-a11y-motion="1"] *,
html[data-a11y-motion="1"] *::before,
html[data-a11y-motion="1"] *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}

html[data-a11y-cursor="1"], html[data-a11y-cursor="1"] * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M5 2l14 10-6 1 3.5 6.5-2.6 1.4L10.4 14 5 18z' fill='%23000' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") 4 2, auto !important;
}

/* Someone who asked their system for less motion gets it without opening the menu. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

@media (max-width: 560px) {
  .a11y-open { width: 46px; height: 46px; left: 12px; bottom: 12px; background-size: 24px; }
  .a11y-panel { left: 12px; right: 12px; width: auto; bottom: 66px; }
}
