/* Self-hosted variable fonts. Version-stamped filenames: bump the stamp to ship an update,
   because vercel.json caches /assets/ immutably for a year.
   Inter (Rasmus Andersson) and JetBrains Mono (JetBrains) are licensed under the
   SIL Open Font License 1.1, which permits self-hosting. */
/* Inter 4 variable, the full official file from rsms.me/inter: it carries the cv01 and ss03
   alternates Linear uses (see --q-features). */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-variable-v2.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin-v1.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

/* quoreca.com — the shared TUD "Linear look" (6 Oct 2026), after the
   reference build usekaryo.com. Near-black canvas, hairline surfaces, quiet
   grey secondary text and one accent: Quoreca indigo (#5b5bf0), kept for
   primary buttons, focus, the status dot and the glow behind the sample
   window. Inter for headings and text, JetBrains Mono for small labels.

   Every colour lives in a token below; components reference tokens only.
   Reveal states are opt-in: they only apply under html.js-reveal, which
   assets/boot.js sets and assets/quoreca.js confirms. If the scripts never
   run, nothing on the page is hidden. */

/* ═══ Tokens ═══════════════════════════════════════════════════════════ */
:root {
  color-scheme: dark;

  /* Canvas and surfaces */
  --q-bg: #08090a;
  --q-surface: #0f1012;
  --q-elevated: #15161a;
  --q-overlay: rgba(8, 9, 10, 0.72); /* blurred bar */
  --q-soft: rgba(255, 255, 255, 0.03); /* hover wash */
  --q-soft-strong: rgba(255, 255, 255, 0.06);
  --q-highlight: rgba(255, 255, 255, 0.05); /* inset top edge */
  --q-grid-line: rgba(255, 255, 255, 0.035);

  /* Hairlines */
  --q-line: rgba(255, 255, 255, 0.08);
  --q-line-strong: rgba(255, 255, 255, 0.14);
  --q-line-hover: rgba(255, 255, 255, 0.22);

  /* Text. Ratios are against --q-bg / --q-elevated. */
  --q-text: #f5f6f7; /* 18.4 / 16.7 */
  --q-muted: #8b9099; /* secondary: 6.2 / 5.6 */
  --q-faint: #82878f; /* small print: 5.5 / 5.0 */
  --q-quiet: #5e636b; /* decorative only (dots, skeletons), never text */
  --q-on-brand: #ffffff;

  /* The one accent: Quoreca indigo */
  --q-brand-rgb: 91, 91, 240;
  --q-brand: #5b5bf0; /* fill: white text 5.0:1 */
  --q-brand-deep: #4646d0; /* hover/press fill: white text 6.9:1 */
  --q-brand-light: #b9bcff; /* accent as text: 11.1:1 */
  --q-brand-soft: rgba(var(--q-brand-rgb), 0.12);
  --q-glow: rgba(var(--q-brand-rgb), 0.45);

  /* Status, for the sample screen only */
  --q-ok-text: #5fbf8a; /* 8.0:1 on elevated */
  --q-ok-soft: rgba(95, 191, 138, 0.12);
  --q-ok-line: rgba(95, 191, 138, 0.3);
  --q-danger-text: #e89a9a; /* 8.2:1 on elevated */
  --q-danger-soft: rgba(199, 93, 93, 0.14);

  /* Depth */
  --q-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --q-shadow-md: 0 16px 40px rgba(0, 0, 0, 0.45);
  --q-shadow-lg: 0 40px 100px -24px rgba(0, 0, 0, 0.75);

  /* Type */
  --q-font:
    "Inter", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI",
    sans-serif;
  --q-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --q-features: "cv01", "ss03";
  --q-weight-head: 540;
  --q-weight-strong: 560;

  /* Shape and layout */
  --q-radius-sm: 8px;
  --q-radius: 12px;
  --q-radius-lg: 16px;
  --q-max: 1200px;
  --q-gutter: clamp(16px, 4vw, 40px);
  --q-bar-h: 56px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 900ms;

  /* Print */
  --q-print-bg: #ffffff;
  --q-print-text: #000000;
  --q-print-muted: #333333;
  --q-print-line: #cccccc;
}

/* ═══ Base ═════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--q-bg);
  scroll-padding-top: 72px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  background: var(--q-bg);
  color: var(--q-text);
  font-family: var(--q-font);
  font-feature-settings: var(--q-features);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
}
img,
svg {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 2px solid var(--q-brand-light);
  outline-offset: 3px;
}
:focus:not(:focus-visible) {
  outline: none;
}
::selection {
  background: rgba(var(--q-brand-rgb), 0.4);
  color: var(--q-text);
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin-top: 0;
}
h1,
h2,
h3 {
  color: var(--q-text);
  font-weight: var(--q-weight-head);
}
h1 {
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  max-width: 18ch;
  text-wrap: balance;
}
h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.026em;
  margin-bottom: 14px;
  text-wrap: balance;
}
h3 {
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.012em;
  margin-bottom: 8px;
  font-weight: var(--q-weight-strong);
}
strong {
  font-weight: var(--q-weight-strong);
  color: var(--q-text);
}
.q-mono {
  font-family: var(--q-font-mono);
  font-variant-numeric: tabular-nums;
}
.q-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link: off-screen until focused. */
.q-skip {
  position: absolute;
  top: 10px;
  left: var(--q-gutter);
  z-index: 60;
  padding: 10px 14px;
  background: var(--q-brand);
  color: var(--q-on-brand);
  border-radius: var(--q-radius-sm);
  font-weight: var(--q-weight-strong);
  text-decoration: none;
  transform: translateY(-300%);
}
.q-skip:focus,
.q-skip:focus-visible {
  transform: none;
}

/* ═══ Layout ═══════════════════════════════════════════════════════════ */
.q-shell {
  width: min(100% - 2 * var(--q-gutter), var(--q-max));
  margin: 0 auto;
}
.q-section {
  padding: 64px 0;
  scroll-margin-top: 72px;
}
main > .q-section + .q-section {
  border-top: 1px solid var(--q-line);
}
.q-section-head {
  max-width: 760px;
  margin: 0 0 36px;
}
.q-eyebrow {
  margin: 0 0 14px;
  color: var(--q-muted);
  font-family: var(--q-font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.q-lede {
  margin: 0;
  color: var(--q-muted);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 62ch;
}
.q-note {
  margin: 22px 0 0;
  color: var(--q-faint);
  font-size: 14px;
  line-height: 1.6;
  max-width: 80ch;
}
.q-note a,
.q-prose a,
.q-pointers a {
  color: var(--q-text);
  text-decoration: underline;
  text-decoration-color: var(--q-line-hover);
  text-underline-offset: 3px;
  transition: text-decoration-color 160ms ease;
}
.q-note a:hover,
.q-prose a:hover,
.q-pointers a:hover {
  text-decoration-color: var(--q-brand-light);
}
@media (min-width: 720px) {
  .q-section {
    padding: 96px 0;
  }
}

/* Content sits above the backdrop; the fixed chrome keeps its own position. */
body > main,
body > footer {
  position: relative;
  z-index: 1;
}
/* The window's glow is wider than the page on phones: clip it sideways here,
   because overflow-x on <body> would pass to the viewport instead. */
main {
  overflow-x: clip;
}

/* ═══ Backdrop ═════════════════════════════════════════════════════════
   A faint hairline grid that fades out from the top of the page, and one
   soft indigo light above the fold. Static: nothing here moves. */
.q-backdrop {
  position: absolute;
  inset: 0 0 auto 0;
  height: min(110vh, 980px);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.q-backdrop-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--q-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--q-grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(
    ellipse 70% 60% at 50% 0%,
    #000 20%,
    transparent 75%
  );
  mask-image: radial-gradient(
    ellipse 70% 60% at 50% 0%,
    #000 20%,
    transparent 75%
  );
}
.q-backdrop-aura {
  position: absolute;
  top: -340px;
  left: 50%;
  width: min(1100px, 140vw);
  height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(var(--q-brand-rgb), 0.14) 0%,
    rgba(var(--q-brand-rgb), 0.05) 40%,
    transparent 70%
  );
  filter: blur(40px);
}

/* ═══ Top bar ══════════════════════════════════════════════════════════
   Slim and transparent over the hero; a blurred, hairlined bar once the
   page scrolls. Its content lines up with .q-shell at every width. */
.q-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  min-height: var(--q-bar-h);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px max(var(--q-gutter), (100% - var(--q-max)) / 2);
  border-bottom: 1px solid transparent;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}
.q-nav.is-scrolled {
  background: var(--q-overlay);
  border-bottom-color: var(--q-line);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}
.q-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  color: var(--q-text);
  text-decoration: none;
  white-space: nowrap;
}
/* The Quoreca wordmark: lowercase, traced from Inter 620, an indigo q whose tail ends in a tick. */
.q-wordmark {
  display: block;
  height: 22px;
  width: auto;
}
.q-mark {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 26;
  flex: 0 0 auto;
}
.q-brand-word {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
}
.q-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.q-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--q-radius-sm);
  color: var(--q-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition:
    color 160ms ease,
    background 160ms ease;
}
.q-links a:hover,
.q-links a[aria-current="page"] {
  color: var(--q-text);
}
.q-links a:hover {
  background: var(--q-soft);
}
.q-nav .q-nav-cta {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13.5px;
}
@media (max-width: 559.98px) {
  .q-brand-word {
    font-size: 12.5px;
    letter-spacing: 0.24em;
    margin-right: -0.24em;
  }
  .q-links {
    margin: 0 0 0 auto;
  }
  .q-links a {
    padding: 0 8px;
  }
  .q-links .q-hide-sm {
    display: none;
  }
  .q-nav .q-nav-cta {
    padding: 0 12px;
  }
}

/* Scroll progress, one hairline under the chrome. */
.q-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 41;
  background: linear-gradient(90deg, var(--q-brand-light), var(--q-brand));
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  pointer-events: none;
}

/* ═══ Buttons ══════════════════════════════════════════════════════════ */
.q-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: var(--q-radius-sm);
  border: 1px solid transparent;
  font: inherit;
  font-size: 14.5px;
  font-weight: 510;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  /* Magnetic offset lives in custom properties, so :active composes with it. */
  transform: translate(var(--mx-btn, 0px), var(--my-btn, 0px));
  transition:
    transform 500ms var(--ease),
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 240ms ease;
}
.q-btn:active {
  transform: scale(0.98) translate(var(--mx-btn, 0px), var(--my-btn, 0px));
}
.q-btn-primary {
  background: var(--q-brand);
  color: var(--q-on-brand);
  box-shadow:
    inset 0 1px 0 var(--q-soft-strong),
    var(--q-shadow-sm);
}
.q-btn-primary:hover {
  background: var(--q-brand-deep);
  box-shadow:
    inset 0 1px 0 var(--q-soft-strong),
    0 8px 24px rgba(var(--q-brand-rgb), 0.28);
}
.q-btn-secondary {
  background: transparent;
  color: var(--q-text);
  border-color: var(--q-line-strong);
}
.q-btn-secondary:hover {
  background: var(--q-soft);
  border-color: var(--q-line-hover);
}
.q-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Status pill: "Launching soon". */
.q-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(var(--q-brand-rgb), 0.32);
  border-radius: 999px;
  background: var(--q-brand-soft);
  color: var(--q-brand-light);
  font-size: 12.5px;
  font-weight: 510;
  white-space: nowrap;
}
.q-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--q-brand-light);
  box-shadow: 0 0 0 3px rgba(var(--q-brand-rgb), 0.2);
}

/* ═══ Hero ═════════════════════════════════════════════════════════════
   Left-aligned copy; on the homepage the sample window sits beneath it. */
.q-hero {
  position: relative;
  padding: 120px 0 72px;
}
.q-hero-copy {
  max-width: 960px;
}
.q-hero h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: var(--q-weight-head);
  letter-spacing: -0.032em;
  line-height: 1.05;
  max-width: 20ch;
}
.q-hero .q-lede {
  margin: 22px 0 0;
  max-width: 52ch;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
}
.q-hero-cta {
  margin-top: 32px;
}
.q-hero-meta {
  margin: 20px 0 0;
}
.q-hero-page {
  padding-bottom: 56px;
}
.q-hero-page h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  max-width: 17ch;
}
@media (min-width: 720px) {
  .q-hero {
    padding: 168px 0 96px;
  }
  .q-hero-page {
    padding-bottom: 80px;
  }
}

/* ═══ Sample window (homepage) ═════════════════════════════════════════
   A Quoreca Origin check result, built in HTML, with an indigo light
   behind it. Sample data only. */
.q-showcase {
  position: relative;
  margin: 64px 0 0;
  perspective: 1600px;
}
.q-showcase::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: -14%;
  width: 118%;
  height: 92%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse 50% 50% at 50% 50%,
    var(--q-glow) 0%,
    rgba(var(--q-brand-rgb), 0.24) 50%,
    transparent 80%
  );
  filter: blur(48px);
  pointer-events: none;
}
.q-showcase > * {
  position: relative;
  z-index: 1;
}
.q-caption {
  margin: 14px 0 0;
  color: var(--q-faint);
  font-size: 13px;
}
.q-window {
  border: 1px solid var(--q-line-strong);
  border-radius: var(--q-radius);
  background: var(--q-surface);
  box-shadow:
    var(--q-shadow-lg),
    inset 0 1px 0 var(--q-highlight);
  overflow: hidden;
  font-size: 13px;
}
.q-window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--q-line);
  background: var(--q-elevated);
}
.q-dots {
  display: inline-flex;
  gap: 6px;
  flex: 0 0 auto;
}
.q-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--q-line-strong);
  display: block;
}
.q-url {
  flex: 1 1 auto;
  max-width: 340px;
  margin: 0 auto;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--q-soft);
  color: var(--q-faint);
  font-family: var(--q-font-mono);
  font-size: 11.5px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.q-app {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
}
.q-side {
  display: grid;
  align-content: start;
  gap: 2px;
  margin: 0;
  padding: 14px 10px;
  border-right: 1px solid var(--q-line);
  list-style: none;
}
.q-side li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--q-muted);
}
.q-side li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1.5px solid var(--q-quiet);
  flex: 0 0 auto;
}
.q-side li.is-on {
  background: var(--q-soft-strong);
  color: var(--q-text);
}
.q-side li.is-on::before {
  border-color: var(--q-brand-light);
}
.q-side .q-side-h {
  margin: 0 0 8px;
  color: var(--q-text);
  font-weight: 600;
}
.q-side .q-side-h::before {
  display: none;
}
.q-main {
  min-width: 0;
  padding: 20px 22px 22px;
}
.q-main-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin-bottom: 14px;
}
.q-main-head b {
  color: var(--q-text);
  font-size: 16px;
  font-weight: 590;
  letter-spacing: -0.01em;
}
.q-main-head span {
  color: var(--q-faint);
  font-size: 12px;
}
.q-demo-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 7px 12px;
  border: 1px dashed var(--q-line-strong);
  border-radius: var(--q-radius-sm);
  color: var(--q-muted);
  font-family: var(--q-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.q-demo-banner::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--q-quiet);
  flex: 0 0 auto;
}
.q-check {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.q-facts {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 10px;
  margin: 0 0 16px;
}
.q-facts div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--q-line);
  border-radius: 10px;
  background: var(--q-bg);
}
.q-facts dt {
  color: var(--q-faint);
  font-size: 11px;
}
.q-facts dd {
  margin: 0;
  color: var(--q-text);
  font-size: 13px;
  font-weight: 510;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.q-conds {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--q-line);
  border-radius: 10px;
  overflow: hidden;
}
.q-conds-h {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--q-line);
  background: var(--q-elevated);
  color: var(--q-faint);
  font-family: var(--q-font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.q-cond {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 2px 12px;
  align-items: start;
  padding: 11px 14px;
  border-bottom: 1px solid var(--q-line);
}
.q-cond:last-child {
  border-bottom: 0;
}
.q-cond b {
  color: var(--q-text);
  font-weight: 510;
}
.q-cond small {
  grid-column: 2 / 3;
  color: var(--q-faint);
  font-size: 12px;
  line-height: 1.45;
}
.q-cond em {
  grid-column: 3;
  grid-row: 1;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 510;
}
.q-tick {
  grid-row: 1 / 3;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.q-tick svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.q-cond.is-pass .q-tick {
  background: var(--q-ok-soft);
  color: var(--q-ok-text);
}
.q-cond.is-pass em {
  color: var(--q-ok-text);
}
.q-cond.is-fail .q-tick {
  background: var(--q-danger-soft);
  color: var(--q-danger-text);
}
.q-cond.is-fail em {
  color: var(--q-danger-text);
}
.q-result {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--q-ok-line);
  border-radius: 10px;
  background:
    radial-gradient(320px circle at 100% 0%, var(--q-ok-soft), transparent 70%),
    var(--q-bg);
}
.q-result .q-result-label {
  margin: 0;
  color: var(--q-faint);
  font-family: var(--q-font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.q-result .q-result-value {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--q-ok-text);
  font-size: 26px;
  font-weight: var(--q-weight-strong);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.q-result-value .q-tick {
  width: 26px;
  height: 26px;
  background: var(--q-ok-soft);
  color: var(--q-ok-text);
}
.q-result-value .q-tick svg {
  width: 14px;
  height: 14px;
}
.q-result p {
  margin: 0;
  color: var(--q-muted);
  font-size: 12.5px;
  line-height: 1.5;
}
.q-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.q-fake-btn {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid var(--q-line-strong);
  border-radius: 7px;
  color: var(--q-text);
  font-size: 12px;
  font-weight: 510;
}
.q-fake-btn.is-primary {
  border-color: transparent;
  background: var(--q-brand);
  color: var(--q-on-brand);
}
.q-result .q-record {
  padding-top: 12px;
  border-top: 1px solid var(--q-line);
  color: var(--q-faint);
  font-family: var(--q-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  line-height: 1.6;
}
/* Tablets and phones: the sidebar folds away and the result drops below
   the conditions, so the outcome always stays in view. */
@media (max-width: 960px) {
  .q-app {
    grid-template-columns: minmax(0, 1fr);
  }
  .q-side {
    display: none;
  }
  .q-check {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .q-main {
    padding: 16px 14px;
  }
  .q-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .q-cond {
    padding: 10px 12px;
  }
  .q-cond em {
    display: none;
  }
  .q-result .q-result-value {
    font-size: 22px;
  }
}

/* ═══ Bands ════════════════════════════════════════════════════════════ */
/* Heading left, detail right. */
.q-split {
  display: grid;
  gap: 28px 64px;
  align-items: start;
}
@media (min-width: 900px) {
  .q-split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  }
}

/* Short pointers: a hairline list, one fact per row. */
.q-pointers {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--q-line);
}
.q-pointers li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--q-line);
  color: var(--q-muted);
  font-size: 15.5px;
  line-height: 1.55;
}
.q-pointers li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--q-brand-light);
}
.q-pointers b {
  color: var(--q-text);
  font-weight: 510;
}

/* Card wall: hairline-divided cells; an indigo rule draws in along the top
   of the one under the pointer, and a soft light follows the cursor. */
.q-wall {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--q-line);
  border: 1px solid var(--q-line);
  border-radius: var(--q-radius);
  overflow: hidden;
}
.q-cell {
  position: relative;
  padding: 26px 26px 28px;
  background: var(--q-surface);
  overflow: hidden;
  transition: background 200ms ease;
}
.q-cell > * {
  position: relative;
  z-index: 1;
}
.q-cell h3 {
  margin: 0;
  font-size: 15.5px;
  letter-spacing: -0.01em;
}
.q-cell p {
  margin: 8px 0 0;
  color: var(--q-muted);
  font-size: 14px;
  line-height: 1.6;
}
.q-cell-n {
  display: block;
  margin: 0 0 14px;
  color: var(--q-faint);
  font-family: var(--q-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.q-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(var(--q-brand-rgb), 0.08),
    transparent 68%
  );
  transition: opacity 220ms ease;
}
.q-cell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  z-index: 2;
  background: linear-gradient(
    90deg,
    var(--q-brand),
    rgba(var(--q-brand-rgb), 0)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 600ms var(--ease);
}
.q-cell:hover {
  background: var(--q-elevated);
}
.q-cell:hover::before {
  opacity: 1;
}
.q-cell:hover::after,
.q-cell:focus-within::after {
  transform: scaleX(1);
}
/* Six cells: three across on desktops, two on tablets, one on phones.
   The four-cell variant stays two across so no cell is left empty. */
@media (min-width: 640px) {
  .q-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .q-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .q-wall.q-wall-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Product card: Quoreca Origin, with its three results beside it. */
.q-product {
  display: grid;
  gap: 32px;
  padding: 32px 26px;
  border: 1px solid var(--q-line);
  border-radius: var(--q-radius-lg);
  background:
    radial-gradient(
      680px circle at 100% 0%,
      rgba(var(--q-brand-rgb), 0.1),
      transparent 70%
    ),
    var(--q-surface);
  box-shadow: inset 0 1px 0 var(--q-highlight);
  transition:
    border-color 300ms ease,
    transform 600ms var(--ease);
}
.q-product:hover {
  border-color: var(--q-line-strong);
  transform: translateY(-3px);
}
.q-product-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 6px;
}
.q-product-head h2 {
  margin: 0;
}
.q-domain {
  margin: 0 0 18px;
  color: var(--q-faint);
  font-family: var(--q-font-mono);
  font-size: 12.5px;
}
.q-product .q-lede {
  margin-bottom: 22px;
}
.q-product .q-pointers {
  margin-bottom: 26px;
}
.q-results {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  align-content: start;
}
.q-results-h {
  margin: 0 0 4px;
  color: var(--q-faint);
  font-size: 13px;
}
.q-results li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--q-line);
  border-radius: 10px;
  background: var(--q-bg);
}
.q-results b {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--q-text);
  font-size: 14.5px;
  font-weight: 510;
}
.q-results b::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--q-dot, var(--q-quiet));
}
.q-results .is-ok {
  --q-dot: var(--q-ok-text);
}
.q-results .is-no {
  --q-dot: var(--q-danger-text);
}
.q-results .is-review {
  --q-dot: var(--q-brand-light);
}
.q-results span {
  color: var(--q-muted);
  font-size: 13.5px;
  line-height: 1.5;
}
@media (min-width: 900px) {
  .q-product {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr);
    gap: 56px;
    padding: 44px 44px;
  }
}

/* Numbered steps: a hairline list with mono indices. */
.q-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: q-step;
  border-top: 1px solid var(--q-line);
}
.q-steps li {
  counter-increment: q-step;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 4px 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--q-line);
}
.q-steps li::before {
  content: counter(q-step, decimal-leading-zero);
  grid-row: 1 / 3;
  color: var(--q-brand-light);
  font-family: var(--q-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding-top: 3px;
}
.q-steps h3 {
  margin: 0;
}
.q-steps p {
  margin: 0;
  color: var(--q-muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 68ch;
}
@media (min-width: 900px) {
  .q-steps li {
    grid-template-columns: 72px minmax(0, 0.7fr) minmax(0, 1.3fr);
    align-items: baseline;
  }
  .q-steps li::before {
    grid-row: auto;
  }
}

/* Closing band: copy left, action right, warmed with the accent. */
.q-contact {
  background:
    radial-gradient(
      90% 70% at 15% 0%,
      rgba(var(--q-brand-rgb), 0.06),
      transparent 60%
    ),
    var(--q-bg);
}
.q-cta {
  display: grid;
  gap: 22px;
  align-items: center;
  padding: 32px 26px;
  border: 1px solid var(--q-line);
  border-radius: var(--q-radius-lg);
  background:
    radial-gradient(
      680px circle at 100% 0%,
      rgba(var(--q-brand-rgb), 0.1),
      transparent 70%
    ),
    var(--q-surface);
}
.q-cta h2 {
  margin-bottom: 10px;
}
.q-cta-side {
  display: grid;
  gap: 16px;
}
.q-cta-side .q-btn {
  justify-self: start;
}
.q-channels {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.q-channels li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--q-muted);
  font-size: 14px;
}
.q-channels li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--q-brand-light);
  transform: translateY(-2px);
}
@media (min-width: 900px) {
  .q-cta {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: 48px;
    padding: 40px 44px;
  }
  .q-cta .q-btn {
    min-height: 50px;
    padding: 0 24px;
    font-size: 15px;
  }
}

/* ═══ Legal and short pages ════════════════════════════════════════════ */
.q-prose {
  max-width: 720px;
}
.q-prose h2 {
  margin: 44px 0 12px;
  font-size: 20px;
  letter-spacing: -0.015em;
}
.q-prose p,
.q-prose li {
  color: var(--q-muted);
  font-size: 16px;
  line-height: 1.7;
}
.q-prose ul {
  padding-left: 20px;
}
.q-prose li {
  margin-bottom: 6px;
}
.q-prose li::marker {
  color: var(--q-brand-light);
}
.q-updated {
  margin: 0 0 28px;
  color: var(--q-faint);
  font-family: var(--q-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.q-prose .q-intro {
  color: var(--q-text);
  font-size: 17px;
}

/* ═══ Footer ═══════════════════════════════════════════════════════════ */
.q-footer {
  border-top: 1px solid var(--q-line);
  padding: 40px 0 32px;
  background: var(--q-bg);
}
.q-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}
.q-footer-left {
  display: grid;
  gap: 14px;
}
.q-footer p {
  margin: 0;
  color: var(--q-faint);
  font-size: 13px;
  line-height: 1.6;
}
.q-footer p a {
  color: var(--q-muted);
  text-decoration: none;
}
.q-footer-links {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.q-footer-links a,
.q-footer p a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  transition: color 160ms ease;
}
.q-footer-links a {
  padding: 0 10px;
  color: var(--q-muted);
  font-size: 14px;
  text-decoration: none;
}
.q-footer-links li:first-child a {
  padding-left: 0;
}
.q-footer-links a:hover,
.q-footer p a:hover {
  color: var(--q-text);
}

/* ═══ Motion ═══════════════════════════════════════════════════════════
   One easing curve everywhere. Things arrive out of a soft blur and
   settle, never bounce. Everything is gated by html.js-reveal and turns
   into a plain cut under reduced motion. */

/* Page-to-page: a cross-document view transition (Chrome, Edge, Safari 18+).
   Browsers without it simply navigate as before. */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: q-page-out 220ms var(--ease) both;
}
::view-transition-new(root) {
  animation: q-page-in 520ms var(--ease) both;
}
@keyframes q-page-out {
  to {
    opacity: 0;
    transform: translateY(-6px);
    filter: blur(4px);
  }
}
@keyframes q-page-in {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(6px);
  }
}
/* The top bar stays put while the page changes beneath it. */
[data-nav] {
  view-transition-name: q-nav;
}
::view-transition-group(q-nav) {
  animation: none;
}

/* Sections rise out of a light blur as they scroll in. */
.js-reveal .q-section:not([data-hero]) {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(32px);
  transition:
    opacity 1100ms var(--ease),
    transform 1100ms var(--ease),
    filter 1100ms var(--ease);
}
.js-reveal .q-section.is-visible:not([data-hero]) {
  opacity: 1;
  filter: none;
  transform: none;
}

/* Staggered children come out of a blur in sequence. */
.js-reveal [data-stagger] > * {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(20px);
  transition:
    opacity var(--dur) var(--ease) calc(var(--i, 0) * 85ms),
    transform var(--dur) var(--ease) calc(var(--i, 0) * 85ms),
    filter var(--dur) var(--ease) calc(var(--i, 0) * 85ms);
}
.js-reveal .q-section.is-visible:not([data-hero]) [data-stagger] > *,
.js-reveal [data-hero].is-ready [data-stagger] > * {
  opacity: 1;
  filter: none;
  transform: none;
}

/* Section headings arrive a word at a time. */
.q-hword,
.q-word {
  display: inline-block;
  white-space: pre;
}
.js-reveal .q-section:not([data-hero]) .q-hword {
  opacity: 0;
  transform: translateY(0.45em);
  filter: blur(8px);
}
.js-reveal .q-section.is-visible:not([data-hero]) .q-hword {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 1000ms var(--ease) calc(120ms + var(--w, 0) * 45ms),
    transform 1000ms var(--ease) calc(120ms + var(--w, 0) * 45ms),
    filter 1000ms var(--ease) calc(120ms + var(--w, 0) * 45ms);
}

/* Hero: the eyebrow and each headline word rise out of an 8px blur, then
   the line, the buttons and the window follow. */
.js-reveal [data-hero] h1 {
  opacity: 0;
}
.js-reveal [data-hero] .q-eyebrow,
.js-reveal [data-hero] .q-word {
  opacity: 0;
  transform: translateY(0.55em);
  filter: blur(8px);
}
.js-reveal [data-hero] .q-lede,
.js-reveal [data-hero] .q-hero-cta,
.js-reveal [data-hero] .q-hero-meta {
  opacity: 0;
  transform: translateY(0.55em);
}
.js-reveal [data-hero].is-ready h1 {
  opacity: 1;
}
.js-reveal [data-hero].is-ready .q-eyebrow {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 900ms var(--ease) 80ms,
    transform 900ms var(--ease) 80ms,
    filter 900ms var(--ease) 80ms;
}
.js-reveal [data-hero].is-ready .q-word {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 1100ms var(--ease) calc(180ms + var(--i, 0) * 62ms),
    transform 1100ms var(--ease) calc(180ms + var(--i, 0) * 62ms),
    filter 1100ms var(--ease) calc(180ms + var(--i, 0) * 62ms);
}
.js-reveal [data-hero].is-ready .q-lede {
  opacity: 1;
  transform: none;
  transition:
    opacity 1000ms var(--ease) 720ms,
    transform 1000ms var(--ease) 720ms;
}
.js-reveal [data-hero].is-ready .q-hero-cta,
.js-reveal [data-hero].is-ready .q-hero-meta {
  opacity: 1;
  transform: none;
  transition:
    opacity 900ms var(--ease) 820ms,
    transform 900ms var(--ease) 820ms;
}

/* Hero window: tilts up from rotateX(14deg) while its glow blooms behind. */
.js-reveal [data-hero] .q-window,
.js-reveal [data-hero] .q-caption {
  opacity: 0;
  transform: rotateX(14deg) translateY(36px) scale(0.97);
  transform-origin: 50% 0%;
}
.js-reveal [data-hero].is-ready .q-window,
.js-reveal [data-hero].is-ready .q-caption {
  opacity: 1;
  transform: none;
  transition:
    transform 1600ms var(--ease) 700ms,
    opacity 1200ms var(--ease) 700ms;
}
.js-reveal [data-hero] .q-showcase::before {
  opacity: 0;
  transform: translateX(-50%) scale(0.7);
}
.js-reveal [data-hero].is-ready .q-showcase::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  transition:
    opacity 1800ms var(--ease) 900ms,
    transform 2200ms var(--ease) 900ms;
}
/* The window's conditions tick in after it lands. */
.js-reveal [data-hero] .q-conds > .q-cond {
  opacity: 0;
  transform: translateY(8px);
}
.js-reveal [data-hero].is-ready .q-conds > .q-cond {
  opacity: 1;
  transform: none;
  transition:
    opacity 700ms var(--ease) calc(1300ms + var(--i, 0) * 110ms),
    transform 700ms var(--ease) calc(1300ms + var(--i, 0) * 110ms);
}

/* A return visit gets a short entrance instead of the full sequence. */
.js-reveal [data-hero].is-ready.is-quick .q-eyebrow,
.js-reveal [data-hero].is-ready.is-quick .q-word,
.js-reveal [data-hero].is-ready.is-quick .q-lede,
.js-reveal [data-hero].is-ready.is-quick .q-hero-cta,
.js-reveal [data-hero].is-ready.is-quick .q-hero-meta,
.js-reveal [data-hero].is-ready.is-quick .q-window,
.js-reveal [data-hero].is-ready.is-quick .q-caption,
.js-reveal [data-hero].is-ready.is-quick .q-conds > .q-cond {
  transition-duration: 500ms;
  transition-delay: 0ms;
}

/* Buttons: a soft sheen crosses the primary button; arrows nudge forward. */
.q-btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.q-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform 900ms var(--ease);
  pointer-events: none;
}
.q-btn-primary:hover::after {
  transform: translateX(120%);
}
.q-btn i {
  display: inline-block;
  font-style: normal;
  transition: transform 420ms var(--ease);
}
.q-btn:hover i {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
  .js-reveal .q-section,
  .js-reveal [data-stagger] > *,
  .js-reveal .q-hword,
  .js-reveal .q-word,
  .js-reveal [data-hero] h1,
  .js-reveal [data-hero] .q-eyebrow,
  .js-reveal [data-hero] .q-lede,
  .js-reveal [data-hero] .q-hero-cta,
  .js-reveal [data-hero] .q-hero-meta,
  .js-reveal [data-hero] .q-window,
  .js-reveal [data-hero] .q-caption,
  .js-reveal [data-hero] .q-showcase::before,
  .js-reveal [data-hero] .q-conds > .q-cond {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
  .js-reveal [data-hero] .q-showcase::before {
    transform: translateX(-50%) !important;
  }
  .q-btn,
  .q-btn-primary::after,
  .q-btn i,
  .q-cell,
  .q-cell::before,
  .q-cell::after,
  .q-product,
  .q-progress,
  .q-links a {
    transition: none !important;
  }
  .q-btn,
  .q-btn:hover i,
  .q-product:hover {
    transform: none !important;
  }
}

/* ═══ Print ════════════════════════════════════════════════════════════
   Browsers drop background colours by default, which would leave light
   text on white paper. Print in ink on paper instead. */
@media print {
  html,
  body,
  .q-footer,
  .q-contact,
  .q-cta,
  .q-product,
  .q-cell,
  .q-window {
    background: var(--q-print-bg) !important;
    color: var(--q-print-text) !important;
    box-shadow: none !important;
  }
  h1,
  h2,
  h3,
  strong,
  .q-pointers b {
    color: var(--q-print-text) !important;
  }
  p,
  li,
  .q-lede,
  .q-eyebrow {
    color: var(--q-print-muted) !important;
  }
  .q-nav,
  .q-progress,
  .q-backdrop,
  .q-showcase::before,
  .q-skip {
    display: none !important;
  }
  .q-wall,
  .q-cta,
  .q-product,
  .q-pointers li {
    border-color: var(--q-print-line) !important;
  }
}

/* Two equal columns, each with its own heading and pointers. */
@media (min-width: 900px) {
  .q-split.q-split-even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.q-split-even h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-bottom: 22px;
}
