  /* Fonts are self-hosted (assets/fonts, SIL OFL): the page loads nothing from Google or any other third party. */
  @font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
  @font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/inter-latin-500-normal.woff2') format('woff2'); }
  @font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/inter-latin-600-normal.woff2') format('woff2'); }
  @font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fonts/inter-latin-700-normal.woff2') format('woff2'); }
  @font-face { font-family: 'Fraunces'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/fraunces-latin-400-normal.woff2') format('woff2'); }
  @font-face { font-family: 'Fraunces'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/fraunces-latin-500-normal.woff2') format('woff2'); }
  @font-face { font-family: 'Fraunces'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/fraunces-latin-600-normal.woff2') format('woff2'); }
  @font-face { font-family: 'Fraunces'; font-weight: 500; font-style: italic; font-display: swap; src: url('/assets/fonts/fraunces-latin-500-italic.woff2') format('woff2'); }
  @font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
  @font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }
  :root {
    --bg: #fbf9f4;
    --bg-raised: #ffffff;
    --fg: #1a1814;
    --fg-muted: #6b6356;
    --fg-faint: #a39c8c;
    --border: #e6e0d2;
    --accent: #3d5a3d;
    --accent-fg: #f4f7f0;
    --accent-soft: #e8efe2;
    --tag-verified: #3d5a3d;
    --tag-best-effort: #9a6b2f;
    --a11y-scale: 1;
    color-scheme: light;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #15140f;
      --bg-raised: #1d1b15;
      --fg: #f2efe6;
      --fg-muted: #a8a08d;
      --fg-faint: #6e6757;
      --border: #332f24;
      --accent: #8fc08f;
      --accent-fg: #15200f;
      --accent-soft: #223322;
      --tag-verified: #8fc08f;
      --tag-best-effort: #e0ab63;
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --bg: #15140f;
    --bg-raised: #1d1b15;
    --fg: #f2efe6;
    --fg-muted: #a8a08d;
    --fg-faint: #6e6757;
    --border: #332f24;
    --accent: #8fc08f;
    --accent-fg: #15200f;
    --accent-soft: #223322;
    --tag-verified: #8fc08f;
    --tag-best-effort: #e0ab63;
    color-scheme: dark;
  }

  /* High-contrast override, toggled by the accessibility menu */
  :root[data-contrast="high"] {
    --bg: #ffffff;
    --bg-raised: #ffffff;
    --fg: #000000;
    --fg-muted: #1a1a1a;
    --fg-faint: #333333;
    --border: #000000;
    --accent: #0a4d0a;
    --accent-fg: #ffffff;
    --accent-soft: #e2f0e2;
  }
  :root[data-theme="dark"][data-contrast="high"],
  :root:not([data-theme="light"])[data-contrast="high"] {
    --bg: #000000;
    --bg-raised: #000000;
    --fg: #ffffff;
    --fg-muted: #f0f0f0;
    --fg-faint: #cccccc;
    --border: #ffffff;
    --accent: #7dffb0;
    --accent-fg: #000000;
    --accent-soft: #113311;
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  html { font-size: calc(100% * var(--a11y-scale)); }
  body {
    background: var(--bg);
    color: var(--fg);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; }

  [data-underline-links="on"] a { text-decoration: underline; }

  /* Scroll-reveal: fades/slides up once, skipped entirely under reduced motion */
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
  }
  :root[data-motion="reduced"] .reveal {
    opacity: 1; transform: none; transition: none;
  }

  .wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding-inline: 24px;
  }

  header {
    padding-block: 28px;
    border-bottom: 1px solid var(--border);
  }
  header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }
  .logo {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
  }
  .logo img { height: 1.3em; width: 1.3em; display: block; }
  .logo img.dark { display: none; }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .logo img.light { display: none; }
    :root:not([data-theme="light"]) .logo img.dark { display: block; }
  }
  :root[data-theme="dark"] .logo img.light { display: none; }
  :root[data-theme="dark"] .logo img.dark { display: block; }
  .logo::after {
    content: " .com";
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--fg-faint);
    vertical-align: middle;
  }
  nav a {
    color: var(--fg-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
  }
  nav a:hover { color: var(--fg); }
  .main-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
  .main-nav a[aria-current="page"] { color: var(--fg); }

  .hero {
    padding-block: 64px 48px;
  }
  .hero .eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-faint);
    margin: 0 0 18px;
  }
  .hero h1 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: clamp(1.9rem, 7vw, 3.4rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0 0 20px;
    text-wrap: balance;
    max-width: 16ch;
  }
  .hero h1 em {
    font-style: italic;
    color: var(--accent);
  }
  .hero p.lede {
    font-size: 1.05rem;
    color: var(--fg-muted);
    max-width: 46ch;
    margin: 0 0 32px;
  }

  .cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 7px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.15s ease, opacity 0.15s ease;
  }
  .btn:active { transform: scale(0.97); }
  .btn-primary {
    background: var(--accent);
    color: var(--accent-fg);
  }
  .btn-secondary {
    background: transparent;
    color: var(--fg);
    border-color: var(--border);
  }
  .cta-note {
    font-size: 0.85rem;
    color: var(--fg-faint);
  }

  .scenario {
    margin-top: 48px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    max-width: 560px;
  }
  .scenario .label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fg-faint);
    margin: 0 0 14px;
  }
  .scenario-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 10px;
    border-top: 1px solid var(--border);
    font-size: 0.92rem;
    flex-wrap: wrap;
  }
  .scenario-row:first-of-type { border-top: none; }
  .scenario-row .app { font-weight: 600; }
  .tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 5px;
    white-space: nowrap;
  }
  .tag-verified { background: var(--accent-soft); color: var(--tag-verified); }
  .tag-flagged { background: color-mix(in srgb, var(--tag-best-effort) 16%, transparent); color: var(--tag-best-effort); }

  section.band {
    padding-block: 56px;
    border-top: 1px solid var(--border);
  }
  .band h2 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: clamp(1.4rem, 5vw, 2rem);
    margin: 0 0 12px;
    text-wrap: balance;
  }
  .band > .wrap > p.intro {
    color: var(--fg-muted);
    max-width: 52ch;
    margin: 0 0 36px;
  }

  .tiers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  @media (max-width: 680px) {
    .tiers { grid-template-columns: 1fr; }
  }
  .tier-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 22px;
  }
  .tier-card .kicker {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 10px;
  }
  .tier-card.verified .kicker { color: var(--tag-verified); }
  .tier-card.best .kicker { color: var(--tag-best-effort); }
  .tier-card h3 {
    font-size: 1.08rem;
    margin: 0 0 8px;
  }
  .tier-card p {
    color: var(--fg-muted);
    font-size: 0.94rem;
    margin: 0 0 14px;
  }
  .tier-card .examples {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: var(--fg-faint);
  }

  .proof-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  @media (max-width: 680px) {
    .proof-row { grid-template-columns: 1fr; gap: 28px; }
  }
  .proof {
    padding-block: 4px;
  }
  .proof .num {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 2rem;
    color: var(--accent);
    display: block;
    margin-bottom: 4px;
  }
  .proof .cap {
    font-size: 0.88rem;
    color: var(--fg-muted);
  }

  .why-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  @media (max-width: 680px) {
    .why-cards { grid-template-columns: 1fr; }
  }
  /* Links in running text: muted, underlined, never browser-blue or visited-purple */
  .band a:not(.btn), .hero a:not(.btn), .pilot-note a {
    color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
    transition: color 0.2s ease;
  }
  .band a:not(.btn):hover, .hero a:not(.btn):hover, .pilot-note a:hover { color: var(--fg); }

  /* FAQ: one connected accordion */
  .faq-list { margin-top: 28px; max-width: 760px; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
  .faq-item { border-top: 1px solid var(--border); }
  .faq-item:first-child { border-top: 0; }
  .faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    cursor: pointer; font-weight: 600; padding: 18px 22px; list-style: none;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: ""; flex: 0 0 auto; width: 8px; height: 8px;
    border-right: 2px solid var(--fg-muted); border-bottom: 2px solid var(--fg-muted);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease;
  }
  @media (hover: hover) { .faq-item summary:hover { background: var(--accent-soft); } }
  .faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  .faq-item[open]:not(.is-closing) > summary { color: var(--accent); }
  .faq-item[open]:not(.is-closing) > summary::after { transform: rotate(-135deg) translateY(-2px); border-color: var(--accent); }
  .faq-body { overflow: hidden; }
  .faq-body p { color: var(--fg-muted); margin: 0; padding: 0 22px 20px; line-height: 1.65; max-width: 62ch; }

  /* Staggered entrance when the section scrolls in */
  #faq .faq-item { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; transition-delay: calc(var(--i, 0) * 70ms); }
  #faq.is-visible .faq-item { opacity: 1; transform: none; }
  #faq .faq-item:nth-child(2) { --i: 1; } #faq .faq-item:nth-child(3) { --i: 2; } #faq .faq-item:nth-child(4) { --i: 3; }
  #faq .faq-item:nth-child(5) { --i: 4; } #faq .faq-item:nth-child(6) { --i: 5; } #faq .faq-item:nth-child(7) { --i: 6; }
  #faq .faq-item:nth-child(8) { --i: 7; }
  @media (prefers-reduced-motion: reduce) {
    #faq .faq-item { opacity: 1; transform: none; transition: none; }
    .faq-item summary, .faq-item summary::after { transition: none; }
  }
  :root[data-motion="reduced"] #faq .faq-item { opacity: 1; transform: none; transition: none; }
  :root[data-motion="reduced"] .faq-item summary, :root[data-motion="reduced"] .faq-item summary::after { transition: none; }
  @media (max-width: 680px) {
    .faq-item summary { padding: 16px 18px; }
    .faq-body p { padding: 0 18px 18px; }
  }
  .pilot-note { font-size: 0.9rem; color: var(--fg-muted); margin-top: 10px; }
  .why-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 22px;
  }
  .why-card .kicker {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 10px;
  }
  .why-card h3 {
    font-size: 1.08rem;
    margin: 0 0 8px;
  }
  .why-card p {
    color: var(--fg-muted);
    font-size: 0.94rem;
    margin: 0;
  }

  .closing {
    text-align: left;
  }
  .closing h2 { max-width: 20ch; }
  .closing-row {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .closing-row .copy { flex: 1 1 320px; min-width: 0; }
  .closing-row .cta { flex: 1 1 320px; min-width: 0; max-width: 380px; }

  footer {
    border-top: 1px solid var(--border);
    padding-block: 28px;
  }
  footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--fg-faint);
  }
  footer a { color: var(--fg-muted); text-decoration: none; }
  footer .legal-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }

  /* Mobile tightening */
  @media (max-width: 480px) {
    .wrap { padding-inline: 18px; }
    header { padding-block: 20px; }
    .logo { font-size: 1.15rem; }
    .hero { padding-block: 40px 36px; }
    .hero .eyebrow { font-size: 0.66rem; }
    .hero h1 { max-width: none; font-size: clamp(1.7rem, 8.5vw, 2.4rem); }
    .hero p.lede { font-size: 1rem; }
    .cta-row { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; padding-block: 14px; }
    .scenario { padding: 16px; margin-top: 36px; }
    .scenario-row { padding-block: 12px; }
    section.band { padding-block: 40px; }
    .tier-card { padding: 20px 18px; }
    .closing-row .cta { width: 100%; max-width: none; }
    footer .wrap { flex-direction: column; align-items: flex-start; }
  }

  /* --- Contact form (inline, in the closing section) --- */
  .field { margin-bottom: 16px; }
  .field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 6px;
  }
  .field input, .field textarea {
    width: 100%;
    padding: 11px 12px;
    border-radius: 7px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--fg);
    font-family: inherit;
    font-size: 0.95rem;
  }
  .field textarea { resize: vertical; min-height: 70px; }
  .field input:focus, .field textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
  }
  .form-note { font-size: 0.8rem; color: var(--fg-faint); margin: 0 0 14px; max-width: 46ch; }
  .form-note a { color: inherit; }
  .form-status {
    font-size: 0.88rem;
    margin-top: 10px;
    min-height: 1.2em;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .form-status[data-state="error"] { color: #b3442f; opacity: 1; transform: none; }

  /* Submit button morphs into the success message in the same slot */
  .submit-area {
    position: relative;
    min-height: 48px;
  }
  .submit-area .btn {
    width: 100%;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .submit-area[data-state="sending"] .btn { opacity: 0.7; }
  .submit-area[data-state="success"] .btn {
    opacity: 0;
    transform: scale(0.97);
    pointer-events: none;
  }
  .submit-area .form-result {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent);
    color: var(--accent-fg);
    border-radius: 7px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    padding-inline: 16px;
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
    pointer-events: none;
  }
  .submit-area[data-state="success"] .form-result {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  @media (prefers-reduced-motion: reduce) {
    .submit-area .btn, .submit-area .form-result, .form-status { transition: none; }
  }
  :root[data-motion="reduced"] .submit-area .btn,
  :root[data-motion="reduced"] .submit-area .form-result,
  :root[data-motion="reduced"] .form-status { transition: none; }

  /* --- Accessibility menu --- */
  .a11y-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-fg);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    z-index: 90;
    font-size: 1.2rem;
  }
  .a11y-panel {
    position: fixed;
    bottom: 78px;
    right: 20px;
    width: 260px;
    max-width: calc(100vw - 32px);
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    display: none;
    z-index: 91;
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  }
  .a11y-panel.is-open { display: block; }
  .a11y-panel h4 {
    margin: 0 0 14px;
    font-size: 0.95rem;
  }
  .a11y-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 0.88rem;
    gap: 10px;
  }
  .a11y-row:last-child { margin-bottom: 0; }
  .a11y-steppers { display: flex; align-items: center; gap: 6px; }
  .a11y-steppers button {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--fg);
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
    touch-action: manipulation;
  }
  /* The label wraps BOTH the text and the switch, so the entire row is
     the tap target on mobile, not just the small visual switch. */
  .a11y-switch-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-block: 10px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .switch {
    position: relative;
    width: 38px;
    height: 22px;
    flex: 0 0 auto;
    pointer-events: none;
  }
  .switch input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    pointer-events: none;
  }
  .switch .track {
    position: absolute; inset: 0;
    background: var(--border);
    border-radius: 999px;
    transition: background 0.15s ease;
  }
  .switch .thumb {
    position: absolute; top: 2px; left: 2px;
    width: 18px; height: 18px;
    background: var(--bg-raised);
    border-radius: 50%;
    transition: transform 0.15s ease;
  }
  .switch input:checked + .track { background: var(--accent); }
  .switch input:checked + .track + .thumb { transform: translateX(16px); }
  .a11y-switch-label:has(input:focus-visible) .track { outline: 2px solid var(--accent); outline-offset: 2px; }
  .a11y-reset {
    margin-top: 10px;
    width: 100%;
    background: none;
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 10px;
    font-size: 0.82rem;
    color: var(--fg-muted);
    cursor: pointer;
    touch-action: manipulation;
  }

  @media (max-width: 480px) {
    .a11y-btn { right: 16px; bottom: 16px; }
    .a11y-panel { right: 16px; bottom: 74px; }
  }
  /* classes that replace inline style attributes (so the CSP can drop 'unsafe-inline') */
  .link-inherit { color: inherit; }
  .closing-note { color: var(--fg-muted); max-width: 46ch; margin-top: 12px; }
  .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
