/* ═══════════════════════════════════════════════
   Clio — promotional site
   A monochrome canvas — black, white and gray only,
   matching the product's own theme (src/app/globals.css)
   so the site, the app and the emails all read as one thing.
   ═══════════════════════════════════════════════ */

:root {
  --ink:        #18181b;
  --ink-soft:   #52525b;
  --ink-faint:  #8a8a93;
  --paper:      #ffffff;
  --paper-alt:  #f5f5f5;
  --line:       #e4e4e7;
  --line-soft:  #ececee;

  /* A grayscale ramp — no hue anywhere — so cards, timelines and charts
     still read as four distinct steps without leaving monochrome. */
  --accent:       #18181b;  /* near-black — primary, matches app primary / email buttons */
  --accent-hover: #000000;
  --accent-soft:  #f0f0f1;
  --accent-glow:  rgba(0, 0, 0, .18);

  --accent-2:      #3f3f46;  /* dark gray  — chart-2 */
  --accent-2-soft: #f4f4f5;
  --accent-3:      #71717a;  /* mid gray   — chart-3 */
  --accent-3-soft: #f4f4f5;
  --accent-4:      #a1a1aa;  /* light gray — chart-4 */
  --accent-4-soft: #f4f4f5;

  --accent-grad: linear-gradient(135deg, #000000 0%, var(--accent) 55%, var(--accent-2) 100%);

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --brand: 'Comfortaa', var(--sans);

  --wrap: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
p { margin: 0; }
img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}
.wrap--narrow { max-width: 780px; }

/* ─────────────  Buttons  ───────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background .35s var(--ease), background-position .5s var(--ease),
              color .35s var(--ease), border-color .35s var(--ease),
              transform .35s var(--ease), opacity .35s var(--ease);
}
.btn:active { transform: scale(.975); }

.btn--solid  { background: var(--accent-grad); background-size: 160% 160%; background-position: 0% 50%; color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.btn--solid:hover  { background-position: 100% 50%; transform: translateY(-1px); box-shadow: 0 10px 26px -10px var(--accent-glow); }

.btn--line   { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--accent); background: var(--accent-grad); color: #fff; }

.btn--ghost  { color: var(--ink-soft); background: transparent; }
.btn--ghost:hover { color: var(--ink); }

.btn--invert { background: var(--paper); color: var(--ink); }
.btn--invert:hover { background: #e9e9e7; }

.btn--line-invert { border-color: rgba(255,255,255,.3); color: var(--paper); }
.btn--line-invert:hover { border-color: var(--paper); background: var(--paper); color: var(--ink); }

.btn--lg   { height: 50px; padding: 0 28px; font-size: 15px; }
.btn--full { width: 100%; }

/* ─────────────  Logo  ───────────── */

.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--brand);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--accent);
  -webkit-text-fill-color: transparent;
}

/* ─────────────  Nav  ───────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__links { display: flex; gap: 32px; }
.nav__links a {
  position: relative;
  white-space: nowrap;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Current page on the standalone marketing pages (/features, /pricing, …). */
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 8px; }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 19px; height: 1.5px;
  background: var(--ink);
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 28px;
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
  animation: dropIn .4s var(--ease);
}
.nav__mobile a:not(.btn) {
  padding: 13px 0;
  font-size: 17px;
  border-bottom: 1px solid var(--line-soft);
}
.nav__mobile .btn { margin-top: 16px; height: 48px; }
.nav__mobile a[aria-current="page"] { color: var(--accent); font-weight: 500; }

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

/* ─────────────  Shared section bits  ───────────── */

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.section { padding: 120px 0; }
.section--alt { background: var(--paper-alt); }
.section--tight { padding: 0 0 64px; }

/* Standalone pages have no hero — the first section clears the fixed nav. */
.page-main > section:first-child { padding-top: calc(var(--nav-h) + 72px); }
/* A tight notice normally hugs the section above it; give it room after an alt band. */
.page-main > .section--alt + .section--tight { padding-top: 64px; }

.section__head { max-width: 660px; margin-bottom: 64px; }
/* Standalone pages promote their first section heading to the page <h1>. */
.section__head h1,
.section__head h2 {
  margin-top: 18px;
  font-size: clamp(32px, 4.6vw, 52px);
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
  max-width: 640px;
}
.section__lead {
  margin-top: 20px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 560px;
}
.section__head--center .section__lead {
  margin-inline: auto;
}

/* ─────────────  Hero  ───────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 56px) 0 100px;
  text-align: center;
}

/* Soft monochrome mesh behind the hero copy — a hint of depth on the flat
   white backdrop, no color anywhere in it. */
.hero::before {
  content: '';
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 780px;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(38% 46% at 18% 22%, rgba(0, 0, 0, .05), transparent 70%),
    radial-gradient(34% 40% at 84% 12%, rgba(0, 0, 0, .04), transparent 70%),
    radial-gradient(30% 38% at 66% 55%, rgba(0, 0, 0, .03), transparent 70%);
  filter: blur(4px);
}

.hero .wrap { position: relative; z-index: 1; }

.hero__title {
  margin-top: 0;
  font-size: clamp(42px, 7.2vw, 84px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}
.hero__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--accent);
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  max-width: 580px;
  margin: 26px auto 0;
  font-size: 18px;
  color: var(--ink-soft);
}

.hero__cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.hero__note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-faint);
}

.hero__trust {
  list-style: none;
  margin: 28px auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  max-width: 720px;
}
.hero__trust li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}
.hero__trust li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

/* ─────────────  Product mock  ───────────── */

.mock {
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 28px 70px -26px rgba(0,0,0,.26);
  text-align: left;
}

.mock__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 22px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
}
.mock__caption span { color: var(--ink-soft); }
.mock__caption i {
  font-style: normal;
  color: var(--line);
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-alt);
}
.mock__bar > span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #d6d6d3;
}
.mock__url {
  margin-left: 14px;
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: .02em;
}

.mock__body {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr) 234px;
  min-height: 400px;
}

/* ── Contact rail ── */

.mock__rail {
  border-right: 1px solid var(--line-soft);
  padding: 18px 0;
  min-width: 0;
}
.mock__rail-title {
  padding: 0 18px 12px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.mock__threads { display: flex; flex-direction: column; }

.mock__thread {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  margin: 0;
  padding: 11px 18px;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.mock__thread:hover { background: var(--line-soft); }
.mock__thread.is-active { background: var(--accent-soft); border-left-color: var(--accent); }

.mock__thread-body { min-width: 0; flex: 1; }
.mock__thread-name { display: block; font-size: 13.5px; font-weight: 500; }
.mock__thread-preview,
.mock__thread-time {
  display: block;
  font-size: 12.5px;
  color: var(--ink-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock__thread-time { flex: none; font-size: 10.5px; align-self: flex-start; padding-top: 2px; }

.mock__avatar {
  flex: none;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-grad);
  color: var(--paper);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  transition: background .3s var(--ease), color .3s var(--ease);
}

/* ── Conversation ── */

.mock__chat {
  --log-h: 296px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.mock__chat-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.mock__chat-head .mock__avatar { width: 30px; height: 30px; font-size: 10.5px; }
.mock__chat-id { min-width: 0; flex: 1; }
.mock__chat-id strong { display: block; font-size: 13.5px; font-weight: 500; }

.mock__chat-status {
  display: block;
  font-size: 11.5px;
  color: var(--ink-faint);
  transition: color .3s var(--ease);
}
.mock__chat-status.is-typing { color: var(--ink-soft); }

.mock__chat-tag {
  flex: none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Fixed viewport for the transcript: it scrolls, it never grows the page. */
.mock__log {
  flex: 1 1 auto;
  min-height: 0;
  height: var(--log-h);
  max-height: var(--log-h);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  transition: opacity .16s var(--ease);
}
.mock__log.is-switching { opacity: 0; }
.mock__log::-webkit-scrollbar { width: 5px; }
.mock__log::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }

.bubble {
  max-width: 78%;
  padding: 10px 14px 8px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  animation: bubbleIn .5s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 80ms);
}
.bubble--in  { background: var(--paper-alt); border: 1px solid var(--line-soft); border-bottom-left-radius: 5px; }
.bubble--out { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }

.bubble__text { display: block; }

.bubble__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: .01em;
  line-height: 1.6;
}
.bubble--in  .bubble__meta { justify-content: flex-start; color: var(--ink-faint); }
.bubble--out .bubble__meta { justify-content: flex-end; color: rgba(255,255,255,.5); }

.bubble__ai {
  padding: 1px 6px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8;
}

.ticks { font-size: 10.5px; transition: color .3s var(--ease), opacity .3s var(--ease); }
.bubble--out .ticks.is-read { color: var(--paper); opacity: 1; }

@keyframes bubbleIn { to { opacity: 1; transform: none; } }

.mock__typing {
  display: flex;
  gap: 4px;
  padding: 13px 15px;
  border-radius: 16px;
  border-bottom-left-radius: 5px;
  background: var(--paper-alt);
  border: 1px solid var(--line-soft);
  opacity: 0;
  animation: bubbleIn .4s var(--ease) forwards;
}
.mock__typing--out {
  align-self: flex-end;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 5px;
  background: var(--accent);
  border-color: var(--accent);
}
.mock__typing span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ink-faint);
  animation: blink 1.3s infinite;
}
.mock__typing--out span { background: rgba(255,255,255,.7); }
.mock__typing span:nth-child(2) { animation-delay: .18s; }
.mock__typing span:nth-child(3) { animation-delay: .36s; }

@keyframes blink {
  0%, 60%, 100% { opacity: .25; transform: translateY(0); }
  30%           { opacity: 1;   transform: translateY(-2.5px); }
}

/* ── Composer ── */

.mock__composer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 12px 16px;
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
}

.mock__input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-alt);
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink);
  letter-spacing: -0.011em;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.mock__input::placeholder { color: var(--ink-faint); }
.mock__input:focus { outline: none; border-color: var(--accent); background: var(--paper); }
.mock__input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.mock__send {
  flex: none;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.mock__send:hover { background: var(--accent-hover); }
.mock__send:active { transform: scale(.92); }

/* ── Automation pipeline ── */

.mock__flow {
  border-left: 1px solid var(--line-soft);
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}
.mock__flow .mock__rail-title { padding-inline: 0; }

.flow { list-style: none; margin: 0; padding: 0; }

.flow__step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 0;
}
/* Connector: a static rail with an ink layer that fills as the step completes */
.flow__step::before,
.flow__step::after {
  content: '';
  position: absolute;
  left: 5px;
  top: calc(50% + 9px);
  width: 1px;
  height: calc(100% - 18px);
}
.flow__step::before { background: var(--line); }
.flow__step::after {
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .34s var(--ease);
}
.flow__step:last-child::before,
.flow__step:last-child::after { display: none; }
.flow__step.is-done::after { transform: scaleY(1); }

.flow__dot {
  flex: none;
  width: 11px; height: 11px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.flow__step.is-active .flow__dot {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.flow__step.is-done .flow__dot { background: var(--accent); border-color: var(--accent); }

.flow__label {
  font-size: 12.5px;
  color: var(--ink-faint);
  transition: color .3s var(--ease);
}
.flow__step.is-active .flow__label { color: var(--ink); }
.flow__step.is-done   .flow__label { color: var(--ink-soft); }

.flow__done {
  list-style: none;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 7px;
}
.flow__done li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.flow__done.is-in li { opacity: 1; transform: none; }
.flow__check { font-size: 10px; color: var(--accent); }

/* ─────────────  Marquee strip  ───────────── */

.strip {
  border-block: 1px solid var(--line);
  padding: 20px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.strip__track {
  display: flex;
  width: max-content;
  animation: slide 42s linear infinite;
}
.strip:hover .strip__track { animation-play-state: paused; }

.strip__set {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
}
.strip__set span {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.strip__set i { color: var(--line); font-style: normal; }

@keyframes slide { to { transform: translateX(-50%); } }

/* ─────────────  Meta requirement notice  ───────────── */

.notice {
  max-width: 820px;
  margin-inline: auto;
  padding: 32px 36px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-3);
  border-radius: 14px;
  background: var(--paper-alt);
  text-align: left;
}
.notice__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-3);
}
.notice__title {
  margin-top: 12px;
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.notice__body {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 680px;
  line-height: 1.65;
}

/* ─────────────  Brand meaning  ───────────── */

.brand { padding-top: 96px; padding-bottom: 40px; text-align: center; }

.brand__intro { max-width: 620px; margin-inline: auto; }
.brand__title {
  margin-top: 14px;
  font-size: clamp(26px, 3.4vw, 36px);
}
.logo-inline {
  font-family: var(--brand);
  font-weight: 700;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--accent);
  -webkit-text-fill-color: transparent;
}

/* Four stages strung along one connecting line — reads as a pipeline,
   echoing the automation-pipeline mock in the hero rather than a flat
   card grid. */
.brand__timeline {
  position: relative;
  display: flex;
  max-width: 620px;
  margin: 52px auto 0;
}
.brand__timeline::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 5px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent-4));
  opacity: .5;
}

.brand__stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.brand__stage:nth-child(1) { --stage-accent: var(--accent); }
.brand__stage:nth-child(2) { --stage-accent: var(--accent-2); }
.brand__stage:nth-child(3) { --stage-accent: var(--accent-3); }
.brand__stage:nth-child(4) { --stage-accent: var(--accent-4); }

.brand__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--stage-accent);
  box-shadow: 0 0 0 5px var(--paper);
  transition: transform .35s var(--ease);
}
.brand__stage:hover .brand__dot { transform: scale(1.3); }

.brand__l {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  color: var(--stage-accent);
}
.brand__w {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.brand__lead {
  max-width: 600px;
  margin: 40px auto 0;
  font-size: 16.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.brand__line {
  margin: 20px auto 0;
  max-width: 540px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ─────────────  Why Clio comparison  ───────────── */

.compare {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
}
.compare__head,
.compare__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.compare__head {
  background: var(--paper-alt);
  border-bottom: 1px solid var(--line);
}
.compare__row + .compare__row { border-top: 1px solid var(--line-soft); }
.compare__cell {
  padding: 18px 24px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.compare__row .compare__cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.compare__row .compare__cell::before {
  content: '✕';
  flex: none;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  background: var(--line-soft);
  color: var(--ink-faint);
}
.compare__row .compare__cell--clio::before {
  content: '✓';
  background: var(--accent);
  color: #fff;
}
.compare__head .compare__cell {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.compare__cell--label { color: var(--ink-soft); }
.compare__cell--clio {
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 500;
  border-left: 2px solid var(--accent);
}
.compare__head .compare__cell--clio {
  color: var(--accent);
  background: var(--accent-soft);
}

/* ─────────────  Feature grid  ───────────── */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  position: relative;
  background: var(--paper);
  padding: 38px 32px 42px;
  /* Each card carries its own accent so the grid reads as four colors in
     rotation rather than one flat tone repeated nine times. */
  --card-accent: var(--accent);
  transition: background .45s var(--ease);
}
.card:nth-child(4n+2) { --card-accent: var(--accent-2); }
.card:nth-child(4n+3) { --card-accent: var(--accent-3); }
.card:nth-child(4n+4) { --card-accent: var(--accent-4); }

/* Cursor spotlight — a quiet monochrome glow that follows the pointer,
   set via --mx/--my in script.js. Skipped on touch devices (no hover). */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--ink) 5%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card__num, .card h3, .card p { position: relative; z-index: 1; }

.card::after {
  content: '';
  position: absolute;
  z-index: 1;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--card-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.card:hover { background: var(--paper-alt); }
.card:hover::after { transform: scaleX(1); }
.card:hover .card__num { color: var(--card-accent); }

.card__num {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink-faint);
  margin-bottom: 26px;
  transition: color .35s var(--ease);
}
.card h3 { font-size: 19px; margin-bottom: 12px; }
.card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.62; }

.tag {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 8px;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  white-space: nowrap;
  vertical-align: 1px;
}

/* ─────────────  Product: workflow execution demo  ─────────────
   Scoped design tokens — this one section renders product UI, not marketing
   chrome, so it intentionally carries its own exact palette (pastel node
   icons) rather than the site's monochrome ink/paper tokens. Nothing here
   leaks outside `.wfx`. */

.wfx {
  --wfx-bg: #ffffff;
  --wfx-text: #111111;
  --wfx-text-secondary: #6b6b6b;
  --wfx-text-muted: #999999;
  --wfx-text-faint: #b5b5b5;
  --wfx-border: #eaeaea;
  --wfx-border-light: #f0f0f0;
  --wfx-divider: #eeeeee;
  --wfx-dot: #e5e5e5;
  --wfx-node-border: #dcdcdc;
  --wfx-line: #d8d8d8;
  --wfx-line-selected: #111111;
  --wfx-line-unselected: #ededed;
  --wfx-active: #111111;
  --wfx-success: #35c98a;
  --wfx-error: #e57373;
  --wfx-warning: #d97706;
  --wfx-trigger-bg: #fef1dd;
  --wfx-trigger-icon: #d97706;
  --wfx-condition-bg: #efe8fe;
  --wfx-condition-icon: #7c3aed;
  --wfx-instagram-bg: #f0a4c6;
  --wfx-instagram-icon: #e85d9e;
  --wfx-whatsapp-bg: #e8faf3;
  --wfx-whatsapp-icon: #35c98a;
  --wfx-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Window chrome ── */

.wfx__window {
  max-width: 840px;
  margin-inline: auto;
  border-radius: 18px;
  border: 1px solid var(--wfx-border-light);
  background: var(--wfx-bg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 24px 56px -28px rgba(0, 0, 0, .14);
  overflow: hidden;
}

.wfx__titlebar {
  display: flex;
  align-items: center;
  gap: 13px;
  height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--wfx-divider);
}
.wfx__dots { display: flex; gap: 6px; flex: none; }
.wfx__dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--wfx-dot); }
.wfx__crumb {
  font-size: 14px;
  color: var(--wfx-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wfx__status {
  margin-left: auto;
  flex: none;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--wfx-text-faint);
  transition: color .25s var(--wfx-ease);
}
.wfx__status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--wfx-text-faint);
  transition: background .25s var(--wfx-ease);
}
.wfx__status.is-running { color: var(--wfx-active); }
.wfx__status.is-running .wfx__status-dot { background: var(--wfx-active); }
@media (prefers-reduced-motion: no-preference) {
  .wfx__status.is-running .wfx__status-dot { animation: wfxStatusPulse 1.1s ease-in-out infinite; }
}
/* Completed reads as a checkmark, not a dot — the spec's own examples draw
   this distinction ("✓ COMPLETED" vs "● RUNNING" / "● FAILED"). */
.wfx__status.is-completed { color: var(--wfx-text); }
.wfx__status.is-completed .wfx__status-dot {
  width: auto; height: auto;
  background: transparent;
  border-radius: 0;
  color: var(--wfx-success);
  font-size: 11px;
  line-height: 1;
}
.wfx__status.is-completed .wfx__status-dot::before { content: '✓'; }

.wfx__status.is-failed { color: var(--wfx-error); }
.wfx__status.is-failed .wfx__status-dot { background: var(--wfx-error); }

@keyframes wfxStatusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* ── Body: canvas + side panel ── */

.wfx__body {
  display: grid;
  grid-template-columns: 1fr 230px;
  min-height: 0;
}

.wfx__canvas {
  position: relative;
  padding: 34px 24px;
  background-image: radial-gradient(var(--wfx-dot) 1px, transparent 1px);
  background-size: 22px 22px;
  border-right: 1px solid var(--wfx-divider);
  overflow: auto;
}

.wfx__flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  margin-inline: auto;
  transform: scale(var(--wfx-zoom, 1));
  transform-origin: top center;
  transition: transform .2s var(--wfx-ease);
}
@media (prefers-reduced-motion: reduce) {
  .wfx__flow { transition: none; }
}

/* ── Canvas zoom ── */

.wfx__zoom {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1px;
  border: 1px solid var(--wfx-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--wfx-bg) 88%, transparent);
  backdrop-filter: blur(3px);
  padding: 2px;
}
.wfx__zoom-btn {
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 14px;
  line-height: 1;
  color: var(--wfx-text-secondary);
  cursor: pointer;
  transition: background .2s var(--wfx-ease), color .2s var(--wfx-ease);
}
.wfx__zoom-btn:hover { background: var(--wfx-border-light); color: var(--wfx-text); }
.wfx__zoom-btn:focus-visible,
.wfx__zoom-reset:focus-visible { outline: 2px solid var(--wfx-active); outline-offset: 1px; }
.wfx__zoom-reset {
  min-width: 38px;
  height: 22px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  font-size: 10px;
  font-weight: 600;
  color: var(--wfx-text-faint);
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.wfx__zoom-reset:hover { color: var(--wfx-text-secondary); }

/* ── Nodes ── */

.wfx__node {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 218px;
  min-height: 64px;
  padding: 11px 14px;
  border: 1px solid var(--wfx-node-border);
  border-radius: 14px;
  background: var(--wfx-bg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .25s var(--wfx-ease), box-shadow .25s var(--wfx-ease), transform .15s var(--wfx-ease);
}
.wfx__node:hover {
  border-color: #c7c7c7;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .18);
  transform: translateY(-2px);
}
.wfx__node:focus-visible { outline: 2px solid var(--wfx-active); outline-offset: 3px; }
.wfx__node:active { transform: translateY(-2px) scale(.98); }
@media (prefers-reduced-motion: reduce) {
  .wfx__node:hover { transform: none; }
  .wfx__node:hover .wfx__node-icon { transform: none; }
}

.wfx__node-icon {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .25s var(--wfx-ease), filter .25s var(--wfx-ease), transform .25s var(--wfx-ease);
}
.wfx__node:hover .wfx__node-icon { transform: scale(1.06); }
.wfx__node-icon svg { width: 16px; height: 16px; }
.wfx__node-icon--trigger { background: var(--wfx-trigger-bg); color: var(--wfx-trigger-icon); }
.wfx__node-icon--condition { background: var(--wfx-condition-bg); color: var(--wfx-condition-icon); }
.wfx__node-icon--whatsapp { background: var(--wfx-whatsapp-bg); color: var(--wfx-whatsapp-icon); }
.wfx__node-icon--instagram { background: var(--wfx-instagram-bg); color: var(--wfx-instagram-icon); }

.wfx__node-body { min-width: 0; }
.wfx__node-title {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--wfx-text);
  transition: color .25s var(--wfx-ease);
}
.wfx__node-desc {
  display: block;
  margin-top: 1px;
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--wfx-text-muted);
  transition: color .25s var(--wfx-ease);
}
.wfx__node-state {
  display: none;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--wfx-text-faint);
}
.wfx__node.has-state .wfx__node-state { display: flex; }

/* Not-yet-reached nodes recede once a run is in progress — but the resting
   page (before Run is pressed) shows the workflow at full contrast. */
.wfx__flow.is-running .wfx__node:not(.is-active):not(.is-done):not(.is-failed):not(.is-skipped) .wfx__node-title {
  color: #777777;
}
.wfx__flow.is-running .wfx__node:not(.is-active):not(.is-done):not(.is-failed):not(.is-skipped) .wfx__node-desc {
  color: var(--wfx-text-faint);
}
.wfx__flow.is-running .wfx__node:not(.is-active):not(.is-done):not(.is-failed):not(.is-skipped) .wfx__node-icon {
  opacity: .55;
  filter: saturate(.5);
}

.wfx__node.is-active {
  border-color: #b3b3b3;
  box-shadow: 0 0 0 4px rgba(17, 17, 17, .05), 0 1px 3px rgba(0, 0, 0, .06);
}
.wfx__node.is-active .wfx__node-state { color: var(--wfx-active); }
@media (prefers-reduced-motion: no-preference) {
  .wfx__node.is-active { animation: wfxNodePulse 1.5s ease-in-out infinite; }
}
@keyframes wfxNodePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(17, 17, 17, .05), 0 1px 3px rgba(0, 0, 0, .06); }
  50% { box-shadow: 0 0 0 7px rgba(17, 17, 17, .028), 0 1px 3px rgba(0, 0, 0, .06); }
}

.wfx__node.is-done .wfx__node-state { color: var(--wfx-success); }

.wfx__node.is-failed { border-color: color-mix(in srgb, var(--wfx-error) 55%, var(--wfx-node-border)); }
.wfx__node.is-failed .wfx__node-state { color: var(--wfx-error); }

.wfx__node.is-skipped { opacity: .5; }
.wfx__node.is-skipped .wfx__node-state { color: var(--wfx-text-faint); }

/* ── Connections ── */

.wfx__connector {
  position: relative;
  width: 1.5px;
  height: 40px;
  margin: 0 auto;
  background: var(--wfx-line);
}
.wfx__connector--branch { height: 35px; }

.wfx__dot-runner {
  position: absolute;
  left: 50%;
  top: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--wfx-active);
  opacity: 0;
  transform: translate(-50%, -50%);
}
@media (prefers-reduced-motion: no-preference) {
  .wfx__connector.is-running .wfx__dot-runner {
    animation: wfxDotTravel var(--wfx-dur, 900ms) linear forwards;
  }
}
@keyframes wfxDotTravel {
  0% { top: 0; opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.wfx__branch-tag {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--wfx-bg);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--wfx-text-muted);
  white-space: nowrap;
  transition: color .25s var(--wfx-ease);
}
.wfx__branch.is-taken .wfx__branch-tag { color: var(--wfx-success); }
.wfx__branch.is-skipped .wfx__branch-tag { color: var(--wfx-text-faint); }
.wfx__branch.is-taken .wfx__connector { background: var(--wfx-line-selected); }
.wfx__branch.is-skipped .wfx__connector { background: var(--wfx-line-unselected); }

/* ── Branch split ── */

.wfx__split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  width: fit-content;
  margin: 20px auto 0;
  justify-items: center;
}
.wfx__split::before {
  content: '';
  position: absolute;
  top: 0; left: 25%; right: 25%;
  height: 1.5px;
  background: var(--wfx-line);
}
.wfx__split::after {
  content: '';
  position: absolute;
  top: -20px; left: 50%;
  width: 1.5px; height: 20px;
  background: var(--wfx-line);
  transform: translateX(-50%);
}
.wfx__branch {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Side panel: log / details ── */

.wfx__panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.wfx__panel-tabs {
  display: flex;
  border-bottom: 1px solid var(--wfx-divider);
}
.wfx__panel-tab {
  flex: 1;
  padding: 11px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--wfx-text-faint);
  cursor: pointer;
  transition: color .2s var(--wfx-ease), border-color .2s var(--wfx-ease);
}
.wfx__panel-tab:disabled { cursor: not-allowed; opacity: .5; }
.wfx__panel-tab.is-on { color: var(--wfx-text); border-color: var(--wfx-active); }
.wfx__panel-tab:focus-visible { outline: 2px solid var(--wfx-active); outline-offset: -2px; }

.wfx__log {
  list-style: none;
  margin: 0;
  padding: 5px 16px 16px;
  overflow-y: auto;
  flex: 1;
}
.wfx__log-item {
  padding: 9px 0;
  border-bottom: 1px solid var(--wfx-divider);
  opacity: 0;
  transform: translateY(4px);
  animation: wfxLogIn .3s var(--wfx-ease) forwards;
}
.wfx__log-item:last-child { border-bottom: 0; }
@keyframes wfxLogIn { to { opacity: 1; transform: none; } }
.wfx__log-head {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--wfx-text);
}
.wfx__log-glyph { flex: none; font-size: 10.5px; color: var(--wfx-text-faint); }
.wfx__log-item.is-done .wfx__log-glyph { color: var(--wfx-success); }
.wfx__log-item.is-active .wfx__log-glyph { color: var(--wfx-active); }
.wfx__log-item.is-skipped .wfx__log-glyph,
.wfx__log-item.is-skipped .wfx__log-head { color: var(--wfx-text-faint); }
.wfx__log-detail {
  margin: 2px 0 0 16px;
  font-size: 11px;
  color: var(--wfx-text-muted);
}
.wfx__log-meta {
  margin: 2px 0 0 16px;
  font-size: 10.5px;
  color: var(--wfx-text-faint);
}

.wfx__details { padding: 13px 16px; overflow-y: auto; flex: 1; }
.wfx__details-title { font-size: 13px; font-weight: 500; color: var(--wfx-text); }
.wfx__details-row { margin-top: 12px; }
.wfx__details-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--wfx-text-faint);
}
.wfx__details-value { margin-top: 2px; font-size: 12px; color: var(--wfx-text); }
.wfx__details-value.is-error { color: var(--wfx-error); }

/* ── Footer ── */

.wfx__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 13px 18px;
  border-top: 1px solid var(--wfx-divider);
}
.wfx__footer .wfx__meta { margin-left: auto; }
.wfx__footer .btn { height: 36px; padding: 0 17px; font-size: 13px; }
.wfx__run-icon { flex: none; }

.wfx__speed {
  display: flex;
  border: 1px solid var(--wfx-border);
  border-radius: 999px;
  padding: 2px;
  gap: 1px;
}
.wfx__speed-opt {
  border: 0;
  border-radius: 999px;
  padding: 5px 11px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--wfx-text-faint);
  background: transparent;
  cursor: pointer;
  transition: background .2s var(--wfx-ease), color .2s var(--wfx-ease);
}
.wfx__speed-opt:hover { color: var(--wfx-text-secondary); }
.wfx__speed-opt:focus-visible { outline: 2px solid var(--wfx-active); outline-offset: 1px; }
.wfx__speed-opt.is-on { background: var(--wfx-active); color: #fff; }
.wfx__meta {
  font-size: 11px;
  color: var(--wfx-text-faint);
  font-variant-numeric: tabular-nums;
}

.wfx__hint {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--wfx-text-faint);
}

/* ── Responsive ── */

@media (max-width: 860px) {
  .wfx__body { grid-template-columns: 1fr; }
  .wfx__canvas { border-right: 0; border-bottom: 1px solid var(--wfx-divider); }
  .wfx__panel { max-height: 320px; }
}

@media (max-width: 640px) {
  .wfx__canvas { padding: 20px 14px; }
  .wfx__split { column-gap: 16px; }
  .wfx__crumb { display: none; }
}

/* ─────────────  Audience cards  ───────────── */

.audience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.audience__card {
  position: relative;
  padding: 28px 24px 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
  --card-accent: var(--accent);
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.audience__card:nth-child(4n+2) { --card-accent: var(--accent-2); }
.audience__card:nth-child(4n+3) { --card-accent: var(--accent-3); }
.audience__card:nth-child(4n+4) { --card-accent: var(--accent-4); }
.audience__card:hover {
  background: var(--paper-alt);
  border-color: var(--card-accent);
  transform: translateY(-3px);
}
.audience__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--ink) 5%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.audience__card:hover::before { opacity: 1; }
.audience__card h3, .audience__card p { position: relative; }
.audience__card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.audience__card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ─────────────  Steps  ───────────── */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  --card-accent: var(--accent);
  transition: padding-left .45s var(--ease);
}
.step:nth-child(2) { --card-accent: var(--accent-4); }
.step:nth-child(3) { --card-accent: var(--accent-2); }
.step:hover { padding-left: 12px; }
.step:hover .step__n { color: var(--card-accent); }

.step__n {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  color: var(--ink-faint);
  transition: color .35s var(--ease);
}
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--ink-soft); max-width: 620px; font-size: 15.5px; }

/* ─────────────  Stats  ───────────── */

.stats-section { padding: 96px 0; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__n {
  font-family: var(--serif);
  font-size: clamp(44px, 5.4vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--accent);
  -webkit-text-fill-color: transparent;
}
.stat__suffix {
  font-size: 0.55em;
  letter-spacing: -0.02em;
  margin-left: 2px;
  vertical-align: 0.08em;
}
.stat__l {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
  max-width: 190px;
  margin-inline: auto;
}

.trust-facts {
  list-style: none;
  margin: 48px auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  max-width: 860px;
}
.trust-facts li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--paper);
  letter-spacing: -0.01em;
}

/* ─────────────  Pricing  ───────────── */

.value-block {
  max-width: 720px;
  margin: 0 0 40px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.value-block__title {
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.value-block p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.fees {
  margin-top: 36px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  text-align: left;
}
.fees__title {
  font-size: 17px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.fees p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 760px;
}
.fees strong { color: var(--ink); font-weight: 500; }
.fees__link { margin-top: 14px; }
.fees__link a {
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: border-color .3s var(--ease);
}
.fees__link a:hover { border-bottom-color: var(--ink); }

.toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 3px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
.toggle__btn {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 8px 20px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.toggle__btn span { color: var(--ink-faint); font-size: 11.5px; margin-left: 5px; }
.toggle__btn.is-on { background: var(--accent-grad); color: #fff; }
.toggle__btn.is-on span { color: rgba(255,255,255,.6); }

/* Only relevant once Monthly is selected; hidden the rest of the time so the
   toggle above doesn't read as needing an explanation by default. */
.toggle__note {
  display: none;
  margin: 0 0 30px;
  font-size: 13px;
  color: var(--ink-faint);
}
#pricing[data-period="monthly"] .toggle__note { display: block; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 34px 30px 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition:
    transform .5s var(--ease),
    box-shadow .5s var(--ease),
    border-color .5s var(--ease),
    background .35s var(--ease),
    color .35s var(--ease);
}
.plan:hover,
.plan.is-selected {
  transform: translateY(-5px);
  background: var(--accent-grad);
  color: var(--paper);
  border-color: var(--accent);
  box-shadow: 0 24px 52px -24px var(--accent-glow);
}
.plan:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.plan.is-selected:focus-visible,
.plan:hover:focus-visible {
  outline-color: var(--paper);
}

.plan__badge {
  position: absolute;
  top: -11px; left: 30px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--accent-grad);
  color: #fff;
  border: 1px solid var(--accent);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.plan__name { font-size: 17px; font-weight: 500; }
.plan__desc {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-faint);
  min-height: 5.6em;
  transition: color .35s var(--ease);
}
.plan:hover .plan__desc,
.plan.is-selected .plan__desc { color: rgba(255,255,255,.62); }

.plan__price-block {
  margin: 22px 0 24px;
}

.plan__was {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--ink-faint);
  text-decoration: line-through;
  transition: color .35s var(--ease), opacity .25s var(--ease);
}
.plan:hover .plan__was,
.plan.is-selected .plan__was { color: rgba(255,255,255,.45); }

/* Monthly has no list price to discount from, so the struck-through
   reference and the "works out to per month" note (identical to the
   headline price at that point) would both be noise. */
#pricing[data-period="monthly"] .plan__was,
#pricing[data-period="monthly"] .plan__month { display: none; }

.plan__was-amt,
.plan__amt,
.plan__per {
  transition: opacity .25s var(--ease);
}
.plan__was-amt.is-swapping,
.plan__amt.is-swapping,
.plan__per.is-swapping { opacity: 0; }

.plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
}
.plan__cur { font-size: 24px; font-weight: 400; }
.plan__amt {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}
.plan__per {
  margin-left: 6px;
  font-size: 13.5px;
  color: var(--ink-faint);
  transition: color .35s var(--ease), opacity .25s var(--ease);
}
.plan:hover .plan__per,
.plan.is-selected .plan__per { color: rgba(255,255,255,.55); }

/* Secondary: effective monthly rate under the payable total */
.plan__month {
  margin: 10px 0 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .35s var(--ease);
}
.plan:hover .plan__month,
.plan.is-selected .plan__month { color: rgba(255,255,255,.65); }

.plan:hover .btn--solid,
.plan.is-selected .btn--solid {
  background: var(--paper);
  color: var(--ink);
}
.plan:hover .btn--solid:hover,
.plan.is-selected .btn--solid:hover { background: #e9e9e7; }

.plan:hover .btn--line,
.plan.is-selected .btn--line {
  border-color: rgba(255,255,255,.55);
  color: var(--paper);
}
.plan:hover .btn--line:hover,
.plan.is-selected .btn--line:hover {
  border-color: var(--paper);
  background: rgba(255,255,255,.08);
}

.plan__list {
  list-style: none;
  margin: 30px 0 0;
  padding: 30px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 11px;
  flex: 1;
  transition: border-color .35s var(--ease);
}
.plan:hover .plan__list,
.plan.is-selected .plan__list { border-top-color: rgba(255,255,255,.16); }

/* Starter only: month-to-month billing carries a lighter allowance than
   committing to a quarter or longer, so it gets its own feature list. Both
   share `.plan__list` for shared spacing/border rules; only one is shown. */
.plan__list--monthly { display: none; }
#pricing[data-period="monthly"] .plan__list--default { display: none; }
#pricing[data-period="monthly"] .plan__list--monthly { display: grid; }

.plan__list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--ink-soft);
  transition: color .35s var(--ease);
}
.plan:hover .plan__list li,
.plan.is-selected .plan__list li { color: rgba(255,255,255,.8); }

.plan__list li::before {
  content: '';
  position: absolute;
  left: 2px; top: 8px;
  width: 9px; height: 5px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  opacity: .75;
}

.plans__note {
  margin-top: 34px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-faint);
}
.plans__note a { color: var(--ink); border-bottom: 1px solid var(--line); transition: border-color .3s var(--ease); }
.plans__note a:hover { border-color: var(--ink); }

/* ─────────────  FAQ  ───────────── */

.faq { border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
  transition: color .3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--ink-soft); }

.faq__item summary::after {
  content: '';
  flex: none;
  width: 11px; height: 11px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .4s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

.faq__item p {
  padding: 0 60px 26px 0;
  font-size: 15px;
  color: var(--ink-soft);
  animation: fadeUp .45s var(--ease);
}
.faq__item p a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: border-color .3s var(--ease);
}
.faq__item p a:hover { border-bottom-color: var(--ink); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: none; }
}

/* ─────────────  CTA  ───────────── */

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0a0a0a 0%, #1c1c1e 48%, #0a0a0a 100%);
  color: var(--paper);
  padding: 120px 0;
  text-align: center;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(46% 62% at 10% 12%, rgba(255, 255, 255, .1), transparent 70%),
    radial-gradient(42% 56% at 90% 88%, rgba(255, 255, 255, .07), transparent 70%),
    radial-gradient(30% 45% at 72% 8%, rgba(255, 255, 255, .05), transparent 70%);
}
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(34px, 5.4vw, 62px); }
.cta h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--paper);
}
.cta p {
  margin: 22px auto 0;
  max-width: 460px;
  color: rgba(255,255,255,.66);
  font-size: 17px;
}
.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.cta__fine {
  margin: 22px auto 0;
  max-width: 560px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.48);
  letter-spacing: 0.01em;
}
.cta__contact {
  margin-top: 22px;
  font-size: 14px;
  color: rgba(255,255,255,.55);
}
.cta__contact a {
  color: var(--paper);
  border-bottom: 1px solid rgba(255,255,255,.28);
  padding-bottom: 1px;
  transition: border-color .3s var(--ease);
}
.cta__contact a:hover { border-bottom-color: var(--paper); }
.cta__sep { margin-inline: 8px; color: rgba(255,255,255,.35); }

/* ─────────────  Legal pages  ───────────── */

.legal {
  padding: calc(var(--nav-h) + 72px) 0 100px;
}

.legal__header {
  max-width: 720px;
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.legal__title {
  margin-top: 18px;
  font-size: clamp(36px, 5.2vw, 56px);
  letter-spacing: -0.035em;
}

.legal__lead {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 560px;
  line-height: 1.65;
}

.legal__meta {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--ink-faint);
}

.legal__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

.legal__toc a {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}

.legal__toc a:hover,
.legal__toc a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.legal__body {
  max-width: 720px;
}

.legal__body h2 {
  margin: 48px 0 14px;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.03em;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.legal__body h2:first-child { margin-top: 0; }

.legal__body h3 {
  margin: 28px 0 10px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.legal__body p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
}

.legal__body ul,
.legal__body ol {
  margin: 0 0 18px;
  padding-left: 1.25rem;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
}

.legal__body li { margin-bottom: 8px; }
.legal__body li::marker { color: var(--ink-faint); }

.legal__body a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: border-color .3s var(--ease);
}

.legal__body a:hover { border-bottom-color: var(--ink); }

.legal__body strong { color: var(--ink); font-weight: 500; }

.legal__callout {
  margin: 28px 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-alt);
}

.legal__callout p:last-child { margin-bottom: 0; }

.legal__callout a {
  font-weight: 500;
  border-bottom-color: var(--ink);
}

/* ─────────────  Footer  ───────────── */

.footer {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  padding: 80px 0 36px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.35fr 2.4fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.footer__brand p {
  margin-top: 18px;
  max-width: 330px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.footer__brand .footer__tagline {
  margin-top: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer__contact {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.footer__contact a {
  font-size: 14px;
  color: var(--ink-soft);
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.footer__contact a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.footer__social { display: flex; gap: 18px; margin-top: 24px; }
.footer__social a {
  font-size: 13px;
  color: var(--ink-soft);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.footer__social a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer__col { display: flex; flex-direction: column; }
.footer__col h4 {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.footer__col a {
  padding: 5px 0;
  font-size: 14px;
  color: var(--ink-soft);
  width: fit-content;
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.footer__col a:hover { color: var(--ink); transform: translateX(3px); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-top: 30px;
  font-size: 12.5px;
  color: var(--ink-faint);
}
.footer__fine { flex: 1 1 420px; min-width: 260px; line-height: 1.55; }

/* ─────────────  Checkout modal  ───────────── */

.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }

.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, .5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.modal.is-open .modal__scrim { opacity: 1; }

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 34px 32px 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 32px 80px -30px rgba(0,0,0,.55);
  opacity: 0;
  transform: translateY(12px) scale(.985);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.modal.is-open .modal__panel { opacity: 1; transform: none; }

.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-faint);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.modal__close:hover { background: var(--paper-alt); color: var(--ink); }

.modal__title { margin-top: 16px; font-size: 26px; }
.modal__period { margin-top: 5px; font-size: 13.5px; color: var(--ink-faint); }

.modal__rows {
  margin: 26px 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.modal__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.modal__row dt { font-size: 14px; color: var(--ink-soft); }
.modal__row dd { margin: 0; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }

.modal__row--total {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.modal__row--total dt { font-size: 15px; color: var(--ink); font-weight: 500; }
.modal__row--total dd { font-size: 26px; letter-spacing: -0.03em; }

.modal__note {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-faint);
  transition: color .3s var(--ease);
}
.modal__note.is-ok   { color: var(--ink); font-weight: 500; }
.modal__note.is-warn { color: var(--ink-soft); font-weight: 500; }

.modal__help {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--ink-faint);
}
.modal__help a { color: var(--ink-soft); border-bottom: 1px solid var(--line); transition: border-color .3s var(--ease); }
.modal__help a:hover { border-bottom-color: var(--ink); }
.modal__help span { margin-inline: 6px; }

body.is-locked { overflow: hidden; }

/* ─────────────  Trial signup form  ───────────── */

.field { margin-top: 16px; text-align: left; }
.field:first-of-type { margin-top: 24px; }
/*
 * `:first-of-type` matches per parent, not "first .field in the form" — inside
 * `.field-row` it re-fires on the First name box (the first div child there
 * too), giving it 24px while Last name next to it keeps 16px, so the two
 * boxes sit visibly offset from each other. Give the row itself the same
 * first-child spacing rule and zero out its children's own margin so both
 * sit flush at the same height.
 */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.field-row:first-of-type { margin-top: 24px; }
.field-row .field { margin-top: 0; }

/* "What describes you?" — business or creator, picks the dashboard. */
.kind-pick { margin: 24px 0 0; padding: 0; border: 0; min-width: 0; }
.kind-pick legend { padding: 0; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.kind-pick + .field-row { margin-top: 16px; }
.kind-pick__option { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; padding: 10px 12px; border: 1px solid var(--line, rgba(0,0,0,.12)); border-radius: 10px; cursor: pointer; font-weight: 400; }
.field .kind-pick__option { display: flex; margin-bottom: 8px; font-size: 13.5px; font-weight: 400; color: inherit; }
.kind-pick__option:has(input:checked) { border-color: currentColor; }
/*
 * The fieldset also carries `.field`, so `.field input` (width: 100%, padding,
 * border) used to hit these radios too — the radio stretched across the card
 * and shoved the text against the right edge. Undo that here — with the extra
 * `.kind-pick` so this outranks `.field input`, which comes later in the file.
 */
.kind-pick .kind-pick__option input {
  flex: 0 0 auto;
  width: auto;
  margin: 3px 0 0;
  padding: 0;
  border: 0;
  accent-color: currentColor;
}
.kind-pick__option > span { flex: 1 1 auto; min-width: 0; }

/* The trial form is wider than the checkout modal it shares styles with. */
#trialPanel { max-width: 540px; }
#trialPanel .kind-pick__options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#trialPanel .kind-pick__options .kind-pick__option { margin: 0; }
.field__optional { font-weight: 400; color: var(--ink-faint); }
@media (max-width: 560px) {
  #trialPanel .kind-pick__options { grid-template-columns: 1fr; }
  #trialPanel .field-row { grid-template-columns: 1fr; }
}
.kind-pick__option strong { display: block; font-weight: 600; }
.kind-pick__option small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-soft); }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.field input {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color .2s var(--ease);
}
.field input:focus-visible { outline: none; border-color: var(--ink); }
.field input.is-invalid { border-color: #c0362c; }
.field__error { margin-top: 5px; font-size: 12px; color: #c0362c; min-height: 15px; }
.field__hint { margin-top: 5px; font-size: 12px; color: var(--ink-faint); }

.otp-input {
  width: 100%;
  padding: 12px;
  font: inherit;
  font-size: 22px;
  letter-spacing: 0.4em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.otp-input:focus-visible { outline: none; border-color: var(--ink); }

.trial-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 8px 0 4px;
}
.trial-success svg { color: var(--ink); }

/* ─────────────  Reveal on scroll  ───────────── */

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  transition-delay: calc(var(--d, 0) * 45ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

.reveal[data-delay="1"] { --d: 1; }
.reveal[data-delay="2"] { --d: 2; }
.reveal[data-delay="3"] { --d: 3; }
.reveal[data-delay="4"] { --d: 4; }
.reveal[data-delay="5"] { --d: 5; }

/* ─────────────  Scroll progress  ───────────── */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2.5px;
  width: 0%;
  background: var(--ink);
  z-index: 300;
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-progress { transition: width .1s linear; }
}

/* ─────────────  Plan finder  ───────────── */

.plan-finder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin: 0 0 28px;
  padding: 20px 24px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--paper-alt);
}
.plan-finder__label {
  flex: 1 1 260px;
  font-size: 14px;
  color: var(--ink-soft);
}
.plan-finder__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.plan-finder__opt {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.plan-finder__opt:hover { border-color: var(--ink-faint); }
.plan-finder__opt.is-picked { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Draws the eye to the plan the finder just recommended. */
@media (prefers-reduced-motion: no-preference) {
  .plan.is-suggested { animation: planPulse 1s var(--ease); }
}
@keyframes planPulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ink) 30%, transparent); }
  100% { box-shadow: 0 0 0 14px transparent; }
}

/* ─────────────  FAQ search  ───────────── */

.faq__search {
  position: relative;
  margin: 0 0 28px;
}
.faq__search-icon {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--ink-faint);
  pointer-events: none;
}
.faq__search input {
  width: 100%;
  height: 46px;
  padding: 0 18px 0 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .25s var(--ease);
}
.faq__search input::placeholder { color: var(--ink-faint); }
.faq__search input:focus { outline: none; border-color: var(--ink); }
.faq__search input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.faq__item.is-hidden { display: none; }
.faq__empty {
  display: none;
  padding: 28px 0;
  font-size: 14.5px;
  color: var(--ink-faint);
  text-align: center;
}
.faq__empty.is-shown { display: block; }
.faq__empty a { color: var(--ink); border-bottom: 1px solid var(--line); }

/* ─────────────  Copy button  ───────────── */

.copy-btn {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  gap: 6px;
  margin-left: 6px;
  border: 0;
  background: transparent;
  padding: 2px;
  color: var(--ink-faint);
  cursor: pointer;
  transition: color .25s var(--ease);
}
.copy-btn:hover, .copy-btn:focus-visible { color: var(--ink); }
.copy-btn__icon { flex: none; width: 13px; height: 13px; }
.copy-btn__tip {
  font-size: 11px;
  letter-spacing: .02em;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s var(--ease), max-width .2s var(--ease);
}
.copy-btn.is-copied { color: var(--ink); }
.copy-btn.is-copied .copy-btn__tip { max-width: 60px; opacity: 1; }

/* ─────────────  Back to top  ───────────── */

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .35);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent-hover); }
.to-top:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ─────────────  Responsive  ───────────── */

@media (max-width: 1000px) {
  .grid  { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan.is-selected { order: -1; }
  .plan__desc { min-height: 0; }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; gap: 48px; }

  /* Automation pipeline drops below the chat and lays out horizontally */
  .mock__body { grid-template-columns: 220px minmax(0, 1fr); }
  .mock__flow {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }
  .flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px 18px;
  }
  .flow__step::before,
  .flow__step::after { display: none; }
  .flow__done { grid-template-columns: repeat(3, 1fr); }
}

/* The full bar (logo, 7 links, 3 actions) needs ~1054px; below that the
   labels wrap and the actions spill off-screen, so switch to the menu.
   Keep in sync with NAV_COLLAPSE_PX in script.js and marketing-nav.tsx. */
@media (max-width: 1080px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__mobile { display: flex; }
  .nav.is-open { border-bottom-color: var(--line); background: var(--paper); }
}

@media (max-width: 860px) {
  .section { padding: 88px 0; }
  .stats-section { padding: 72px 0; }
  .cta { padding: 96px 0; }

  .hero { padding: calc(var(--nav-h) + 40px) 0 76px; }
  .page-main > section:first-child { padding-top: calc(var(--nav-h) + 48px); }

  /* Contact rail becomes a horizontally scrollable chip strip */
  .mock__body { grid-template-columns: 1fr; }
  .mock__rail {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    padding: 14px 0;
  }
  .mock__rail-title { display: none; }
  .mock__threads {
    flex-direction: row;
    gap: 8px;
    padding-inline: 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .mock__threads::-webkit-scrollbar { display: none; }
  .mock__thread {
    flex: 0 0 auto;
    width: auto;
    gap: 8px;
    padding: 5px 14px 5px 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
  }
  .mock__thread.is-active {
    background: var(--accent-grad);
    color: var(--paper);
    border-color: var(--accent);
  }
  .mock__thread.is-active .mock__avatar { background: var(--paper); color: var(--accent); }
  .mock__thread .mock__avatar { width: 26px; height: 26px; font-size: 9.5px; }
  .mock__thread-name { font-size: 12.5px; white-space: nowrap; }
  .mock__thread-preview,
  .mock__thread-time { display: none; }

  .mock__chat { --log-h: 280px; }
  .bubble { max-width: 86%; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
}

@media (max-width: 640px) {
  .wrap { padding-inline: 20px; }

  .grid { grid-template-columns: 1fr; }
  .card { padding: 30px 24px 34px; }

  .section__head { margin-bottom: 44px; }
  .section__lead { font-size: 16px; }
  .section--tight { padding-bottom: 48px; }

  .step { grid-template-columns: 1fr; gap: 10px; padding: 32px 0; }
  .step__n { font-size: 32px; }
  .step:hover { padding-left: 0; }

  .hero__cta .btn, .cta__actions .btn { width: 100%; }
  .hero__sub { font-size: 16.5px; }
  .hero__trust {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .notice { padding: 24px 20px; }
  .notice__title { font-size: 18px; }

  .brand { padding-top: 72px; }
  .brand__timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 12px;
  }
  .brand__timeline::before { display: none; }
  .brand__dot { box-shadow: none; }
  .brand__l { font-size: 32px; }
  .brand__line { font-size: 17px; }

  .compare__head,
  .compare__row { grid-template-columns: 1fr; }
  .compare__cell { padding: 14px 18px; }
  .compare__cell--clio { border-left: 0; border-top: 1px solid var(--line-soft); }
  .compare__head .compare__cell:first-child { border-bottom: 1px solid var(--line-soft); }
  .compare__row .compare__cell:first-child {
    padding-bottom: 6px;
    color: var(--ink-faint);
    font-size: 12.5px;
  }
  .compare__row .compare__cell--clio {
    padding-top: 4px;
    border-top: 0;
  }

  .audience { grid-template-columns: 1fr; }

  .value-block,
  .fees { padding: 22px 20px; }

  .footer { padding-top: 60px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .legal { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 72px; }
  .legal__header { margin-bottom: 32px; padding-bottom: 28px; }
  .legal__callout { padding: 18px 18px; }

  .faq__item summary { font-size: 16px; }
  .faq__item p { padding-right: 24px; }

  .mock__chat-tag { display: none; }
  .mock__chat { --log-h: 260px; }
  .mock__log { padding: 18px 16px; }
  .flow, .flow__done { grid-template-columns: repeat(2, 1fr); }
  .mock__caption { gap: 6px 8px; font-size: 11.5px; }

  .modal { padding: 16px; }
  .modal__panel { padding: 30px 24px 26px; }
  .modal__title { font-size: 23px; }
  .modal__row--total dd { font-size: 23px; }
}

/* ─────────────  Reduced motion  ───────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .bubble, .mock__typing { opacity: 1; }
  .strip__track { animation: none; }
  .modal__scrim, .modal__panel { opacity: 1; transform: none; }
  .flow__done li { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════
   Site architecture — nav menus, breadcrumbs, in-text links
   (nav and footer markup are rendered from src/modules/marketing/public-site.json)
   ═══════════════════════════════════════════════ */

.nav__links { gap: 28px; align-items: baseline; }

.nav__group { position: relative; }
.nav__trigger { display: inline-flex; align-items: center; gap: 6px; }
.nav__caret {
  width: 6px; height: 6px;
  margin-top: -3px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg);
  opacity: .6;
  transition: transform .3s var(--ease);
}
.nav__group:hover .nav__caret,
.nav__group:focus-within .nav__caret { transform: rotate(225deg) translate(-2px, -2px); }
.nav__group.is-current > .nav__trigger { color: var(--ink); }
.nav__group.is-current > .nav__trigger::after { transform: scaleX(1); }

.nav__menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -14px;
  z-index: 10;
  min-width: 232px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 28px 60px -32px rgba(0, 0, 0, .38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
/* Bridges the gap so the pointer can travel from trigger to menu. */
.nav__menu::before { content: ''; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav__group:hover .nav__menu,
.nav__group:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__links .nav__menu a {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__links .nav__menu a::after { display: none; }
.nav__links .nav__menu a:hover,
.nav__links .nav__menu a[aria-current="page"] { background: var(--paper-alt); color: var(--ink); }

.nav__mobile { max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; }
.nav__mobile-label {
  margin: 18px 0 2px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.nav__mobile-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 20px; }
.nav__mobile .nav__mobile-grid a:not(.btn) { padding: 10px 0; font-size: 15px; }

/* Breadcrumbs on every standalone page. */
.crumbs { margin-bottom: 28px; font-size: 13px; color: var(--ink-faint); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.crumbs a { transition: color .2s var(--ease); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current="page"] { color: var(--ink-soft); }

/* Contextual links inside copy. */
.section__lead a,
.card p a,
.audience__card p a,
.step p a,
.notice__body a,
.legal__lead a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: border-color .3s var(--ease);
}
.section__lead a:hover,
.card p a:hover,
.audience__card p a:hover,
.step p a:hover,
.notice__body a:hover,
.legal__lead a:hover { border-color: var(--ink); }
.card h3 a,
.audience__card h3 a { position: relative; z-index: 1; }
.card h3 a::after,
.audience__card h3 a::after {
  content: ' →';
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.card:hover h3 a::after,
.audience__card:hover h3 a::after,
.card h3 a:focus-visible::after,
.audience__card h3 a:focus-visible::after { opacity: 1; }
.section .audience + .section__lead,
.section .steps + .section__lead { margin-top: 40px; max-width: 720px; }
.grid + .section__head { margin-top: 96px; }

/* Five footer columns: product, industries, company, get started, legal. */
.footer__top { grid-template-columns: 1fr 3.2fr; }
.footer__cols { grid-template-columns: 1.4fr 1.2fr 1fr 1.05fr .95fr; gap: 24px; }
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: 1fr; gap: 48px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
}
@media (max-width: 860px) {
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────────  Guides (long-form articles)  ───────────── */
.guide h1 { margin-top: 18px; font-size: clamp(32px, 4.4vw, 48px); }
.guide__meta { margin-top: 18px; font-size: 13px; color: var(--ink-faint); }
.guide .section__lead { max-width: none; }
.guide h2 { margin: 56px 0 16px; font-size: clamp(22px, 2.6vw, 28px); }
.guide p, .guide li { font-size: 16.5px; color: var(--ink-soft); line-height: 1.75; }
.guide p + p { margin-top: 16px; }
.guide ul { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 10px; }
.guide strong { color: var(--ink); font-weight: 500; }
.guide .compare { margin-top: 24px; }
.guide p a, .guide li a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: border-color .3s var(--ease);
}
.guide p a:hover, .guide li a:hover { border-color: var(--ink); }

/* A fair side-by-side (e.g. WhatsApp vs Instagram): no ✕/✓ verdicts, equal columns. */
.compare--neutral .compare__row .compare__cell::before { content: none; }
.compare--neutral .compare__cell--clio {
  background: transparent;
  color: var(--ink-soft);
  font-weight: 400;
  border-left: 1px solid var(--line-soft);
}
.compare--neutral .compare__head .compare__cell--clio { background: var(--paper-alt); color: var(--ink-faint); }

/* Main sections under the hero — the site's primary links. */
.hero__links {
  margin: 22px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  max-width: 720px;
}
.hero__links a {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .7);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.hero__links a:hover { color: var(--ink); border-color: var(--ink); }

/* ─────────────  Spotlight: Creator Automations, Automation Bazaar, Email  ───────────── */

.spotlight {
  background:
    radial-gradient(60% 50% at 50% 0%, #ffffff 0%, transparent 70%),
    var(--paper-alt);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.spotlight .section__head--center { max-width: 820px; }
.spotlight .section__head h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.spotlight__eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.spotlight__new {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  letter-spacing: 0.08em;
}

.spotlight__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.spot {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 40px -28px rgba(0, 0, 0, .25);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.spot:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 26px 50px -28px rgba(0, 0, 0, .3);
}
.spot__tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.spot h3 { margin-top: 10px; font-size: clamp(22px, 2.2vw, 26px); }
.spot__copy > p:not(.spot__tag) { margin-top: 12px; color: var(--ink-soft); font-size: 15.5px; }
.spot__list {
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 14.5px;
  color: var(--ink);
}
.spot__list li { display: flex; gap: 10px; }
.spot__list li::before { content: "✓"; font-weight: 700; }

.spot__visual {
  margin-top: auto;
  padding: 18px;
  border-radius: 16px;
  background: var(--paper-alt);
  border: 1px solid var(--line-soft);
}

/* Instagram comment → DM mock */
.ig { display: grid; gap: 9px; font-size: 13px; }
.ig__comment { display: flex; align-items: center; gap: 10px; }
.ig__avatar {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af);
}
.ig__arrow, .ig__check { font-size: 12px; color: var(--ink-faint); padding-left: 4px; }
.ig__check span { color: #16a34a; font-weight: 700; }
.ig__dm {
  max-width: 92%;
  border-radius: 16px 16px 16px 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}
.ig__dm p { padding: 9px 13px; }
.ig__btn {
  display: block;
  padding: 8px 13px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-weight: 600;
  color: #2563eb;
}

/* Bazaar mock */
.bz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.bz__item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 12.5px;
}
.bz__kind { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.bz__add {
  margin-top: 6px;
  align-self: flex-start;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11.5px;
  font-weight: 600;
}
.bz__item--done { border-color: #16a34a66; }
.bz__item--done .bz__add { background: #16a34a; }

/* Email mock */
.em { display: grid; gap: 10px; font-size: 13px; }
.em__mail {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.em__subject { font-weight: 600; }
.em__from { font-size: 12px; color: var(--ink-faint); }
.em__bar { height: 7px; border-radius: 4px; background: var(--line); }
.em__bar--short { width: 62%; }
.em__cta {
  justify-self: start;
  margin-top: 4px;
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
}
.em__stats { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--ink-soft); }
.em__stats strong { display: block; font-size: 16px; color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .spot.is-in .ig > *,
  .spot.is-in .bz > *,
  .spot.is-in .em > * { animation: spot-in .5s var(--ease) both; }
  .spot.is-in .ig > :nth-child(2), .spot.is-in .bz > :nth-child(2), .spot.is-in .em > :nth-child(2) { animation-delay: .35s; }
  .spot.is-in .ig > :nth-child(3), .spot.is-in .bz > :nth-child(3) { animation-delay: .7s; }
  .spot.is-in .ig > :nth-child(4), .spot.is-in .bz > :nth-child(4) { animation-delay: 1.05s; }
  .spot.is-in .ig > :nth-child(5) { animation-delay: 1.4s; }
}
@keyframes spot-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .spotlight__grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .spot { padding: 26px 20px; }
}
@media (max-width: 420px) {
  .bz { grid-template-columns: 1fr; }
}
.spotlight + .section--tight { padding-top: 64px; }
