/* ==========================================================================
   blindspot — landing page
   Visual design follows the blindspot Figma file; scroll motion follows mercury.com
   (pinned, scroll-scrubbed hero video + pinned feature stepper).
   ========================================================================== */

:root {
  /* Colour — sampled from the Figma export */
  --ink: #202c28;
  --ink-soft: #1b2a24;
  --grey: #68736c;
  --grey-2: #68736c;
  --mint: #dbefaa;   /* brand lime */
  --forest: #234d3e; /* brand green */
  --lime: #dbefaa;   /* same lime; kept as a separate token for the dark CTA */
  --green: #234d3e;   /* Understand */
  --teal: #2f6045;    /* Convert */
  --azure: #3f7442;   /* Deliver */
  --blue: #547f39;    /* Repeat */
  --violet: #6a8e32;  /* Refer */
  --track: #9db85f;
  --card-line: #cfdcb9;
  --cream: #f5f6f3;
  --ivory: #eef0e8;
  --cta-sub: #B6BEB2;
  --foot-head: #68736c;
  --rule: #e4e8e1;

  /* Type */
  --f-hero: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --f-grotesk: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-italic: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout — --nav-total adds the status-bar inset on notched phones (0 elsewhere) */
  --nav-h: 88px;
  --nav-total: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 72px);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid #88aa60; outline-offset: 3px; border-radius: 4px; }
main { overflow-x: clip; }
section[id] { scroll-margin-top: var(--nav-total); }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.t-serif { font-family: var(--f-serif); font-weight: 650; letter-spacing: -0.03em; }
.t-light { font-family: var(--f-sans); font-weight: 300; letter-spacing: -0.025em; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--ink-soft); color: #fff; text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease-out);
}
.skip-link:focus-visible { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, transform .2s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--forest { background: var(--forest); color: #fff; font-family: var(--f-sans); font-size: 16px; font-weight: 500; }
.btn--forest:hover { background: #2d6350; }
.btn--lime { background: var(--lime); color: var(--ink-soft); font-family: var(--f-grotesk); font-size: 16px; font-weight: 600; padding: 0 26px; }
.btn--lime:hover { background: #cfe598; }

/* ==========================================================================
   Navigation — frosted glass over the hero, solid once the hero is behind you
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-total);
  display: flex; align-items: center; gap: 24px;
  padding: env(safe-area-inset-top, 0px) clamp(20px, 2.7vw, 42px) 0;
  background: rgb(255 255 255 / var(--glass, var(--hero-glass, .24)));
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgb(255 255 255 / .6);
  transition: border-color .3s ease;
}
.nav.is-solid { --glass: .88; border-bottom-color: rgb(28 35 31 / .08); }
.nav__logo { flex: none; }
.nav__logo img { width: 126px; height: auto; }

.nav__menu { flex: 1; display: flex; align-items: center; min-width: 0; }
.nav__links { display: flex; align-items: center; gap: clamp(28px, 4.4vw, 72px); margin-left: clamp(40px, 9.6vw, 148px); }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 0;
  font-family: var(--f-sans); font-size: 16px; font-weight: 400; color: #111;
  text-decoration: none; white-space: nowrap;
}
.caret { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; opacity: .5; transition: transform .25s var(--ease-out); }
.nav__item.is-open .caret { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute; top: calc(100% + 12px); left: -18px;
  min-width: 250px; padding: 8px;
  background: #fff; border-radius: 14px;
  box-shadow: 0 16px 44px rgb(28 35 31 / .14), 0 0 0 1px rgb(28 35 31 / .06);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .25s var(--ease-out), visibility 0s linear .25s;
}
.nav__dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item.is-open .nav__dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .25s var(--ease-out); }
.nav__dropdown a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 15px; text-decoration: none; }
.nav__dropdown a:hover { background: #F3F8E9; }

.nav__actions { margin-left: auto; display: flex; align-items: center; gap: clamp(20px, 3.4vw, 54px); }
.nav__pricing { font-size: 16px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; white-space: nowrap; }
.nav__burger { display: none; }

@media (max-width: 1079px) {
  :root { --nav-h: 64px; }
  .nav__logo img { width: 104px; }
  .nav__burger {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; margin-left: auto; margin-right: -10px;
  }
  .nav__burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: #111; transition: transform .3s var(--ease-out); }
  .nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100vh - var(--nav-total)); max-height: calc(100dvh - var(--nav-total)); overflow-y: auto;
    flex-direction: column; align-items: stretch;
    padding: 8px 20px 28px;
    background: #fff;
    box-shadow: 0 24px 40px rgb(28 35 31 / .1);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .3s var(--ease-out), visibility 0s linear .3s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .3s var(--ease-out); }
  .nav.is-open { --glass: .96; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav__item { border-bottom: 1px solid #EEF0EE; }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 18px; }
  .nav__dropdown {
    position: static; display: none; min-width: 0; padding: 0 0 12px;
    box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .nav__dropdown::before { display: none; }
  .nav__item.is-open .nav__dropdown { display: block; }
  .nav__actions { margin: 24px 0 0; justify-content: space-between; }
}

/* ==========================================================================
   Hero — the video scrubs with scroll while the section stays pinned
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; }
/* scrub, freeze, hand the end screen over to the growth loop */
.motion .hero { height: calc(var(--hero-len, 3.1) * 100vh); height: calc(var(--hero-len, 3.1) * 100svh); }
@media (min-width: 1000px) and (min-height: 640px) { .motion .hero { --hero-len: 4.8; } }

.hero__pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden;
  background: #fff;   /* the ground the end frame lifts away from */
}
.hero__media {
  position: absolute; inset: 0;
  background: url("../assets/hero-poster.jpg?v=2") center / cover no-repeat;
  /* The end frame is handed over by blurring and fading this layer away — no
     zoom on top of the camera push the footage already carries. */
  filter: blur(var(--mblur, 0px));
  opacity: var(--media-o, 1);
}
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / .34) 0%, rgb(255 255 255 / 0) 46%);
  opacity: var(--content-o, 1);
}
.hero__content {
  position: absolute; inset: 0 0 auto;
  padding: calc(var(--nav-total) + clamp(44px, 10vh, 96px)) var(--gutter) 0;
  text-align: center;
  opacity: var(--content-o, 1);
  transform: translateY(var(--content-y, 0px));
}
.hero__title {
  font-family: var(--f-hero); font-weight: 700;
  font-size: clamp(36px, 4.45vw, 70px); line-height: 1.08; letter-spacing: -0.028em;
  color: #000;
  text-wrap: balance;
}
.hero__sub {
  margin-top: clamp(12px, 2vh, 22px);
  font-family: var(--f-hero); font-weight: 400;
  font-size: clamp(18px, 1.85vw, 29px); line-height: 1.3; letter-spacing: -0.012em;
  color: #070707;
}
.hero__call {
  margin-top: clamp(22px, 4.5vh, 42px);
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 8px 22px;
  border-radius: 999px;
  background: rgb(255 255 255 / .52);
  border: 1px solid rgb(255 255 255 / .8);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgb(20 40 60 / .10);
  font-family: var(--f-sans); font-size: 17px; color: #111; text-decoration: none;
  transition: background-color .2s ease;
}
.hero__call:hover { background: rgb(255 255 255 / .72); }
.hero__call strong { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero.is-past .hero__content { visibility: hidden; }

/* ==========================================================================
   One system — Understand · Convert · Repeat
   Static: every step open with its visual inline (mobile, reduced motion, no JS).
   Pinned (.is-pinned, desktop): one step at a time, visual on the right.
   ========================================================================== */
.loop { position: relative; background: #fff; }
/* The growth loop rises over the hero's held end frame and fades in as it lands.
   Pinned, it takes two screens of overlap: it reaches its resting place a screen
   early, so the sign-in card can fly into a stage that has stopped moving. That
   spare screen is a lead-in the stepper skips (see loopState.lead). */
/* The section's white ground fades up as the footage fades out, so the page is
   plain white while the card flies; its copy only arrives once the card goes. */
/* The ground whitens as the footage leaves — as a background, not an opacity, so
   the section's own copy can dissolve in on its own clock over the top of it. */
.motion .loop { z-index: 3; background: rgb(255 255 255 / var(--loop-o, 1)); }
.motion .loop__title, .motion .loop__steps {
  opacity: var(--arrive, 1);
  transform: translateY(calc((1 - var(--arrive, 1)) * 24px));
}
.motion .loop:not(.is-pinned) { margin-top: -100vh; margin-top: -100svh; }
.motion .loop.is-pinned { margin-top: -200vh; margin-top: -200svh; }
.loop__pin { padding-block: clamp(72px, 11vw, 140px) clamp(64px, 9vw, 120px); }
.loop__title { font-size: clamp(32px, 3.95vw, 60px); line-height: 1.12; }
.loop__steps { margin-top: clamp(40px, 6vw, 80px); }
.loop__stage { display: none; }

.group {
  --indent: clamp(40px, 4.5vw, 69px);
  --rail: clamp(18px, 1.45vw, 22px);
  position: relative;
  padding-bottom: clamp(56px, 8vw, 110px);
}
.group:last-child { padding-bottom: 0; }
.group::before {
  content: ""; position: absolute;
  left: calc(var(--rail) / 2 - .75px); top: 18px; bottom: 0;
  width: 1.5px; background: #2F2F2F;
}
.group__title {
  position: relative;
  padding-left: var(--indent);
  font-family: var(--f-sans); font-weight: 700;
  font-size: clamp(30px, 2.9vw, 44px); line-height: 1.1; letter-spacing: -0.02em;
  color: var(--c);
}
.group__title::before {
  content: ""; position: absolute;
  left: 0; top: calc(.56em - var(--rail) / 2);
  width: var(--rail); height: var(--rail);
  background: var(--c);
}
.group__body { display: grid; grid-template-rows: 1fr; }
.group__inner { min-height: 0; }

.step { padding: clamp(20px, 2.3vw, 30px) 0 0 var(--indent); }
.step__title {
  position: relative;
  font-family: var(--f-sans); font-weight: 700;
  font-size: clamp(17px, 1.3vw, 20px); line-height: 1.35; letter-spacing: -0.005em;
  color: #000;
}
.step__title::before {
  content: ""; position: absolute;
  left: calc(-1 * var(--indent) + var(--rail) / 2 - 4.5px); top: calc(.675em - 4.5px);
  width: 9px; height: 9px;
  background: var(--c);
}
.step__body { display: grid; grid-template-rows: 1fr; }
.step__text { min-height: 0; }
.step__text p {
  padding-top: 10px; max-width: 30em;
  font-size: clamp(16px, 1.22vw, 18.5px); font-weight: 350; line-height: 1.5;
  color: var(--grey);
}
.step__text p + p { padding-top: 16px; }
.step__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  font-family: var(--f-sans); font-weight: 700; font-size: clamp(15px, 1.1vw, 17px);
  color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
  transition: color .2s ease;
}
.step__more:hover { color: var(--c); }
.step__more svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.step__media { margin-top: 24px; max-width: 674px; }
.step__media img { width: 100%; height: auto; border-radius: 18px; }

/* Pinned stepper */
.loop.is-pinned .loop__track { height: calc(200vh + var(--steps, 10) * var(--step-len, 36vh)); height: calc(200svh + var(--steps, 10) * var(--step-len, 36svh)); }
.loop.is-pinned .loop__pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  padding: calc(var(--nav-total) + clamp(20px, 5.5vh, 60px)) 0 24px;
  overflow: hidden;
}
.loop.is-pinned .loop__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  column-gap: clamp(40px, 5vw, 88px);
  align-items: start;
}
.loop.is-pinned .loop__title { grid-column: 1 / -1; }
.loop.is-pinned .loop__steps { grid-column: 1; margin-top: clamp(20px, 4.5vh, 56px); }
.loop.is-pinned .loop__stage {
  display: block; grid-column: 2;
  position: relative;
  margin-top: clamp(28px, 6.5vh, 72px);
  aspect-ratio: 674 / 450;
  max-height: calc(100vh - var(--nav-total) - 190px);
  max-height: calc(100svh - var(--nav-total) - 190px);
  justify-self: end; width: 100%;
}
.loop.is-pinned .loop__stage .step__media {
  position: absolute; inset: 0;
  margin: 0; max-width: none;
  opacity: 0; transform: translateY(16px) scale(.985);
  transition: opacity .45s ease, transform .8s var(--ease-out);
}
.loop.is-pinned .loop__stage .step__media.is-active { opacity: 1; transform: none; }
/* Until the hand-off finishes, the hero drives this visual instead. */
.motion .loop.is-intro .loop__stage .step__media.is-active { opacity: var(--intro-o, 0); transition: none; }
.loop.is-pinned .loop__stage .step__media img { height: 100%; object-fit: contain; }

/* Five stages share the pinned view, so it runs tighter than the open list */
.loop.is-pinned .group { padding-bottom: clamp(6px, 1.2vh, 12px); }
.loop.is-pinned .group__title { font-size: clamp(26px, 2.45vw, 37px); transition: opacity .4s ease; }
.loop.is-pinned .step { padding-top: clamp(7px, 1.1vh, 12px); }
.loop.is-pinned .step__text p { padding-top: 8px; font-size: clamp(15px, 1.15vw, 17.5px); }
.loop.is-pinned .group:not(.is-active) .group__title { opacity: .34; cursor: pointer; }
.loop.is-pinned .group__body { transition: grid-template-rows .65s var(--ease-out); }
.loop.is-pinned .group:not(.is-active) .group__body { grid-template-rows: 0fr; }
.loop.is-pinned .group__inner { overflow: hidden; }
.loop.is-pinned .step__body { transition: grid-template-rows .6s var(--ease-out), opacity .45s ease; }
.loop.is-pinned .step:not(.is-active) .step__body { grid-template-rows: 0fr; opacity: 0; }
.loop.is-pinned .step__text { overflow: hidden; }
.loop__btn { text-align: left; letter-spacing: inherit; line-height: inherit; }
.loop__btn:hover { opacity: .75; }
.loop.is-pinned .group.is-active .group__title .loop__btn { cursor: default; }
.loop.is-pinned .group.is-active .group__title .loop__btn:hover { opacity: 1; }

@media (min-width: 1000px) and (max-height: 860px) {
  .loop.is-pinned .loop__title { font-size: clamp(30px, 3.3vw, 46px); }
  .loop.is-pinned .group__title { font-size: 29px; }
  .loop.is-pinned .group { padding-bottom: 7px; }
  .loop.is-pinned .step { padding-top: 7px; }
  .loop.is-pinned .step__text p { font-size: 16px; }
}
@media (min-width: 1000px) and (max-height: 780px) {
  .loop.is-pinned .loop__pin { padding-top: calc(var(--nav-total) + 14px); }
  .loop.is-pinned .loop__title { font-size: 32px; }
  .loop.is-pinned .loop__steps, .loop.is-pinned .loop__stage { margin-top: 22px; }
  .loop.is-pinned .group__title { font-size: 26px; }
  .loop.is-pinned .group { padding-bottom: 5px; }
  .loop.is-pinned .step { padding-top: 6px; }
  .loop.is-pinned .step__text p { font-size: 15.5px; line-height: 1.45; }
}

@media (min-width: 1000px) and (max-height: 700px) {
  .loop.is-pinned .loop__title { font-size: 28px; }
  .loop.is-pinned .loop__steps, .loop.is-pinned .loop__stage { margin-top: 14px; }
  .loop.is-pinned .group__title { font-size: 22px; }
  .loop.is-pinned .group { padding-bottom: 3px; }
  .loop.is-pinned .step { padding-top: 5px; }
  .loop.is-pinned .step__title { font-size: 16px; }
  .loop.is-pinned .step__text p { font-size: 14.5px; line-height: 1.4; }
}

/* ==========================================================================
   Sign-in card — the screen the hero video ends on, rebuilt in HTML so it
   stays crisp while scroll carries it into the Understand visual's slot.
   Decorative only: no real fields, no tab stops.
   ========================================================================== */
.signin {
  position: fixed; left: 0; top: 0;
  width: 674px; aspect-ratio: 2200 / 1280;     /* the same shape as the laptop screen in the hero video */
  display: none;
  grid-template-columns: 50.2% 1fr;
  transform-origin: 0 0;
  transform: translate(var(--sx, 0px), var(--sy, 0px)) scale(var(--ss, 1));
  opacity: var(--so, 0);
  z-index: 4;
  border-radius: var(--sr, 18px);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2.2cqi 6cqi rgb(13 40 32 / .14);
  container-type: inline-size;
  font-family: var(--f-sans);
  pointer-events: none;
}
.signin.is-on { display: grid; }
.signin__mark { width: 9.5cqi; height: auto; }

.signin__brand {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 5.4cqi 4.6cqi;
  background: var(--forest); color: #fff;
}
.signin__eyebrow { font-size: 1.15cqi; font-weight: 500; letter-spacing: .17em; color: rgb(213 237 160 / .78); }
.signin__head {
  margin-top: 2.1cqi;
  font-size: 3.7cqi; font-weight: 500; line-height: 1.16; letter-spacing: -0.028em;
}
.signin__head em { font-style: normal; color: var(--mint); }
.signin__sub {
  margin-top: 2.6cqi; max-width: 34cqi;
  font-size: 1.5cqi; font-weight: 400; line-height: 1.5; color: rgb(255 255 255 / .72);
}
.signin__list {
  margin-top: 3.4cqi;
  border: 1px solid rgb(255 255 255 / .2); border-radius: 1.3cqi;
}
.signin__list li {
  padding: 1.9cqi 2.2cqi;
  font-size: 1.5cqi; color: rgb(255 255 255 / .92);
}
.signin__list li + li { border-top: 1px solid rgb(255 255 255 / .16); }
.signin__foot { font-size: 1.15cqi; font-weight: 500; color: rgb(255 255 255 / .58); }

.signin__panel { display: grid; place-items: center; padding: 4cqi; background: #fff; }
.signin__form { width: 29.5cqi; text-align: left; }
.signin__mark--dark { display: block; margin: 0 auto 5.5cqi; width: 7cqi; }
.signin__welcome { font-size: 2.8cqi; font-weight: 700; letter-spacing: -0.02em; }
.signin__note { margin-top: 1.1cqi; font-size: 1.4cqi; color: var(--grey-2); }
.signin__label { margin-top: 4cqi; font-size: 1.3cqi; font-weight: 500; }
.signin__field {
  display: flex; align-items: center; justify-content: space-between; gap: 1cqi;
  height: 4.1cqi; margin-top: 1.2cqi; padding: 0 1.4cqi;
  border: 1px solid #E4E2DC; border-radius: .9cqi;
  font-size: 1.4cqi; color: #A3A29B;
}
.signin__field--pw { letter-spacing: .12em; }
.signin__field svg { flex: none; width: 1.8cqi; height: 1.8cqi; fill: none; stroke: #8E8D86; stroke-width: 1.7; }
.signin__forgot { margin-top: 1.5cqi; font-size: 1.3cqi; font-weight: 500; text-align: right; }
.signin__btn {
  display: flex; align-items: center; justify-content: center; gap: .8cqi;
  height: 4.5cqi; margin-top: 3.4cqi;
  border-radius: .9cqi; background: var(--forest); color: #fff;
  font-size: 1.5cqi; font-weight: 600;
}
.signin__alt { margin-top: 3.6cqi; font-size: 1.2cqi; text-align: center; color: var(--grey-2); }
.signin__alt b { color: var(--ink-soft); font-weight: 700; }
.signin__brand { padding: 4.2cqi 4.6cqi; }
.signin__head { margin-top: 1.6cqi; }
.signin__sub { margin-top: 1.8cqi; }
.signin__list { margin-top: 2.4cqi; }
.signin__panel { padding: 2.6cqi; }
.signin__mark--dark { margin-bottom: 3.4cqi; }
.signin__note { margin-top: .8cqi; }
.signin__label { margin-top: 2.7cqi; }
.signin__field { height: 3.9cqi; margin-top: .9cqi; }
.signin__forgot { margin-top: 1.1cqi; }
.signin__btn { height: 4.2cqi; margin-top: 2.4cqi; }
.signin__alt { margin-top: 2.4cqi; }

/* ==========================================================================
   Results
   ========================================================================== */
.results { padding: clamp(80px, 11vw, 150px) 0 clamp(48px, 6vw, 80px); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 3vw, 46px); }
.stat {
  min-height: clamp(168px, 15.5vw, 238px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 28px 16px;
  border: 1px solid var(--card-line); border-radius: 12px;
  text-align: center;
}
.stat__value {
  font-family: var(--f-sans); font-weight: 900;
  font-size: clamp(46px, 5vw, 76px); line-height: 1; letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.stat__unit { margin-left: .14em; }
.stat__label { font-family: var(--f-italic); font-size: clamp(21px, 1.9vw, 29px); line-height: 1.2; }
.results__note {
  margin-top: 22px; text-align: center;
  font-weight: 300; font-size: clamp(14px, 1.2vw, 18px); letter-spacing: -0.01em;
  color: #222;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Your growth tools, working together — the orbit
   ========================================================================== */
.platform { padding-top: clamp(64px, 8vw, 110px); overflow-x: clip; }
.platform__title { text-align: center; font-size: clamp(32px, 4.1vw, 62px); line-height: 1.2; }
.platform__title span { display: block; }
.platform__sub {
  margin: clamp(18px, 2.2vw, 28px) auto 0;
  max-width: 31em;
  text-align: center;
  font-weight: 300; font-size: clamp(17px, 1.65vw, 24px); line-height: 1.5; letter-spacing: -0.012em;
  color: var(--grey-2);
  text-wrap: balance;
}

.orbit {
  position: relative;
  width: min(92% - 2 * var(--gutter), 1320px);
  margin: clamp(36px, 5vw, 72px) auto 0;
  aspect-ratio: 1320 / 510;
  container-type: inline-size;
}
.orbit__tracks { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit__track {
  fill: none; stroke: var(--track); stroke-width: 1.25; opacity: .7;
  vector-effect: non-scaling-stroke;
}
/* A pulse of light running the loop, one per track */
.orbit__flow {
  fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 34 1400; opacity: .55;
  vector-effect: non-scaling-stroke;
}
.orbit__chips { position: absolute; inset: 0; display: none; }
.js .orbit__chips { display: block; }
.chip {
  position: absolute; left: 0; top: 0;
  min-width: 5em;
  padding: .52em 1em .58em;
  font-family: var(--f-mono); font-weight: 400;
  font-size: clamp(11px, 1.55cqi, 20px); line-height: 1;
  color: #111; white-space: nowrap; text-align: center;
  background: linear-gradient(180deg, #fff 30%, #f3f7e8);
  border: 1.5px solid #a9c47a; border-radius: .26em;
  box-shadow: .1em .14em .28em rgb(0 0 0 / .16);
  will-change: transform;
}
.orbit__center {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--f-sans); font-size: clamp(15px, 1.95cqi, 26px); line-height: 1.35;
  text-align: center; white-space: nowrap;
}
.orbit__center strong { display: block; font-weight: 700; letter-spacing: -0.01em; }
.orbit__center span { display: block; font-size: .88em; font-weight: 400; color: var(--grey-2); }

/* Same six, as a plain list — no JS, or screens too narrow for the loop */
.orbit__list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  width: min(100% - 2 * var(--gutter), 420px);
  margin: clamp(24px, 4vw, 40px) auto 0;
  font-family: var(--f-mono); font-size: 13px; line-height: 1.4;
}
.orbit__list li {
  padding: 12px 8px; text-align: center;
  background: #f6f9ee; border: 1px solid #c9d9a5; border-radius: 6px;
}
.js .orbit__list { display: none; }
.orbit__list li:last-child:nth-child(odd) { grid-column: 1 / -1; }

@media (max-width: 700px) {
  /* A tall loop: the chips ride it two lines high, so ten of them fit without crowding */
  .orbit { width: calc(100% - 2 * var(--gutter)); aspect-ratio: 3 / 4.4; margin-top: clamp(24px, 4vw, 40px); }
  .chip { width: 98px; min-width: 0; padding: .5em .25em .55em; font-size: 10px; line-height: 1.25; white-space: normal; }
  .orbit__center { font-size: 15px; white-space: normal; width: 46%; }
}

/* Track lines draw themselves in once, when the loop scrolls into view */
.motion .orbit__track { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-in-out); }
.motion .orbit__track:nth-of-type(2) { transition-delay: .12s; }
.motion .orbit__track:nth-of-type(3) { transition-delay: .24s; }
.motion .orbit__track:nth-of-type(4) { transition-delay: .36s; }
.motion .orbit.is-drawn .orbit__track { stroke-dashoffset: 0; }
.motion .orbit__flow { opacity: 0; transition: opacity .8s var(--ease-in-out) .9s; }
.motion .orbit.is-drawn .orbit__flow { opacity: .55; }

/* ==========================================================================
   Powered by the blindspot network — the eyes follow the cursor
   ========================================================================== */
.signal {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0 clamp(100px, 13vw, 190px);
  background: radial-gradient(135% 95% at 50% 12%, #fff 44%, #f4f8ea 70%, #e7f0cf 100%);
  text-align: center;
}
.signal__eyebrow { font-family: var(--f-mono); font-weight: 500; font-size: clamp(13px, 1.55vw, 24px); letter-spacing: .06em; }
/* Eyes sit above the headline, both centred on the column */
.signal__row {
  margin-top: clamp(28px, 4vw, 56px);
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(22px, 3.2vw, 46px);
}
.signal__title {
  text-align: center;
  font-size: clamp(33px, 5.2vw, 82px); line-height: 1.14;
}
.signal__title span { display: block; }
.eyes { display: flex; gap: .07em; flex: none; font-size: clamp(58px, 7.6vw, 116px); }
.eye {
  position: relative;
  width: 1em; height: 1em;
  border-radius: 50%;
  background: var(--mint);
  transition: transform .09s ease-in;
}
.eyes.is-blinking .eye { transform: scaleY(.1); }
.pupil {
  position: absolute; left: 50%; top: 50%;
  width: .31em; height: .31em; margin: -.155em 0 0 -.155em;
  border-radius: 50%;
  background: #000;
  transform: translate(var(--px, -.01em), var(--py, .19em));
}
.signal__sub {
  margin: clamp(36px, 5.5vw, 86px) auto 0;
  max-width: 33em;
  font-weight: 300; font-size: clamp(17px, 1.75vw, 27px); line-height: 1.4; letter-spacing: -0.012em;
  color: var(--grey-2);
  text-wrap: balance;
}

/* ==========================================================================
   Scale growth
   ========================================================================== */
.scale { background: var(--cream); color: var(--ink-soft); padding: clamp(72px, 7vw, 104px) 0 clamp(72px, 6vw, 92px); }
.container--scale { max-width: calc(1188px + 2 * var(--gutter)); }
.scale__title {
  font-family: var(--f-grotesk); font-weight: 600;
  font-size: clamp(36px, 4.35vw, 67px); line-height: 1.08; letter-spacing: -0.03em;
}
.scale__title em, .cta__title em { font-style: normal; font-weight: inherit; letter-spacing: inherit; color: #5d8a3a; }
.cta__title em { color: var(--lime); }
.scale__body {
  margin-top: clamp(20px, 2.4vw, 34px);
  font-family: var(--f-grotesk); font-weight: 500;
  font-size: clamp(18px, 1.95vw, 30px); line-height: 1.45; letter-spacing: -0.012em;
}
.pills { margin-top: clamp(24px, 2.8vw, 38px); display: flex; flex-wrap: wrap; gap: 14px; }
.pills li {
  padding: 11px 21px;
  border: 2px solid var(--ink-soft); border-radius: 999px;
  font-family: var(--f-grotesk); font-weight: 500; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.2;
}
@media (max-width: 720px) {
  .scale__title br, .scale__body br { display: none; }
}

/* ==========================================================================
   Book a demo
   ========================================================================== */
.cta { background: var(--ink-soft); color: var(--ivory); text-align: center; padding: clamp(84px, 7.6vw, 118px) 0; }
.cta__title {
  font-family: var(--f-grotesk); font-weight: 600;
  font-size: clamp(34px, 4.1vw, 62px); line-height: 1.12; letter-spacing: -0.03em;
}
.cta__body {
  margin: clamp(18px, 2vw, 26px) auto 0; max-width: 74ch;
  font-family: var(--f-grotesk); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5;
  color: var(--cta-sub);
}
.cta .btn { margin-top: clamp(26px, 3vw, 40px); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--cream); color: var(--ink-soft); padding: clamp(56px, 6vw, 84px) 0 28px; font-family: var(--f-grotesk); }
.container--footer { max-width: calc(980px + 2 * var(--gutter)); }
.footer__top { display: grid; grid-template-columns: minmax(0, 31.8%) minmax(0, 1fr); gap: 40px; }
.footer__logo { justify-self: start; align-self: start; }
.footer__logo img { width: 84px; height: auto; }
.footer__nav { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr) auto; gap: 32px; }
.footer__col h3 { font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--foot-head); }
.footer__col ul { margin-top: 14px; display: grid; gap: 8px; }
.footer__col a { font-size: 15px; text-decoration: none; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  margin-top: clamp(36px, 4vw, 48px); padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: 13px; color: #4C5450;
}
@media (max-width: 720px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
}

/* ==========================================================================
   Supporting visuals for Convert and Repeat.
   Same frame, mint tint and sage accents as the Understand artwork; the content
   follows the blindspot client deck (audiences, bundle tiers, journey, cohorts).
   Swap any .mock for an <img> once final artwork exists.
   ========================================================================== */
.mock {
  --tint: #e6efd3;
  --tint-soft: #f2f7e6;
  --sage: #4f7a3c;
  --sage-ink: #355a2c;
  --mock-ink: #202c28;
  --mock-muted: #68736c;
  --mock-rule: #dfe8cf;
  aspect-ratio: 674 / 450;
  container-type: inline-size;
  padding: 1.6% 1.8%;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--tint), #fff);
}
.mock__inner {
  --u: 1cqi;   /* the unit every measurement below is a multiple of */
  position: relative; height: 100%;
  border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, var(--tint), #fff);
  border: 1px solid #fff;
  box-shadow: inset 0 -1px 0 #ECECEC;
  font-family: var(--f-sans); font-size: calc(var(--u) * 2); line-height: 1.35;
  color: var(--mock-ink); text-align: left;
}
.m-card {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h, auto);
  padding: calc(var(--u) * 2.4);
  border-radius: calc(var(--u) * 1.7);
  background: rgb(255 255 255 / .88);
  border: 1px solid #fff;
  box-shadow: 0 calc(var(--u) * 1.4) calc(var(--u) * 3.4) rgb(33 72 64 / .10);
}
.m-label { font-size: calc(var(--u) * 1.45); font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--sage-ink); }
.m-title { margin-top: calc(var(--u) * 1); font-weight: 650; letter-spacing: -0.02em; font-family: var(--f-serif); font-size: calc(var(--u) * 3); line-height: 1.15; }
.m-text { display: block; margin-top: calc(var(--u) * 1.3); font-size: calc(var(--u) * 1.75); color: var(--mock-muted); }
.m-strong { display: block; margin-top: calc(var(--u) * .6); font-size: calc(var(--u) * 2.2); font-weight: 700; line-height: 1.25; }
.m-avatar {
  display: grid; place-items: center; align-self: flex-start;
  width: calc(var(--u) * 5); height: calc(var(--u) * 5); border-radius: 50%;
  background: var(--tint); color: var(--sage-ink);
  font-size: calc(var(--u) * 2.1); font-weight: 700; font-style: normal;
}
.m-btn {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: calc(var(--u) * 1.8); padding: calc(var(--u) * 1.1) calc(var(--u) * 2.2);
  border-radius: calc(var(--u) * 1); background: var(--sage); color: #fff;
  font-size: calc(var(--u) * 1.7); font-weight: 600;
}
.m-chip {
  display: inline-block; margin-top: calc(var(--u) * 1.4); padding: calc(var(--u) * .7) calc(var(--u) * 1.4);
  border-radius: 99px; background: var(--tint-soft); border: 1px solid #fff;
  color: var(--sage-ink); font-size: calc(var(--u) * 1.4); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.m-line { display: block; width: var(--lw, 100%); height: calc(var(--u) * 1); margin-top: calc(var(--u) * 1.2); border-radius: calc(var(--u) * 1); background: var(--tint-soft); }
.m-thumb { display: block; aspect-ratio: 1; border-radius: calc(var(--u) * 1.1); border: 1px solid #fff; background: linear-gradient(135deg, var(--tint), #fff); }
.m-stack { display: flex; flex-direction: column; justify-content: center; }
.m-caption { margin-top: calc(var(--u) * 1.4); font-size: calc(var(--u) * 1.35); color: var(--mock-muted); }
.m-wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-wires path { fill: none; stroke: #23322C; stroke-width: 1; vector-effect: non-scaling-stroke; }

/* Storefront campaign */
.m-shop { display: flex; flex-direction: column; }
.m-shop__bar { display: flex; align-items: center; gap: calc(var(--u) * 1.4); padding-bottom: calc(var(--u) * 1.6); border-bottom: 1px solid var(--mock-rule); }
.m-shop__logo { width: calc(var(--u) * 3.4); height: calc(var(--u) * 3.4); border-radius: calc(var(--u) * .9); background: var(--sage); }
.m-shop__nav { font-size: calc(var(--u) * 1.5); color: var(--mock-muted); letter-spacing: .04em; }
.m-shop__band { margin-top: calc(var(--u) * 2); padding: calc(var(--u) * 2.2); border-radius: calc(var(--u) * 1.4); border: 1px solid #fff; background: linear-gradient(135deg, var(--tint), #fff 85%); }
.m-shop__recent { margin-top: auto; padding-top: calc(var(--u) * 2); }
.m-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--u) * 1.2); }
.m-thumbs i { aspect-ratio: 1.15; border-radius: calc(var(--u) * 1.1); border: 1px solid #fff; background: linear-gradient(135deg, var(--tint-soft), var(--tint)); }
.m-ticket { display: flex; margin-top: calc(var(--u) * 1.4); border-radius: calc(var(--u) * 1.2); overflow: hidden; background: #3f6b4d; color: #fff; }
.m-ticket__stub { writing-mode: vertical-rl; transform: rotate(180deg); padding: calc(var(--u) * 1.4) calc(var(--u) * .9); font-size: calc(var(--u) * 1.25); letter-spacing: .12em; }
.m-ticket__body { flex: 1; padding: calc(var(--u) * 1.6) calc(var(--u) * 1.8); border-left: 1px dashed rgb(255 255 255 / .55); font-family: var(--f-serif); font-weight: 600; font-size: calc(var(--u) * 2.4); line-height: 1.2; }

/* Bundle and quantity tiers */
.m-pair { margin-top: calc(var(--u) * 1.8); display: flex; align-items: center; gap: calc(var(--u) * 1.4); }
.m-pair > div { flex: 1; }
.m-pair p { margin-top: calc(var(--u) * 1.1); font-size: calc(var(--u) * 1.6); color: var(--mock-muted); }
.m-pair b { color: var(--sage-ink); font-weight: 700; }
.m-plus { font-size: calc(var(--u) * 2.6); color: var(--sage); }
.m-tiers { margin-top: calc(var(--u) * 1.6); display: grid; gap: calc(var(--u) * 1.2); }
.m-tiers li {
  display: flex; align-items: baseline; justify-content: space-between; gap: calc(var(--u) * 1);
  padding: calc(var(--u) * 1.4) calc(var(--u) * 1.6); border-radius: calc(var(--u) * 1.2);
  background: #fff; border: 1px solid var(--mock-rule); font-size: calc(var(--u) * 1.65);
}
.m-tiers b { font-size: calc(var(--u) * 2); font-weight: 700; }
.m-tiers span { color: var(--mock-muted); }
.m-tiers .is-best { background: var(--sage); border-color: var(--sage); color: #fff; }
.m-tiers .is-best span { color: rgb(255 255 255 / .88); }

/* A/B test */
.m-variant { display: flex; flex-direction: column; }
.m-widget { margin-top: calc(var(--u) * 1.6); padding: calc(var(--u) * 1.6); border-radius: calc(var(--u) * 1.2); background: #fff; border: 1px solid var(--mock-rule); }
.m-widget .m-thumb { width: 38%; }
.m-pill { display: inline-block; margin-top: calc(var(--u) * 1.4); padding: calc(var(--u) * .8) calc(var(--u) * 1.6); border-radius: 99px; border: 1px solid var(--sage); color: var(--sage-ink); font-size: calc(var(--u) * 1.45); font-weight: 600; }
.m-pill--solid { background: var(--sage); border-color: var(--sage); color: #fff; }
.m-result { margin-top: calc(var(--u) * 1.8); display: flex; align-items: baseline; justify-content: space-between; font-size: calc(var(--u) * 1.65); color: var(--mock-muted); }
.m-result b { font-size: calc(var(--u) * 3); font-weight: 700; color: var(--mock-ink); }
.m-bar { position: relative; overflow: hidden; margin-top: calc(var(--u) * 1); height: calc(var(--u) * 1.2); border-radius: calc(var(--u) * 1); background: var(--tint-soft); }
.m-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: inherit; background: var(--sage); opacity: .45; }
.m-variant.is-winner { box-shadow: 0 0 0 1.5px var(--sage), 0 calc(var(--u) * 1.4) calc(var(--u) * 3.4) rgb(33 72 64 / .12); }
.m-variant.is-winner .m-bar::after { opacity: 1; }
.m-badge {
  position: absolute; top: calc(var(--u) * -1.7); right: calc(var(--u) * 2);
  display: inline-flex; align-items: center; gap: calc(var(--u) * .6);
  padding: calc(var(--u) * .6) calc(var(--u) * 1.4); border-radius: 99px;
  background: var(--sage); color: #fff; font-size: calc(var(--u) * 1.45); font-weight: 700;
}
.m-badge svg { width: calc(var(--u) * 1.9); height: calc(var(--u) * 1.9); fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.m-ship { position: absolute; right: 5%; bottom: 7%; margin: 0; }
.m-foot { position: absolute; left: 5%; bottom: 8.5%; margin: 0; font-size: calc(var(--u) * 1.35); color: var(--mock-muted); }

/* Numbered steps, stars and quote */
.m-steps { position: absolute; left: var(--x); top: var(--y); width: var(--w); display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--u) * 2.4); }
.m-steps li { padding-top: calc(var(--u) * 1.4); border-top: 2px solid var(--sage); }
.m-steps b { display: block; font-size: calc(var(--u) * 1.45); font-weight: 600; letter-spacing: .12em; color: var(--sage-ink); }
.m-steps span { display: block; margin-top: calc(var(--u) * .9); font-size: calc(var(--u) * 2); font-weight: 600; }
.m-stars { margin-top: calc(var(--u) * 1.5); display: flex; gap: calc(var(--u) * .6); }
.m-stars i { width: calc(var(--u) * 2.4); height: calc(var(--u) * 2.4); background: var(--sage); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.m-quote { margin-top: calc(var(--u) * 1.2); font-weight: 600; font-family: var(--f-serif); font-size: calc(var(--u) * 2.9); line-height: 1.2; }

/* Channels and campaign types */
.m-channels { margin-top: calc(var(--u) * 1.2); }
.m-channels li { display: flex; align-items: center; gap: calc(var(--u) * 1.4); padding: calc(var(--u) * 1.7) 0; font-size: calc(var(--u) * 1.95); font-weight: 600; border-bottom: 1px solid var(--mock-rule); }
.m-channels li:last-child { border-bottom: 0; }
.m-channels svg { flex: none; width: calc(var(--u) * 3.2); height: calc(var(--u) * 3.2); fill: none; stroke: var(--sage); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.m-types { margin-top: calc(var(--u) * 1.4); display: grid; gap: calc(var(--u) * 1.2); }
.m-types li { padding: calc(var(--u) * 1.4) calc(var(--u) * 1.6); border-radius: calc(var(--u) * 1.2); background: #fff; border: 1px solid var(--mock-rule); }
.m-types b { display: block; font-size: calc(var(--u) * 1.95); }
.m-types span { font-size: calc(var(--u) * 1.6); color: var(--mock-muted); }
.m-types .is-best { background: var(--tint-soft); border-color: #cfdcb9; }

/* Journey nodes */
.m-node { display: grid; gap: calc(var(--u) * .5); }
.m-node b { font-size: calc(var(--u) * 2.3); font-weight: 700; }
.m-node span { font-size: calc(var(--u) * 1.7); color: var(--mock-muted); }
.m-node.is-action { background: var(--sage); border-color: var(--sage); }
.m-node.is-action .m-label { color: rgb(255 255 255 / .82); }
.m-node.is-action b { color: #fff; }
.m-node.is-action span { color: rgb(255 255 255 / .88); }

/* Activity stream, identified customer and profile (deck slides 04–05) */
.m-avatar--lg { width: calc(var(--u) * 8); height: calc(var(--u) * 8); font-size: calc(var(--u) * 3.6); }
.m-stream { position: relative; margin-top: calc(var(--u) * 1.6); padding-left: calc(var(--u) * 4.6); display: grid; gap: calc(var(--u) * 2); }
.m-stream::before { content: ""; position: absolute; left: calc(var(--u) * 1.55); top: calc(var(--u) * 1.6); bottom: calc(var(--u) * 1.6); width: 1px; background: var(--mock-rule); }
.m-stream li { position: relative; }
.m-stream li::before {
  content: ""; position: absolute; left: calc(var(--u) * -3.8); top: calc(var(--u) * 1.1);
  width: calc(var(--u) * 1.7); height: calc(var(--u) * 1.7); border-radius: 50%;
  background: var(--sage); box-shadow: 0 0 0 calc(var(--u) * .6) #fff;
}
.m-stream small { display: block; font-size: calc(var(--u) * 1.35); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-ink); }
.m-stream strong { display: block; margin-top: calc(var(--u) * .5); font-size: calc(var(--u) * 2); font-weight: 700; }
.m-stream--tight { gap: calc(var(--u) * 1.5); }
.m-context { margin-top: calc(var(--u) * 1.4); display: grid; gap: calc(var(--u) * .7); }
.m-context li { font-size: calc(var(--u) * 1.8); color: var(--mock-muted); }
.m-phone {
  display: flex; align-items: center; gap: calc(var(--u) * 1.2);
  margin-top: calc(var(--u) * 1.6); padding: calc(var(--u) * 1.2) calc(var(--u) * 1.4);
  border-radius: calc(var(--u) * 1.1); background: #fff; border: 1px solid var(--mock-rule);
  font-size: calc(var(--u) * 1.7); font-weight: 600;
}
.m-phone svg { flex: none; width: calc(var(--u) * 2.6); height: calc(var(--u) * 2.6); fill: none; stroke: var(--sage); stroke-width: 1.8; stroke-linejoin: round; }
.m-person { display: flex; align-items: center; gap: calc(var(--u) * 1.8); margin-top: calc(var(--u) * 1.4); }
.m-stats { margin-top: calc(var(--u) * 1.8); display: grid; }
.m-stats li { display: flex; align-items: baseline; justify-content: space-between; gap: calc(var(--u) * 1); padding: calc(var(--u) * 1.3) 0; border-bottom: 1px solid var(--mock-rule); }
.m-stats li:last-child { border-bottom: 0; }
.m-stats span { font-size: calc(var(--u) * 1.6); color: var(--mock-muted); }
.m-stats b { font-size: calc(var(--u) * 2.3); font-weight: 700; }

/* Analytics columns */
.m-sources { margin-top: calc(var(--u) * 1.4); display: grid; gap: calc(var(--u) * 1.5); }
.m-sources li { display: grid; gap: calc(var(--u) * .8); font-size: calc(var(--u) * 1.6); font-weight: 600; }
.m-sources i { display: block; width: var(--v); height: calc(var(--u) * 1.3); border-radius: calc(var(--u) * 1); background: var(--sage); opacity: .85; }
.m-plain { margin-top: calc(var(--u) * 1.4); display: grid; gap: calc(var(--u) * .8); }
.m-plain li { font-size: calc(var(--u) * 1.6); font-weight: 600; color: var(--mock-muted); }
.m-minigrid { margin-top: calc(var(--u) * 1.4); display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--u) * .5); }
.m-minigrid i { aspect-ratio: 1; border-radius: calc(var(--u) * .45); background: color-mix(in srgb, var(--sage) calc(var(--o) * 100%), #fff); }

/* Risk signals, score meter and brand rules */
.m-signals { margin-top: calc(var(--u) * 1.4); display: grid; gap: calc(var(--u) * 1.1); }
.m-signals li {
  padding: calc(var(--u) * 1.3) calc(var(--u) * 1.6); border-radius: calc(var(--u) * 1.2);
  background: #fff; border: 1px solid var(--mock-rule);
  font-size: calc(var(--u) * 1.8); font-weight: 600;
}
.m-meter { margin-top: calc(var(--u) * 1.6); display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--u) * .6); }
.m-meter i { height: calc(var(--u) * 1.7); border-radius: calc(var(--u) * 1); background: var(--tint-soft); }
.m-meter i.is-on { background: var(--sage); }
.m-meter__labels { display: flex; justify-content: space-between; margin-top: calc(var(--u) * .9); font-size: calc(var(--u) * 1.4); color: var(--mock-muted); }
.m-rules { margin-top: calc(var(--u) * 1.4); display: grid; gap: calc(var(--u) * 1.1); }
.m-rules li {
  display: flex; align-items: center; justify-content: space-between; gap: calc(var(--u) * 1.4);
  padding: calc(var(--u) * 1.4) calc(var(--u) * 1.6); border-radius: calc(var(--u) * 1.2);
  background: #fff; border: 1px solid var(--mock-rule);
  font-size: calc(var(--u) * 1.85); font-weight: 600;
}
.m-switch { position: relative; flex: none; width: calc(var(--u) * 5.4); height: calc(var(--u) * 3); border-radius: 99px; background: var(--sage); }
.m-switch::after { content: ""; position: absolute; top: calc(var(--u) * .4); right: calc(var(--u) * .4); width: calc(var(--u) * 2.2); height: calc(var(--u) * 2.2); border-radius: 50%; background: #fff; }
.m-switch.is-off { background: var(--tint-soft); }
.m-switch.is-off::after { right: auto; left: calc(var(--u) * .4); box-shadow: 0 0 0 1px var(--mock-rule); }

/* Referral programme */
.m-funnel { margin-top: calc(var(--u) * 1.5); display: grid; gap: calc(var(--u) * 1.6); }
.m-funnel li { display: grid; gap: calc(var(--u) * .8); font-size: calc(var(--u) * 1.8); }
.m-funnel b { font-weight: 600; }
.m-funnel i { display: block; width: var(--v); height: calc(var(--u) * 1.7); border-radius: calc(var(--u) * 1); background: var(--sage); opacity: .85; }

/* Audiences and cohort table */
.m-aud { margin-top: calc(var(--u) * 1.4); display: grid; gap: calc(var(--u) * 1.2); }
.m-aud li {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: calc(var(--u) * .3) calc(var(--u) * 1.4);
  padding: calc(var(--u) * 1.4) calc(var(--u) * 1.6); border-radius: calc(var(--u) * 1.2); background: #fff; border: 1px solid var(--mock-rule);
}
.m-aud i {
  grid-row: span 2; display: grid; place-items: center;
  width: calc(var(--u) * 4.4); height: calc(var(--u) * 4.4); border-radius: 50%;
  background: var(--tint); color: var(--sage-ink);
  font-style: normal; font-weight: 700; font-size: calc(var(--u) * 1.9);
}
.m-aud b { font-size: calc(var(--u) * 1.95); }
.m-aud span { font-size: calc(var(--u) * 1.6); color: var(--mock-muted); }
.m-table { margin-top: calc(var(--u) * 1.4); width: 100%; border-collapse: separate; border-spacing: calc(var(--u) * .5); font-size: calc(var(--u) * 1.6); font-variant-numeric: tabular-nums; }
.m-table th { padding: calc(var(--u) * .6); font-size: calc(var(--u) * 1.4); font-weight: 600; color: var(--mock-muted); text-align: right; }
.m-table thead th:first-child, .m-table tbody th { text-align: left; color: var(--mock-ink); }
.m-table td { padding: calc(var(--u) * .9) calc(var(--u) * .8); border-radius: calc(var(--u) * .7); text-align: right; background: color-mix(in srgb, var(--sage) calc(var(--h) * 45%), #fff); }


/* Assistant conversation (AI shopping assistant) */
.m-chat { margin-top: calc(var(--u) * 1.4); display: grid; gap: calc(var(--u) * 1.1); }
.m-chat p { max-width: 86%; padding: calc(var(--u) * 1.1) calc(var(--u) * 1.5); border-radius: calc(var(--u) * 1.4); font-size: calc(var(--u) * 1.7); line-height: 1.3; }
.m-chat .is-you { justify-self: end; background: var(--tint); border-bottom-right-radius: calc(var(--u) * .4); }
.m-chat .is-bot { justify-self: start; background: #fff; border: 1px solid var(--mock-rule); border-bottom-left-radius: calc(var(--u) * .4); }
.m-chat .m-thumbs { max-width: 86%; }

/* Narrow columns: hold the unit at a readable size and let the frame grow to
   match, so the diagram keeps its proportions instead of shrinking its type.
   66.77 units is the frame's height at any unit — 674 x 450 expressed in units. */
@media (max-width: 670px) {
  .mock { --mock-u: 5.6px; aspect-ratio: auto; height: calc(66.77 * var(--mock-u)); }
  .mock__inner { --u: var(--mock-u); }
  /* Reclaim the step indent so the diagram gets the full column */
  .step__media { margin-left: calc(-1 * var(--indent)); }
  /* Two pieces of content have no room to shrink on the narrowest phones */
  .m-ticket__body { font-size: calc(var(--u) * 1.9); padding: calc(var(--u) * 1.3) calc(var(--u) * 1.4); }
  .m-table { font-size: calc(var(--u) * 1.25); border-spacing: calc(var(--u) * .3); }
  .m-table th { font-size: calc(var(--u) * 1.15); padding: calc(var(--u) * .4); }
  .m-table td { padding: calc(var(--u) * .6) calc(var(--u) * .4); }
}

/* ==========================================================================
   Legal documents — read in place, over the page
   ========================================================================== */
.legal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: clamp(12px, 3vw, 40px); }
.legal[hidden] { display: none; }
.legal__scrim { position: absolute; inset: 0; background: rgb(14 22 18 / .52); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.legal__panel {
  position: relative;
  display: flex; flex-direction: column;
  width: min(100%, 820px); max-height: min(100%, 900px);
  background: #fff; border-radius: 18px;
  box-shadow: 0 30px 80px rgb(13 40 32 / .3);
  overflow: hidden;
}
.legal__bar {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px clamp(18px, 3vw, 34px);
  border-bottom: 1px solid var(--rule);
  background: var(--cream);
}
.legal__mark { width: 96px; height: auto; }
.legal__close {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; margin-right: -8px;
  border-radius: 50%;
  transition: background-color .2s ease;
}
.legal__close:hover { background: rgb(13 78 61 / .08); }
.legal__close svg { width: 20px; height: 20px; fill: none; stroke: var(--ink-soft); stroke-width: 1.8; stroke-linecap: round; }
.legal__body { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: clamp(24px, 4vw, 44px) clamp(18px, 3vw, 34px) clamp(32px, 5vw, 56px); }

.doc[hidden] { display: none; }
.doc__title { font-family: var(--f-serif); font-weight: 650; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.02em; }
.doc__meta { margin-top: 10px; font-size: 14px; color: var(--grey-2); }
.doc__meta a { font-weight: 600; color: var(--forest); text-underline-offset: 3px; }
.doc h3 {
  margin-top: clamp(28px, 3.4vw, 40px);
  font-family: var(--f-sans); font-weight: 700; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.01em;
}
.doc p { margin-top: 14px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.62; color: #3A423E; }
.doc ul { margin-top: 14px; display: grid; gap: 12px; }
.doc li { position: relative; padding-left: 20px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.6; color: #3A423E; }
.doc li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--forest); }
.doc li strong { color: var(--ink-soft); }
.doc__contact li::before { display: none; }
.doc__contact li { padding-left: 0; }
.doc a { color: var(--forest); text-underline-offset: 3px; }
.doc__jump {
  font: inherit; color: var(--forest); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.doc__related { margin-top: clamp(28px, 3.4vw, 40px); padding-top: 20px; border-top: 1px solid var(--rule); }

.legal-open { overflow: hidden; }

@media (max-width: 670px) {
  .legal { padding: 0; }
  .legal__panel { width: 100%; max-height: 100%; height: 100%; border-radius: 0; }
}

/* ---------- Touch: comfortable tap targets ---------- */
@media (max-width: 1079px) {
  .nav__logo, .nav__pricing { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 670px) {
  .step__more { padding-block: 9px; }
  .footer__col ul { gap: 2px; }
  .footer__col a { display: inline-block; padding-block: 10px; }
  .footer__logo { display: inline-flex; align-items: center; min-height: 44px; }
  .hero__call { min-height: 48px; }
}

/* ---------- Reduced motion: final states, no scrubbing ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
