/*! Quiet design system 1.0.0 (2026-10-23). Licensed to Design Systems Library members, single user. */

/* ---- base ---- */
/* Base: page reset, type roles, containers, section rhythm, links and focus.
   Load after tokens.css. Everything below the body rule is scoped to .qt-page. */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--qt-canvas);
  color: var(--qt-body);
  font-family: var(--qt-font-body);
  font-size: 1rem;
  font-weight: var(--qt-fw-body);
  line-height: var(--qt-lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.qt-page,
.qt-page *,
.qt-page *::before,
.qt-page *::after {
  box-sizing: border-box;
}

:where(.qt-page) :where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote, pre, table) {
  margin: 0;
}

:where(.qt-page) :where(img, video) {
  display: block;
  max-width: 100%;
  height: auto;
}

:where(.qt-page) :where(svg) {
  flex: none;
}

:where(.qt-page) :where(h1, h2, h3, h4) {
  font-family: var(--qt-font-head);
  font-optical-sizing: auto;
  font-weight: var(--qt-fw-head);
  line-height: var(--qt-lh-head);
  color: var(--qt-ink);
  text-wrap: balance;
}

:where(.qt-page) :where(p, li, dd) {
  text-wrap: pretty;
}

/* Type roles */
.qt-h1 {
  font-size: var(--qt-fs-1);
  font-weight: var(--qt-fw-display);
  line-height: var(--qt-lh-tight);
  letter-spacing: var(--qt-track-display);
}

.qt-h2 {
  font-size: var(--qt-fs-2);
  font-weight: var(--qt-fw-head);
  line-height: var(--qt-lh-head);
  letter-spacing: var(--qt-track-head);
}

.qt-h3 {
  font-size: var(--qt-fs-4);
  line-height: var(--qt-lh-snug);
}

.qt-h4 {
  font-size: var(--qt-fs-5);
  line-height: var(--qt-lh-snug);
}

.qt-lead {
  font-size: var(--qt-fs-5);
  line-height: var(--qt-lh-body);
  color: var(--qt-body);
}

.qt-muted {
  color: var(--qt-muted);
}

.qt-num {
  font-variant-numeric: tabular-nums;
}

/* Containers */
.qt-wrap {
  width: 100%;
  max-width: calc(var(--qt-w) + 2 * var(--qt-gut));
  margin-inline: auto;
  padding-inline: var(--qt-gut);
}

.qt-wrap--narrow {
  max-width: calc(var(--qt-w-narrow) + 2 * var(--qt-gut));
}

.qt-wrap--read {
  max-width: calc(var(--qt-read) + 2 * var(--qt-gut));
}

.qt-center {
  text-align: center;
}

/* Spacing helpers for composition between components (components never own outer margins) */
.qt-mt-2 { margin-top: var(--qt-s2); }
.qt-mt-3 { margin-top: var(--qt-s3); }
.qt-mt-4 { margin-top: var(--qt-s4); }
.qt-mt-5 { margin-top: var(--qt-s5); }
.qt-mt-6 { margin-top: var(--qt-s6); }
.qt-mt-7 { margin-top: var(--qt-s7); }

/* Sections: canvas bands separate by whitespace only. Two canvas sections in a row share one gap. */
.qt-sec {
  padding-block: var(--qt-s8);
  background: var(--qt-canvas);
  color: var(--qt-body);
}

.qt-sec:not(.qt-bookend) + .qt-sec:not(.qt-bookend) {
  padding-top: 0;
}

.qt-sec--flush-top {
  padding-top: 0;
}

.qt-page [id] {
  scroll-margin-top: 5rem;
}

/* Links: zero-specificity so every component class wins without !important */
:where(.qt-page) a {
  color: var(--qt-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--qt-dur) var(--qt-ease);
}

:where(.qt-page) a:where(:hover) {
  color: var(--qt-link-hover);
}

.qt-page :focus-visible {
  outline: 3px solid var(--qt-focus);
  outline-offset: 3px;
}

.qt-page code,
.qt-page kbd {
  font-family: var(--qt-font-mono);
  font-size: 0.9em;
  background: var(--qt-surface-sunk);
  color: var(--qt-ink);
  border-radius: 4px;
  padding: 0.1em 0.35em;
}

.qt-page ::selection {
  background: var(--qt-tint);
  color: var(--qt-ink);
}

/* Accessibility helpers */
.qt-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.qt-skip {
  position: absolute;
  left: var(--qt-gut);
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--qt-r-btn);
  background: var(--qt-ink);
  color: var(--qt-canvas);
  font-weight: var(--qt-fw-strong);
}

.qt-page .qt-skip:focus {
  top: 0.75rem;
  color: var(--qt-canvas);
}

.qt-page [hidden] {
  display: none !important;
}

@media (max-width: 699px) {
  .qt-lead {
    font-size: 1.0625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .qt-page *,
  .qt-page *::before,
  .qt-page *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---- buttons ---- */
/* Buttons: the buy button carries the price, the ghost button is the zero-risk second step.
   Flat fills, 8px corners, one quiet shadow on the buy button only. */

.qt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--qt-r-btn);
  background: transparent;
  color: var(--qt-ink);
  font-family: var(--qt-font-body);
  font-size: 1rem;
  font-weight: var(--qt-fw-strong);
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--qt-dur) var(--qt-ease), border-color var(--qt-dur) var(--qt-ease), color var(--qt-dur) var(--qt-ease);
}

.qt-btn--buy {
  background: var(--qt-buy);
  color: var(--qt-buy-ink);
  box-shadow: var(--qt-buy-shadow);
}

:is(.qt-btn--buy):hover {
  background: var(--qt-buy-hover);
  color: var(--qt-buy-ink);
}

.qt-btn--ghost {
  background: transparent;
  color: var(--qt-ink);
  border-color: var(--qt-stroke);
}

:is(.qt-btn--ghost):hover {
  background: var(--qt-surface-soft);
  border-color: var(--qt-ink);
  color: var(--qt-ink);
}

.qt-btn--quiet {
  min-height: 44px;
  padding-inline: 0.25rem;
  color: var(--qt-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

:is(.qt-btn--quiet):hover {
  color: var(--qt-link-hover);
}

.qt-btn--sm {
  min-height: 40px;
  padding: 0.55rem 0.95rem;
  font-size: var(--qt-fs-7);
}

.qt-btn--block {
  width: 100%;
}

.qt-btn__icon {
  flex: none;
}

.qt-btn:disabled,
.qt-btn[aria-disabled="true"] {
  opacity: 0.55;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

/* Pair: always buy first, ghost second, same labels at every placement */
.qt-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.qt-btns--center {
  justify-content: center;
}

/* Micro line under every pair: one fact that answers the objection at that scroll depth */
.qt-micro {
  margin-top: var(--qt-s3);
  font-size: var(--qt-fs-7);
  line-height: 1.5;
  color: var(--qt-muted);
}

.qt-micro--proof {
  margin-top: 0.35rem;
  color: var(--qt-body);
  font-weight: 500;
}

.qt-micro__sep {
  padding-inline: 0.4em;
  color: var(--qt-stroke);
}

@media (pointer: coarse) {
  .qt-btn--sm {
    min-height: 44px;
  }
}

@media (max-width: 699px) {
  .qt-btns > .qt-btn {
    width: 100%;
  }

  .qt-micro {
    font-size: 1rem;
  }
}

/* ---- badges ---- */
/* Badges: status chips say what state a thing is in; tags list plain compatibility facts. */

.qt-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.55rem;
  border-radius: var(--qt-r-chip);
  background: var(--qt-chip-planned-bg);
  color: var(--qt-chip-planned-ink);
  font-family: var(--qt-font-body);
  font-size: var(--qt-fs-8);
  font-weight: var(--qt-fw-strong);
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.qt-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.qt-chip--included {
  background: var(--qt-chip-included-bg);
  color: var(--qt-chip-included-ink);
}

.qt-chip--new {
  background: var(--qt-chip-new-bg);
  color: var(--qt-chip-new-ink);
}

.qt-chip--planned {
  background: var(--qt-chip-planned-bg);
  color: var(--qt-chip-planned-ink);
}

:is(.qt-chip--plain)::before {
  display: none;
}

.qt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.qt-tags--center {
  justify-content: center;
}

.qt-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--qt-hair);
  border-radius: var(--qt-r-chip);
  background: var(--qt-surface-soft);
  color: var(--qt-body);
  font-size: var(--qt-fs-7);
  font-weight: 500;
  line-height: 1.3;
}

.qt-tag svg {
  color: var(--qt-link);
}

/* ---- nav ---- */
/* Nav: brand, in-page links, theme toggle and one small buy button. Sits on the canvas, or merges
   into the hero when it also carries .qt-bookend. Links hide below 880px; the page is one scroll. */

.qt-nav {
  position: relative;
  z-index: 20;
  background: var(--qt-canvas);
  color: var(--qt-body);
  border-bottom: 1px solid var(--qt-hair-soft);
}

.qt-nav--sticky {
  position: sticky;
  top: 0;
}

.qt-nav__in {
  display: flex;
  align-items: center;
  gap: var(--qt-s4);
  min-height: 68px;
}

.qt-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--qt-ink);
  font-family: var(--qt-font-head);
  font-size: var(--qt-fs-5);
  font-weight: var(--qt-fw-head);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.qt-nav__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--qt-r-btn);
  background: var(--qt-buy);
  color: var(--qt-buy-ink);
}

.qt-nav__brand {
  margin-right: auto;
}

.qt-nav__links {
  display: flex;
  align-items: center;
  gap: var(--qt-s4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.qt-nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--qt-body);
  font-size: var(--qt-fs-6);
  font-weight: 500;
  text-decoration: none;
}

.qt-nav__links a:hover {
  color: var(--qt-ink);
}

.qt-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.qt-nav__menu + .qt-nav__actions {
  margin-left: var(--qt-s2);
}

.qt-theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--qt-stroke);
  border-radius: var(--qt-r-btn);
  background: transparent;
  color: var(--qt-ink);
  cursor: pointer;
  transition: background-color var(--qt-dur) var(--qt-ease), border-color var(--qt-dur) var(--qt-ease);
}

.qt-theme-toggle:hover {
  background: var(--qt-surface-soft);
  border-color: var(--qt-ink);
}

.qt-theme-toggle__sun,
.qt-theme-toggle[aria-pressed="true"] .qt-theme-toggle__moon {
  display: none;
}

.qt-theme-toggle[aria-pressed="true"] .qt-theme-toggle__sun {
  display: block;
}

@media (pointer: coarse) {
  .qt-theme-toggle {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 879px) {
  .qt-nav__menu {
    display: none;
  }

}

/* ---- bookend ---- */
/* Bookend: the forced-dark band. Use it exactly twice per page, on the hero and the close.
   It remaps tokens, so every component inside keeps working without colour overrides. */

.qt-bookend {
  --qt-canvas: var(--qt-bookend-bg);
  --qt-surface: var(--qt-bookend-surface);
  --qt-surface-soft: var(--qt-bookend-surface-soft);
  --qt-surface-sunk: var(--qt-bookend-surface-sunk);
  --qt-ink: var(--qt-bookend-ink);
  --qt-body: var(--qt-bookend-body);
  --qt-muted: var(--qt-bookend-muted);
  --qt-hair: var(--qt-bookend-hair);
  --qt-hair-soft: var(--qt-bookend-hair-soft);
  --qt-stroke: var(--qt-bookend-stroke);
  --qt-link: var(--qt-bookend-link);
  --qt-link-hover: var(--qt-bookend-ink);
  --qt-buy: var(--qt-bookend-buy);
  --qt-buy-hover: var(--qt-bookend-buy-hover);
  --qt-buy-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 10px 24px rgba(0, 0, 0, 0.3);
  --qt-focus: var(--qt-bookend-focus);
  --qt-tint: var(--qt-bookend-tint);
  --qt-chip-included-bg: var(--qt-bookend-chip-included-bg);
  --qt-chip-included-ink: var(--qt-bookend-chip-included-ink);
  --qt-chip-new-bg: var(--qt-bookend-chip-new-bg);
  --qt-chip-new-ink: var(--qt-bookend-chip-new-ink);
  --qt-chip-planned-bg: var(--qt-bookend-chip-bg);
  --qt-chip-planned-ink: var(--qt-bookend-chip-ink);
  color-scheme: dark;
  background-color: var(--qt-canvas);
  color: var(--qt-body);
}

.qt-bookend--pad {
  padding-block: var(--qt-s9);
}

/* ---- hero ---- */
/* Hero: outcome headline, one-line lead, the CTA pair, the micro lines, then the product itself.
   Built to sit on a bookend. The screenshot is the argument, so it starts above the fold. */

.qt-hero {
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 5.5rem) var(--qt-s8);
}

.qt-hero__in {
  text-align: center;
}

.qt-hero__title {
  max-width: 19ch;
  margin-inline: auto;
  font-size: var(--qt-fs-1);
  font-weight: var(--qt-fw-display);
  line-height: var(--qt-lh-tight);
  letter-spacing: var(--qt-track-display);
  color: var(--qt-ink);
}

.qt-hero__lead {
  max-width: 620px;
  margin: var(--qt-s4) auto 0;
  font-size: var(--qt-fs-4);
  line-height: 1.5;
  color: var(--qt-body);
}

.qt-hero__actions {
  margin-top: var(--qt-s5);
  justify-content: center;
}

.qt-hero__shot {
  max-width: 1040px;
  margin: var(--qt-s7) auto 0;
}

.qt-hero__ribbon {
  margin-top: var(--qt-s6);
  text-align: center;
}

.qt-hero__ribbon-label {
  margin-bottom: var(--qt-s2);
  font-size: var(--qt-fs-7);
  color: var(--qt-muted);
}

@media (max-width: 699px) {
  .qt-hero__lead {
    font-size: var(--qt-fs-5);
  }

  .qt-hero__ribbon-label {
    font-size: 1rem;
  }
}

/* ---- shot ---- */
/* Shot: a framed product screenshot. A real image or a coded mock goes in the body.
   On a bookend use .qt-shot--lifted: an outline instead of a border, plus one deep shadow. */

.qt-shot__frame {
  overflow: hidden;
  border: 1px solid var(--qt-shot-hair);
  border-radius: var(--qt-r-shot);
  background: var(--qt-shot-surface);
  box-shadow: var(--qt-shadow-shot-canvas);
}

.qt-shot--lifted .qt-shot__frame {
  border-color: transparent;
  outline: 1px solid var(--qt-shot-outline);
  outline-offset: -1px;
  box-shadow: var(--qt-shadow-shot);
}

.qt-shot--flat .qt-shot__frame {
  box-shadow: none;
}

.qt-shot__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--qt-shot-hair-soft);
  background: var(--qt-shot-surface-soft);
}

.qt-shot__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--qt-shot-hair);
}

.qt-shot__title {
  margin-inline: auto;
  padding-right: 48px;
  font-size: var(--qt-fs-8);
  font-weight: 500;
  color: var(--qt-shot-muted);
}

.qt-shot__img {
  display: block;
  width: 100%;
  height: auto;
}

.qt-shot--crop .qt-shot__frame {
  aspect-ratio: 16 / 10;
}

.qt-shot__cap {
  margin-top: var(--qt-s2);
  text-align: center;
  font-size: var(--qt-fs-7);
  line-height: 1.5;
  color: var(--qt-muted);
}

@media (max-width: 699px) {
  .qt-shot__bar {
    height: 30px;
  }

  .qt-shot__dot {
    width: 8px;
    height: 8px;
  }
}

/* ---- mock ---- */
/* Mock: a small kit for coded product screenshots, for pages that ship before real captures
   exist. Mocks are decoration: wrap them in aria-hidden="true" and describe the product in text.
   They read only the --qt-shot-* palette, so they keep the page theme inside a bookend. */

.qt-mock {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  min-height: 440px;
  background: var(--qt-shot-surface);
  color: var(--qt-shot-body);
  font-family: var(--qt-font-body);
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}

.qt-mock--single {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}

.qt-mock__side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 10px;
  border-right: 1px solid var(--qt-shot-hair-soft);
  background: var(--qt-shot-surface-soft);
}

.qt-mock__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 14px;
  font-weight: 600;
  color: var(--qt-shot-ink);
}

.qt-mock__logo {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--qt-shot-accent);
  color: var(--qt-shot-accent-ink);
}

.qt-mock__nav {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border-radius: 7px;
  color: var(--qt-shot-muted);
}

.qt-mock__nav.is-active {
  background: var(--qt-shot-surface);
  color: var(--qt-shot-ink);
  box-shadow: 0 0 0 1px var(--qt-shot-hair-soft);
}

.qt-mock__nav-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--qt-shot-muted);
}

.qt-mock__side-foot {
  margin-top: auto;
  padding: 10px 8px 0;
  border-top: 1px solid var(--qt-shot-hair-soft);
  font-size: 11.5px;
  color: var(--qt-shot-muted);
}

.qt-mock__main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 18px 22px 22px;
}

.qt-mock__pad {
  padding: 16px;
}

.qt-mock__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.qt-mock__h {
  font-family: var(--qt-font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--qt-shot-ink);
}

.qt-mock__sub {
  font-size: 12px;
  color: var(--qt-shot-muted);
}

.qt-mock__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 6px;
  background: var(--qt-shot-accent);
  color: var(--qt-shot-accent-ink);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.qt-mock__btn--ghost {
  background: transparent;
  color: var(--qt-shot-ink);
  box-shadow: inset 0 0 0 1px var(--qt-shot-hair);
}

.qt-mock__row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.qt-mock__grow {
  flex: 1 1 auto;
  min-width: 0;
}

.qt-mock__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.qt-mock__stat,
.qt-mock__panel {
  padding: 11px 13px;
  border: 1px solid var(--qt-shot-hair-soft);
  border-radius: 10px;
  background: var(--qt-shot-surface);
}

.qt-mock__panel--soft {
  background: var(--qt-shot-surface-soft);
}

.qt-mock__k {
  font-size: 11.5px;
  color: var(--qt-shot-muted);
}

.qt-mock__v {
  margin-top: 2px;
  font-family: var(--qt-font-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--qt-shot-ink);
  font-variant-numeric: tabular-nums;
}

.qt-mock__v--lg {
  font-size: 34px;
}

.qt-mock__delta {
  font-size: 11.5px;
  color: var(--qt-shot-ok-ink);
}

.qt-mock__chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
}

.qt-mock__chart--sm {
  height: 72px;
  gap: 5px;
}

.qt-mock__bar {
  flex: 1 1 0;
  min-width: 0;
  height: 50%;
  border-radius: 4px 4px 2px 2px;
  background: var(--qt-shot-accent);
}

.qt-mock__bar--soft {
  background: var(--qt-shot-accent-soft);
}

.qt-mock__bar--10 { height: 10%; }
.qt-mock__bar--20 { height: 20%; }
.qt-mock__bar--30 { height: 30%; }
.qt-mock__bar--40 { height: 40%; }
.qt-mock__bar--50 { height: 50%; }
.qt-mock__bar--60 { height: 60%; }
.qt-mock__bar--70 { height: 70%; }
.qt-mock__bar--80 { height: 80%; }
.qt-mock__bar--90 { height: 90%; }
.qt-mock__bar--100 { height: 100%; }

.qt-mock__axis {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--qt-shot-muted);
}

.qt-mock__axis > span {
  flex: 1 1 0;
  text-align: center;
}

.qt-mock__meter {
  height: 8px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--qt-shot-sunk);
}

.qt-mock__meter > span {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--qt-shot-accent);
}

.qt-mock__w-20 { width: 20%; }
.qt-mock__w-30 { width: 30%; }
.qt-mock__w-40 { width: 40%; }
.qt-mock__w-50 { width: 50%; }
.qt-mock__w-60 { width: 60%; }
.qt-mock__w-70 { width: 70%; }
.qt-mock__w-80 { width: 80%; }
.qt-mock__w-90 { width: 90%; }
.qt-mock__w-100 { width: 100%; }

.qt-mock__line {
  height: 8px;
  border-radius: 4px;
  background: var(--qt-shot-sunk);
}

.qt-mock__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.qt-mock__table th {
  padding: 7px 8px;
  border-bottom: 1px solid var(--qt-shot-hair);
  font-weight: 500;
  text-align: left;
  color: var(--qt-shot-muted);
}

.qt-mock__table td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--qt-shot-hair-soft);
  color: var(--qt-shot-body);
  white-space: nowrap;
}

.qt-mock__table tr:last-child td {
  border-bottom: 0;
}

.qt-mock__strong {
  font-weight: 600;
  color: var(--qt-shot-ink);
}

.qt-mock__num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--qt-shot-ink);
}

.qt-mock__table .qt-mock__num {
  text-align: right;
}

.qt-mock__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--qt-shot-idle-bg);
  color: var(--qt-shot-idle-ink);
  font-size: 11px;
  font-weight: 600;
}

.qt-mock__status--ok {
  background: var(--qt-shot-ok-bg);
  color: var(--qt-shot-ok-ink);
}

.qt-mock__status--warn {
  background: var(--qt-shot-warn-bg);
  color: var(--qt-shot-warn-ink);
}

.qt-mock__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--qt-shot-accent-soft);
  color: var(--qt-shot-ink);
  font-size: 10.5px;
  font-weight: 700;
}

.qt-mock__seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 8px;
  background: var(--qt-shot-sunk);
}

.qt-mock__seg > span {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--qt-shot-muted);
}

.qt-mock__seg > .is-active {
  background: var(--qt-shot-surface);
  color: var(--qt-shot-ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.qt-mock__kbd {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 7px;
  background: var(--qt-shot-surface);
  box-shadow: inset 0 -2px 0 var(--qt-shot-hair), 0 0 0 1px var(--qt-shot-hair);
  font-family: var(--qt-font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--qt-shot-ink);
}

.qt-mock__chipset {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.qt-mock__chipset > span {
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--qt-shot-surface-soft);
  box-shadow: inset 0 0 0 1px var(--qt-shot-hair);
  font-size: 12px;
  font-weight: 600;
  color: var(--qt-shot-body);
}

.qt-mock__chipset > .is-active {
  background: var(--qt-shot-accent-soft);
  box-shadow: inset 0 0 0 1px var(--qt-shot-accent);
  color: var(--qt-shot-ink);
}

.qt-mock__box {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1.5px var(--qt-shot-hair);
  background: var(--qt-shot-surface);
  color: var(--qt-shot-accent-ink);
}

.qt-mock__box.is-on {
  background: var(--qt-shot-accent);
  box-shadow: none;
}

.qt-mock__divider {
  height: 1px;
  background: var(--qt-shot-hair-soft);
}

.qt-mock__doc {
  padding: 18px;
  border-radius: 10px;
  background: var(--qt-shot-surface);
  box-shadow: 0 0 0 1px var(--qt-shot-hair-soft), 0 8px 18px -12px rgba(0, 0, 0, 0.25);
}

@media (max-width: 699px) {
  .qt-mock {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    font-size: 12px;
  }

  .qt-mock__side,
  .qt-mock__hide-sm {
    display: none;
  }

  .qt-mock__main {
    padding: 14px;
    gap: 12px;
  }

  .qt-mock__stats {
    gap: 6px;
  }

  .qt-mock__stat {
    padding: 8px 9px;
  }

  .qt-mock__v {
    font-size: 16px;
  }

  .qt-mock__v--lg {
    font-size: 28px;
  }

  .qt-mock__chart {
    height: 84px;
    gap: 5px;
  }
}

/* ---- section-header ---- */
/* Section header: one H2 that names the buyer's outcome, one lead line. Centred by default. */

.qt-head {
  max-width: 700px;
  margin: 0 auto var(--qt-s7);
  text-align: center;
}

.qt-head__title {
  font-size: var(--qt-fs-2);
  font-weight: var(--qt-fw-head);
  line-height: var(--qt-lh-head);
  letter-spacing: var(--qt-track-head);
  color: var(--qt-ink);
}

.qt-head__sub {
  display: block;
  color: var(--qt-muted);
}

.qt-head__lead {
  max-width: var(--qt-read);
  margin: var(--qt-s3) auto 0;
  font-size: var(--qt-fs-5);
  line-height: var(--qt-lh-body);
  color: var(--qt-body);
}

.qt-head--left {
  margin-inline: 0;
  text-align: left;
}

.qt-head--left .qt-head__lead {
  margin-inline: 0;
}

.qt-head--tight {
  margin-bottom: var(--qt-s5);
}

/* ---- visual-cards ---- */
/* Visual cards: what the buyer gets, shown before it is described. A screenshot crop,
   a short verb-led title, one supporting line. Six in a 3-grid reads complete. */

.qt-vcards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--qt-s4);
  padding: 0;
  margin: 0;
  list-style: none;
}

.qt-vcard {
  display: flex;
  flex-direction: column;
  padding: var(--qt-s3);
  border: 1px solid var(--qt-hair-soft);
  border-radius: var(--qt-r-card);
  background: var(--qt-surface-soft);
}

.qt-vcard__media {
  display: flex;
  flex-direction: column;
  justify-content: center;
  aspect-ratio: 16 / 10;
  margin: 0 0 var(--qt-s3);
  overflow: hidden;
  border: 1px solid var(--qt-shot-hair);
  border-radius: calc(var(--qt-r-card) - 6px);
  background: var(--qt-shot-surface);
}

.qt-vcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.qt-vcard__title {
  padding-inline: var(--qt-s1);
  font-size: var(--qt-fs-5);
  font-weight: var(--qt-fw-head);
  line-height: var(--qt-lh-snug);
  color: var(--qt-ink);
}

.qt-vcard__text {
  margin-top: 0.35rem;
  padding: 0 var(--qt-s1) var(--qt-s1);
  font-size: var(--qt-fs-6);
  line-height: 1.55;
  color: var(--qt-body);
}

@media (max-width: 1023px) {
  .qt-vcards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  .qt-vcards {
    grid-template-columns: 1fr;
  }

  .qt-vcard__text {
    font-size: 1rem;
  }
}

/* ---- features ---- */
/* Features: bare columns of icon, title and one or two lines. No cards: proximity groups them. */

.qt-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--qt-s5) var(--qt-s4);
  padding: 0;
  margin: 0;
  list-style: none;
}

.qt-features--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qt-feature__icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: var(--qt-s2);
  border-radius: var(--qt-r-btn);
  background: var(--qt-tint);
  color: var(--qt-link);
}

.qt-feature__title {
  font-size: var(--qt-fs-5);
  font-weight: var(--qt-fw-head);
  line-height: var(--qt-lh-snug);
  color: var(--qt-ink);
}

.qt-feature__text {
  margin-top: 0.35rem;
  font-size: var(--qt-fs-6);
  line-height: 1.6;
  color: var(--qt-body);
}

@media (max-width: 1023px) {
  .qt-features,
  .qt-features--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 559px) {
  .qt-features,
  .qt-features--3 {
    grid-template-columns: 1fr;
  }

  .qt-feature__text {
    font-size: 1rem;
  }
}

/* ---- catalog ---- */
/* Catalog: everything in the product, grouped, always open. Each group names itself, carries a
   truthful status chip and lists every item. The buyer scans the whole surface without a click. */

.qt-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--qt-s4);
  padding: 0;
  margin: 0;
  list-style: none;
}

.qt-catalog__group {
  padding: var(--qt-s4);
  border: 1px solid var(--qt-hair-soft);
  border-radius: var(--qt-r-card);
  background: var(--qt-surface-soft);
}

.qt-catalog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--qt-s2);
  margin-bottom: var(--qt-s3);
  padding-bottom: var(--qt-s3);
  border-bottom: 1px solid var(--qt-hair);
}

.qt-catalog__name {
  font-size: var(--qt-fs-5);
  font-weight: var(--qt-fw-head);
  line-height: var(--qt-lh-snug);
  color: var(--qt-ink);
}

.qt-catalog__list {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.qt-catalog__item {
  position: relative;
  padding-left: 1rem;
  font-size: var(--qt-fs-6);
  line-height: 1.5;
  color: var(--qt-body);
}

.qt-catalog__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--qt-link);
}

.qt-catalog__group--planned .qt-catalog__item {
  color: var(--qt-muted);
}

.qt-catalog__group--planned .qt-catalog__item::before {
  background: var(--qt-stroke);
}

.qt-catalog__total {
  margin-top: var(--qt-s5);
  text-align: center;
  font-size: var(--qt-fs-6);
  color: var(--qt-muted);
}

@media (max-width: 1023px) {
  .qt-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  .qt-catalog {
    grid-template-columns: 1fr;
  }

  .qt-catalog__item,
  .qt-catalog__total {
    font-size: 1rem;
  }
}

/* ---- bento ---- */
/* Bento: a calm six-column mosaic for details that each deserve a small visual.
   Tiles share one surface and one radius; the media sits at the bottom so titles align. */

.qt-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--qt-s4);
  padding: 0;
  margin: 0;
  list-style: none;
}

.qt-bento__item {
  display: flex;
  flex-direction: column;
  gap: var(--qt-s3);
  grid-column: span 2;
  min-width: 0;
  padding: var(--qt-s4);
  overflow: hidden;
  border: 1px solid var(--qt-hair-soft);
  border-radius: var(--qt-r-card);
  background: var(--qt-surface-soft);
}

.qt-bento__item--wide {
  grid-column: span 4;
}

.qt-bento__item--half {
  grid-column: span 3;
}

.qt-bento__item--full {
  grid-column: span 6;
}

.qt-bento__title {
  font-size: var(--qt-fs-5);
  font-weight: var(--qt-fw-head);
  line-height: var(--qt-lh-snug);
  color: var(--qt-ink);
}

.qt-bento__text {
  margin-top: 0.35rem;
  font-size: var(--qt-fs-6);
  line-height: 1.55;
  color: var(--qt-body);
}

.qt-bento__media {
  margin-top: auto;
  overflow: hidden;
  border: 1px solid var(--qt-shot-hair);
  border-radius: 10px;
  background: var(--qt-shot-surface);
}

@media (max-width: 1023px) {
  .qt-bento__item,
  .qt-bento__item--half {
    grid-column: span 3;
  }

  .qt-bento__item--wide,
  .qt-bento__item--full {
    grid-column: span 6;
  }
}

@media (max-width: 699px) {
  .qt-bento__item,
  .qt-bento__item--half,
  .qt-bento__item--wide {
    grid-column: span 6;
  }

  .qt-bento__text {
    font-size: 1rem;
  }
}

/* ---- cards ---- */
/* Cards: a soft tinted surface for a distinct idea (an audience, a reason, a step).
   One treatment per card: tint plus a hairline that only shows on close inspection. No shadows. */

.qt-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--qt-s4);
  padding: 0;
  margin: 0;
  list-style: none;
}

.qt-cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qt-card {
  display: flex;
  flex-direction: column;
  padding: var(--qt-s5);
  border: 1px solid var(--qt-hair-soft);
  border-radius: var(--qt-r-card);
  background: var(--qt-surface-soft);
}

.qt-card--plain {
  background: var(--qt-surface);
  border-color: var(--qt-hair);
}

.qt-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: var(--qt-s3);
  border-radius: 10px;
  background: var(--qt-tint);
  color: var(--qt-link);
}

.qt-card__title {
  font-size: var(--qt-fs-4);
  font-weight: var(--qt-fw-head);
  line-height: var(--qt-lh-snug);
  color: var(--qt-ink);
}

.qt-card__text {
  margin-top: var(--qt-s2);
  font-size: var(--qt-fs-6);
  line-height: 1.6;
  color: var(--qt-body);
}

.qt-card__text + .qt-card__text {
  margin-top: var(--qt-s2);
}

.qt-card__meta {
  margin-top: auto;
  padding-top: var(--qt-s3);
  font-size: var(--qt-fs-7);
  color: var(--qt-muted);
}

@media (max-width: 1023px) {
  .qt-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  .qt-cards,
  .qt-cards--2 {
    grid-template-columns: 1fr;
  }

  .qt-card {
    padding: var(--qt-s4);
  }

  .qt-card__text,
  .qt-card__meta {
    font-size: 1rem;
  }
}

/* ---- pricing ---- */
/* Pricing: one calm panel. Facts, checklist, the honest anchor and the CTA pair on the left,
   a screenshot on the right. No glow, no elevated box, no invented strike-through price.
   .qt-plans is the multi-plan variant for a dedicated pricing page (two or three plans at most). */

.qt-price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--qt-s6);
  align-items: center;
  padding: clamp(1.5rem, 0.8rem + 3vw, 3rem);
  border: 1px solid var(--qt-hair-soft);
  border-radius: var(--qt-r-card);
  background: var(--qt-surface-soft);
}

.qt-price__name {
  font-size: var(--qt-fs-3);
  font-weight: var(--qt-fw-head);
  line-height: var(--qt-lh-head);
  color: var(--qt-ink);
}

.qt-price__amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-top: var(--qt-s3);
}

.qt-price__value {
  font-family: var(--qt-font-head);
  font-size: var(--qt-fs-1);
  font-weight: var(--qt-fw-display);
  line-height: 1;
  letter-spacing: var(--qt-track-display);
  color: var(--qt-ink);
  font-variant-numeric: tabular-nums;
}

.qt-price__term {
  font-size: var(--qt-fs-6);
  color: var(--qt-muted);
}

.qt-price__note {
  margin-top: var(--qt-s2);
  font-size: var(--qt-fs-6);
  line-height: 1.55;
  color: var(--qt-body);
}

.qt-price__list {
  display: grid;
  gap: 0.6rem;
  margin: var(--qt-s4) 0;
  padding: 0;
  list-style: none;
}

.qt-price__list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: var(--qt-fs-6);
  line-height: 1.5;
  color: var(--qt-body);
}

.qt-price__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--qt-link);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* The honest anchor: real comparison math in one sentence, with its basis in small type */
.qt-price__anchor {
  margin: 0 0 var(--qt-s4);
  padding-top: var(--qt-s3);
  border-top: 1px solid var(--qt-hair);
  font-size: var(--qt-fs-7);
  line-height: 1.6;
  color: var(--qt-body);
}

.qt-price__anchor small {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--qt-fs-8);
  color: var(--qt-muted);
}

.qt-price__media {
  min-width: 0;
}

/* Multi-plan variant */
.qt-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--qt-s4);
  padding: 0;
  margin: 0;
  list-style: none;
}

.qt-plan {
  display: flex;
  flex-direction: column;
  padding: var(--qt-s5);
  border: 1px solid var(--qt-hair);
  border-radius: var(--qt-r-card);
  background: var(--qt-surface);
}

.qt-plan--featured {
  border-color: var(--qt-stroke);
  background: var(--qt-surface-soft);
}

.qt-plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--qt-s2);
}

.qt-plan .qt-price__list {
  margin-bottom: var(--qt-s5);
}

.qt-plan .qt-btn {
  margin-top: auto;
}

@media (max-width: 1023px) {
  .qt-price {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 699px) {
  .qt-price__note,
  .qt-price__list li,
  .qt-price__anchor {
    font-size: 1rem;
  }
}

/* ---- tables ---- */
/* Tables: a rounded surface with a soft header row and hairline rows. Under 640px every row
   becomes a labelled stack, read from each cell's data-label. */

.qt-table-wrap {
  overflow: hidden;
  border: 1px solid var(--qt-hair);
  border-radius: var(--qt-r-card);
  background: var(--qt-surface);
}

.qt-table-wrap--narrow {
  max-width: var(--qt-w-narrow);
  margin-inline: auto;
}

.qt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--qt-fs-6);
  line-height: 1.5;
}

.qt-table caption {
  padding: var(--qt-s3) 1.1rem;
  text-align: left;
  font-size: var(--qt-fs-7);
  color: var(--qt-muted);
  caption-side: bottom;
  border-top: 1px solid var(--qt-hair-soft);
}

.qt-table th,
.qt-table td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--qt-hair-soft);
  text-align: left;
  vertical-align: top;
}

.qt-table thead th {
  background: var(--qt-surface-soft);
  border-bottom-color: var(--qt-hair);
  font-size: var(--qt-fs-7);
  font-weight: var(--qt-fw-strong);
  color: var(--qt-ink);
}

.qt-table tbody th {
  font-weight: 500;
  color: var(--qt-ink);
}

.qt-table td {
  color: var(--qt-body);
}

.qt-table tbody tr:last-child > * {
  border-bottom: 0;
}

.qt-table__num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.qt-table__col--accent {
  background: var(--qt-tint);
}

.qt-table thead .qt-table__col--accent {
  background: var(--qt-tint);
}

.qt-table__yes,
.qt-table__no {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.qt-table__yes svg {
  color: var(--qt-link);
}

.qt-table__no {
  color: var(--qt-muted);
}

@media (max-width: 639px) {
  .qt-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .qt-table caption {
    display: block;
    border-top: 0;
    border-bottom: 1px solid var(--qt-hair);
    font-size: 1rem;
  }

  .qt-table,
  .qt-table tbody,
  .qt-table tr,
  .qt-table th,
  .qt-table td {
    display: block;
    width: 100%;
  }

  .qt-table tbody tr {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--qt-hair);
  }

  .qt-table tbody tr:last-child {
    border-bottom: 0;
  }

  .qt-table th,
  .qt-table td {
    padding: 0.45rem 1rem;
    border-bottom: 0;
  }

  .qt-table tbody th {
    padding-top: 0.75rem;
    font-weight: var(--qt-fw-strong);
    font-size: 1rem;
  }

  .qt-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: var(--qt-fs-8);
    font-weight: var(--qt-fw-strong);
    color: var(--qt-muted);
  }

  .qt-table__col--accent {
    background: transparent;
  }

  .qt-table__num {
    text-align: left;
  }
}

/* ---- faq ---- */
/* FAQ, written as objections: the questions buyers ask before paying, answered in one or two
   plain sentences. Always open, two columns, no accordion. Mirror it in FAQPage JSON-LD. */

.qt-qa {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--qt-s5) var(--qt-s6);
  max-width: var(--qt-w-narrow);
  margin-inline: auto;
}

.qt-qa__q {
  font-family: var(--qt-font-body);
  font-size: var(--qt-fs-5);
  font-weight: var(--qt-fw-strong);
  line-height: var(--qt-lh-snug);
  letter-spacing: -0.01em;
  color: var(--qt-ink);
}

.qt-qa__a {
  max-width: 52ch;
  margin-top: 0.4rem;
  font-size: var(--qt-fs-6);
  line-height: 1.6;
  color: var(--qt-body);
}

.qt-qa__a + .qt-qa__a {
  margin-top: var(--qt-s2);
}

.qt-qa__more {
  margin-top: var(--qt-s6);
  text-align: center;
  font-size: var(--qt-fs-6);
  color: var(--qt-muted);
}

@media (max-width: 699px) {
  .qt-qa {
    grid-template-columns: 1fr;
    gap: var(--qt-s4);
  }

  .qt-qa__a,
  .qt-qa__more {
    font-size: 1rem;
  }
}

/* ---- straight-talk ---- */
/* Straight talk: a compact cream card that names what the product does not do yet and who
   should wait. Card padding, not band padding. Tint only: no border, no shadow. */

.qt-talk {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  border-radius: var(--qt-r-card);
  background: var(--qt-cream);
}

.qt-talk__title {
  font-size: var(--qt-fs-4);
  font-weight: var(--qt-fw-head);
  line-height: var(--qt-lh-snug);
  color: var(--qt-cream-ink);
}

.qt-talk__text {
  margin-top: var(--qt-s2);
  font-size: var(--qt-fs-6);
  line-height: 1.65;
  color: var(--qt-cream-body);
}

.qt-talk a {
  color: var(--qt-cream-ink);
}

@media (max-width: 699px) {
  .qt-talk__text {
    font-size: 1rem;
  }
}

/* ---- author ---- */
/* Author: the maker, story first. Photo (or a monogram tile), a plain greeting, two sentences
   of how the product came to be, then a few facts in bullets. */

.qt-author {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: var(--qt-s5);
  align-items: start;
  max-width: var(--qt-w-narrow);
  margin-inline: auto;
  padding: clamp(1.5rem, 1rem + 2.4vw, 2.75rem);
  border: 1px solid var(--qt-hair-soft);
  border-radius: var(--qt-r-card);
  background: var(--qt-surface-soft);
}

.qt-author__photo {
  width: 160px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  background: var(--qt-tint);
}

.qt-author__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qt-author__mono {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--qt-font-head);
  font-size: 3.25rem;
  font-weight: var(--qt-fw-display);
  letter-spacing: -0.04em;
  color: var(--qt-link);
}

.qt-author__hello {
  font-size: var(--qt-fs-3);
  font-weight: var(--qt-fw-head);
  line-height: var(--qt-lh-head);
  color: var(--qt-ink);
}

.qt-author__story {
  margin-top: var(--qt-s2);
  font-size: var(--qt-fs-5);
  line-height: 1.6;
  color: var(--qt-body);
}

.qt-author__intro {
  margin-top: var(--qt-s4);
  font-size: var(--qt-fs-6);
  font-weight: 500;
  color: var(--qt-muted);
}

.qt-author__facts {
  display: grid;
  gap: 0.5rem;
  margin: var(--qt-s2) 0 0;
  padding: 0;
  list-style: none;
}

.qt-author__facts li {
  position: relative;
  padding-left: 1rem;
  font-size: var(--qt-fs-6);
  line-height: 1.55;
  color: var(--qt-body);
}

.qt-author__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--qt-link);
}

.qt-author__facts b {
  font-weight: var(--qt-fw-strong);
  color: var(--qt-ink);
}

@media (max-width: 699px) {
  .qt-author {
    grid-template-columns: 1fr;
    gap: var(--qt-s4);
  }

  .qt-author__photo {
    width: 96px;
  }

  .qt-author__mono {
    font-size: 2rem;
  }

  .qt-author__intro,
  .qt-author__facts li {
    font-size: 1rem;
  }
}

/* ---- forms ---- */
/* Forms: visible labels, 48px fields, a 3:1 stroke, errors in words and colour together.
   .qt-capture is the one-line email capture used on waitlist and release-notes sections. */

.qt-form {
  display: grid;
  gap: var(--qt-s4);
}

.qt-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--qt-s4);
}

.qt-field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.qt-label {
  font-size: var(--qt-fs-7);
  font-weight: var(--qt-fw-strong);
  line-height: 1.3;
  color: var(--qt-ink);
}

.qt-label__opt {
  font-weight: 400;
  color: var(--qt-muted);
}

.qt-hint {
  font-size: var(--qt-fs-7);
  line-height: 1.5;
  color: var(--qt-muted);
}

.qt-input,
.qt-select,
.qt-textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--qt-stroke);
  border-radius: var(--qt-r-input);
  background: var(--qt-surface);
  color: var(--qt-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--qt-dur) var(--qt-ease), box-shadow var(--qt-dur) var(--qt-ease);
}

.qt-textarea {
  min-height: 120px;
  resize: vertical;
}

.qt-input::placeholder,
.qt-textarea::placeholder {
  color: var(--qt-muted);
  opacity: 1;
}

.qt-input:hover,
.qt-select:hover,
.qt-textarea:hover {
  border-color: var(--qt-ink);
}

.qt-input:focus-visible,
.qt-select:focus-visible,
.qt-textarea:focus-visible {
  outline: 3px solid var(--qt-focus);
  outline-offset: 1px;
  border-color: var(--qt-ink);
}

.qt-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--qt-muted) 50%), linear-gradient(135deg, var(--qt-muted) 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) 52%, calc(100% - 0.75rem) 52%;
  background-size: 0.35rem 0.35rem;
  background-repeat: no-repeat;
}

.qt-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--qt-fs-6);
  line-height: 1.5;
  color: var(--qt-body);
  cursor: pointer;
}

.qt-check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0.15rem 0 0;
  accent-color: var(--qt-buy);
}

.qt-field--error .qt-input,
.qt-field--error .qt-select,
.qt-field--error .qt-textarea,
.qt-input[aria-invalid="true"] {
  border-color: var(--qt-error);
  background: var(--qt-error-soft);
}

.qt-error {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--qt-fs-7);
  font-weight: 500;
  color: var(--qt-error);
}

/* One-line capture */
.qt-capture {
  display: flex;
  gap: 0.6rem;
  max-width: 500px;
}

.qt-capture--center {
  margin-inline: auto;
}

.qt-capture .qt-input {
  flex: 1 1 auto;
}

.qt-capture .qt-btn {
  flex: none;
}

.qt-capture__note {
  margin-top: var(--qt-s2);
  font-size: var(--qt-fs-7);
  color: var(--qt-muted);
}

.qt-form__status {
  font-size: var(--qt-fs-7);
  color: var(--qt-ok);
  font-weight: 500;
}

@media (max-width: 559px) {
  .qt-form__row {
    grid-template-columns: 1fr;
  }

  .qt-capture {
    flex-direction: column;
  }

  .qt-hint,
  .qt-error,
  .qt-capture__note,
  .qt-check {
    font-size: 1rem;
  }
}

/* ---- cta ---- */
/* CTA: the closing bookend. Restate the ownership economics in one H2, repeat the identical pair,
   and answer the effort objection in the micro line. */

.qt-cta {
  padding-block: var(--qt-s9);
  text-align: center;
}

.qt-cta__title {
  max-width: 22ch;
  margin-inline: auto;
  font-size: var(--qt-fs-2);
  font-weight: var(--qt-fw-display);
  line-height: var(--qt-lh-head);
  letter-spacing: var(--qt-track-head);
  color: var(--qt-ink);
}

.qt-cta__lead {
  max-width: var(--qt-read);
  margin: var(--qt-s3) auto 0;
  font-size: var(--qt-fs-5);
  line-height: var(--qt-lh-body);
  color: var(--qt-body);
}

.qt-cta__actions {
  margin-top: var(--qt-s5);
  justify-content: center;
}

/* ---- footer ---- */
/* Footer: brand line, up to three link columns and the fine print. Sits on the canvas. */

.qt-footer {
  padding-block: var(--qt-s7) var(--qt-s5);
  border-top: 1px solid var(--qt-hair);
  background: var(--qt-canvas);
  color: var(--qt-body);
}

.qt-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: var(--qt-s5);
}

.qt-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--qt-font-head);
  font-size: var(--qt-fs-5);
  font-weight: var(--qt-fw-head);
  color: var(--qt-ink);
}

.qt-footer__about {
  max-width: 34ch;
  margin-top: var(--qt-s2);
  font-size: var(--qt-fs-6);
  line-height: 1.55;
  color: var(--qt-body);
}

.qt-footer__title {
  margin-bottom: var(--qt-s2);
  font-family: var(--qt-font-body);
  font-size: var(--qt-fs-7);
  font-weight: var(--qt-fw-strong);
  letter-spacing: 0;
  color: var(--qt-ink);
}

.qt-footer__list {
  display: grid;
  gap: 0.2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.qt-footer__list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: var(--qt-fs-7);
  color: var(--qt-body);
  text-decoration: none;
}

.qt-footer__list a:hover {
  color: var(--qt-ink);
  text-decoration: underline;
}

.qt-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--qt-s2) var(--qt-s4);
  margin-top: var(--qt-s6);
  padding-top: var(--qt-s4);
  border-top: 1px solid var(--qt-hair-soft);
}

.qt-footer__legal {
  font-size: var(--qt-fs-8);
  line-height: 1.5;
  color: var(--qt-muted);
}

@media (pointer: coarse) {
  .qt-footer__list a {
    min-height: 44px;
  }
}

@media (max-width: 879px) {
  .qt-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qt-footer__grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 699px) {
  .qt-footer__about {
    font-size: 1rem;
  }
}

/* ---- buybar ---- */
/* Buy bar: a fixed bottom bar on phones and tablets. It appears once the hero leaves the
   viewport and hides while pricing or the close is on screen. Desktop never shows it. */

.qt-buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--qt-s3);
  padding: 0.65rem var(--qt-gut);
  padding-bottom: calc(0.65rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--qt-hair);
  background: var(--qt-canvas);
  color: var(--qt-body);
  visibility: hidden;
  transform: translateY(105%);
  transition: transform var(--qt-dur-slow) var(--qt-ease), visibility 0s linear var(--qt-dur-slow);
}

.qt-buybar.is-on {
  visibility: visible;
  transform: none;
  transition: transform var(--qt-dur-slow) var(--qt-ease), visibility 0s;
}

.qt-buybar__text {
  min-width: 0;
  font-size: var(--qt-fs-7);
  line-height: 1.3;
  color: var(--qt-body);
}

.qt-buybar__name {
  display: block;
  font-weight: var(--qt-fw-strong);
  color: var(--qt-ink);
}

.qt-buybar .qt-btn {
  flex: none;
  min-height: 48px;
  padding: 0.75rem 1.1rem;
  font-size: var(--qt-fs-6);
}

@media (max-width: 1023px) {
  .qt-buybar {
    display: flex;
  }
}

@media (max-width: 359px) {
  .qt-buybar__terms {
    display: none;
  }
}
