/* Brand Sorters — homepage */

:root {
  --ink: oklch(0.97 0.012 105);
  --ink-2: oklch(0.82 0.02 105);
  --ink-3: oklch(0.68 0.02 105);
  --bg: oklch(0.13 0.008 105);
  --bg-2: oklch(0.17 0.01 105);
  --bg-3: oklch(0.22 0.012 105);
  --line: oklch(0.3 0.015 105);
  --volt: oklch(0.95 0.15 105);       /* brand lemon #FFF56E */
  --volt-deep: oklch(0.86 0.17 102);
  --volt-ink: oklch(0.18 0.03 105);   /* text on yellow */
  --waste: oklch(0.62 0.13 30);
  --ok: oklch(0.8 0.15 150);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.84rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(1.95rem, 1.5rem + 2.1vw, 3.2rem);
  --step-4: clamp(2.3rem, 1.6rem + 3.6vw, 5rem);

  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --max: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --z-sticky: 20;
  --z-bar: 30;
  --z-toast: 40;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.04; text-wrap: balance; font-stretch: 118%; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }
.hl { color: var(--volt); }

/* ---------- buttons ---------- */
.btn {
  --b: var(--volt);
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.4em;
  border-radius: 999px;
  border: 2px solid var(--b);
  background: var(--b);
  color: var(--volt-ink);
  font-weight: 750; font-stretch: 108%;
  text-decoration: none; line-height: 1.1;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px color-mix(in oklch, var(--volt) 70%, transparent); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-3); box-shadow: none; }
.btn--dark { --b: var(--volt-ink); color: var(--volt); }
.btn--wa { --b: oklch(0.72 0.17 150); color: oklch(0.16 0.04 150); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; font-weight: 800; font-stretch: 112%; font-size: 1.12rem; letter-spacing: -0.01em; }
.logo svg { width: 30px; height: 30px; }
.logo span em { font-style: normal; color: var(--volt); }
.nav { display: flex; gap: 2rem; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 550; font-size: var(--step--1); transition: color 0.2s; }
.nav a:hover { color: var(--ink); }
.top .btn { padding: 0.7em 1.15em; font-size: var(--step--1); }
@media (max-width: 860px) { .nav { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { font-size: var(--step-4); font-stretch: 122%; letter-spacing: -0.025em; }
.hero h1 .line { display: block; }
.hero h1 .noise { color: var(--ink-3); }
.hero__lede { margin-top: 1.4rem; max-width: 34rem; color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.4rem; margin-top: 2rem; color: var(--ink-2); font-size: var(--step--1); }
.hero__proof b { color: var(--ink); font-weight: 750; }
.stars { display: inline-flex; gap: 2px; color: var(--volt); vertical-align: -2px; margin-right: 0.35em; }
.stars svg { width: 13px; height: 13px; }

/* sorter machine */
.sorter {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(120% 80% at 70% 0%, color-mix(in oklch, var(--volt) 9%, transparent), transparent 60%),
    var(--bg-2);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px oklch(0 0 0 / 0.7);
}
.sorter__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.9rem 1rem 0.9rem 1.15rem; border-bottom: 1px solid var(--line); }
.sorter__title { display: flex; align-items: center; gap: 0.55rem; font-size: var(--step--1); font-weight: 650; color: var(--ink-2); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.switch { display: inline-grid; grid-template-columns: 1fr 1fr; position: relative; padding: 3px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.switch button { position: relative; z-index: 1; border: 0; background: none; padding: 0.42em 0.85em; border-radius: 999px; font-size: 0.8rem; font-weight: 700; color: var(--ink-3); cursor: pointer; white-space: nowrap; transition: color 0.3s; }
.switch button[aria-pressed="true"] { color: var(--volt-ink); }
.switch__pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--ink-2); transition: transform 0.5s var(--ease), background-color 0.4s; }
.switch[data-mode="sorted"] .switch__pill { transform: translateX(100%); background: var(--volt); }

.sorter__stage { position: relative; height: clamp(250px, 30vw, 360px); touch-action: pan-y; cursor: crosshair; }
.sorter__stage canvas { width: 100%; height: 100%; }
.sorter__label { position: absolute; font-size: 0.78rem; font-weight: 700; font-stretch: 105%; color: var(--ink-3); pointer-events: none; }
.sorter__label--in { left: 1rem; top: 0.75rem; }
.sorter__label--out { right: 1rem; top: 0.75rem; color: var(--volt); }
.sorter__label--waste { left: 50%; bottom: 0.6rem; transform: translateX(-50%); color: var(--waste); white-space: nowrap; }
.sorter__hint { position: absolute; left: 1rem; bottom: 0.6rem; font-size: 0.72rem; color: var(--ink-3); pointer-events: none; }

.readout { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.readout div { padding: 0.85rem 1rem; border-left: 1px solid var(--line); }
.readout div:first-child { border-left: 0; }
.readout dt { font-size: 0.72rem; color: var(--ink-3); font-weight: 600; }
.readout dd { margin: 0.15rem 0 0; font-size: var(--step-1); font-weight: 800; font-stretch: 110%; font-variant-numeric: tabular-nums; line-height: 1.1; }
.readout .roas dd { color: var(--volt); }
.readout .waste dd { color: var(--waste); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .readout { grid-template-columns: repeat(2, 1fr); }
  .readout div:nth-child(3) { border-left: 0; }
  .readout div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sorter__head { flex-wrap: wrap; }
  .sorter__hint { display: none; }
}

/* ---------- partner/proof ribbon ---------- */
.ribbon { border-block: 1px solid var(--line); background: var(--bg-2); }
.ribbon__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 1.25rem; font-size: var(--step--1); color: var(--ink-2); }
.ribbon__in > span { display: inline-flex; align-items: center; gap: 0.5rem; }
.ribbon__in b { color: var(--ink); }
.ribbon svg { width: 20px; height: 20px; flex: none; }

/* ---------- statement ---------- */
.statement { padding: clamp(4.5rem, 10vw, 9rem) 0; }
.statement h2 { font-size: var(--step-4); max-width: 18ch; font-stretch: 120%; }
.statement h2 .num { color: var(--volt); font-variant-numeric: tabular-nums; }
.statement p { margin-top: 1.6rem; max-width: 42rem; color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }

/* ---------- section heads ---------- */
.sec { padding: clamp(4rem, 8vw, 7rem) 0; }
.sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.25rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sec__head h2 { font-size: var(--step-3); max-width: 20ch; }
.sec__head p { max-width: 30rem; color: var(--ink-2); }

/* ---------- leak finder ---------- */
.leak { background: var(--bg-2); border-block: 1px solid var(--line); }
.leak__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.funnel { display: grid; gap: 0.9rem; }
.stage { position: relative; display: grid; grid-template-columns: 7.5rem 1fr; align-items: center; gap: 1rem; }
.stage__name { font-size: var(--step--1); font-weight: 650; color: var(--ink-2); transition: color 0.3s; }
.stage__bar { position: relative; height: 54px; border-radius: 10px; background: var(--bg-3); overflow: visible; }
.stage__fill {
  position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 10px;
  background: repeating-linear-gradient(90deg, var(--ink-3) 0 6px, transparent 6px 10px);
  opacity: 0.55;
  transition: background 0.5s, opacity 0.5s;
}
.stage__val { position: absolute; left: calc(var(--w) - 0.8rem); top: 50%; translate: -100% -50%; transition: left 0.9s var(--ease), color 0.3s; font-weight: 800; font-stretch: 110%; font-variant-numeric: tabular-nums; }
.drip { position: absolute; left: calc(var(--w) - 14px); top: 100%; width: 8px; height: 8px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--waste); opacity: 0; }
.stage.is-leaking .stage__name { color: var(--waste); }
.stage.is-leaking .stage__fill { background: repeating-linear-gradient(90deg, var(--waste) 0 6px, transparent 6px 10px); opacity: 0.9; }
.stage.is-leaking .drip { animation: drip 1.4s var(--ease) infinite; }
.stage.is-leaking .drip:nth-of-type(2) { animation-delay: 0.45s; left: calc(var(--w) - 34px); }
.stage.is-leaking .drip:nth-of-type(3) { animation-delay: 0.9s; left: calc(var(--w) - 58px); }
@keyframes drip { 0% { opacity: 0; transform: translateY(-6px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(26px); } }
.funnel.is-fixed .stage__fill { background: var(--volt); opacity: 1; }
.funnel.is-fixed .stage__val { color: var(--volt-ink); }
.funnel__note { margin-top: 1.25rem; font-size: var(--step--1); color: var(--ink-3); }

.pains { display: grid; gap: 0.6rem; }
.pain {
  display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.9rem; align-items: center;
  width: 100%; text-align: left;
  padding: 1rem 1.15rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg);
  cursor: pointer; transition: border-color 0.25s, background-color 0.25s, transform 0.35s var(--ease);
}
.pain:hover { border-color: var(--ink-3); transform: translateX(4px); }
.pain[aria-pressed="true"] { border-color: var(--volt); background: color-mix(in oklch, var(--volt) 8%, var(--bg)); }
.pain__tick { grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink-3); display: grid; place-items: center; transition: background-color 0.25s, border-color 0.25s; }
.pain[aria-pressed="true"] .pain__tick { background: var(--volt); border-color: var(--volt); }
.pain__tick svg { width: 12px; height: 12px; color: var(--volt-ink); opacity: 0; }
.pain[aria-pressed="true"] .pain__tick svg { opacity: 1; }
.pain strong { font-weight: 750; font-stretch: 108%; }
.pain small { color: var(--ink-3); font-size: var(--step--1); line-height: 1.4; }

.fix { margin-top: 1.25rem; padding: 1.4rem; border-radius: var(--radius); background: var(--volt); color: var(--volt-ink); }
.fix h3 { font-size: var(--step-1); font-stretch: 112%; }
.fix p { margin-top: 0.5rem; }
.fix .btn { margin-top: 1rem; }
.fix[hidden] { display: none; }
.fix.is-in { animation: fixIn 0.5s var(--ease); }
@keyframes fixIn { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 900px) { .leak__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .stage { grid-template-columns: 5.6rem 1fr; gap: 0.6rem; } .stage__bar { height: 46px; } }

/* ---------- services: sorting desk ---------- */
.desk { border-top: 1px solid var(--line); }
.bin {
  position: relative;
  display: grid; grid-template-columns: minmax(9rem, 1.1fr) 1.4fr 1.6fr; gap: 1.5rem 2.5rem; align-items: center;
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(0.5rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  transition: color 0.35s var(--ease);
}
.bin::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--volt);
  clip-path: inset(0 100% 0 0 round 0);
  transition: clip-path 0.6s var(--ease);
}
.bin:focus-within, .bin.is-on { color: var(--volt-ink); }
.bin:focus-within::before, .bin.is-on::before { clip-path: inset(0 0 0 0 round 0); }
@media (hover: hover) {
  .bin:hover { color: var(--volt-ink); }
  .bin:hover::before { clip-path: inset(0 0 0 0 round 0); }
}
.bin h3 { font-size: var(--step-3); font-stretch: 125%; }
.bin h3 small { display: block; font-size: var(--step--1); font-weight: 650; font-stretch: 100%; letter-spacing: 0; margin-top: 0.5rem; opacity: 0.75; }
.bin p { max-width: 34ch; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; justify-content: flex-end; }
.chip { padding: 0.42em 0.85em; border-radius: 999px; border: 1px solid currentColor; font-size: var(--step--1); font-weight: 600; white-space: nowrap; transition: transform 0.45s var(--ease); }
.bin:hover .chip, .bin.is-on .chip { transform: translateY(-3px); }
.bin:hover .chip:nth-child(2) { transition-delay: 40ms; }
.bin:hover .chip:nth-child(3) { transition-delay: 80ms; }
.bin:hover .chip:nth-child(4) { transition-delay: 120ms; }
.bin:hover .chip:nth-child(5) { transition-delay: 160ms; }
@media (max-width: 900px) {
  .bin { grid-template-columns: 1fr; gap: 0.8rem; }
  .chips { justify-content: flex-start; }
}

/* ---------- results feed ---------- */
.feed-sec { overflow: hidden; }
.feed-ctrl { display: flex; gap: 0.5rem; }
.feed-ctrl button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-2); cursor: pointer; display: grid; place-items: center; transition: border-color 0.2s, background-color 0.2s; }
.feed-ctrl button:hover { border-color: var(--volt); }
.feed-ctrl svg { width: 18px; height: 18px; }
.feed {
  display: flex; gap: 1.1rem;
  overflow-x: auto;
  padding: 0.5rem max(var(--gutter), (100vw - var(--max)) / 2) 1.5rem;
  scrollbar-width: none;
  cursor: grab;
}
.feed::-webkit-scrollbar { display: none; }
.feed.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.post {
  flex: 0 0 clamp(260px, 26vw, 320px);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  aspect-ratio: 4 / 5.4;
  border-radius: 20px; padding: 1.1rem;
  background: var(--bg-2); border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), border-color 0.3s;
  user-select: none;
}
.post:hover { transform: translateY(-6px) rotate(-0.6deg); border-color: var(--ink-3); }
.post__top { display: flex; align-items: center; gap: 0.6rem; }
.post__av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 0.78rem; font-weight: 800; background: var(--bg-3); color: var(--ink); flex: none; }
.post__who { line-height: 1.25; font-size: 0.9rem; }
.post__who b { display: block; font-weight: 750; }
.post__who span { font-size: 0.74rem; color: var(--ink-3); }
.post__dots { margin-left: auto; color: var(--ink-3); letter-spacing: 2px; }
.post__body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: 1rem; }
.post__big { font-size: clamp(3.6rem, 6vw, 5rem); font-weight: 900; font-stretch: 125%; line-height: 0.95; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.post__what { margin-top: 0.6rem; font-weight: 600; max-width: 22ch; line-height: 1.35; }
.post__bars { display: flex; align-items: end; gap: 5px; height: 46px; margin-top: 1.1rem; }
.post__bars i { flex: 1; border-radius: 4px 4px 1px 1px; background: currentColor; opacity: 0.25; height: var(--h); transform-origin: bottom; }
.post__bars i:last-child { opacity: 1; }
.post__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 0.85rem; border-top: 1px solid color-mix(in oklch, currentColor 20%, transparent); font-size: 0.8rem; font-weight: 650; }
.post__foot a { text-decoration: none; padding: 0.35em 0.8em; border-radius: 6px; background: color-mix(in oklch, currentColor 12%, transparent); }
.post--volt { background: var(--volt); color: var(--volt-ink); border-color: var(--volt); }
.post--volt .post__av { background: var(--volt-ink); color: var(--volt); }
.post--volt .post__who span, .post--volt .post__dots { color: color-mix(in oklch, var(--volt-ink) 70%, transparent); }
.post--ink { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.post--ink .post__av { background: var(--bg); color: var(--ink); }
.post--ink .post__who span, .post--ink .post__dots { color: color-mix(in oklch, var(--bg) 65%, transparent); }
.post.is-seen .post__bars i { animation: grow 0.9s var(--ease) both; }
.post.is-seen .post__bars i:nth-child(2) { animation-delay: 60ms; }
.post.is-seen .post__bars i:nth-child(3) { animation-delay: 120ms; }
.post.is-seen .post__bars i:nth-child(4) { animation-delay: 180ms; }
.post.is-seen .post__bars i:nth-child(5) { animation-delay: 240ms; }
.post.is-seen .post__bars i:nth-child(6) { animation-delay: 300ms; }
@keyframes grow { from { transform: scaleY(0.1); } }
.feed-note { margin-top: 0.5rem; color: var(--ink-3); font-size: var(--step--1); }

/* ---------- process ---------- */
.process { background: var(--bg-2); border-block: 1px solid var(--line); }
.process__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.chart-wrap { position: sticky; top: 110px; align-self: start; }
.chart { border: 1px solid var(--line); border-radius: 20px; padding: 1.25rem; background: var(--bg); }
.chart__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.75rem; }
.chart__head span { font-size: var(--step--1); color: var(--ink-3); font-weight: 600; }
.chart__head b { font-size: var(--step-2); font-stretch: 115%; color: var(--volt); font-variant-numeric: tabular-nums; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .axis { stroke: var(--line); stroke-width: 1; }
.chart .ax-t { fill: var(--ink-3); font-size: 11px; font-family: var(--font); font-weight: 600; }
.chart .line { fill: none; stroke: var(--volt); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .area { fill: color-mix(in oklch, var(--volt) 14%, transparent); }
.chart .pt { fill: var(--bg); stroke: var(--ink-3); stroke-width: 2.5; transition: fill 0.3s, stroke 0.3s; }
.chart .pt.on { fill: var(--volt); stroke: var(--volt); }
.chart .target { stroke: var(--ink-3); stroke-dasharray: 4 5; stroke-width: 1.2; }

.steps { list-style: none; margin: 0; padding: 0; }
.step { padding: 2.2rem 0; border-top: 1px solid var(--line); opacity: 0.45; transition: opacity 0.5s var(--ease); }
.step:first-child { border-top: 0; padding-top: 0; }
.step.is-on { opacity: 1; }
.step__day { display: inline-block; font-weight: 800; font-stretch: 110%; color: var(--volt); font-size: var(--step--1); margin-bottom: 0.5rem; padding: 0.25em 0.7em; border: 1px solid currentColor; border-radius: 999px; }
.step h3 { font-size: var(--step-2); }
.step ul { margin: 0.9rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.4rem; color: var(--ink-2); }
.step li { display: flex; gap: 0.6rem; }
.step li::before { content: ""; flex: none; width: 6px; height: 14px; margin-top: 0.42em; border-radius: 2px; background: var(--ink-3); }
.step.is-on li::before { background: var(--volt); }
@media (max-width: 900px) {
  .process__grid { grid-template-columns: 1fr; }
  .chart-wrap { top: 70px; z-index: 2; background: var(--bg-2); padding-block: 0.5rem; }
  .chart { padding: 0.8rem 1rem; }
  .chart svg { max-height: 150px; }
}

/* ---------- reviews ---------- */
.reviews { background: var(--volt); color: var(--volt-ink); padding: clamp(4rem, 9vw, 7.5rem) 0; }
.reviews__grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.reviews h2 { font-size: var(--step-3); }
.reviews__rating { margin-top: 1.25rem; font-weight: 650; }
.reviews__rating .stars { color: var(--volt-ink); }
.quote { margin: 0; }
.quote blockquote { margin: 0; font-size: var(--step-3); font-weight: 750; font-stretch: 108%; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; min-height: 3.4em; }
.quote figcaption { margin-top: 1.5rem; font-weight: 650; }
.quote figcaption span { font-weight: 500; opacity: 0.75; }
.quote.is-swap blockquote, .quote.is-swap figcaption { animation: qIn 0.6s var(--ease); }
@keyframes qIn { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } }
.who { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.who button { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.85rem 0.35rem 0.35rem; border-radius: 999px; border: 1.5px solid var(--volt-ink); background: transparent; font-weight: 650; font-size: var(--step--1); cursor: pointer; transition: background-color 0.25s, color 0.25s; }
.who button i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 0.72rem; font-weight: 800; background: var(--volt-ink); color: var(--volt); }
.who button[aria-selected="true"] { background: var(--volt-ink); color: var(--volt); }
.who button[aria-selected="true"] i { background: var(--volt); color: var(--volt-ink); }
@media (max-width: 900px) { .reviews__grid { grid-template-columns: 1fr; } .quote blockquote { min-height: 0; } }

/* ---------- audit form ---------- */
.audit__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.audit h2 { font-size: var(--step-4); font-stretch: 122%; }
.audit__list { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.9rem; }
.audit__list li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.audit__list svg { width: 22px; height: 22px; color: var(--volt); margin-top: 0.15em; }
.wa-card { margin-top: 2.25rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.wa-card p { color: var(--ink-2); max-width: 22ch; }
.wa-card p b { color: var(--ink); display: block; }

.form { padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.field label, .field legend { font-size: var(--step--1); font-weight: 650; color: var(--ink-2); padding: 0; }
.field input, .field textarea {
  width: 100%; padding: 0.85em 1em; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 3px color-mix(in oklch, var(--volt) 25%, transparent); }
.field textarea { resize: vertical; min-height: 92px; }
.field.has-error input { border-color: var(--waste); }
.field .err { color: oklch(0.75 0.13 30); font-size: 0.8rem; min-height: 0; }
fieldset.field { border: 0; margin: 0 0 1rem; padding: 0; min-width: 0; }
.picks { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.picks label { position: relative; cursor: pointer; }
.picks input { position: absolute; opacity: 0; pointer-events: none; }
.picks span { display: inline-block; padding: 0.5em 0.95em; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: var(--step--1); font-weight: 600; color: var(--ink-2); transition: all 0.2s; }
.picks label:hover span { border-color: var(--ink-3); }
.picks input:checked + span { background: var(--volt); border-color: var(--volt); color: var(--volt-ink); }
.picks input:focus-visible + span { outline: 3px solid var(--volt); outline-offset: 2px; }
.form .btn { width: 100%; justify-content: center; margin-top: 0.5rem; font-size: var(--step-1); }
.form__fine { margin-top: 0.9rem; font-size: 0.8rem; color: var(--ink-3); text-align: center; }
.form__done { text-align: center; padding: 2.5rem 0.5rem; }
.form__done svg { width: 64px; height: 64px; margin: 0 auto 1rem; color: var(--volt); }
.form__done h3 { font-size: var(--step-2); }
.form__done p { color: var(--ink-2); margin-top: 0.6rem; }
@media (max-width: 900px) { .audit__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) 0 2rem; background: var(--bg); }
.foot__big { font-size: clamp(2.6rem, 9vw, 7.5rem); font-weight: 900; font-stretch: 125%; letter-spacing: -0.035em; line-height: 0.9; }
.foot__big em { font-style: normal; color: var(--volt); }
.foot__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 2rem; margin-top: 3rem; font-size: var(--step--1); }
.foot__grid h4 { margin: 0 0 0.75rem; font-size: var(--step--1); color: var(--ink-3); font-weight: 650; }
.foot__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.foot__grid a { text-decoration: none; color: var(--ink-2); }
.foot__grid a:hover { color: var(--volt); }
.foot__grid address { font-style: normal; color: var(--ink-2); line-height: 1.5; }
.foot__grid address + address { margin-top: 0.8rem; }
.foot__grid address b { color: var(--ink); display: block; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-3); }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- mobile action bar ---------- */
.bar {
  position: fixed; left: 0.6rem; right: 0.6rem; bottom: 0.6rem; z-index: var(--z-bar);
  display: none; grid-template-columns: 1fr 1fr; gap: 0.5rem;
  padding: 0.5rem; border-radius: 999px;
  background: color-mix(in oklch, var(--bg-2) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  transform: translateY(140%); transition: transform 0.5s var(--ease);
}
.bar .btn { justify-content: center; padding: 0.8em 1em; font-size: 0.95rem; }
.bar.is-on { transform: none; }
@media (max-width: 760px) { .bar { display: grid; } .foot { padding-bottom: 6rem; } }

/* ---------- sort story (pinned scene) ---------- */
.story { position: relative; background: var(--bg); }
.story__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.story__pin canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.story__copy { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-block: clamp(5.5rem, 12vh, 8rem) clamp(2.5rem, 8vh, 4.5rem); pointer-events: none; }
.story__count { margin: 0; font-size: clamp(3rem, 2rem + 6vw, 6rem); font-weight: 900; font-stretch: 125%; letter-spacing: -0.035em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.story__count #story-unit { display: block; font-size: var(--step-1); font-weight: 650; font-stretch: 100%; letter-spacing: 0; color: var(--ink-2); margin-top: 0.6rem; }
.story__caps { list-style: none; margin: 0; padding: 0; display: grid; max-width: min(36vw, 32rem); }
@media (max-width: 760px) { .story__caps { max-width: none; } }
.in-story .bar { transform: translateY(140%); }
.foot { overflow: clip; }
.feed-note__pin { display: none; }
.feed-pinned .feed-note__pin { display: inline; }
.feed-pinned .feed-note__swipe { display: none; }
.cap { grid-area: 1 / 1; font-size: var(--step-3); font-weight: 800; font-stretch: 115%; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; opacity: 0; transform: translateY(16px); filter: blur(6px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease), filter 0.5s var(--ease); }
.cap.is-on { opacity: 1; transform: none; filter: none; }
.btn.is-mag { transition: box-shadow 0.35s var(--ease), background-color 0.2s; }
.story__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 1.25rem; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.story__progress i { display: block; height: 100%; width: 100%; background: var(--volt); transform-origin: left; transform: scaleX(0); }
/* no motion / no script: the story collapses to a short static scene */
.story.is-static .story__pin { height: auto; min-height: 80vh; }
.story.is-static .cap { position: static; opacity: 1; grid-area: auto; font-size: var(--step-2); margin-top: 0.5rem; }
@media (max-width: 760px) {
  .story__copy { justify-content: flex-start; gap: 1rem; }
  .story__caps { margin-top: auto; }
}

/* ---------- feed as pinned horizontal track (wide screens) ---------- */
.feed-pinned .feed-sec { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 5.5rem 3rem; }
.feed-pinned .feed { overflow: visible; width: max-content; cursor: default; padding-right: 30vw; will-change: transform; }
.feed-pinned .feed-ctrl { display: none; }
.feed-pinned .post { will-change: transform; }

/* ---------- intro (hidden only while the opening plays; head script removes the class) ---------- */
.intro .hero h1, .intro .hero__lede, .intro .hero__cta, .intro .hero__proof, .intro .sorter { visibility: hidden; }

/* ---------- reveal (enhances visible default) ---------- */
.js .rv { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .rv.is-pre { opacity: 0; transform: translateY(24px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .rv.is-pre { opacity: 1; transform: none; }
}
