/* ============================================================
   QOREOM LANDING v2 — page styles
   Ported from "Qoreom Landing v2.dc.html" (claude.ai/design).
   Components (Button, Logo, AgentRow, Input, Badge, Eyebrow)
   are translated from the Qoreom design-system React bundle.
   ============================================================ */

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink-950);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--clay-600); }
a:hover { color: var(--clay-500); }

*::selection { background: var(--clay-500); color: var(--ink-950); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--ink-900); }
::-webkit-scrollbar-thumb {
  background: var(--sand-500);
  border-radius: 8px;
  border: 3px solid var(--ink-900);
}

@keyframes qoFade { from { opacity: 0 } to { opacity: 1 } }
@keyframes qoPop { from { opacity: 0; transform: translateY(14px) scale(.97) } to { opacity: 1; transform: none } }
@keyframes qoBlink { 0%, 52% { opacity: 1 } 53%, 100% { opacity: 0 } }
@keyframes qoMarquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes qoPing { 0% { transform: scale(1); opacity: .55 } 70%, 100% { transform: scale(2.4); opacity: 0 } }

@media (prefers-reduced-motion: reduce) {
  [data-marquee] { animation: none !important; }
}

.qo-page {
  background: var(--paper);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.qo-container {
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Shared decorative layers ---------- */

.qo-glow {
  position: absolute;
  pointer-events: none;
}

.qo-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(243, 236, 223, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

/* ---------- Components: Button ---------- */

.qo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 20px;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: var(--transition-fast);
}
.qo-btn:active { transform: scale(var(--press-scale)); }

.qo-btn--sm { height: 36px; padding: 0 14px; font-size: var(--text-sm); gap: 7px; border-radius: var(--radius-sm); }
.qo-btn--lg { height: 56px; padding: 0 28px; font-size: var(--text-md); gap: 11px; }
.qo-btn--full { display: flex; width: 100%; }

.qo-btn--primary {
  background: var(--color-accent);
  color: var(--color-on-accent);
  box-shadow: var(--shadow-sm);
}
.qo-btn--primary:hover {
  background: var(--color-accent-strong);
  color: var(--color-on-accent);
  box-shadow: var(--glow-clay);
}

.qo-btn--ghost {
  background: transparent;
  color: var(--color-text);
}
.qo-btn--ghost:hover {
  background: var(--color-accent-soft);
  color: var(--color-text);
}

.qo-btn--dark {
  background: var(--ink-950);
  color: var(--paper);
  border-color: var(--ink-700);
  box-shadow: var(--shadow-sm);
}
.qo-btn--dark:hover {
  background: var(--ink-800);
  color: var(--paper);
  box-shadow: var(--shadow-md);
}

/* ---------- Components: Logo ---------- */

.qo-logo {
  display: inline-flex;
  align-items: center;
}
.qo-logo svg { flex-shrink: 0; display: block; overflow: visible; }
.qo-logo__mark { fill: var(--color-accent); }
.qo-logo__word {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--paper);
}
.qo-logo--25 { gap: 10.5px; }
.qo-logo--25 .qo-logo__word { font-size: 23px; }
.qo-logo--22 { gap: 9.2px; }
.qo-logo--22 .qo-logo__word { font-size: 20.2px; }

/* ---------- Components: SectionEyebrow ---------- */

.qo-section-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.qo-section-eyebrow__index {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-accent-strong);
}
.qo-section-eyebrow__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.qo-section-eyebrow__rule {
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* Dark-section inline eyebrow ( // Label ) */
.qo-dark-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-300);
}
.qo-dark-eyebrow .qo-slashes { color: var(--clay-400); }

/* ---------- NAV ---------- */

.qo-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ink-950) 76%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(243, 236, 223, 0.09);
}
.qo-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.qo-nav__brand { display: inline-flex; }
.qo-nav__links { display: flex; align-items: center; gap: 22px; }
.qo-nav__link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand-400);
  transition: color var(--dur-fast) var(--ease-out);
}
.qo-nav__link:hover { color: var(--clay-400); }

/* ---------- HERO ---------- */

.qo-hero {
  background: var(--ink-950);
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.qo-hero__glow-a {
  inset-inline-start: -12%; top: -30%;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(221, 87, 51, 0.30) 0%, rgba(221, 87, 51, 0) 60%);
}
.qo-hero__glow-b {
  inset-inline-end: -18%; bottom: -46%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(221, 87, 51, 0.10) 0%, rgba(221, 87, 51, 0) 62%);
}
.qo-hero__dots { opacity: 0.55; }
.qo-hero__inner {
  width: 100%;
  padding-block: clamp(140px, 19vh, 210px) clamp(90px, 13vh, 150px);
  position: relative;
}
.qo-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand-400);
  margin-bottom: clamp(30px, 5vh, 52px);
}
.qo-hero__kicker .qo-slashes { color: var(--clay-400); }
.qo-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: clamp(2.9rem, 7.7vw, 7.2rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--paper);
}
.qo-hero__rotator {
  display: block;
  color: var(--clay-400);
  white-space: nowrap;
}
.qo-hero__word {
  display: inline-block;
  transform: translateY(0);
  opacity: 1;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.qo-hero__word.is-hidden {
  transform: translateY(0.42em);
  opacity: 0;
}
.qo-hero__caret {
  display: inline-block;
  width: 0.4ch;
  height: 0.72em;
  margin-inline-start: 0.14ch;
  background: var(--sand-300);
  animation: qoBlink 1.1s infinite;
  transform: translateY(0.06em);
}
.qo-hero__sub {
  margin: clamp(28px, 4vh, 44px) 0 0;
  max-width: 50ch;
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  line-height: 1.5;
  font-weight: var(--weight-medium);
  color: var(--sand-400);
  text-wrap: pretty;
}
.qo-hero__sub strong { color: var(--paper); font-weight: inherit; }
.qo-hero__cta {
  margin-top: clamp(32px, 5vh, 52px);
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.qo-hero__scroll-link {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--sand-500);
  transition: color var(--dur-fast) var(--ease-out);
}
.qo-hero__scroll-link:hover { color: var(--clay-400); }

/* ---------- MARQUEE ---------- */

.qo-marquee {
  background: var(--clay-500);
  border-block: 1px solid rgba(20, 16, 13, 0.28);
  overflow: hidden;
  padding: clamp(13px, 1.4vw, 19px) 0;
}
.qo-marquee__track {
  display: flex;
  width: max-content;
  animation: qoMarquee 30s linear infinite;
}
.qo-marquee__half { display: flex; align-items: center; }
.qo-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 34px);
  padding-inline-end: clamp(20px, 2.2vw, 34px);
  white-space: nowrap;
}
.qo-marquee__word {
  font-family: var(--font-display);
  font-weight: var(--weight-extra);
  font-size: clamp(1.05rem, 1.5vw, 1.45rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-950);
}
.qo-marquee__sep {
  font-family: var(--font-mono);
  font-weight: var(--weight-semibold);
  font-size: 0.85em;
  color: rgba(20, 16, 13, 0.5);
}

/* ---------- AGENTS ---------- */

.qo-agents { background: var(--paper); }
.qo-agents__inner { padding-block: clamp(90px, 12vw, 150px); }
.qo-agents__title {
  margin: var(--space-8) 0 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  font-weight: var(--weight-black);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink-950);
  text-wrap: balance;
}
.qo-agents__title em,
.qo-accent { color: var(--clay-500); font-style: normal; }
.qo-agents__list {
  margin-top: clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--color-border);
}
.qo-agents__tail {
  margin: clamp(36px, 5vw, 56px) 0 0;
  max-width: 30ch;
  font-family: var(--font-display);
  font-weight: var(--weight-extra);
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ink-950);
  text-wrap: pretty;
}

/* Component: AgentRow */
.qo-agent-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-2);
  border-top: 1px solid var(--color-border);
  cursor: pointer;
  transition: var(--transition-fast);
  width: 100%;
  background: none;
  border-inline: none;
  border-bottom: none;
  text-align: start;
  font: inherit;
  color: inherit;
}
.qo-agent-row__index {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-text-subtle);
  min-width: 28px;
  transition: var(--transition-fast);
}
.qo-agent-row__body { display: flex; flex-direction: column; gap: 4px; }
.qo-agent-row__name {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-2xl);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
  transition: var(--transition-fast);
}
.qo-agent-row__desc {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  max-width: 52ch;
  text-wrap: pretty;
}
.qo-agent-row__arrow {
  font-size: 22px;
  color: var(--color-text-subtle);
  transform: translateX(0);
  transition: var(--transition-fast);
}
.qo-agent-row:hover .qo-agent-row__index,
.qo-agent-row:hover .qo-agent-row__name { color: var(--color-accent-strong); }
.qo-agent-row:hover .qo-agent-row__arrow {
  color: var(--color-accent);
  transform: translateX(4px);
}

/* ---------- OBJECTIONS ---------- */

.qo-objections {
  background: var(--ink-900);
  position: relative;
  overflow: hidden;
}
.qo-objections__glow {
  inset-inline-end: -10%; top: 4%;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(221, 87, 51, 0.13) 0%, rgba(221, 87, 51, 0) 64%);
}
.qo-objections__dots {
  opacity: 0.4;
  background-image: radial-gradient(rgba(243, 236, 223, 0.045) 1px, transparent 1px);
}
.qo-objections__inner {
  padding-block: clamp(96px, 13vw, 170px);
  position: relative;
}
.qo-objections__title {
  margin: var(--space-6) 0 0;
  max-width: 15ch;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5.8vw, 5.2rem);
  font-weight: var(--weight-black);
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--paper);
  text-wrap: balance;
}
.qo-objections__title em { color: var(--clay-400); }
.qo-objections__list {
  margin-top: clamp(48px, 7vw, 84px);
  border-top: 1px solid var(--color-border);
}

.qo-objection { border-bottom: 1px solid var(--color-border); }
.qo-objection__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: clamp(18px, 3.2vw, 40px);
  padding: clamp(26px, 3.4vw, 36px) 4px;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  text-align: start;
  font: inherit;
  color: inherit;
}
.qo-objection__num {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  padding-top: 10px;
  color: var(--sand-500);
  transition: color var(--dur-base) var(--ease-out);
}
.qo-objection__quote {
  font-family: var(--font-display);
  font-weight: var(--weight-extra);
  font-size: clamp(1.55rem, 3.4vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--paper);
  transition: color var(--dur-base) var(--ease-out);
  text-wrap: pretty;
}
.qo-objection__quote .qo-qmark { color: var(--clay-400); font-weight: var(--weight-black); }
.qo-objection__quote .qo-qmark--open { margin-inline-end: 2px; }
.qo-objection__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--color-border-strong);
  border-radius: 999px;
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
  color: var(--sand-400);
  transform: rotate(0deg);
  transition: transform var(--dur-base) var(--ease-spring), color var(--dur-base) var(--ease-out);
}
.qo-objection__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.qo-objection__panel-clip { overflow: hidden; min-height: 0; }
.qo-objection__panel-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(18px, 3.2vw, 40px);
  padding-bottom: clamp(30px, 3.4vw, 44px);
}
.qo-objection__spacer-l { width: 30px; min-width: 30px; }
.qo-objection__spacer-r { width: 46px; min-width: 46px; }
.qo-objection__content { max-width: 62ch; }
.qo-objection__lead {
  margin: 0;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.62;
  color: var(--sand-400);
  text-wrap: pretty;
}
.qo-objection__punch {
  margin: var(--space-5) 0 0;
  font-family: var(--font-display);
  font-weight: var(--weight-extra);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.36;
  letter-spacing: -0.01em;
  color: var(--clay-400);
  text-wrap: pretty;
}
.qo-objection__punch .qo-punch-arrow {
  font-family: var(--font-mono);
  font-weight: var(--weight-semibold);
  font-size: 13px;
  margin-inline-end: 10px;
  letter-spacing: 0.08em;
}

.qo-objection.is-open .qo-objection__num { color: var(--clay-300); }
.qo-objection.is-open .qo-objection__quote { color: var(--clay-400); }
.qo-objection.is-open .qo-objection__icon {
  color: var(--clay-400);
  transform: rotate(45deg);
}
.qo-objection.is-open .qo-objection__panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

/* ---------- WHERE IT LIVES ---------- */

.qo-channels { background: var(--paper); }
.qo-channels__inner { padding-block: clamp(90px, 12vw, 150px); }
.qo-channels__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(44px, 7vw, 110px);
  align-items: start;
}
.qo-channels__title {
  margin: var(--space-8) 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.4vw, 3.9rem);
  font-weight: var(--weight-black);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink-950);
  text-wrap: balance;
}
.qo-channels__sub {
  margin: var(--space-6) 0 0;
  max-width: 36ch;
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--sand-600);
  text-wrap: pretty;
}
.qo-channels__chips {
  margin-top: clamp(30px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}
.qo-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: 0.01em;
  color: var(--ink-950);
  background: var(--paper-raised);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
}
.qo-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--clay-500);
}
.qo-chip--more {
  border: none;
  background: none;
  color: var(--sand-500);
  font-style: italic;
}
.qo-channels__cards {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 24px);
}
.qo-syscard {
  position: relative;
  padding: clamp(34px, 3.4vw, 48px);
  border-radius: var(--radius-2xl);
}
.qo-syscard--dark {
  background: var(--ink-950);
  overflow: hidden;
}
.qo-syscard--dark .qo-syscard__glow {
  inset-inline-start: -16%; top: -50%;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(221, 87, 51, 0.22) 0%, rgba(221, 87, 51, 0) 64%);
}
.qo-syscard--light {
  background: var(--paper-raised);
  border: 1.5px solid var(--color-border-strong);
}
.qo-syscard__eyebrow {
  position: relative;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.qo-syscard--dark .qo-syscard__eyebrow { color: var(--sand-400); }
.qo-syscard--light .qo-syscard__eyebrow { color: var(--clay-600); }
.qo-syscard__headline {
  position: relative;
  margin: var(--space-4) 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  font-weight: var(--weight-black);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.qo-syscard--dark .qo-syscard__headline { color: var(--paper); }
.qo-syscard--light .qo-syscard__headline { color: var(--ink-950); }
.qo-syscard__headline .qo-card-arrow {
  font-family: var(--font-mono);
  font-weight: var(--weight-semibold);
  font-size: 0.55em;
  margin-inline-end: 12px;
}
.qo-syscard--dark .qo-card-arrow { color: var(--clay-400); }
.qo-syscard--light .qo-card-arrow { color: var(--clay-500); }
.qo-syscard__body {
  position: relative;
  margin: var(--space-5) 0 0;
  max-width: 46ch;
  font-size: var(--text-md);
  line-height: 1.58;
  text-wrap: pretty;
}
.qo-syscard--dark .qo-syscard__body { color: var(--sand-400); }
.qo-syscard--light .qo-syscard__body { color: var(--sand-600); }

/* ---------- WHITE BOX STATEMENT ---------- */

.qo-whitebox {
  background: var(--ink-950);
  position: relative;
  overflow: hidden;
}
.qo-whitebox__glow {
  inset-inline-start: 30%; bottom: -60%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(221, 87, 51, 0.14) 0%, rgba(221, 87, 51, 0) 62%);
}
.qo-whitebox__inner {
  padding-block: clamp(110px, 15vw, 190px);
  position: relative;
}
.qo-whitebox__statement {
  margin: var(--space-8) 0 0;
  max-width: 21ch;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  font-weight: var(--weight-black);
  font-style: italic;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--paper);
  text-wrap: balance;
}
.qo-whitebox__statement em { color: var(--clay-400); font-style: inherit; }
.qo-whitebox__body {
  margin: clamp(32px, 4vw, 48px) 0 0;
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.62;
  color: var(--sand-400);
  text-wrap: pretty;
}

/* ---------- HOW IT WORKS ---------- */

.qo-how { background: var(--paper); }
.qo-how__inner { padding-block: clamp(90px, 12vw, 150px); }
.qo-how__grid {
  margin-top: clamp(48px, 6vw, 76px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(32px, 4.5vw, 60px);
}
.qo-step {
  padding-top: clamp(22px, 2.6vw, 32px);
  border-top: 2px solid var(--ink-950);
}
.qo-step__num {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: clamp(4.2rem, 7vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--sand-200);
  -webkit-text-stroke: 1.5px var(--sand-400);
}
.qo-step__title {
  margin: clamp(24px, 3vw, 36px) 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  font-weight: var(--weight-extra);
  letter-spacing: -0.025em;
  color: var(--ink-950);
}
.qo-step__kicker {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-md);
  color: var(--ink-950);
  margin-bottom: var(--space-3);
}
.qo-step__body {
  margin: 0;
  max-width: 30ch;
  font-size: var(--text-md);
  line-height: 1.55;
  color: var(--sand-600);
  text-wrap: pretty;
}

/* ---------- MORE THAN THE BUILD ---------- */

.qo-stages {
  background: var(--ink-900);
  position: relative;
  overflow: hidden;
}
.qo-stages__glow {
  inset-inline-start: -8%; bottom: -34%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(221, 87, 51, 0.11) 0%, rgba(221, 87, 51, 0) 64%);
}
.qo-stages__inner {
  padding-block: clamp(96px, 13vw, 160px);
  position: relative;
}
.qo-stages__title {
  margin: var(--space-6) 0 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: var(--weight-black);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--paper);
  text-wrap: balance;
}
.qo-stages__title em { color: var(--clay-400); }
.qo-stages__grid {
  margin-top: clamp(56px, 7vw, 92px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(16px, 2.4vw, 30px);
  position: relative;
}
.qo-stages__line {
  position: absolute;
  top: 11px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, rgba(221, 87, 51, 0) 0%, var(--clay-400) 12%, var(--clay-400) 88%, rgba(221, 87, 51, 0) 100%);
  opacity: 0.5;
}
.qo-stage {
  position: relative;
  display: flex;
  flex-direction: column;
}
.qo-stage__dot-row { display: flex; align-items: center; height: 24px; }
.qo-stage__dot {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--ink-900);
  border: 2px solid var(--clay-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.qo-stage__dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--clay-400);
  box-shadow: 0 0 14px 2px rgba(221, 87, 51, 0.55);
}
.qo-stage__card {
  margin-top: clamp(22px, 2.6vw, 32px);
  flex: 1;
  background: rgba(243, 236, 223, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: clamp(26px, 2.8vw, 38px) clamp(24px, 2.6vw, 34px) clamp(30px, 3.2vw, 42px);
}
.qo-stage__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.qo-stage__label {
  font-family: var(--font-display);
  font-weight: var(--weight-extra);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--paper);
}
.qo-stage__num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--clay-300);
  letter-spacing: 0.06em;
}
.qo-stage__rule {
  margin-top: clamp(20px, 2.4vw, 30px);
  height: 1px;
  background: var(--color-border);
}
.qo-stage__title {
  margin: clamp(20px, 2.4vw, 28px) 0 var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-extra);
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: pretty;
}
.qo-stage__body {
  margin: 0;
  font-size: var(--text-md);
  line-height: 1.58;
  color: var(--sand-400);
  text-wrap: pretty;
}
.qo-stages__tail {
  margin: clamp(52px, 6.5vw, 84px) 0 0;
  max-width: 34ch;
  font-family: var(--font-display);
  font-weight: var(--weight-extra);
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: pretty;
}
.qo-stages__tail em { color: var(--clay-400); font-style: normal; }

/* ---------- CTA ---------- */

.qo-cta {
  background: var(--ink-950);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(243, 236, 223, 0.08);
}
.qo-cta__glow {
  inset-inline-end: -8%; bottom: -46%;
  width: 860px; height: 860px;
  background: radial-gradient(circle, rgba(221, 87, 51, 0.22) 0%, rgba(221, 87, 51, 0) 60%);
}
.qo-cta__dots {
  opacity: 0.45;
  background-image: radial-gradient(rgba(243, 236, 223, 0.05) 1px, transparent 1px);
}
.qo-cta__inner {
  padding-block: clamp(110px, 15vw, 190px);
  position: relative;
  text-align: center;
}
.qo-cta__title {
  margin: 0 auto;
  max-width: 13ch;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8.2vw, 7.4rem);
  font-weight: var(--weight-black);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--paper);
  text-wrap: balance;
}
.qo-cta__title em { color: var(--clay-400); }
.qo-cta__sub {
  margin: clamp(30px, 4vw, 46px) auto 0;
  max-width: 46ch;
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  line-height: 1.5;
  font-weight: var(--weight-medium);
  color: var(--sand-400);
  text-wrap: pretty;
}
.qo-cta__action {
  margin-top: clamp(34px, 5vw, 54px);
  display: flex;
  justify-content: center;
}
.qo-cta__note {
  margin: var(--space-6) 0 0;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  color: var(--sand-500);
}

/* ---------- FOOTER ---------- */

.qo-footer {
  background: var(--ink-950);
  border-top: 1px solid rgba(243, 236, 223, 0.09);
}
.qo-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-block: var(--space-10);
}
.qo-footer__meta {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 40px);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  color: var(--sand-400);
}
.qo-footer__mail { color: var(--clay-400); }
.qo-footer__mail:hover { color: var(--clay-300); }

/* ---------- MODAL ---------- */

.qo-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(11, 9, 7, 0.64);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  padding: 24px;
}
.qo-modal.is-open {
  display: flex;
  animation: qoFade 0.2s var(--ease-out);
}
.qo-modal__card {
  width: min(520px, 100%);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  padding: clamp(28px, 5vw, 44px);
}
.qo-modal.is-open .qo-modal__card { animation: qoPop 0.28s var(--ease-spring); }
.qo-modal__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-600);
  margin-bottom: 14px;
}
.qo-modal__eyebrow .qo-slashes { color: var(--clay-500); }
.qo-modal__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-extra);
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.qo-modal__sub {
  margin: 0 0 var(--space-6);
  font-size: var(--text-md);
  line-height: 1.5;
  color: var(--color-text-muted);
}
.qo-modal__textarea {
  width: 100%;
  box-sizing: border-box;
  resize: none;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg-raised);
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  outline: none;
  margin-bottom: var(--space-4);
}
.qo-modal__actions {
  margin-top: var(--space-6);
  display: flex;
  gap: 12px;
}
.qo-modal__actions .qo-btn--primary { flex: 1; }

/* Component: Input (email field) */
.qo-input {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 16px;
  background: var(--color-bg-raised);
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}
.qo-input:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-soft);
}
.qo-input input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-text);
  height: 100%;
  padding: 0;
}

/* Modal — sent view */
.qo-modal__sent {
  text-align: center;
  padding: var(--space-6) 0;
}
.qo-modal__sent-badge-wrap { display: inline-flex; margin-bottom: 18px; }
.qo-modal__sent-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-extra);
  color: var(--color-text);
}
.qo-modal__sent-sub {
  margin: 0 0 var(--space-6);
  font-size: var(--text-md);
  color: var(--color-text-muted);
}
[hidden] { display: none !important; }

/* Component: Badge (emerald, dot, pulse) */
.qo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  background: var(--color-positive-soft);
  color: var(--color-positive);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: var(--weight-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  line-height: 1;
  white-space: nowrap;
}
.qo-badge__dot {
  position: relative;
  width: 7px;
  height: 7px;
  display: inline-flex;
}
.qo-badge__dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--emerald-500);
  opacity: 0.55;
  animation: qoPing 1.6s var(--ease-out) infinite;
}
.qo-badge__dot::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-500);
}

/* ============================================================
   MOTION & LIVELINESS LAYER
   Scroll reveals (IntersectionObserver adds .is-visible),
   ambient glow drift, and richer hover states. Everything is
   gated behind html.js (no-JS fallback = fully visible) and
   prefers-reduced-motion.
   ============================================================ */

/* ---------- Scroll reveals ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--dur-slower) var(--ease-out),
    transform var(--dur-slower) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Ambient glow drift (slow, atmospheric) ---------- */

@keyframes qoDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(3%, 2%, 0) scale(1.07); }
}
.qo-hero__glow-a  { animation: qoDrift 16s var(--ease-in-out) infinite; }
.qo-hero__glow-b  { animation: qoDrift 22s var(--ease-in-out) infinite reverse; }
.qo-cta__glow     { animation: qoDrift 18s var(--ease-in-out) infinite; }
.qo-whitebox__glow{ animation: qoDrift 24s var(--ease-in-out) infinite reverse; }
@media (prefers-reduced-motion: reduce) {
  .qo-glow { animation: none !important; }
}

/* ---------- Nav: scrolled state ---------- */

.qo-nav {
  transition:
    background var(--dur-slow) var(--ease-out),
    box-shadow var(--dur-slow) var(--ease-out);
}
.qo-nav.is-scrolled {
  background: color-mix(in srgb, var(--ink-950) 93%, transparent);
  box-shadow: 0 12px 34px -18px rgba(0, 0, 0, 0.65);
}

/* ---------- Marquee: pause on hover ---------- */

.qo-marquee:hover .qo-marquee__track { animation-play-state: paused; }

/* ---------- Buttons: hover lift ---------- */

.qo-btn:hover { transform: translateY(var(--hover-lift)); }
.qo-btn:active { transform: translateY(0) scale(var(--press-scale)); }

/* ---------- Focus visibility (keyboard nav) ---------- */

.qo-btn:focus-visible,
.qo-agent-row:focus-visible,
.qo-objection__head:focus-visible,
.qo-nav__link:focus-visible,
.qo-hero__scroll-link:focus-visible,
.qo-footer__mail:focus-visible,
.qo-modal__textarea:focus-visible,
.qo-input input:focus-visible {
  outline: 2px solid var(--clay-400);
  outline-offset: 3px;
}
.qo-input input:focus-visible { outline: none; } /* ring lives on .qo-input via :focus-within */

/* ---------- Agent rows: signal bar + slide ---------- */

.qo-agent-row { position: relative; }
.qo-agent-row::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: -1px;
  bottom: 0;
  width: 3px;
  background: var(--clay-500);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--dur-base) var(--ease-out);
}
.qo-agent-row:hover::before { transform: scaleY(1); }
.qo-agent-row:hover {
  background: linear-gradient(90deg, var(--color-accent-soft), transparent 72%);
}
.qo-agent-row__body {
  transform: translateX(0);
  transition: transform var(--dur-base) var(--ease-out);
}
.qo-agent-row:hover .qo-agent-row__body { transform: translateX(6px); }

/* ---------- Objections: closed-item hover ---------- */

.qo-objection:not(.is-open) .qo-objection__head:hover .qo-objection__quote { color: var(--clay-300); }
.qo-objection:not(.is-open) .qo-objection__head:hover .qo-objection__icon {
  color: var(--clay-300);
  border-color: var(--clay-400);
}

/* ---------- Cards: hover lift ---------- */

.qo-syscard {
  transition:
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}
.qo-syscard:hover { transform: translateY(var(--hover-lift)); }
.qo-syscard--light:hover {
  border-color: var(--clay-500);
  box-shadow: var(--shadow-md);
}
.qo-stage__card {
  transition:
    background var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}
.qo-stage:hover .qo-stage__card {
  background: rgba(243, 236, 223, 0.07);
  border-color: rgba(236, 122, 80, 0.38);
}

/* ---------- Chips: hover pop ---------- */

.qo-chip {
  transition:
    transform var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}
.qo-chip:not(.qo-chip--more):hover {
  transform: translateY(-2px);
  border-color: var(--clay-500);
  box-shadow: var(--shadow-sm);
}

/* ---------- Steps: numeral ignites on hover ---------- */

.qo-step__num {
  transition:
    color var(--dur-base) var(--ease-out),
    -webkit-text-stroke-color var(--dur-base) var(--ease-out);
}
.qo-step:hover .qo-step__num {
  color: var(--clay-300);
  -webkit-text-stroke-color: var(--clay-500);
}

/* ---------- Section eyebrow: rule draws in ---------- */

html.js .qo-section-eyebrow__rule {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-out) 0.15s;
}
html.js [data-reveal].is-visible .qo-section-eyebrow__rule,
html.js .qo-section-eyebrow[data-reveal].is-visible .qo-section-eyebrow__rule { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  html.js .qo-section-eyebrow__rule { transform: scaleX(1) !important; transition: none !important; }
}
