/* PromoIQ site (brand A2, PromoIQ 3).
   Colors, type and spacing come from /assets/tokens.css (the brand kit's tokens, unchanged).
   Light and dark follow the system; <html data-theme> overrides it.
   Motion is small and optional: every transition and reveal is off with reduced motion. */

/* ---------- site tokens (layered on the kit tokens) ---------- */
:root {
  --section-y: 112px;
  --section-y-sm: 64px;
  --head-gap: 48px;
  --ill-line: #5b6370;
  --ill-paper: #ffffff;
  --ill-fill: #dde1e6;
  --blue: #1e4d78;
  --blue-tint: #e8eff6;
  --frame: #e4e7eb;
  --frame-dot: #c5cbd3;
}
:root[data-theme="dark"] {
  --ill-line: #a9b0bb;
  --ill-paper: #1f232b;
  --ill-fill: #3a404b;
  --blue: #8dbdec;
  --blue-tint: #16263a;
  --frame: #2a2f38;
  --frame-dot: #4a515d;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ill-line: #a9b0bb;
    --ill-paper: #1f232b;
    --ill-fill: #3a404b;
    --blue: #8dbdec;
    --blue-tint: #16263a;
    --frame: #2a2f38;
    --frame-dot: #4a515d;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }
[hidden] { display: none !important; }
img, svg, picture { max-width: 100%; height: auto; }
img { display: block; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--color-line-strong);
  transition: text-decoration-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
a:hover { text-decoration-color: currentColor; }

:focus-visible {
  outline: var(--line-focus) solid var(--color-focus);
  outline-offset: var(--focus-offset);
  border-radius: 2px;
}
::selection { background: var(--color-brand-soft); color: var(--color-text); }

h1, h2, h3 { font-family: var(--font-sans); margin: 0 0 0.5em; text-wrap: balance; }
h1 {
  font-weight: var(--weight-heavy);
  font-size: clamp(42px, 6.4vw, var(--text-display));
  line-height: 1.02;
  letter-spacing: -0.035em;
}
h2 {
  font-weight: var(--weight-heavy);
  font-size: clamp(32px, 4.4vw, var(--text-4xl));
  line-height: 1.04;
  letter-spacing: -0.03em;
}
h3 {
  font-weight: var(--weight-heavy);
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-title);
}
p, ul, ol { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: 0.4em; }
strong, b { font-weight: var(--weight-bold); }
code {
  font-family: var(--font-code);
  font-size: 0.86em;
  background: var(--color-well);
  border-radius: var(--radius-xs);
  padding: 0.08em 0.35em;
}

/* icons from the inline sprite: <svg class="i"><use href="#i-check"/></svg> */
.i { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -0.2em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- layout ---------- */
.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
@media (max-width: 760px) { :root { --gutter: 16px; } }
.prose { max-width: var(--measure); }
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: var(--measure); }
.wrap.prose h2 { font-size: clamp(26px, 3vw, var(--text-3xl)); letter-spacing: var(--tracking-title); line-height: 1.12; margin-top: 56px; }
.wrap.prose h2:first-child { margin-top: 0; }
.wrap.prose > .table-wrap { max-width: none; }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 30;
  background: var(--color-text); color: var(--color-paper);
  padding: 10px 14px; border-radius: var(--radius-sm); font-weight: var(--weight-bold); text-decoration: none;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--color-paper) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: var(--line-thin) solid var(--color-line);
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-text); text-decoration: none; flex: none; }
.brand svg { display: block; width: auto; height: 26px; }
.site-nav { display: flex; gap: 2px; order: 3; width: 100%; margin: -6px -8px 6px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px;
  border-radius: var(--radius-sm); white-space: nowrap;
  font-weight: var(--weight-strong); font-size: 15px; color: var(--color-text-2); text-decoration: none;
}
.site-nav a:hover { color: var(--color-text); background: var(--color-well); }
.site-nav a[aria-current="page"] { color: var(--color-text); background: var(--color-well); }
.header-inner .btn { margin-left: auto; }
@media (min-width: 860px) {
  .site-nav { order: 0; width: auto; margin: 0; flex: 1; }
  .site-nav a { padding: 0 12px; font-size: 15.5px; }
}
@media (max-width: 859px) { .site-header { position: static; } }
@media (max-width: 370px) { .site-nav { flex-wrap: wrap; } .site-nav a { padding: 0 6px; font-size: 14.5px; } .brand svg { height: 23px; } }

/* ---------- buttons ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  height: 52px; padding: 0 24px; border-radius: var(--radius-sm);
  font: var(--weight-bold) 17px/1 var(--font-sans); letter-spacing: -0.005em; text-decoration: none;
  background: var(--color-brand); color: var(--color-on-brand);
  box-shadow: 0 1px 0 rgba(20, 22, 26, 0.08);
  transition: background-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:hover { background: var(--color-brand-hover); color: var(--color-on-brand); }
.btn:active { background: var(--color-brand-press); transform: translateY(1px); }
.btn .i { width: 20px; height: 20px; }
.btn-secondary { background: var(--color-surface); color: var(--color-text); box-shadow: inset 0 0 0 1.5px var(--color-line-strong); }
.btn-secondary:hover { background: var(--color-surface); color: var(--color-text); box-shadow: inset 0 0 0 1.5px var(--color-text); }
.btn-secondary:active { background: var(--color-well); color: var(--color-text); }
.btn-small { height: 40px; padding: 0 16px; font-size: 15px; }
.btn-large { height: 58px; padding: 0 30px; font-size: 18px; }
.btn-white { background: #ffffff; color: #14161a; box-shadow: none; }
.btn-white:hover { background: #f5f6f8; color: #14161a; }
.btn-white:active { background: #eceef1; color: #14161a; }
.btn-arrow .i { transition: transform var(--dur-base) var(--ease-out); }
.btn-arrow:hover .i { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
@media (max-width: 760px) { .actions .btn { width: 100%; } }

.text-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-weight: var(--weight-bold); text-decoration: none; color: var(--color-text);
}
.text-link .i { transition: transform var(--dur-base) var(--ease-out); }
.text-link:hover .i { transform: translateX(3px); }
.text-link:hover { color: var(--color-brand-text); }

/* ---------- hero (home) ---------- */
.hero { padding: 80px 0 0; }
.hero-top { display: grid; gap: 28px 64px; align-items: end; }
.hero h1 { margin: 0; max-width: 13ch; }
.hero .lead { font-size: 19.5px; line-height: 1.5; color: var(--color-text-2); margin: 0; max-width: 34rem; }
.hero .actions { margin: 28px 0 14px; }
.meta-line { color: var(--color-text-3); font-size: 15px; margin: 0; }
.meta-line .i { color: var(--color-text-3); margin-right: 4px; }
@media (min-width: 1100px) {
  .hero-top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* the product shot sits half on paper, half on the red band */
.stage { position: relative; margin-top: 64px; padding-bottom: 40px; background: linear-gradient(to bottom, transparent 0, transparent 34%, var(--color-brand) 34%); }
.window {
  position: relative; margin: 0; overflow: hidden;
  background: var(--color-surface); border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--frame), 0 2px 6px rgba(20, 22, 26, 0.06), 0 30px 70px -20px rgba(20, 22, 26, 0.38);
}
.window-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 16px; background: var(--color-sunken); border-bottom: 1px solid var(--frame); }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--frame-dot); }
.window img { width: 100%; height: auto; background: #ffffff; }
.stage-cap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  margin: 16px 0 0; color: var(--color-on-brand); font-size: 14px; line-height: 1.45;
}
.real {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; margin-right: 8px;
  border-radius: var(--radius-xs); background: rgba(20, 22, 26, 0.24); color: #ffffff;
  font-size: 12.5px; font-weight: var(--weight-bold); letter-spacing: 0.01em; vertical-align: 1px;
}
.real::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ffffff; }
@media (max-width: 760px) {
  .hero { padding-top: 40px; }
  .hero .lead { font-size: 17.5px; }
  .stage { margin-top: 36px; padding-bottom: 28px; background: linear-gradient(to bottom, transparent 0, transparent 22%, var(--color-brand) 22%); }
  .window { border-radius: var(--radius-md); max-width: 420px; margin-inline: auto; }
  .window-bar { height: 26px; padding: 0 12px; gap: 5px; }
  .window-bar span { width: 8px; height: 8px; }
  .stage-cap { font-size: 13px; }
}

/* three points on the red band, right under the product shot */
.band { background: var(--color-brand); color: var(--color-on-brand); padding: 8px 0 88px; }
.points { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.point {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--color-surface); color: var(--color-text); border-radius: var(--radius-md);
  padding: 20px 24px 22px;
}
.point .art { height: 132px; margin: 0 -8px 6px; background: var(--color-sunken); border-radius: 6px; display: grid; place-items: center; }
.point .art svg { width: 190px; height: 126px; }
.point h3 { margin: 0; font-size: 21px; }
.point p { margin: 0; color: var(--color-text-2); font-size: 16px; }
.point .text-link { margin-top: auto; padding-top: 4px; font-size: 15.5px; }
@media (max-width: 900px) {
  .points { grid-template-columns: 1fr; gap: 14px; }
  .band { padding-bottom: 56px; }
  .point { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 4px 18px; align-items: start; padding: 16px; }
  .point .art { grid-row: 1 / span 3; height: 96px; margin: 0; }
  .point .art svg { width: 100px; height: 68px; }
  .point h3 { font-size: 19px; }
  .point p { font-size: 15.5px; }
  .point .text-link { min-height: 36px; padding-top: 0; }
}

/* ---------- sections ---------- */
.section { padding: var(--section-y) 0; }
.section + .section { border-top: var(--line-thin) solid var(--color-line); }
.section.alt { background: var(--color-sunken); border-top: 0; }
.section.alt + .section { border-top: 0; }
.band + .section { border-top: 0; }
.page-head + .section { padding-top: 16px; border-top: 0; }
.sec-head { max-width: 46rem; margin-bottom: var(--head-gap); }
.sec-head h2 { margin-bottom: 16px; }
.sec-head p, .section-intro { font-size: 19px; line-height: 1.5; color: var(--color-text-2); max-width: var(--measure); }
.sec-head p:last-child { margin-bottom: 0; }
.split { display: grid; gap: 48px 72px; align-items: start; }
@media (min-width: 980px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } .split.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
@media (max-width: 760px) {
  .section { padding: var(--section-y-sm) 0; }
  .sec-head { margin-bottom: 32px; }
  .sec-head p, .section-intro { font-size: 17px; }
}

/* ---------- how proof works: the four proof levels ---------- */
.ladder { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: none; }
.rung {
  margin: 0; display: flex; flex-direction: column;
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-md);
  padding: 22px 22px 24px;
}
.rung .tag-row { display: flex; align-items: center; gap: 10px; height: 64px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--color-line); }
.rung .lvl { font-size: 13px; font-weight: var(--weight-bold); color: var(--color-text-3); margin: 0 0 6px; }
.rung h3 { font-size: 19px; line-height: 1.22; margin: 0 0 8px; }
.rung p { margin: 0; color: var(--color-text-2); font-size: 15.5px; line-height: 1.5; }
.rung.top { border-color: var(--color-brand); box-shadow: inset 0 3px 0 var(--color-brand); }
@media (max-width: 1080px) { .ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ladder { grid-template-columns: 1fr; } }

/* small brand pieces drawn in CSS (no sample numbers) */
.stamp {
  --c: var(--scoop-stamp);
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  color: #ffffff; font-weight: var(--weight-heavy); font-size: 14px; letter-spacing: var(--tracking-caps); text-transform: uppercase;
  transform: rotate(-6deg);
  background:
    radial-gradient(circle at 0 0, var(--color-surface) var(--c), transparent calc(var(--c) + 0.5px)),
    radial-gradient(circle at 100% 0, var(--color-surface) var(--c), transparent calc(var(--c) + 0.5px)),
    radial-gradient(circle at 0 100%, var(--color-surface) var(--c), transparent calc(var(--c) + 0.5px)),
    radial-gradient(circle at 100% 100%, var(--color-surface) var(--c), transparent calc(var(--c) + 0.5px)),
    var(--color-brand);
}
.stamp .i { width: 18px; height: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px;
  border-radius: var(--radius-sm); font-size: 14px; font-weight: var(--weight-bold);
}
.chip .i { width: 17px; height: 17px; }
.chip.report { color: var(--color-secondary-text); background: var(--color-secondary-soft); box-shadow: inset 0 0 0 1.5px var(--color-secondary); }
.chip.store { color: var(--color-text); background: var(--color-well); }
.chip.untested { color: var(--color-text-2); background: transparent; border: 1.5px dashed var(--color-line-strong); }

/* the honest no: a real result next to its words */
.honest {
  display: grid; gap: 32px 56px; align-items: center; margin-top: 24px;
  background: var(--color-sunken); border-radius: var(--radius-lg); padding: 40px;
}
.honest h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 12px; }
.honest p { color: var(--color-text-2); }
.honest .ledger { margin: 20px 0 0; padding: 0; max-width: 26rem; border-top: 1px solid var(--color-line); }
.honest .ledger div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--color-line); font-size: 16px; }
.honest .ledger dt { color: var(--color-text-2); }
.honest .ledger dd { margin: 0; font-weight: var(--weight-bold); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .honest { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); padding: 48px 56px; } }
@media (max-width: 760px) { .honest { padding: 24px 20px; border-radius: var(--radius-md); } }

/* ---------- real screenshots ---------- */
.shot { margin: 0; }
.shot .frame {
  overflow: hidden; border-radius: var(--radius-md); background: #ffffff;
  box-shadow: 0 0 0 1px var(--frame), 0 2px 4px rgba(20, 22, 26, 0.05), 0 18px 44px -18px rgba(20, 22, 26, 0.32);
}
.shot img { width: 100%; height: auto; }
.shot figcaption { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: var(--color-text-2); max-width: 34rem; }
.shot figcaption b { color: var(--color-text); }
.real-tag {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; margin-right: 6px;
  border-radius: var(--radius-xs); background: var(--color-well); color: var(--color-text);
  font-size: 12px; font-weight: var(--weight-bold); vertical-align: 1px;
}
.real-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-success); }
.shot.panel { max-width: 380px; }
.shot.panel .frame { border-radius: 12px; }
.shot-pair { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.shot-pair .shot { max-width: none; }
@media (max-width: 760px) { .shot-pair { grid-template-columns: 1fr; } .shot.panel, .shot-pair .shot { max-width: 400px; margin-inline: auto; } }

/* screenshot columns next to text */
.send-shots { display: grid; gap: 36px; justify-items: start; }
.shot.wide { max-width: 560px; }
.how-shot { justify-self: center; }
@media (min-width: 980px) {
  .send-shots, .how-shot, .split > .shot.panel { position: sticky; top: 100px; }
  .split > .shot.panel { justify-self: center; }
}
@media (max-width: 760px) { .send-shots { justify-items: center; } }

/* ---------- how we test codes ---------- */
.test { display: grid; gap: 40px 64px; align-items: start; }
@media (min-width: 980px) { .test { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); } .test .sec-head { position: sticky; top: 104px; } }
.rules { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.rules li { display: flex; gap: 12px; margin: 0; color: var(--color-text-2); font-size: 16.5px; line-height: 1.45; }
.rules .i { width: 22px; height: 22px; color: var(--color-text); margin-top: 1px; }
.steps4 { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.step4 {
  margin: 0; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: center;
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-md); padding: 14px 28px 14px 14px;
}
.step4 .art { height: 116px; background: var(--color-sunken); border-radius: 6px; display: grid; place-items: center; }
.step4 .art svg { width: 164px; height: 102px; }
.step4 .n { font-size: 13.5px; font-weight: var(--weight-heavy); color: var(--color-brand-text); margin-bottom: 6px; }
.step4 h3 { font-size: 21px; margin: 0 0 6px; }
.step4 p { margin: 0; color: var(--color-text-2); font-size: 16px; }
@media (max-width: 600px) {
  .step4 { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px; }
  .step4 .art { height: 72px; }
  .step4 .art svg { width: 84px; height: 54px; }
  .step4 h3 { font-size: 18px; }
  .step4 p { font-size: 15.5px; }
}

/* ---------- same product, cheaper ---------- */
.match-rules { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--color-line); }
.match-rules li { display: flex; gap: 12px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--color-line); color: var(--color-text-2); font-size: 16.5px; }
.match-rules li b { color: var(--color-text); }
.match-rules .i { width: 22px; height: 22px; color: var(--color-success); margin-top: 1px; }

/* ---------- exactly what PromoIQ sends ---------- */
.send { display: grid; gap: 14px; }
.send-grp { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-md); padding: 18px 22px 8px; }
.send-grp h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 15px; letter-spacing: 0; color: var(--color-text-2); margin: 0 0 6px; }
.send-grp h3 small { font-weight: var(--weight-strong); font-size: 13px; color: var(--color-text-3); }
.send-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 2px 12px; align-items: start; padding: 10px 0; border-top: 1px solid var(--color-line); font-size: 16px; line-height: 1.45; }
.send-grp h3 + .send-row { border-top: 0; }
.send-row .i { width: 20px; height: 20px; margin-top: 1px; color: var(--color-success); }
.send-grp.never .send-row .i { color: var(--color-text-3); }
.send-row .ex { color: var(--color-text-3); font-size: 14.5px; text-align: right; white-space: nowrap; }
.send-note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 16px 18px;
  background: var(--color-secondary-soft); border-radius: var(--radius-md); color: var(--color-text); font-size: 16px;
}
.send-note .i { width: 22px; height: 22px; color: var(--color-secondary-text); margin-top: 1px; }
@media (max-width: 600px) { .send-row { grid-template-columns: 20px minmax(0, 1fr); } .send-row .ex { grid-column: 2; text-align: left; } }

/* ---------- five promises ---------- */
.promise-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 40px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); counter-reset: promise; }
.promise-list li { counter-increment: promise; margin: 0; padding: 22px 0 22px 56px; position: relative; border-top: 1px solid var(--color-line); }
.promise-list li::before {
  content: counter(promise); position: absolute; left: 0; top: 20px;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px;
  background: var(--color-brand); color: var(--color-on-brand); font-weight: var(--weight-heavy); font-size: 17px;
  transform: rotate(-6deg);
}
.promise-list h3 { font-size: 19px; margin: 0 0 4px; }
.promise-list p { margin: 0; color: var(--color-text-2); font-size: 16px; }

/* ---------- closing ticket ---------- */
.closing { padding: 32px 0 112px; }
.section + .closing { border-top: 0; }
.ticket {
  --c: var(--scoop-ticket);
  display: grid; align-items: center; gap: 28px 48px;
  color: var(--color-on-brand); padding: 64px 72px;
  background:
    radial-gradient(circle at 0 0, var(--color-paper) var(--c), transparent calc(var(--c) + 0.6px)),
    radial-gradient(circle at 100% 0, var(--color-paper) var(--c), transparent calc(var(--c) + 0.6px)),
    radial-gradient(circle at 0 100%, var(--color-paper) var(--c), transparent calc(var(--c) + 0.6px)),
    radial-gradient(circle at 100% 100%, var(--color-paper) var(--c), transparent calc(var(--c) + 0.6px)),
    var(--color-brand);
}
.ticket h2 { color: var(--color-on-brand); font-size: clamp(34px, 4.6vw, 60px); margin-bottom: 12px; }
.ticket p { margin: 0; font-size: 19px; }
.ticket-stub { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ticket-stub small { font-size: 14px; }
.ticket :focus-visible { outline-color: #ffffff; }
.ticket .section-intro { color: var(--color-on-brand); }
.ticket .btn-secondary { background: transparent; color: var(--color-on-brand); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7); }
.ticket .btn-secondary:hover { background: rgba(255, 255, 255, 0.1); color: var(--color-on-brand); box-shadow: inset 0 0 0 1.5px #ffffff; }
@media (min-width: 900px) {
  .ticket { grid-template-columns: minmax(0, 1fr) auto; }
  .ticket-stub { padding-left: 48px; border-left: 2px dashed rgba(255, 255, 255, 0.45); align-self: stretch; justify-content: center; }
}
@media (max-width: 760px) { .closing { padding: 8px 0 64px; } .ticket { --c: 18px; padding: 44px 24px; } .ticket-stub { align-items: stretch; } .ticket-stub .btn { width: 100%; } }

/* ---------- cards and grids (other pages) ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 32px; }
.card { background: var(--color-surface); color: var(--color-text); border: var(--line-thin) solid var(--color-line); border-radius: var(--radius-md); padding: 24px; }
.card h3 { margin-bottom: 0.35em; }
.card p { color: var(--color-text-2); font-size: 16px; margin: 0; }

/* numbered steps (how it works) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 52rem; counter-reset: step; }
.steps > li {
  counter-increment: step; margin: 0; position: relative;
  background: var(--color-surface); border: var(--line-thin) solid var(--color-line); border-radius: var(--radius-md);
  padding: 22px 24px 22px 76px;
}
.steps > li::before {
  content: counter(step); position: absolute; left: 22px; top: 22px;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px;
  background: var(--color-brand); color: var(--color-on-brand); font-weight: var(--weight-heavy); font-size: 16px; line-height: 1;
  transform: rotate(-6deg);
}
.steps h3 { margin-bottom: 0.3em; font-size: 20px; }
.steps p { color: var(--color-text-2); margin: 0; font-size: 16px; }
.steps kbd { font: var(--weight-bold) 0.86em/1 var(--font-sans); padding: 3px 7px; border-radius: 5px; background: var(--color-well); box-shadow: inset 0 -1px 0 var(--color-line-strong); color: var(--color-text); }
@media (max-width: 600px) { .steps > li { padding: 20px 18px 20px 66px; } .steps > li::before { left: 16px; top: 20px; } }

/* code groups list (how it works) */
.groups { list-style: none; padding: 0; margin: 24px 0; max-width: 52rem; display: grid; gap: 10px; }
.groups li { margin: 0; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--color-surface); border: var(--line-thin) solid var(--color-line); border-radius: var(--radius-md); }
.groups li > .i { width: 22px; height: 22px; margin-top: 2px; color: var(--color-text-2); }
.groups li.worked { border-color: var(--color-brand); box-shadow: inset var(--line-accent) 0 0 var(--color-brand); }
.groups li.worked > .i { color: var(--color-brand-text); }
.groups li.untested { border-style: dashed; border-color: var(--color-line-strong); }
.groups .label { display: block; font-weight: var(--weight-bold); color: var(--color-text); }
.groups li p { margin: 2px 0 0; color: var(--color-text-2); font-size: 16px; }

/* notice */
.note {
  max-width: var(--measure); padding: 16px 20px; border-radius: var(--radius-md);
  background: var(--color-caution-soft); border: var(--line-thin) solid var(--color-caution-line); color: var(--color-text);
}
.note p:last-child, .note ul:last-child { margin-bottom: 0; }

/* "will not do" list */
.checklist { list-style: none; padding: 0; border-top: var(--line-thin) solid var(--color-line); }
.checklist li { position: relative; margin: 0; padding: 12px 0 12px 32px; border-bottom: var(--line-thin) solid var(--color-line); }
.checklist li::before {
  content: ""; position: absolute; left: 3px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  border: 2px solid var(--color-brand-text); border-radius: 50%;
  background: linear-gradient(45deg, transparent 44%, var(--color-brand-text) 44%, var(--color-brand-text) 56%, transparent 56%);
}

/* plain fact list with hairlines */
.facts { list-style: none; padding: 0; margin: 32px 0 0; max-width: 52rem; border-top: var(--line-thin) solid var(--color-line); }
.facts li { margin: 0; padding: 16px 0; border-bottom: var(--line-thin) solid var(--color-line); color: var(--color-text-2); }
.facts li strong { color: var(--color-text); }

/* ---------- page heads ---------- */
.page-head { padding: 72px 0 32px; }
.page-head h1 { font-size: clamp(38px, 5.2vw, 60px); line-height: 1.03; letter-spacing: -0.032em; max-width: 20ch; }
.page-head .lead { font-size: 19.5px; line-height: 1.5; color: var(--color-text-2); max-width: var(--measure); }
.page-head .actions { margin-bottom: 0; }
@media (max-width: 760px) { .page-head { padding: 40px 0 16px; } .page-head .lead { font-size: 17.5px; } }

/* ---------- tables ---------- */
.table-wrap {
  overflow-x: auto; margin: 16px 0 28px;
  border: var(--line-thin) solid var(--color-line); border-radius: var(--radius-md); background: var(--color-surface);
}
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 14px 20px; border-top: var(--line-thin) solid var(--color-line); }
thead th { border-top: 0; background: var(--color-sunken); color: var(--color-text-2); font-weight: var(--weight-bold); font-size: 15px; }
tbody th { font-weight: var(--weight-strong); }
td { color: var(--color-text-2); }
.compare th:first-child { width: 22%; }
.compare td { min-width: 12rem; }
.compare thead th:last-child { color: var(--color-text); }
@media (max-width: 640px) {
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; width: 100%; }
  table.stack tr { padding: 14px 16px; border-top: var(--line-thin) solid var(--color-line); }
  table.stack tbody tr:first-child { border-top: 0; }
  table.stack th, table.stack td { border: 0; padding: 4px 0; min-width: 0; }
  table.stack tbody th { font-size: 17px; color: var(--color-text); }
  table.stack td::before { content: attr(data-label); display: block; font-size: 13px; font-weight: var(--weight-bold); color: var(--color-text-3); }
  .compare th:first-child { width: auto; }
}
.sources { font-size: 15px; color: var(--color-text-2); }
.sources li { margin-bottom: 0.5em; }
.checked { color: var(--color-text-3); font-size: 15px; }

/* scorecard: how PromoIQ compares (each cell holds run 1 and run 2, each with its date) */
.score-wrap { margin-top: 0; }
.score { min-width: 980px; font-size: 15px; }
.score th, .score td { padding: 14px 16px; }
.score thead th { vertical-align: bottom; color: var(--color-text); font-size: 14.5px; }
.score thead th small { display: block; margin-top: 2px; font-weight: var(--weight-strong); color: var(--color-text-2); font-size: 13px; }
.score tbody th { min-width: 230px; width: 230px; color: var(--color-text); font-size: 15.5px; line-height: 1.35; }
.score td > span { display: block; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--color-text); }
.score td > span + span { margin-top: 4px; color: var(--color-text-2); }
.score .us, .score td[data-tool^="promoiq"] { background: var(--color-sunken); }
.score thead th:first-child, .score tbody th { position: sticky; left: 0; z-index: 1; background: var(--color-surface); }
.score thead th:first-child { background: var(--color-sunken); }
.score-note { margin: 16px 0 0; color: var(--color-text-2); font-size: 15px; max-width: 52rem; }
.fill { color: var(--color-text); background: var(--color-caution-soft); box-shadow: inset 0 0 0 1px var(--color-caution-line); border-radius: 3px; padding: 0 3px; }
.draft-banner { margin: 0; padding: 12px var(--gutter); background: var(--color-caution-soft); border-bottom: 1px solid var(--color-caution-line); color: var(--color-text); font-weight: var(--weight-bold); font-size: 15px; text-align: center; }
.method { counter-reset: m; list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; max-width: 52rem; }
.method > li { counter-increment: m; position: relative; margin: 0; padding: 18px 20px 18px 64px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-md); color: var(--color-text-2); }
.method > li::before { content: counter(m); position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--color-text); color: var(--color-paper); font-weight: var(--weight-heavy); font-size: 15px; }
.method > li strong { display: block; color: var(--color-text); margin-bottom: 2px; }
.defs { margin: 16px 0 28px; max-width: 52rem; border-top: 1px solid var(--color-line); }
.defs > div { display: grid; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--color-line); }
@media (min-width: 760px) { .defs > div { grid-template-columns: 14rem minmax(0, 1fr); } }
.defs dt { font-weight: var(--weight-bold); color: var(--color-text); }
.defs dd { margin: 0; color: var(--color-text-2); }
.raw { list-style: none; padding: 0; margin: 16px 0 28px; display: grid; gap: 10px; max-width: 52rem; }
.raw li { margin: 0; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--color-line); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-text-2); }
.raw li a { font-weight: var(--weight-bold); color: var(--color-text); }
.raw .i { width: 20px; height: 20px; margin-top: 2px; color: var(--color-text-2); }

/* ---------- FAQ ---------- */
.faq h2 { font-size: var(--text-2xl); letter-spacing: var(--tracking-title); margin: 56px 0 8px; }
.faq h2:first-child { margin-top: 0; }
.faq details, .qa details { border-bottom: var(--line-thin) solid var(--color-line); max-width: 52rem; }
.faq h2 + details, .qa details:first-of-type { border-top: var(--line-thin) solid var(--color-line); }
.faq summary, .qa summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 44px 18px 2px; border-radius: var(--radius-sm);
  font-weight: var(--weight-bold); font-size: 18px; line-height: 1.3;
  transition: color var(--dur-fast) var(--ease-out);
}
.faq summary::-webkit-details-marker, .qa summary::-webkit-details-marker { display: none; }
.faq summary::after, .qa summary::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--color-text-2); border-bottom: 2px solid var(--color-text-2);
  transform: rotate(45deg); transition: transform var(--dur-base) var(--ease-out), margin var(--dur-base) var(--ease-out);
}
.faq details[open] summary::after, .qa details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover, .qa summary:hover { color: var(--color-brand-text); }
.faq details > div, .qa details > div { padding: 0 2px 20px; color: var(--color-text-2); max-width: 62ch; }
.faq details > div p:last-child, .qa details > div p:last-child { margin-bottom: 0; }
.qa-grid { display: grid; gap: 32px 72px; }
@media (min-width: 980px) { .qa-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }

/* ---------- policy pages ---------- */
.policy h2 { font-size: var(--text-2xl); letter-spacing: var(--tracking-title); margin-top: 48px; }
.policy h3 { font-size: 19px; margin-top: 28px; }
.policy li { color: var(--color-text-2); }
.policy li strong { color: var(--color-text); }
.version-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 8px; }
.version-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1.5px var(--color-line-strong); text-decoration: none; font-weight: var(--weight-strong); font-size: 15px;
}
.version-nav a:hover { box-shadow: inset 0 0 0 1.5px var(--color-text); }
.version-block { scroll-margin-top: 96px; margin-top: 48px; padding-top: 28px; border-top: var(--line-accent) solid var(--color-line); }
.policy .version-block > h2 { font-size: var(--text-3xl); margin-top: 0; }
.policy .version-block h3 { font-size: var(--text-xl); margin-top: 32px; }

/* ---------- forms ---------- */
.form { max-width: 34rem; display: grid; gap: 6px; }
.form label { font-weight: var(--weight-strong); font-size: 15.5px; margin-top: 14px; }
.form .hint { color: var(--color-text-2); font-size: 14.5px; font-weight: var(--weight-regular); margin: 0; }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: inherit; font-size: 16px; color: var(--color-text); background: var(--color-surface);
  border: 0; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1.5px var(--color-line-strong);
}
.form input:hover, .form textarea:hover { box-shadow: inset 0 0 0 1.5px var(--color-text-3); }
.form input:focus-visible, .form textarea:focus-visible { box-shadow: inset 0 0 0 1.5px var(--color-text); }
.form textarea { min-height: 150px; resize: vertical; }
.form .btn { margin-top: 18px; justify-self: start; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: var(--weight-strong); font-size: 15.5px; margin-bottom: 6px; padding: 0; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 0; font-weight: var(--weight-regular); font-size: 16px; }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--color-secondary); }
.status { min-height: 1.6em; margin-top: 10px; font-size: 16px; }
.status.ok { color: var(--color-success); font-weight: var(--weight-bold); }
.status.error { color: var(--color-danger); font-weight: var(--weight-bold); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-alt { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--color-line); color: var(--color-text-2); max-width: 34rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--color-ink); color: #eef0f3; padding: 72px 0 32px; }
.site-footer a { color: #eef0f3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: currentColor; }
.site-footer :focus-visible { outline-color: #8dbdec; }
.footer-top { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #2a2f38; }
@media (min-width: 900px) { .footer-top { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.site-footer .brand { color: #ffffff; }
.footer-blurb { margin: 14px 0 0; color: #a9b0bb; font-size: 15.5px; max-width: 22rem; }
.footer-cols { display: grid; gap: 28px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-cols h2 { font-size: 13.5px; font-weight: var(--weight-bold); letter-spacing: 0; color: #8a919c; margin: 0 0 8px; }
.footer-cols a { display: flex; align-items: center; min-height: 40px; font-size: 15.5px; }
.footer-notes { padding-top: 24px; color: #a9b0bb; font-size: 14.5px; max-width: 52rem; }
.footer-notes p { margin: 0 0 0.6em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; color: #8a919c; font-size: 14px; }
.footer-bottom p { margin: 0; }
.theme-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 8px; background: #1f232b; }
.theme-switch button {
  appearance: none; border: 0; cursor: pointer; background: transparent; color: #a9b0bb;
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 12px; border-radius: var(--radius-sm); font: var(--weight-strong) 13.5px/1 var(--font-sans);
}
.theme-switch button .i { width: 15px; height: 15px; }
.theme-switch button:hover { color: #ffffff; }
.theme-switch button[aria-pressed="true"] { background: #3a404b; color: #ffffff; }

/* ---------- motion: sections settle in once, below the fold only ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 520ms var(--ease-out), transform 620ms var(--ease-out); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .stamp[data-press] { transform: rotate(-6deg) scale(1.18); opacity: 0; }
  .js .is-in .stamp[data-press], .js .stamp[data-press].is-in { transform: rotate(-6deg); opacity: 1; transition: transform var(--dur-stamp) cubic-bezier(0.3, 1.4, 0.5, 1) 180ms, opacity 120ms linear 180ms; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .stage, .band, .closing, .skip-link { display: none; }
  body { font-size: 12pt; }
}
