/* Comps.gg marketing site. Built from the Honcho homepage design (Figma, 8 Oct 2026).
   Tokens mirror comps-org/brand/tokens.json; keep them in step. */

@font-face { font-family: 'Unbounded'; font-weight: 500; font-display: swap; src: url('../fonts/unbounded-500.woff2') format('woff2'); }
@font-face { font-family: 'Funnel Sans'; font-weight: 400 700; font-display: swap; src: url('../fonts/funnel-sans-var.woff2') format('woff2'); }
@font-face { font-family: 'Fragment Mono'; font-weight: 400; font-display: swap; src: url('../fonts/fragment-mono-400.woff2') format('woff2'); }

:root {
  --voltage-100: #E3DFFF;
  --voltage-200: #C8BFFF;
  --voltage-400: #957CFF;
  --voltage-500: #7E57FF;
  --voltage-700: #5B0FFF;
  --night-shift-200: #C8C4D8;
  --night-shift-600: #655688;
  --night-shift-700: #4C4068;
  --night-shift-800: #342C49;
  --night-shift-900: #1E182C;
  --night-shift-950: #140F1F;
  --uptime-500: #55FFCC;
  --live-500: #2AFF6B;
  --lint-50: #FCFCFC;
  --lint-100: #F5F5F5;
  --lint-200: #D7D7D7;
  --lint-300: #B9B9B9;
  --lint-400: #9B9B9B;
  --lint-600: #666666;
  --lint-700: #4B4B4B;
  --lint-950: #111111;
  --bang: #FF1B63;

  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Funnel Sans', system-ui, sans-serif;
  --font-mono: 'Fragment Mono', ui-monospace, monospace;

  --h1: clamp(36px, 4.45vw, 64px);
  --h2: clamp(30px, 3.06vw, 44px);
  --lead: clamp(18px, 1.53vw, 22px);
  --gutter: 20px;
  --section-pad: clamp(72px, 9.7vw, 140px);
  --section-pad-sm: clamp(64px, 7.8vw, 112px);

  /* Section theme, overridden by .theme-* */
  --bg: var(--lint-100);
  --surface: var(--lint-50);
  --line: var(--lint-200);
  --heading: var(--night-shift-950);
  --text: var(--night-shift-700);
  --lead-colour: var(--night-shift-600);
  --muted: var(--lint-600);
  --accent: var(--voltage-700);
  --eyebrow: var(--voltage-700);
}

.theme-dark {
  --bg: var(--night-shift-950);
  --surface: var(--night-shift-950);
  --line: var(--night-shift-800);
  --heading: var(--lint-50);
  --text: var(--lint-200);
  --lead-colour: var(--lint-200);
  --muted: var(--lint-200);
  --accent: var(--live-500);
  --eyebrow: var(--lint-100);
}

.theme-purple {
  --bg: var(--voltage-700);
  --surface: var(--voltage-700);
  --line: var(--voltage-500);
  --heading: var(--lint-50);
  --text: var(--lint-50);
  --lead-colour: var(--lint-50);
  --muted: var(--voltage-100);
  --accent: var(--live-500);
  --eyebrow: var(--lint-50);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--night-shift-950);
  color: var(--text);
  font: 400 18px/1.5 var(--font-body);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--voltage-700); color: var(--lint-50); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--voltage-500); outline-offset: 3px; }
.theme-dark :focus-visible, .theme-purple :focus-visible { outline-color: var(--live-500); }
.icon { width: 1em; height: 1em; flex: none; fill: currentColor; }

/* ---------- Bands, the container and the blueprint grid ---------- */

.band { background: var(--bg); color: var(--text); padding-inline: var(--gutter); }
.band.lined { border-block: 1px solid var(--line); }
.band.lined + .band.lined { border-top: 0; }
.wrap { max-width: 1200px; margin-inline: auto; }
.wrap.lined { border-inline: 1px solid var(--line); }
.spacer { height: var(--section-pad-sm); }
.spacer.sm { height: 32px; }
.spacer .wrap { height: 100%; border: 1px solid var(--line); border-block-width: 0; }
.spacer.boxed .wrap { border-block-width: 1px; }

/* ---------- Type ---------- */

.h1, .h2, .stat { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.04em; color: var(--heading); }
.h1 { font-size: var(--h1); line-height: 1.08; }
.h2 { font-size: var(--h2); line-height: 1.12; }
.stat { font-size: 44px; line-height: 1.1; }
.lead { font-size: var(--lead); line-height: 1.32; letter-spacing: -0.02em; color: var(--lead-colour); text-wrap: pretty; }
.h4 { font: 500 24px/1.22 var(--font-body); letter-spacing: -0.04em; color: var(--accent-title, var(--accent)); }
.body { font-size: 18px; line-height: 1.5; letter-spacing: -0.02em; color: var(--text); text-wrap: pretty; }
.small { font-size: 15px; line-height: 1.3; letter-spacing: 0; }
.mono { font: 400 12px/1.2 var(--font-mono); letter-spacing: 0; text-transform: uppercase; }

.eyebrow { display: inline-block; font: 400 12px/1.4 var(--font-mono); text-transform: uppercase; color: var(--eyebrow); }
.eyebrow::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 10px; vertical-align: 1px; background: var(--live-500); }
.label { display: flex; align-items: center; gap: 12px; font: 400 12px/1.2 var(--font-mono); text-transform: uppercase; color: var(--muted); }
.label .icon { width: 18px; height: 16px; color: var(--label-icon, currentColor); }
.label b { font-weight: 400; color: var(--heading); }

.section-head { display: grid; gap: 24px; justify-items: start; }
.section-head .titles { display: grid; gap: 16px; max-width: 846px; }
.section-head .lead { max-width: 598px; }
.section-head.center { justify-items: center; text-align: center; }
.section-head.center .titles { justify-items: center; }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 41px; padding: 10px 14px 12px;
  font: 600 16px/1.2 var(--font-body); letter-spacing: 0; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--voltage-700); color: var(--lint-50); }
.btn-primary:hover { background: #4A00E8; }
.btn-outline { border-color: var(--voltage-700); color: var(--night-shift-950); background: transparent; }
.btn-outline:hover { background: var(--voltage-100); }
.btn-outline .icon { width: 14px; height: 14px; color: var(--voltage-700); }
.btn-green { background: var(--live-500); color: var(--night-shift-950); }
.btn-green:hover { background: #7DFFA2; }
.btn-block { width: 100%; }

.more { display: inline-flex; align-items: center; gap: 8px; font: 400 12px/1.2 var(--font-mono); text-transform: uppercase; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }
.more .icon { width: 9px; height: 9px; transition: transform .2s; }
.more.go .icon { transform: rotate(-90deg); width: 9px; height: 9px; }
.more.go:hover { text-decoration-thickness: 2px; }
.more.out .icon { transform: none; }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 50; background: var(--lint-50); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--lint-200); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 57px; padding-inline: clamp(16px, 3.9vw, 56px); }
.logo { display: block; width: 143px; }
.logo img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav ul { display: flex; gap: 16px; }
.nav a:not(.btn) { font-size: 15px; letter-spacing: 0; color: var(--night-shift-950); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--voltage-700); }
.menu-toggle { display: none; width: 41px; height: 41px; border: 1px solid var(--lint-200); background: none; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle span { position: relative; width: 16px; height: 2px; background: var(--night-shift-950); }
.menu-toggle span::before, .menu-toggle span::after { content: ''; position: absolute; left: 0; width: 16px; height: 2px; background: var(--night-shift-950); transition: transform .2s; }
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { background: var(--lint-50); padding: 80px var(--gutter); }
.hero .inner { display: grid; justify-items: center; gap: 40px; text-align: center; }
.hero .copy { display: grid; justify-items: center; gap: 24px; }
.hero .titles { display: grid; justify-items: center; gap: 16px; }
.hero .h1 { max-width: 846px; }
.hero .lead { max-width: 553px; }
.hero .ctas { display: grid; justify-items: center; gap: 24px; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.meta { font-size: 15px; letter-spacing: 0; color: var(--night-shift-950); }
.meta b { font-weight: 600; }
.meta .dot { margin-inline: 8px; }

.showcase { position: relative; background: var(--night-shift-950); padding: clamp(40px, 7.7vw, 111px) var(--gutter) 0; overflow: hidden; }
.showcase canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none; }
.showcase .shot { position: relative; display: block; max-width: 993px; margin-inline: auto; border: 1px solid var(--night-shift-800); border-bottom: 0; cursor: none; }
.showcase .shot img { width: 100%; height: auto; }
.showcase .shot { background: var(--night-shift-900); }
.showcase .cursor-tag {
  position: absolute; left: 0; top: 0; width: 82px; height: 82px; padding: 10px;
  display: grid; place-items: center; text-align: center;
  background: var(--live-500); color: var(--night-shift-950);
  font: 600 18px/1.25 var(--font-body); letter-spacing: 0.01em;
  pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6);
  transition: opacity .15s, transform .15s;
}
.showcase .shot:hover .cursor-tag, .showcase .shot:focus-visible .cursor-tag { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none) {
  .showcase .shot { cursor: pointer; }
  .showcase .cursor-tag { opacity: 1; transform: none; left: auto; right: 12px; top: 12px; width: auto; height: auto; padding: 8px 10px; font-size: 14px; }
}

/* ---------- Partners ---------- */

.partners { padding: 32px 0 40px; display: grid; gap: 32px; }
.partners h2 { text-align: center; font: 400 16px/1.2 var(--font-mono); text-transform: uppercase; color: var(--lint-50); }
.logo-grid .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.logo-grid li { display: grid; place-items: center; height: 112px; padding: 16px 32px; border-right: 1px solid var(--line); }
.logo-grid li:first-child { border-left: 1px solid var(--line); }
.logo-grid img { max-height: 48px; width: auto; object-fit: contain; }
.logo-grid .partner img { max-height: 36px; }
/* The design runs every logo through an exposure/desaturate filter: white on purple */
.logo-grid img, .quote .foot img { filter: grayscale(1) brightness(0) invert(1); }
.logo-grid img.soft, .quote .foot img.soft { filter: grayscale(1) brightness(1.7) contrast(1.3); }
.logo-grid img.raw { filter: none; }
/* Client logos are links and show their own colours on hover; partner logos stay white
   (Cashflows, DNA and Bulletproof are dark artwork that disappears on purple) */
.logo-grid a { display: grid; place-items: center; width: 100%; height: 100%; }
.logo-grid a img { transition: filter .25s ease, transform .25s ease; }
.logo-grid a:hover img, .logo-grid a:focus-visible img { filter: none; transform: scale(1.04); }
.partners .and-more { margin-top: -12px; text-align: center; font: 400 16px/1.2 var(--font-mono); text-transform: uppercase; color: var(--lint-50); }

/* ---------- Generic card rows ---------- */

.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); background: var(--surface); }
.card { display: grid; align-content: start; gap: 24px; padding: 60px 40px; border-right: 1px solid var(--line); }
.card:last-child { border-right: 0; }
.card .copy { display: grid; gap: 12px; }
.card .label .icon { color: var(--accent); }

.split { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); }
.split .copy { display: grid; align-content: center; gap: 24px; padding: 64px; }
/* A dark panel inside a light row: keep the row's light grid lines */
.split > .copy.theme-dark { background: var(--night-shift-950); }
.split .copy .titles { display: grid; gap: 16px; }
.split .media { aspect-ratio: 1; overflow: hidden; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split .media.left { order: -1; }
.about-panel { background: var(--surface); }
.about-panel .copy { display: grid; gap: 24px; max-width: 760px; padding: 96px 64px; }
.about-panel .titles { display: grid; gap: 16px; }

/* ---------- Problems ---------- */

.problems-head { padding: var(--section-pad-sm) var(--gutter) 80px; }

/* ---------- Case-study tiles ---------- */

.tiles-band { position: relative; overflow: hidden; }
.tiles-band canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none; }
.tiles { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.tile {
  --heading: var(--lint-50); --text: var(--lint-50); --accent: var(--live-500);
  display: grid; align-content: end; gap: 20px; min-height: 368px; padding: 80px 40px 60px;
  background: var(--tile-bg) var(--tile-img, none) center / cover no-repeat; image-rendering: pixelated;
  border-right: 1px solid var(--lint-200); color: var(--lint-50);
}
.tile:last-child { border-right: 0; }
.tile.purple { --tile-bg: var(--voltage-700); }
.tile.dark { --tile-bg: var(--night-shift-950); }
.tile .figure { display: flex; align-items: center; gap: 12px; }
.tile .figure .icon { width: 31px; height: 34px; transform: rotate(180deg); }
.tile .avatar { width: 57px; height: 57px; image-rendering: auto; }
.tile .body { color: var(--lint-50); }
.tile .copy { display: grid; gap: 20px; image-rendering: auto; }

/* ---------- Green band ---------- */

.band-green { background: var(--uptime-500) url('../home/band-green.webp') center / cover no-repeat; image-rendering: pixelated; padding: 120px var(--gutter); }
.band-green .inner { display: grid; justify-items: center; gap: 24px; text-align: center; }
.band-green .h2 { max-width: 762px; color: var(--night-shift-950); image-rendering: auto; }

/* ---------- How it works ---------- */

.how-head { padding: var(--section-pad) var(--gutter) 0; }
.steps { margin: 0; padding: var(--section-pad-sm) 0 0; list-style: none; }
.step .split { background: var(--night-shift-950); }
.step .copy { gap: 32px; }
.step .media { border-left: 1px solid var(--line); }
.steps-progress { display: none; }
/* Step 2: the brand card floats over a live confetti canvas instead of a still */
.step .media.live { position: relative; display: grid; place-items: center; background: var(--night-shift-950); }
.step .media.live canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.step .media.live img { position: relative; width: 87%; height: auto; object-fit: contain; pointer-events: none; }

/* Pinned steps: the row holds still under the header and the steps swap as you scroll.
   Only where a 600px row fits; phones and short screens keep the stacked rows. */
@media (min-width: 901px) and (min-height: 700px) {
  /* --view: the screen below the header. The stage is the row plus the design's
     112px above and below (less on short screens), centred in --view while pinned. */
  .steps-scroll {
    --view: calc(100vh - 57px);
    --row: min(600px, calc(var(--view) - 128px));
    --pad: min(112px, calc((var(--view) - var(--row)) / 2));
    --stage-h: calc(var(--row) + 2 * var(--pad));
    height: calc(var(--stage-h) + 210vh);
  }
  .steps-stage { position: sticky; top: calc(57px + (var(--view) - var(--stage-h)) / 2); height: var(--stage-h); display: grid; align-items: center; }
  .steps { display: grid; padding: 0; }
  .steps > .step { grid-area: 1 / 1; background: transparent; }
  .steps > .step:nth-child(1) { z-index: 1; }
  .steps > .step:nth-child(2) { z-index: 2; }
  .steps > .step:nth-child(3) { z-index: 3; }
  .step .split { height: var(--row); background: transparent; }
  .step .media { aspect-ratio: auto; height: var(--row); }
  .step .copy > * { transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
  .step:not(.is-active) .copy > * { opacity: 0; transform: translateY(24px); pointer-events: none; }
  .step.is-past .copy > * { transform: translateY(-24px); }
  .step .copy > :nth-child(2) { transition-delay: .06s; }
  /* New image wipes up in chunky steps, on brand with the pixel language */
  .step .media img { clip-path: inset(100% 0 0 0); transition: clip-path .6s steps(10, end); }
  .step.is-active .media img, .step.is-past .media img { clip-path: inset(0); }
  .steps > .step:first-child .media img { clip-path: inset(0); }
  /* The live media has its own backdrop, so the whole panel wipes, not just the image */
  .step .media.live { clip-path: inset(100% 0 0 0); transition: clip-path .6s steps(10, end); }
  .step.is-active .media.live, .step.is-past .media.live { clip-path: inset(0); }
  .step .media.live img { clip-path: none; transition: none; }
  .steps-progress {
    position: absolute; z-index: 4; display: flex; gap: 8px;
    left: calc(max(var(--gutter), (100% - 1200px) / 2) + 64px);
    bottom: calc(var(--pad) + 48px);
  }
  .steps-progress button { display: grid; gap: 8px; width: 48px; padding: 6px 0; background: none; border: 0; cursor: pointer; text-align: left; color: var(--night-shift-600); font: 400 12px/1 var(--font-mono); }
  .steps-progress i { display: block; height: 2px; background: var(--night-shift-800); position: relative; overflow: hidden; }
  .steps-progress i::after { content: ''; position: absolute; inset: 0; background: var(--live-500); transform: scaleX(var(--p, 0)); transform-origin: left; }
  .steps-progress button[aria-current="step"] { color: var(--lint-50); }
  .steps-progress button:hover { color: var(--lint-200); }
}
.pixel-strip { height: clamp(48px, 8.9vw, 128px); background: url('../home/band-pixels.webp') center / cover no-repeat; image-rendering: pixelated; }

/* ---------- Features ---------- */

.features-head { padding: var(--section-pad) var(--gutter) var(--section-pad-sm); }
.feature-row .wrap { display: grid; grid-template-columns: var(--split, 789fr 379fr); gap: 32px; }
.feature {
  --label-icon: var(--accent);
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-block: 0; overflow: hidden;
}
.feature.theme-dark { --surface: var(--night-shift-950); --line: var(--lint-200); }
.feature.theme-purple { --line: var(--lint-200); }
.feature.green { --surface: var(--live-500); --heading: var(--night-shift-950); --text: var(--lint-950); --muted: var(--lint-950); --accent: var(--night-shift-950); --label-icon: var(--night-shift-950); }
.feature .content { display: grid; gap: 24px; padding: 40px; }
.feature .copy { display: grid; gap: 12px; }
.feature .h4 { color: var(--accent-title, var(--heading)); }
.feature.light .h4 { --accent-title: var(--voltage-700); }
.feature.light .body { color: var(--lint-700); }
.feature .num { position: absolute; top: 0; right: 0; padding: 10px; font: 400 12px/1.2 var(--font-mono); background: var(--live-500); color: var(--night-shift-950); z-index: 2; }
.feature.green .num { background: var(--night-shift-950); color: var(--lint-50); }
.feature .visual { margin-top: auto; }
.feature .visual img { width: 100%; height: auto; }
.included { display: grid; gap: 8px; margin: 0; padding: 0; font-size: 15px; line-height: 1.35; letter-spacing: 0; color: var(--text); }
.included li { position: relative; padding-left: 18px; }
.included li::before { content: ''; position: absolute; left: 0; top: .45em; width: 6px; height: 6px; background: var(--accent); }
.included[hidden] { display: none; }
.more[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* Mock: cohort */
.cohort { margin: auto 41px 0 0; padding: 18px 40px 10px; background: var(--night-shift-800); color: var(--night-shift-200); }
.cohort h4 { margin: 0 0 16px; font: 400 18px/1.5 var(--font-body); letter-spacing: -0.04em; }
.cohort ul { display: grid; gap: 12px; }
.cohort li { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; font-size: 15px; letter-spacing: -0.03em; }
.cohort li span:first-child { display: flex; align-items: center; gap: 8px; }
.cohort li span:first-child::before { content: ''; width: 6px; height: 6px; background: var(--c); }
.cohort li b { font-weight: 700; }
.cohort .bar { grid-column: 1 / -1; height: 4px; background: rgba(200, 196, 216, .25); }
.cohort .bar i { display: block; height: 100%; width: var(--w); background: var(--c); transform-origin: left; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.cohort li:nth-child(2) .bar i { transition-delay: .12s; }
.cohort li:nth-child(3) .bar i { transition-delay: .24s; }
.cohort li:nth-child(4) .bar i { transition-delay: .36s; }
.cohort.in-view .bar i { transform: scaleX(1); }

/* Mock: SMS */
.sms { position: relative; aspect-ratio: 584 / 284; background: url('../home/feat-growth-bg.webp') center / cover no-repeat; image-rendering: pixelated; display: grid; align-items: center; padding: 0 40px; }
.sms .row { display: flex; gap: 14px; align-items: flex-start; image-rendering: auto; }
.sms .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--night-shift-950); flex: none; margin-top: 4px; }
.sms p { background: var(--lint-50); color: var(--night-shift-950); padding: 10px 15px; border-radius: 12px; font-size: clamp(16px, 1.53vw, 22px); line-height: 1.32; letter-spacing: -0.03em; }
.sms p span { color: var(--voltage-700); }

/* Mock: spending limit */
.limit { margin-top: auto; display: flex; align-items: center; gap: 28px; width: min(583px, 100%); padding: 40px; background: var(--lint-50); border: 1px solid var(--lint-200); border-left: 0; border-bottom: 0; }
.limit .msg { display: grid; gap: 17px; flex: 1; }
.limit .msg strong { font: 500 30px/1.24 var(--font-display); letter-spacing: -0.04em; color: var(--night-shift-950); }
.limit .ring { position: relative; width: 156px; height: 156px; flex: none; display: grid; place-items: center; }
.limit .ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.limit .ring .arc { stroke-dashoffset: 450.5; transition: stroke-dashoffset 1.6s cubic-bezier(.3, .6, .2, 1); }
.limit.in-view .ring .arc { stroke-dashoffset: 4.5; }
.limit .ring b { font: 500 35px/1 var(--font-body); letter-spacing: -0.04em; color: var(--voltage-700); }

/* ---------- Pricing ---------- */

.pricing-head { padding: var(--section-pad) var(--gutter) var(--section-pad-sm); }
.pricing-band { background: var(--night-shift-950) url('../home/pricing-bg.webp') center / cover no-repeat; image-rendering: pixelated; border-top: 1px solid var(--night-shift-800); }
.pricing-band > * { image-rendering: auto; }
.tabs { background: var(--night-shift-950); border-bottom: 1px solid var(--night-shift-800); padding-inline: var(--gutter); }
.tabs .wrap { display: grid; grid-template-columns: repeat(5, 1fr); border-inline: 1px solid var(--night-shift-800); }
.tab {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 8px;
  min-height: 59px; padding: 12px 16px; border: 0; border-right: 1px solid var(--night-shift-800);
  background: transparent; color: var(--lint-50); cursor: pointer; text-align: center;
}
.tab:last-child { border-right: 0; }
.tab b { font: 700 18px/1.3 var(--font-body); letter-spacing: -0.01em; }
.tab span { font-size: 15px; color: var(--night-shift-200); letter-spacing: 0; }
.tab[aria-selected="true"] { background: var(--voltage-700); }
.tab[aria-selected="true"] b::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 10px; vertical-align: 2px; background: var(--live-500); }
.tab[aria-selected="true"] span { color: var(--voltage-200); }
.tab:hover:not([aria-selected="true"]) { background: var(--night-shift-900); }
.plans { padding: 0 var(--gutter) 112px; }
.plans .wrap { display: grid; grid-template-columns: 1fr 1fr; }
.plan { --accent: var(--voltage-700); background: var(--lint-50); padding: 64px 64px 56px; display: grid; align-content: start; gap: 24px; }
.plan .name { display: grid; gap: 8px; }
.plan .name h3 { font: 500 32px/1.25 var(--font-body); letter-spacing: -0.04em; color: var(--voltage-700); }
.plan .name p { color: var(--lint-600); }
.price { display: flex; align-items: baseline; gap: 2px; color: var(--lint-950); }
.price strong { font: 500 44px/1.24 var(--font-display); letter-spacing: -0.04em; }
.price span { font-size: 18px; color: var(--lint-700); }
.ticks { display: grid; gap: 8px; font-size: 15px; letter-spacing: 0; color: var(--night-shift-950); }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks .icon { width: 12px; height: 9px; color: var(--voltage-700); }
.plan .actions { display: grid; gap: 16px; justify-items: center; margin-top: 8px; }
.plan .vat { font-size: 13px; color: var(--lint-600); letter-spacing: 0; }
.calc { background: rgba(20, 15, 31, .94); padding: 64px 48px 40px; display: grid; align-content: start; gap: 24px; color: var(--lint-50); }
.calc h3 { font: 500 32px/1.25 var(--font-body); letter-spacing: -0.04em; }
.calc h3 span { color: var(--lint-300); }
.calc p { color: var(--lint-200); }
.slider { display: grid; gap: 12px; margin-top: 8px; }
.slider .row { display: flex; justify-content: space-between; font-size: 15px; letter-spacing: 0; }
.slider output { font-weight: 700; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(to right, var(--voltage-700) var(--fill, 30%), var(--lint-50) var(--fill, 30%)); }
input[type="range"]::-moz-range-track { height: 6px; background: var(--lint-50); }
input[type="range"]::-moz-range-progress { height: 6px; background: var(--voltage-700); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 50%; background: var(--voltage-700); border: 3px solid var(--lint-50); box-shadow: 0 0 0 1px var(--voltage-700); }
input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--voltage-700); border: 3px solid var(--lint-50); box-shadow: 0 0 0 1px var(--voltage-700); }
.compare { display: grid; grid-template-columns: 1fr 1fr; background: var(--night-shift-800); margin-top: 16px; }
.compare > div { display: grid; gap: 6px; padding: 24px 18px; }
.compare > div + div { border-left: 1px solid var(--night-shift-950); }
.compare dt { font-weight: 600; font-size: 15px; letter-spacing: 0; }
.compare dd { margin: 0; font-size: 15px; color: var(--lint-200); letter-spacing: 0; }
.compare .fig { font: 500 22px/1.24 var(--font-display); letter-spacing: 0; color: var(--bang); }
.compare .fig.zero { color: var(--live-500); }
.calc .foot { margin-top: auto; padding-top: 32px; font-size: 12px; line-height: 1.4; color: var(--lint-300); letter-spacing: 0; }

/* ---------- Stories ---------- */

.stories { position: relative; background: var(--voltage-700) url('../home/stories-bg.webp') center / cover no-repeat; image-rendering: pixelated; overflow: hidden; }
.stories > * { image-rendering: auto; }
.stories-head { position: relative; padding: var(--section-pad) var(--gutter) 80px; }
.stories-head .collage { position: absolute; top: 0; right: 0; width: min(504px, 35vw); }
.carousel { border-block: 1px solid var(--voltage-500); padding-left: max(var(--gutter), calc((100% - 1200px) / 2)); }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: min(600px, 85vw); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-left: 1px solid var(--voltage-500); }
.track::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px; min-height: 356px; padding: 56px 40px 40px; border-right: 1px solid var(--voltage-500); }
.quote blockquote { font: 500 clamp(19px, 1.67vw, 24px)/1.25 var(--font-body); letter-spacing: -0.04em; color: var(--lint-50); }
.quote figcaption { font-size: 15px; color: var(--voltage-100); letter-spacing: 0; }
.quote .foot { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.quote .foot img { height: 46px; width: auto; max-width: 140px; object-fit: contain; }
.quote .more { color: var(--lint-50); }
 /* The grid carries on under the quotes: container lines down both sides, and
    the arrows sit in the top-left corner sharing the grid's lines. */
.carousel-nav { padding-inline: var(--gutter); }
.carousel-nav .wrap { display: flex; align-items: flex-start; height: clamp(72px, 7.8vw, 112px); border-inline: 1px solid var(--voltage-500); }
.carousel-nav button { width: 56px; height: 56px; display: inline-grid; place-items: center; background: transparent; border: 0; border-right: 1px solid var(--voltage-500); border-bottom: 1px solid var(--voltage-500); color: var(--lint-50); cursor: pointer; transition: background-color .15s; }
.carousel-nav button:hover:not(:disabled) { background: rgba(252, 252, 252, .08); }
.carousel-nav button:disabled { color: var(--voltage-400); cursor: default; }
.carousel-nav .icon { width: 11px; height: 19px; }
.stories-bottom { height: 82px; }

/* ---------- Verified ---------- */

.verified { background: var(--night-shift-950) url('../home/verified-bg.webp') top center / 100% auto no-repeat; image-rendering: pixelated; }
.verified > * { image-rendering: auto; }
.verified-head { padding: var(--section-pad) var(--gutter) var(--section-pad-sm); }
.verified .cards { --surface: var(--night-shift-900); }
.verified .card { border-bottom: 1px solid var(--line); }
.verified .card .h4, .about-cards .h4.plain { color: var(--lint-50); }
.verified .card .body { color: var(--lint-200); }

/* ---------- FAQ ---------- */

.faq-head { padding: var(--section-pad-sm) var(--gutter) var(--section-pad-sm); }
.faq-head a { color: var(--live-500); text-underline-offset: 3px; }
.faq-head a:hover { text-decoration-thickness: 2px; }
.faq .wrap.narrow { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 40px 24px 30px; cursor: pointer; list-style: none; font: 500 clamp(19px, 1.67vw, 24px)/1.25 var(--font-body); letter-spacing: -0.04em; color: var(--lint-50); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 11px; height: 19px; transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(90deg); }
.faq summary:hover { color: var(--live-500); }
.faq .answer { padding: 0 64px 28px 30px; color: var(--lint-200); }
.faq .answer a { color: var(--live-500); }
.faq .show-more { display: flex; justify-content: center; padding: 20px; border-bottom: 1px solid var(--line); }
.faq .show-more .more { color: var(--live-500); }
.faq .extra[hidden] { display: none; }

/* ---------- Final CTA and footer ---------- */

.cta { background: var(--night-shift-950) url('../home/cta-bg.webp') top center / 100% auto no-repeat; image-rendering: pixelated; padding: var(--section-pad) var(--gutter) 40px; }
.cta > * { image-rendering: auto; }
.cta .inner { display: grid; justify-items: center; gap: 24px; text-align: center; }
.cta .h1 { max-width: 846px; }
.cta .lead { max-width: 560px; }
.cta .meta { color: var(--lint-200); }
.cta .meta b { color: var(--lint-50); }
.lead-form { display: grid; gap: 12px; width: min(480px, 100%); margin-top: 16px; }
.field { display: flex; align-items: baseline; gap: 6px; background: var(--lint-100); padding: 8px 10px 9px; cursor: text; }
.field span { flex: none; color: var(--voltage-700); font-size: 18px; }
.field input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 18px/1.5 var(--font-body); letter-spacing: -0.01em; color: var(--night-shift-950); outline: none; padding: 0; }
.field input::placeholder { color: var(--lint-400); }
.field:focus-within { outline: 2px solid var(--live-500); outline-offset: 2px; }
.lead-form .btn { min-height: 44px; margin-top: 4px; }
.form-note { font-size: 15px; letter-spacing: -0.01em; color: var(--lint-200); max-width: 340px; }
.form-note a { color: var(--lint-50); font-weight: 600; text-underline-offset: 3px; }
.form-note a:hover { text-decoration-thickness: 2px; }
.form-status { min-height: 1.4em; font-size: 15px; color: var(--lint-200); }
.form-status.error { color: #FF8A9A; }
.form-status a { color: var(--lint-50); }
.field-wrap { display: grid; gap: 6px; text-align: left; }
.field-error { margin: 0; font-size: 14px; letter-spacing: 0; color: #FF8A9A; }
.field-error[hidden] { display: none; }
.field[data-invalid] { outline: 2px solid #FF8A9A; outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form .btn[disabled] { opacity: .7; cursor: progress; }
.form-done { display: grid; justify-items: center; gap: 12px; width: min(480px, 100%); margin-top: 16px; padding: 32px 28px; background: rgba(20, 15, 31, .75); border: 1px solid var(--night-shift-800); outline: none; }
.form-done[hidden], .lead-form[hidden] { display: none; }
.done-title { font: 500 28px/1.15 var(--font-display); letter-spacing: -0.04em; color: var(--lint-50); }
.done-body { color: var(--lint-200); }
.done-body b { color: var(--lint-50); font-weight: 600; }
.sign { display: grid; justify-items: center; gap: 16px; margin-top: 48px; }
.sign blockquote { font: 500 24px/1.25 var(--font-body); letter-spacing: -0.04em; color: var(--lint-50); }
.sign figcaption { display: inline-flex; align-items: center; gap: 16px; padding: 10px 20px; background: rgba(20, 15, 31, .6); font-size: 15px; color: var(--voltage-100); letter-spacing: 0; }
.sign figcaption img { width: 25px; height: 25px; }

.wordmark { background: var(--night-shift-950); padding: clamp(48px, 7vw, 100px) 0 clamp(32px, 4vw, 56px); overflow: hidden; }
.wordmark img { width: 100%; height: auto; }
.site-footer { background: var(--night-shift-950); border-top: 1px solid var(--night-shift-800); padding-inline: var(--gutter); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 28px 30px; border-inline: 1px solid var(--night-shift-800); font-size: 12px; line-height: 1.4; color: var(--lint-200); letter-spacing: 0; }
.site-footer ul { display: flex; gap: 32px; }
.site-footer a { color: var(--lint-50); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.site-footer a:hover { color: var(--live-500); }
.site-footer .icon { width: 9px; height: 9px; }

/* ---------- Customer stories (/customers/) ---------- */

.page-hero { background: var(--lint-50); padding: clamp(48px, 6vw, 88px) var(--gutter) clamp(56px, 7vw, 104px); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero .copy { display: grid; justify-items: start; gap: 24px; }
.page-hero .titles { display: grid; gap: 16px; }
.page-hero .h1 { max-width: 820px; font-size: clamp(34px, 3.9vw, 56px); }
.page-hero .lead { max-width: 640px; }
.page-hero.center .wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.page-hero.center .copy, .page-hero.center .titles { justify-items: center; }
.page-hero.center .h1 { font-size: var(--h1); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font: 400 12px/1.4 var(--font-mono); text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--lint-400); }
.crumbs a { color: var(--voltage-700); text-underline-offset: 3px; }

.profile { background: var(--night-shift-950); border: 1px solid var(--night-shift-800); }
.profile img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.profile dl { margin: 0; }
.profile dl > div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--night-shift-800); font-size: 15px; line-height: 1.4; letter-spacing: 0; }
.profile dt { font: 400 12px/1.7 var(--font-mono); text-transform: uppercase; color: var(--night-shift-200); }
.profile dd { margin: 0; color: var(--lint-50); }
.profile a { display: inline-flex; align-items: center; gap: 6px; color: var(--live-500); text-underline-offset: 3px; }
.profile a .icon { width: 9px; height: 9px; }

.story-stats .stat { font-size: clamp(30px, 3vw, 44px); color: var(--accent); overflow-wrap: anywhere; }

.story-photo { margin: 0; background: var(--surface); }
.story-photo img { width: 100%; max-height: 560px; object-fit: cover; }
.story-photo figcaption { padding: 14px 24px; border-top: 1px solid var(--line); font: 400 12px/1.4 var(--font-mono); text-transform: uppercase; color: var(--muted); }

.qa { display: grid; grid-template-columns: 5fr 7fr; background: var(--surface); border-bottom: 1px solid var(--line); }
.qa:last-child { border-bottom: 0; }
.qa .q { display: grid; align-content: start; gap: 16px; padding: 56px 40px; border-right: 1px solid var(--line); }
.qa .q .h2 { font-size: clamp(26px, 2.5vw, 36px); }
.qa blockquote { display: grid; gap: 20px; padding: 56px 64px 56px 48px; font-size: 20px; line-height: 1.55; letter-spacing: -0.02em; color: var(--night-shift-800); }
.qa blockquote p { text-wrap: pretty; }

.pull { background: var(--voltage-700) url('../home/stories-bg.webp') center / cover no-repeat; image-rendering: pixelated; }
.pull > * { image-rendering: auto; }
.pull .band { background: transparent; }
.pull figure { display: grid; justify-items: center; gap: 24px; padding: var(--section-pad-sm) clamp(24px, 6vw, 96px); text-align: center; }
.pull blockquote { max-width: 900px; text-wrap: balance; }
.pull figcaption { font-size: 15px; letter-spacing: 0; color: var(--voltage-100); }

.more-head { padding: var(--section-pad-sm) var(--gutter) 64px; }
.more-head .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.story-cards { --cols: 3; }
.story-cards.two { --cols: 2; }
.story-card { text-decoration: none; transition: background-color .15s; }
.story-card:hover { background: var(--night-shift-900); }
.story-card .who { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.story-card .who .face { width: 72px; height: 72px; object-fit: cover; }
.story-card .who .mark { height: 40px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); }
.story-card .who .mark.soft { filter: grayscale(1) brightness(1.7) contrast(1.3); }
.story-card .h4 { color: var(--lint-50); }
.story-card .more { margin-top: auto; }
.story-card:hover .more { text-decoration-thickness: 2px; }

@media (max-width: 900px) {
  .page-hero .wrap { grid-template-columns: 1fr; align-items: start; }
  .profile { max-width: 420px; }
  .qa { grid-template-columns: 1fr; }
  .qa .q { padding: 48px 32px 0; border-right: 0; }
  .qa blockquote { padding: 24px 32px 48px; }
}

@media (max-width: 640px) {
  .qa .q { padding: 40px 24px 0; }
  .qa blockquote { padding: 20px 24px 40px; font-size: 18px; }
  .profile dl > div { padding-inline: 16px; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .split .copy { padding: 48px 40px; }
  .card { padding: 48px 32px; }
  .tile { padding: 64px 28px 48px; }
  .plan { padding: 48px 40px; }
  .calc { padding: 48px 40px 32px; }
  .tabs .wrap { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tab { flex-direction: column; gap: 2px; }
  .tab span { font-size: 13px; }
}

@media (max-width: 900px) {
  .nav { position: fixed; inset: 57px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; background: var(--lint-50); border-bottom: 1px solid var(--lint-200); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--lint-200); font-size: 18px; }
  .nav .btn { margin-top: 20px; }
  .menu-toggle { display: inline-flex; }

  .cards { grid-template-columns: 1fr; }
  .card { border-right: 0; border-bottom: 1px solid var(--line); }
  .card:last-child { border-bottom: 0; }
  .cards.two-up { grid-template-columns: 1fr 1fr; }
  .cards.two-up .card { border-right: 1px solid var(--line); }
  .cards.two-up .card:nth-child(2n) { border-right: 0; }
  .cards.two-up .card:nth-last-child(-n+2) { border-bottom: 0; }

  .split { grid-template-columns: 1fr; }
  .split .media, .split .media.left { order: -1; aspect-ratio: 4 / 3; }
  .step .media { border-left: 0; border-bottom: 1px solid var(--line); aspect-ratio: 1; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile { border-bottom: 1px solid var(--lint-200); }
  .tile:nth-child(2n) { border-right: 0; }
  .tile:nth-last-child(-n+2) { border-bottom: 0; }

  .feature-row .wrap { grid-template-columns: 1fr; gap: 24px; }
  .feature { border-block: 1px solid var(--line); }
  .feature-row.lined { border-block: 0; }
  .limit { width: 100%; }

  .plans .wrap { grid-template-columns: 1fr; }
  .tabs { padding-inline: 0; }
  .tabs .wrap { display: flex; overflow-x: auto; scrollbar-width: none; border-inline: 0; }
  .tabs .wrap::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; min-width: 150px; }
  .stories-head .collage { position: static; width: min(380px, 80%); margin: 0 0 32px auto; }
  .stories-head { padding-top: 48px; }
}

@media (max-width: 640px) {
  .hero { padding-block: 56px 48px; }
  .btn-row .btn { flex: 1 1 100%; }
  .meta .dot { margin-inline: 4px; }
  .logo-grid .wrap { grid-template-columns: 1fr 1fr; }
  .logo-grid li { height: 88px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
  .logo-grid li:nth-child(2n+1) { border-left: 1px solid var(--line); }
  .logo-grid li:nth-last-child(-n+2) { border-bottom: 0; }
  .logo-grid img { max-height: 36px; }
  .logo-grid .partner img { max-height: 28px; }
  .cards.two-up { grid-template-columns: 1fr; }
  .cards.two-up .card { border-right: 0; border-bottom: 1px solid var(--line); }
  .cards.two-up .card:last-child { border-bottom: 0; }
  .card { padding: 40px 24px; }
  .split .copy, .about-panel .copy { padding: 40px 24px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 300px; border-right: 0; border-bottom: 1px solid var(--lint-200); padding: 56px 24px 40px; }
  .tile:nth-last-child(2) { border-bottom: 1px solid var(--lint-200); }
  .band-green { padding-block: 80px; }
  .feature .content { padding: 32px 24px; }
  .cohort { margin-right: 0; padding: 18px 24px 10px; }
  .sms { padding: 0 20px; }
  .limit { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .limit .msg strong { font-size: 24px; }
  .limit .ring { width: 120px; height: 120px; }
  .limit .ring b { font-size: 28px; }
  .plan { padding: 40px 24px; }
  .calc { padding: 40px 24px 28px; }
  .calc h3, .plan .name h3 { font-size: 26px; }
  .compare { grid-template-columns: 1fr; }
  .compare > div + div { border-left: 0; border-top: 1px solid var(--night-shift-950); }
  .faq summary { padding: 20px 20px; }
  .faq .answer { padding: 0 20px 24px; }
  .site-footer .wrap { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
  .site-footer ul { flex-wrap: wrap; gap: 12px 24px; }
  .sign blockquote { font-size: 20px; }
}

.click-pixel { position: fixed; z-index: 100; width: 8px; height: 8px; pointer-events: none; animation: pixel-pop .58s steps(5, end) forwards; }
@keyframes pixel-pop {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(.5); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .click-pixel { display: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
