/* QENEX unified public chrome — one product surface (no external fonts).
 * @import first (site-wide token layer); the :root block below is the
 * fallback for surfaces where /design/tokens.css is not routed. */
@import url("/design/tokens.css");
:root {
  --cyan: #0d9ba8;
  --qx-cyan: #0d9ba8;
  --qx-bg: #0e1116;
  --qx-text: #f4f1ea;
  --qx-link: #d7a441;
  --qx-muted: #9ca3af;
}
* { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
body {
  margin: 0;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background: var(--qx-bg);
  color: var(--qx-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  line-height: 1.55;
}
/* Accessibility: keyboard skip to main (Dual-Rail / house surfaces). */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 10000;
  padding: 0.65rem 1rem;
  background: #0d9ba8;
  color: #0e1116;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.35rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 1rem;
  top: 1rem;
  outline: 2px solid #f4f1ea;
  outline-offset: 2px;
}
.qx-header {
  max-width: min(56rem, calc(100vw - 1rem));
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
}
.qx-header a.qx-wordmark {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  color: var(--qx-text);
  text-decoration: none;
}
.qx-header a.qx-wordmark:focus-visible {
  outline: 2px solid #0d9ba8;
  outline-offset: 3px;
}
.qx-main {
  max-width: min(42rem, calc(100vw - 1rem));
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}
.qx-main h1 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.qx-main p { margin: 0 0 1rem; color: var(--qx-muted); }
.qx-main a { color: var(--qx-link); }
.qx-footer {
  max-width: min(56rem, calc(100vw - 1rem));
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
  font-size: 0.75rem;
  color: var(--qx-muted);
}
img, svg, video, pre { max-width: 100%; height: auto; }

/* Motion / focus — WCAG-minded house defaults (no external fonts). */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--cyan, #0d9ba8);
  outline-offset: 2px;
}

