/* All-in-one Affiliate — landing page
   System: forest green + warm bone + dusty rose. Helvetica + system mono labels. */

:root {
  --ink:        #14201a;   /* deep pine-black — primary text */
  --pine:       #20302610; /* placeholder, overridden below */
  --pine:       #1f2d24;   /* forest green — dark sections */
  --pine-deep:  #16211a;   /* darkest green */
  --pine-soft:  #2b3d31;   /* raised surface on dark */
  --sage:       #d7ddd0;   /* light sage (logo fill) */
  --sage-soft:  #e7eae0;
  --rose:       #d2a696;   /* dusty rose accent (logo wordmark) */
  --rose-deep:  #c08c79;
  --rose-tint:  #f3e6df;   /* pale rose wash */

  --paper:      #ffffff;
  --bone:       #f6f3ed;   /* warm off-white page bg */
  --bone-2:     #efebe1;
  --hair:       #e4e0d6;
  --hair-dk:    #d3cec1;
  --muted:      #5f6760;
  --faint:      #8a8f86;

  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- shared layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
section { position: relative; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--rose-deep);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--rose); }
.eyebrow.on-dark::before { background: var(--rose); }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h2.title {
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.04;
}
.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
  margin: 18px 0 0;
}
.section-pad { padding: clamp(72px, 9vw, 128px) 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans);
  font-size: 15px; font-weight: 700;
  letter-spacing: -0.01em;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--sage-soft); }
.btn-primary:hover { background: #0e1813; box-shadow: 0 10px 26px -12px rgba(20,32,26,.7); }
.btn-rose { background: var(--rose); color: var(--ink); }
.btn-rose:hover { background: var(--rose-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hair-dk); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(20,32,26,.04); }
.btn-light { background: var(--sage-soft); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost-dk { background: transparent; color: var(--sage-soft); border-color: rgba(215,221,208,.32); }
.btn-ghost-dk:hover { border-color: var(--sage); background: rgba(215,221,208,.08); }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(246,243,237,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--hair);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav .logo img { height: 30px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14.5px; color: var(--muted); font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 11px 20px; font-size: 14px; }
.nav-login { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero h1 .rose { color: var(--rose-deep); }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust {
  margin-top: 26px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12.5px; letter-spacing: 0.03em;
  color: var(--faint);
}
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--hair-dk); }
.hero-trust b { color: var(--muted); font-weight: 700; }

/* ---------- hero diagram ---------- */
.diagram {
  position: relative;
  aspect-ratio: 1 / 1.02;
  width: 100%;
  background:
    radial-gradient(120% 120% at 70% 10%, #fbfaf6 0%, var(--bone-2) 70%);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -38px rgba(20,32,26,.4);
  overflow: hidden;
}
.diagram .grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hair) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .5;
  mask-image: radial-gradient(80% 80% at 50% 45%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 45%, #000 30%, transparent 100%);
}
.diagram svg.wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.wire { fill: none; stroke: var(--hair-dk); stroke-width: 2; }
.wire-live { stroke: var(--rose); stroke-width: 2.5; stroke-dasharray: 7 9; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -16; } }
.pulse { fill: var(--rose-deep); }

.node {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--hair-dk);
  border-radius: 13px;
  padding: 13px 15px;
  box-shadow: 0 14px 30px -18px rgba(20,32,26,.45);
  width: 168px;
}
.node .n-top { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.node .chip {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; flex: none;
}
.node .n-label { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.node .n-name { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.node .n-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }

.node-merchant { top: 6%; left: 4%; }
.node-affiliate { top: 6%; right: 4%; }
.node-sale { bottom: 6%; left: 50%; transform: translateX(-50%); width: 196px; }

.node .chip.green { background: var(--pine); }
.node .chip.rose { background: var(--rose-tint); }
.node .chip.ink  { background: var(--ink); }

.hub {
  position: absolute; top: 44%; left: 50%; transform: translate(-50%,-50%);
  width: 132px; height: 132px;
  border-radius: 50%;
  background: var(--pine);
  color: var(--sage-soft);
  display: grid; place-items: center; text-align: center;
  box-shadow: 0 24px 50px -20px rgba(20,32,26,.7);
  z-index: 3;
}
.hub::before {
  content: ""; position: absolute; inset: -10px;
  border-radius: 50%; border: 1px solid var(--rose);
  opacity: .5; animation: ring 3s ease-in-out infinite;
}
@keyframes ring { 0%,100%{ transform: scale(1); opacity:.5 } 50%{ transform: scale(1.06); opacity:.18 } }
.hub .h-k { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); }
.hub .h-v { font-size: 15px; font-weight: 700; line-height: 1.12; margin-top: 5px; padding: 0 14px; letter-spacing: -0.01em; }
.diagram .badge {
  position: absolute; top: 50%; right: 6%;
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pine); background: var(--sage); padding: 6px 11px; border-radius: 999px;
  transform: translateY(-50%);
}

/* ---------- logo wall ---------- */
.proof-strip { padding: 30px 0 4px; }
.proof-label { text-align: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 26px; }
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(28px, 5vw, 64px); }
.logo-wall .lw {
  font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink);
  opacity: .42; transition: opacity .2s ease;
}
.logo-wall .lw:hover { opacity: .8; }
.logo-wall .lw span { font-weight: 400; }

/* ---------- how it works ---------- */
.how-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 52px; }
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); }
.track {
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 38px);
  background: var(--paper);
}
.track.merchant { background: var(--pine); color: var(--sage-soft); border-color: transparent; }
.track h3 { font-size: 22px; display: flex; align-items: center; gap: 11px; }
.track .track-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.track.merchant .track-tag { color: var(--rose); }
.steps { margin-top: 26px; display: flex; flex-direction: column; gap: 2px; counter-reset: step; }
.step { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--hair); }
.track.merchant .step { border-top-color: rgba(215,221,208,.16); }
.step:first-child { border-top: none; }
.step .num {
  counter-increment: step;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--hair-dk); color: var(--muted);
}
.step .num::before { content: counter(step, decimal-leading-zero); }
.track.merchant .step .num { border-color: rgba(215,221,208,.28); color: var(--sage); }
.step .s-body h4 { margin: 0 0 4px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.step .s-body p { margin: 0; font-size: 14px; color: var(--muted); }
.track.merchant .step .s-body p { color: rgba(215,221,208,.7); }

/* ---------- features ---------- */
.features { background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: var(--radius-lg); overflow: hidden; margin-top: 54px; }
.feature {
  background: var(--paper);
  padding: clamp(26px, 2.6vw, 38px);
  transition: background .2s ease;
}
.feature:hover { background: var(--bone); }
.f-icon { width: 44px; height: 44px; margin-bottom: 18px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { margin: 0; font-size: 14.5px; color: var(--muted); text-wrap: pretty; }

/* ---------- persona split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.5vw, 32px); }
.persona { border-radius: var(--radius-lg); padding: clamp(32px, 3.4vw, 52px); display: flex; flex-direction: column; }
.persona.merch { background: var(--ink); color: var(--sage-soft); }
.persona.aff { background: var(--rose-tint); color: var(--ink); border: 1px solid #ecd8cf; }
.persona .p-tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.persona.merch .p-tag { color: var(--rose); }
.persona.aff .p-tag { color: var(--rose-deep); }
.persona h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.05; }
.persona .p-sub { margin: 14px 0 0; font-size: 16px; }
.persona.merch .p-sub { color: rgba(215,221,208,.72); }
.persona.aff .p-sub { color: var(--muted); }
.p-list { list-style: none; margin: 26px 0 32px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.p-list li { display: flex; gap: 12px; font-size: 15px; align-items: flex-start; }
.p-list .tick { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.persona .p-cta { margin-top: auto; }

/* ---------- integrations ---------- */
.integrations { background: var(--pine-deep); color: var(--sage-soft); }
.int-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.int-card {
  border: 1px solid rgba(215,221,208,.16);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  background: rgba(215,221,208,.03);
}
.int-card .i-name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: center; gap: 12px; }
.int-card .i-mark { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; font-family: var(--mono); font-weight: 700; font-size: 16px; }
.int-card p { margin: 0; font-size: 14px; color: rgba(215,221,208,.62); }
.status { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; width: fit-content; }
.status.live { background: var(--rose); color: var(--ink); }
.status.soon { background: transparent; color: var(--rose); border: 1px solid rgba(210,166,150,.4); }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.quote { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; }
.quote .q-mark { font-family: var(--mono); color: var(--rose-deep); font-size: 30px; line-height: 1; margin-bottom: 10px; }
.quote blockquote { margin: 0 0 24px; font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.quote .q-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .q-av { width: 38px; height: 38px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--pine); flex: none; }
.quote .q-name { font-size: 14px; font-weight: 700; }
.quote .q-role { font-size: 12.5px; color: var(--faint); }

/* ---------- demo band ---------- */
.demo { background: var(--rose-tint); }
.demo-inner { background: var(--pine); color: var(--sage-soft); border-radius: var(--radius-lg); padding: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.demo h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.03; }
.demo p { margin: 16px 0 0; color: rgba(215,221,208,.74); font-size: 17px; max-width: 44ch; }
.demo .demo-cta { display: flex; flex-direction: column; gap: 12px; }
.demo .demo-note { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--rose); margin-top: 6px; }
.demo .pricing-hint { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: rgba(215,221,208,.6); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-list { border-top: 1px solid var(--hair); }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 18px; font-weight: 700; color: var(--ink);
  padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  letter-spacing: -0.01em;
}
.faq-q .pm { position: relative; width: 16px; height: 16px; flex: none; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--rose-deep); transition: transform .25s ease; }
.faq-q .pm::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-q .pm::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item.open .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { margin: 0 0 24px; font-size: 15.5px; color: var(--muted); max-width: 60ch; text-wrap: pretty; }

/* ---------- footer ---------- */
.footer { background: var(--pine-deep); color: var(--sage-soft); padding: clamp(56px, 7vw, 90px) 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.wordmark { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.wordmark .a2 { color: var(--rose); }
.footer .f-tag { margin: 16px 0 22px; color: rgba(215,221,208,.6); font-size: 14.5px; max-width: 34ch; }
.footer .f-cta { display: flex; gap: 10px; }
.fcol h5 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); margin: 0 0 16px; font-weight: 700; }
.fcol a { display: block; font-size: 14.5px; color: rgba(215,221,208,.72); padding: 6px 0; transition: color .15s ease; }
.fcol a:hover { color: var(--sage-soft); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: clamp(44px, 5vw, 64px); padding-top: 28px; border-top: 1px solid rgba(215,221,208,.14); font-size: 13px; color: rgba(215,221,208,.5); }
.footer-bottom .legal { display: flex; gap: 22px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   EXTRA LIGHT ANIMATIONS  (not in the original design)
   Added per request — subtle, performance-cheap, and disabled
   entirely under prefers-reduced-motion. Everything here is
   additive: removing this block restores the original design.
   ============================================================ */

/* 1) Hero entrance — copy + diagram fade/slide up on first load,
      staggered via the inline --d delay on each element. */
.hero-anim {
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn .8s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* 2) Hero rose phrase — slow shimmer sweep across the accent text. */
.hero h1 .rose {
  background: linear-gradient(100deg, var(--rose-deep) 0%, var(--rose) 45%, var(--rose-deep) 90%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* 3) Diagram nodes — gentle, offset floating bob so the canvas feels alive. */
.float-a { animation: floaty 6.5s ease-in-out infinite; }
.float-b { animation: floaty 6.5s ease-in-out infinite .9s; }
/* node-sale keeps its centering transform, so float a child-safe variant */
.node-sale.float-c { animation: floatySale 7s ease-in-out infinite .45s; }
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-7px); }
}
@keyframes floatySale {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(-7px); }
}

/* 4) "Attributed" badge — soft pulse to draw the eye to the payoff. */
.diagram .badge { animation: badgePulse 2.6s ease-in-out infinite; }
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(192,140,121,.0); }
  50%     { box-shadow: 0 0 0 7px rgba(192,140,121,.14); }
}

/* 5) Buttons — lift on hover (original only animated :active + arrow). */
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }

/* 6) Nav links — animated underline that slides in from the left. */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1.5px; background: var(--rose-deep);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* 7) Eyebrow rule — the little dash grows in when its block reveals. */
.reveal .eyebrow::before { width: 0; transition: width .6s ease .15s; }
.reveal.in .eyebrow::before { width: 22px; }

/* 8) Logo wall — items lift slightly on hover (in addition to opacity). */
.logo-wall .lw { transition: opacity .2s ease, transform .2s ease; }
.logo-wall .lw:hover { transform: translateY(-3px); }

/* 9) Feature cards — icon springs up on hover. */
.f-icon { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.feature:hover .f-icon { transform: translateY(-4px) scale(1.06); }

/* 10) Card hover lift — tracks, personas, integration & quote cards. */
.track, .persona, .int-card, .quote {
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease, border-color .28s ease;
}
.track:hover, .quote:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -28px rgba(20,32,26,.45);
}
.persona:hover { transform: translateY(-4px); }
.int-card:hover {
  transform: translateY(-4px);
  border-color: rgba(210,166,150,.45);
  background: rgba(215,221,208,.06);
}

/* 11) Avatar — quick rotate on quote hover for a touch of life. */
.quote .q-av { transition: transform .3s ease; }
.quote:hover .q-av { transform: rotate(-6deg) scale(1.05); }

/* Respect users who prefer less motion: kill the looping/entrance
   animations and reset transforms so nothing moves on its own. */
@media (prefers-reduced-motion: reduce) {
  .hero-anim,
  .hero h1 .rose,
  .float-a, .float-b, .node-sale.float-c,
  .diagram .badge,
  .wire-live, .hub::before {
    animation: none !important;
  }
  .hero-anim { opacity: 1; transform: none; }
  .hero h1 .rose { -webkit-text-fill-color: var(--rose-deep); }
  .node-sale.float-c { transform: translateX(-50%); }
  .btn:hover,
  .logo-wall .lw:hover,
  .feature:hover .f-icon,
  .track:hover, .persona:hover, .int-card:hover, .quote:hover,
  .quote:hover .q-av { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .diagram { max-width: 460px; margin: 0 auto; }
  .tracks, .feature-grid, .split, .int-grid, .quotes, .footer-top, .faq-grid, .demo-inner { grid-template-columns: 1fr; }
  .feature-grid { gap: 1px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .footer-top { gap: 30px; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .nav-cta .nav-login { display: none; }
  .hero-cta .btn { flex: 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
